title: Class moderncv doesn't work with purple

text: I've only recently started to work with LaTeX.   I've seen the nice CV that it is possible to do with **`moderncv`**, however I'm not able to change the color to purple. I do not understand why..   It works with other colors, blue, orange, etc..               \moderncvtheme[purple]{casual}       Anyone has any idea how to change to purple or why this is happening? **MWE** :               \documentclass[11pt,a4paper]{moderncv}           % moderncv themes     \moderncvtheme[purple]{casual}     % character encoding     \usepackage[utf8]{inputenc}                   % replace by the encoding you are using     % adjust the page margins     \usepackage[scale=0.8]{geometry}     %\setlength{\hintscolumnwidth}{3cm}            \firstname{First Name}     \familyname{Family Name}     \title{Curriculum Vitae}           \begin{document}     \maketitle \\[-4.5em]          \section{Personal details}     \cvline{e-mail}{\small \\[-1.65em]     \cvline{mobile} {\small }\\[-1.65em]      \cvline{nationality}{\small }\\[-1.65em]     \cvline{date of birth}{\small }\\[-2.5em]          \end{document}


title: How to configure Latex to open the last page in PDF reader?

text: I edit big documents, so it is useful for me to open the last page after compilation. Normally, the first page is opened, but by using hyperref, I can configure it to open any page at start.               \usepackage[pdftex,pdfstartpage=1]{hyperref}      But there is no variable lastpage. Can this be done in some other ways?


title: Reducing/removing gap between header and custom chapter title

text: I'm writing a portfolio/report with `pdflatex` and while trying to get a header and footer I have got a situation where there's now a significant gap between the header and the chapter title, whereas there's no gap on any of the other pages. The code I'm using to style the headers, footers and titles is:               % Header/Footer      \fancypagestyle{plain}{       \fancyhf{}       \fancyhead[L]{Name \texttt{<email@address>}}       \fancyhead[R]{\leftmark}       \fancyfoot[L]{Subject Name}       \fancyfoot[R]{\thepage}       \setlength{\headheight}{15.2pt}       \setlength{\headsep}{6pt}       \renewcommand{\headrulewidth}{0.4pt}       \renewcommand{\footrulewidth}{0.4pt}     }          % Chapter Title formatting          \titleformat{\chapter}[display]       {\normalfont\Huge \scshape}{\titlerule}{-28pt}{\thechapter\ \ \Huge}[\vspace{-2pt}\titlerule]     \titleformat{name=\chapter,numberless}[display]       {\normalfont\Huge \scshape}{\titlerule}{-28pt}{\Huge}[\vspace{-2pt}\titlerule]     \titlespacing*{\chapter}{0pt}{50pt}{*2}     \begin{document}          % Article top matter ...     \maketitle          \pagestyle{plain}     \renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}


title: Hyperref + footnotebackref in longtable

text: While I'm aware that hyperref doesn't suport footnotes and I quote: > hyperfootnotes boolean true   >  Makes the footnote marks into hyperlinks to the footnote text. Easily > broken … I'm wondering if anyone's found a workaround for something like:               \documentclass{article}          \usepackage[stable,perpage,multiple,bottom]{footmisc}      \usepackage[hyperfootnotes=true]{hyperref}     \usepackage{footnotebackref} % connect note back to table     \usepackage{longtable}     \usepackage{blindtext}           \begin{document}          \blindtext     \newpage     \blindtext          \begin{longtable}{c c p{3cm} c}       & centered \footnote{Here's a note from a         centered column} & \\       &  & paragraph \footnote{This note is } & \\          \end{longtable}          \end{document}      Which gives![enter image description here](http://i.stack.imgur.com/p0SAh.png) Here we can see that the note from a centered column works as expected (i.e. clicking on the footnote label brings the user to the footnote' they can then click on _this_ label and be brought back to the table) while that from a paragraph-formatted column is rather recalcitrant (it brings the user back to the top of the document). I'm using footnotebackref to get back to the table, but this behavior is not essential... (I'm using the `\usepackage{}`s as above after numerous attempts to solve this - this seems to be the closest I can come). I'm asking as I have a table spanning multiple pages which would be better if a paragraph-formatted column could hyperlink to a footnote on the same page. Or is this currently not possible?


title: LyX table row error

text: I hope someone can help with this problem. I have a 3x4 table which is too wide for a page if just entered as is. Therefore, I have fixed each column width at 25% of the text width and then used ERT `\linebreak` inside the table. However, when trying to compile I get this error 4 times: > Extra alignment tab has been changed to \cr. The LaTeX code for the LyX table is:               \begin{table}     \caption{CD271 Antibody Assessment}          \centering{}%     \begin{tabular}{|>{\centering}p{0.25\textwidth}|p{0.25\textwidth}|p{0.25\textwidth}|}     \hline      Sample & \multicolumn{2}{p{0.25\textwidth}|}{Percentage Identified\linebreak as MSCs by Panel} & \multicolumn{2}{p{0.25\textwidth}|}{Percentage CD271\linebreak Postive}\tabularnewline     \hline      \hline      BMMC & 0&02 & 1&78\tabularnewline     \hline      \hline      Cultured Bone Marrow & 39&08 & 5&70\tabularnewline     \hline      \hline      Commerical MSCs & 99&51 & 45&44\tabularnewline     \hline      \end{tabular}     \end{table}      Any idea what I am doing wrong? I have tried looking at the online helps but can't find an answer.


title: bibtex not compiling natbib journal style

text: I am trying to use the following template for a journal article and within the example they use natbib for the references and they also provide the following referencing style: model2-names.bst. Here follows the MWE I am plaing with, with no luck at all.               %% This is file `elsarticle-template-2-harv.tex',     %%     %% Copyright 2009 Elsevier Ltd     %%     %% This file is part of the 'Elsarticle Bundle'.     %% ---------------------------------------------     %%     %% It may be distributed under the conditions of the LaTeX Project Public     %% License, either version 1.2 of this license or (at your option) any     %% later version.  The latest version of this license is in     %%    http://www.latex-project.org/lppl.txt     %% and version 1.2 or later is part of all distributions of LaTeX     %% version 1999/12/01 or later.     %%     %% The list of all files belonging to the 'Elsarticle Bundle' is     %% given in the file `manifest.txt'.     %%     %% Template article for Elsevier's document class `elsarticle'     %% with harvard style bibliographic references     %%     %% $Id: elsarticle-template-2-harv.tex 155 2009-10-08 05:35:05Z rishi $     %% $URL: http://lenova.river-valley.com/svn/elsbst/trunk/elsarticle-template-2-harv.tex $     %%     \documentclass[preprint,authoryear,12pt]{elsarticle}               \journal{Medical Image Analysis}          \usepackage{filecontents}     \begin{filecontents}{\jobname.bib}     @misc{A01,         author = {Author, A. and Buthor, B. and Cuthor, C.},         year = {2001},         title = {First Article Title Apha}     }     @misc{A02,         author = {Author, A. and Buthor, B. and Cuthor, C.},         year = {2002},         title = {Second Article Title  Beta }     }     \end{filecontents}          \begin{document}          \begin{frontmatter}     \title{Some Title}          %% use optional labels to link authors explicitly to addresses:     \author[label1,label2]{First Author}     \author[label1]{Second Author}     \author[label2]{Third Author}     \address[label1]{first University Name}     \address[label2]{Second Univeristy Name}               \begin{abstract}     Some workds about this work          \end{abstract}          \begin{keyword}     keyword \sep keyword     \end{keyword}          \end{frontmatter}          % \linenumbers          %% main text     \section{First Section}     bla bla bla bla \cite{A01}          \bibliographystyle{model2-names}     %\bibliographystyle{plain}     \bibliography{\jobname.bib}          \end{document}          %%     %% End of file `elsarticle-template-2-harv.tex'.      If I use their style the Bibtex crashes.               Process started          This is BibTeX, Version 0.99d (TeX Live 2013) The top-level auxiliary file: elsarticle-template-2-harv.aux I couldn't open style file model2-names.bst ---line 3 of file elsarticle-template-2-harv.aux : \bibstyle{model2-names : } I'm skipping whatever remains of this command I found no style file---while reading file elsarticle-template-2-harv.aux (There were 2 error messages)          Process exited with error(s)      When switching the comments to disable model2-names style and activate plain style it goes through the bibtex but then while compiling the latex it complains as it could not find the year tag in the references.               ! Package natbib Error: Bibliography not compatible with author-year citations.


title: Tikz Poster - Aligning titlegraphic to the right of the title

text: I would like to create a poster title, with a logo right-aligned, rather than on top of the title text. What I have is:               \documentclass[25pt, a0paper, landscape, margin=0mm, innermargin=15mm, blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]{tikzposter}     \usetheme{Desert}          \title{Detecting Multi-word Expressions in Typed Text}      \author{AdamG}      \institute{Graduate Center}     \titlegraphic{\includegraphics{GCLogo.jpg}}          \begin{document}     \maketitle     \end{document}      How can I change the logo's alignment?


title: Automatically dereference DOI to .bib?

text: Is there an established way to, given a list of DOI identifiers, produce a .bib file containing the citation information?


title: Plotting circuits with circuitikz

text: I have one small problem (I managed to draw what I needed, and for a first timer I'm very proud of myself XD). I need to draw image like this: ![enter image description here](http://i.stack.imgur.com/uNmi4.jpg) And what I managed to get is this: ![enter image description here](http://i.stack.imgur.com/jvdm5.jpg) So, the resistor can be changed probably by messing with American or European style, that's not a big problem. What is a big problem, is that I cannot get those nodes like in the first picture :\ Also how to get the ammeter and voltmeter properly aligned? The code is:               \begin{figure}[ht!]     \begin{center}     \begin{circuitikz}\draw     (0,0)to[sI] (0,4)          to[R=$1\ k\Omega$,-*] (3,4) -- (5,4)          to[voltmeter] (5,0) -- (0,0)     (3,4)to[ammeter] (3,2)     (3,0)to[Do,*-] (3,2)     (2,1)to[zDo](2,1)     ;\end{circuitikz}     \end{center}     \end{figure}      Also, can I get the little lines in front and behind the Zener diode?


title: Change greek font with another one

text: Hello I am using Sharelatex and I use these commands in the preamble in order to be able to write in greek.               \usepackage{xltxtra}     \usepackage{xgreek}     \setmainfont[Mapping=tex-text]{GFSDidot.otf}     \setsansfont[Mapping=tex-text]{GFSDidot.otf}      How can I change the font? Edit I:               \documentclass[12pt]{article}          \usepackage{xltxtra}     \usepackage{xgreek}     \setmainfont[Mapping=tex-text]{GFSDidot.otf}     \setsansfont[Mapping=tex-text]{GFSDidot.otf}          \begin{document}          Text Here!          Κείμενο εδώ!          \end{document}


title: Using longtabu with multicolumn produces errors sometimes

text: I have a document which uses the longtable package as well as \multicolumn to have certain cells which span multiple columns. This seems to work just fine:               \documentclass[10pt]{report}          \usepackage{longtable}     \usepackage{tabu}     \usepackage[letterpaper, top=0.5in, right=0.75in, bottom=0.5in, left=0.75in]{geometry}          \begin{document}          \begin{longtabu}{ X[2,l] X[3,l] X[1,l] X[5,l] }     \multicolumn{3}{ l }{\large{\textbf{Task}}} & \\         \textbf{Date} & \textbf{Employee} & \textbf{Hours} & \textbf{Notes} \\     \endhead          \end{longtabu}          \end{document}      However, I then tried to implement a different table, and this time I get errors from pdflatex:               \documentclass[10pt]{report}          \usepackage{longtable}     \usepackage{tabu}     \usepackage[letterpaper, top=0.5in, right=0.75in, bottom=0.5in, left=0.75in]{geometry}          \begin{document}          \begin{longtabu}{ X[4,l] X[2,r] X[1,c] X[2,r] X[1,c] }     \textbf{Description} &         \multicolumn{2}{c}{\textbf{Current}} & \\         \multicolumn{2}{c}{\textbf{Cumulative}} \\     \hline     \endhead          \end{longtabu}          \end{document}      I've tweaked to two tables to try and determine the source of the error, and it seems to come from the number of columns being spanned. For example, in the working table, if I change `\multicolumn{3}{l}{ ... }` to `\multicolumn{2}{l}{ ... } & Foo`, then I get the same error. It is not at all clear to me why this is the case. Here is the relevant output from pdflatex:               ! Dimension too large.     <recently read> \tabucolX     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <recently read> \tabucolX     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     \LT@max@sel #1#2->{\ifdim #2=\wd \tw@     #1\else \number \c@LT@chunks \fi }{\th...     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     \LT@max@sel #1#2->{\ifdim #2=\wd \tw@     #1\else \number \c@LT@chunks \fi }{\th...     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     \LT@max@sel #1#2->{\ifdim #2=\wd \tw@     #1\else \number \c@LT@chunks \fi }{\th...     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     \relax     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     \relax     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     \relax     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     =     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     =     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     =     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <recently read> \tabucolX     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <recently read> \tabucolX     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     \LT@max@sel #1#2->{\ifdim #2=\wd \tw@     #1\else \number \c@LT@chunks \fi }{\th...     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     \LT@max@sel #1#2->{\ifdim #2=\wd \tw@     #1\else \number \c@LT@chunks \fi }{\th...     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     \LT@max@sel #1#2->{\ifdim #2=\wd \tw@     #1\else \number \c@LT@chunks \fi }{\th...     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     \relax     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     \relax     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     \relax     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     =     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     =     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     ! Dimension too large.     <to be read again>     =     l.23 \end{longtabu}     I can't work with sizes bigger than about 19 feet.     Continue and I'll use the largest value I can.     Package longtable Warning: Column widths have changed     (longtable) in table 1 on input line 23.     Package longtable Warning: Table widths have changed. Rerun LaTeX.


title: Suppress Numbering of Subfigures

text: Is there a way to supress the numberings of subfigures within subfigures? Currently, I have something like the following:               \begin{figure}       \subfigure{         \subfigure{...}         \subfigure{...}         \subfigure{...}       }       \subfigure {          ...       }       ...     \end{figure}      So I have the entire figure, within which I have subfigures, which consist of more figures (i.e. subsubfigures). Each subfigure contains 9 subsubfigures and I have 5 subfigures. Because each subsubfigure and each subfigure get numbered and labeled, I get a `Counter too large` error because there are more than a-z figures. I only really care about the numbering and labeling on the subfigures (i.e. I don't care about the numbering on the subsubfigures). Is there a way to suppress the numbering on the subsubfigures so that I only have subfigures a through e that are labeled and thus also avoid the error?


title: Change Table Caption Numbering

text: I want to change the caption number from 2.1 to 2.3.1 as my section is 2-3. I got try to use `\usepackage{chngcntr}` and `\counterwithin{table}{section}` but due to my section title is 2-3. It will label the '2.3.1' that I want as '2-3.1'. Anyone know how to change? ![Section title](http://i.stack.imgur.com/xLxk1.png) ![Using counterwithin method](http://i.stack.imgur.com/IPKXN.png)


title: Hints wanted on scanning pictures from books

text: I am writing a book proposal in LaTeX. It will have a lot of graphics, most of which I will create, and I know how to deal with those. But I have gotten permission to reproduce some pictures from books. I'm having trouble making good graphics. I tried copying the page on a copier, then cutting out the part I need, then scanning that, then inserting that figure. This is cumbersome, and the quality isn't good (I guess copying and then scanning each lose some quality). I've been doing this on a standard desktop all-in-one printer. Does anyone have a better method?


title: Removing the bold attribute from a specific unicode alphabet

text: I am using `unicode-math` with XeTeX and XITS fonts. Instead of writing `\mathcal`, I want to use the unicode characters , , …, and have them render like `\mathcal A`, `\mathcal B`, …, `\mathcal Z`. These have codes U+1D4D0–U+1D4E9 and are named "MATHEMATICAL BOLD SCRIPT CAPITAL _A–Z_ ". Despite their names, they display just like the regular calligraphic characters rendered through `\mathcal`, at least in the Free Serif font I am using. I have been successful at having XeTeX render them as _bold_ calligraphic characters rendered through `\mathbfcal`:               \documentclass{standalone}     \usepackage{unicode-math}     \setmathfont[range={"1D4D0-"1D4E9},StylisticSet=1]{XITS Math}     \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{XITS Math}     \begin{document}     $ , \mathcal A, \mathbfcal A, \quad       , \mathcal D, \mathbfcal D, \quad       , \mathcal L, \mathbfcal L, \quad       , \mathcal P, \mathbfcal P $     \end{document}      ![rendering of unicode characters against \\mathcal and \\mathbfcal](http://i.stack.imgur.com/DXdoI.png) What can I do to remove their bold attribute, i.e., have XeTeX render them as _regular_ , non-bold calligraphic letters, as if I were using `\mathcal` rather than `\mathbfcal`? **EDIT:** I do not want to use instead of . I want to be able to access the math script alphabet through the unicode characters , ℬ, …, , rendered as `\mathscr A`, `\mathscr B`, …, `\mathscr Z` while accessing the math calligraphic alphabet with `StylisticSet=1` through , , …, , without the _bold_ attribute.


title: What is the advantage of using the equation environment in latex?

text: My flatmate uses `\flalign` for all of his equations in LaTeX and after thinking about it, it makes sense. Is the `\equation` environment not just more restrictive? Is there ever an advantage to using the `\equation` environment? Is it simply that `\flalign` requires the `amsmath` package?


title: Why the \expandafter\@firstoftwo idiom?

text: I see a lot of macros which are conditional tests followed by a `{true}{false}` pair defined so that they result in either:               \expandafter\@firstoftwo      or               \expandafter\@secondoftwo      Why are these `\expandafter`s there? I would have though they'd just catch the first brace in the following `{true}{false}` pair?


title: How to configure Xindy in TeXnicCenter

text: I'm using TeXnicCenter with TeX Live and want to switch from MakeIndex to Xindy. Is it enough to change the path of the compiler in the profile section to xindy.exe, or do I have change the parameters and/or post processing, too? I know the manual, but its overwhelming me to get the right parameter and perhaps post processing configuration.


title: Equation numbers for boxed multiline equations

text: I am attempting to set a box around multiline equations is LaTeX using the following code:               \documentclass{article}          \usepackage{empheq}     \newcommand*\widefbox[1]{\fbox{\hspace{2em}#1\hspace{2em}}}          \begin{document}          \begin{subequations}     \begin{empheq}[box=\widefbox]{align}     z &= a + b + c + d + e + f + g + h + i + j + k \\     &\qquad\qquad + l + m + n + o + p + q + r + s \\     &\qquad\qquad + t + u + v + w + x + y     \end{empheq}     \end{subequations}          \end{document}      The problem is that the equations are automatically labelled (1a), (1b), and (1c). Since this is only one equation, how can I label the whole box simply as (1)?


title: Overset placement is uneven

text: I'm using this code to show that one element of the equation is greater than zero and the second element is less than zero.               \begin{align}     \overset{+}{\pi_{i}} + \overset{-}{w_{g}(S)} > 0     \end{align}      But the alignment of the plus and minus signs are uneven. The minus sign is quite a bit higher than the plus sign. I appreciate help getting the two at the same vertical placement.


title: Help with LaTeX equivalent of this .docx file

text: So, I cooked up a template for CV in MS Word. I wanted to do it in LaTeX, but couldn't since I have just started learning it. After saving the MS Word document as .pdf I was disappointed with the quality of the font and uncontrollable typesetting in general. So, I went on to do the same in LaTeX. However, the overwhelming amount of commands and numerous roadblocks had me believe that I am dealing with something far beyond a beginner's level. Hence, I turned here for help. Here is the .docx format of the file. (The original font was CMU Serif, Google drive messes it up a little). Here is the output I desire through LaTeX. Any head start / hints as to how to go about starting it with relevant tutorials / lectures would be of great help.


title: circuit macros latex, error noCurrentPoint

text: Following the manual of Circuit macros for LaTeX, just at the beginning I try to make the first circuit picture in LaTeX "quick.m4" processing that first with m4, then dpic, and adding the code exactly like in the manual to a new LaTeX document. I have tried a lot of time but I have always the same error about the line               \psset{noCurrentPoint}      What does it mean? P.S. I run pdflatex on linux.


title: Texmaker: Switch forth and back between Bibtex and Biber

text: I have to work on multiple documents, some of which are under my control and I want to use Biblatex with Biber, others which require to use Bibtex. I use **Texmaker** on Linux. I find it very annoying that there is only one global preferences for the bibliography backend (Options > Configure Texmaker > Bib(la)tex). Is there a way to **quickly switch between Biber and Bibtex** depending on the document I am editing. That is, without having to edit the preferences all the time?


title: tikz, conditional setting of shape parameters

text: In my illustration I use simplified sketches of stopwatches (timers), which appear in three different "modes": (1) start of interval (coloured green), (2) time in progress (yellow), and time is expired (red). ![enter image description here](http://i.stack.imgur.com/AT9sF.jpg) For each of these cases, I determined separate styles which differ from each other only in two lines, see MWE:               \documentclass[12pt,tikz,border=3mm]{standalone}         \usetikzlibrary{chains,shapes}     \begin{document}         \begin{tikzpicture}     \tikzset{          node distance = 5mm,            start chain = going right,     boxG/.style 2 args = {name=n#1,                           shape=rectangle, draw=#2, thick, inner sep=0mm, on chain,                           node contents={\tikz{         \draw[radius=3.5mm,fill=#2!30] (0,0) circle;         \fill[radius=3.4mm,white] (0,0) -- + (90:3.4mm) arc[start angle=90,end angle=135] -- cycle;         \foreach \i in {0,30,...,330}   \draw (0,0) ++ (\i:2.5mm) -- (\i:3mm);         \draw                       ( 0mm,-1mm) -- ++ (0mm,4.0mm);         \draw[orange,ultra thick]   (+1mm,-1mm) -- ++ (135:4.5mm);         \draw[thick,->]             ( 0mm,-1mm) -- ++ ( 90:4.0mm);                                                 }}                           },     boxY/.style 2 args = {name=n#1,                           shape=rectangle, draw=#2, thick, inner sep=0mm, on chain,                           node contents={\tikz{         \draw[radius=3.5mm,fill=#2!30] (0,0) circle;         \fill[radius=3.4mm,white] (0,0) -- + (90:3.4mm) arc[start angle=90,end angle=135] -- cycle;         \foreach \i in {0,30,...,330}   \draw (0,0) ++ (\i:2.5mm) -- (\i:3mm);         \draw                       ( 0mm,-1mm) -- ++ (0mm,4.0mm);         \draw[orange,ultra thick]   (+1mm,-1mm) -- ++ (135:4.5mm);         \draw[thick,->]             (+1mm,+1mm) -- ++ (225:4.0mm);                                                 }}                           },     boxR/.style 2 args = {name=n#1,                           shape=circle, draw=#2, thick, inner sep=0mm, on chain,                           node contents={\tikz{         \draw[radius=3.5mm,fill=#2!30] (0,0) circle;         \fill[radius=3.4mm,white] (0,0) -- + (90:3.4mm) arc[start angle=90,end angle=135] -- cycle;         \foreach \i in {0,30,...,330}   \draw (0,0) ++ (\i:2.5mm) -- (\i:3mm);         \draw                       ( 0mm,-1mm) -- ++ (0mm,4.0mm);         \draw[yellow,ultra thick]   (+1mm,-1mm) -- ++ (135:4.5mm);         \draw[thick,->]             (+1mm,-1mm) -- ++ (135:4.0mm);                                                 }}                           },     }     \node[boxG={1}{green}];     \node[boxY={2}{yellow}];     \node[boxR={3}{red}];         \end{tikzpicture}     \end{document}      I was wondering whether it is possible to determine just one style, where the last two lines are selected regarding the used color, something like this:               timer/.style 2 args = {name=n#1,                           shape=circle, draw=#2, thick, inner sep=0mm, on chain,                           node contents={\tikz{         \draw[radius=3.5mm,fill=#2!30] (0,0) circle;         \fill[radius=3.4mm,white] (0,0) -- + (90:3.4mm) arc[start angle=90,end angle=135] -- cycle;         \foreach \i in {0,30,...,330}   \draw (0,0) ++ (\i:2.5mm) -- (\i:3mm);         \draw                       ( 0mm,-1mm) -- ++ (0mm,4.0mm);     %%%% pseudocode for conditional selecting of appropriate last two lines     if #2 = green         \draw[orange,ultra thick]   (+1mm,-1mm) -- ++ (135:4.5mm);         \draw[thick,->]             ( 0mm,-1mm) -- ++ ( 90:4.0mm);     else if #2 = yellow         \draw[orange,ultra thick]   (+1mm,-1mm) -- ++ (135:4.5mm);         \draw[thick,->]             (+1mm,+1mm) -- ++ (225:4.0mm);     else if #2 = red         \draw[yellow,ultra thick]   (+1mm,-1mm) -- ++ (135:4.5mm);         \draw[thick,->]             (+1mm,-1mm) -- ++ (135:4.0mm);     fi fi fi     %%%%                             }}}      Additional question: in the third timer, why isn't the distance between the inner picture and outer node equal to zero as it is in the first two (finally I would like to have a circle for outer node)?


title: Graphics lines too thin

text: I use PCTEX 5.1. When I print from a DVI window my embedded graphics line plots are too thin and almost fade out. When I export the document to a PDF and print it the graphics line weights are much better; however, the PDF driver actually makes every second page, text and graphics, is a little lighter. The dvi driver doesn't do that. So first, can I get the dvi driver to increase the graphics line weights, and second is there a patch for the PCTEX PDF driver problem.


title: Force \addtocontents to be placed in the correct order

text: I have something like this:               \tableofcontents*     \chapter{chap1}     \chapter{chap2}     \addtocontents{toc}{test}     \chapter{chap3}      and the ToC is produced like this               chap1     chap2     chap3     test      I was wondering how to force `test` to be placed in correct order (chap1, chap2, test, chap3).


title: latex two column layout set figure to load on single column

text: this is the double column code               \begin{multicols}{2}          \begin{figure*}[!ht]       \centering           \includegraphics[height=60mm]{CC.jpg}       \caption{AA \cite{BB}}     \end{figure*}          \end{multicols}      But the image consumes both columns. How can i make it display only on a single column ?


title: Is it possible to have an undetermined character length argument in a macro?

text: I have the following macro,               \def\RCS$ $#1: #2 $ ${\expandafter\def\csname RCS#1\endcsname{#2}}      Which is used for revision version control, i.e,               \RCS$ $Revision: 1.2 $ $     \RCS$ $Date: 2010/04/02 18:20:00 $ $     \lhead{Revision \RCSRevision, \RCSDate}     \pagestyle{fancy}      Which works great. However if I then use latexdiff on it with another revision, the diff file doesn't expand the macro correctly,               \RCS$ $Revision: \DIFdelbegin \DIFdel{1.2 }\DIFdelend \DIFaddbegin \DIFadd{1.8 }\DIFaddend $ $      Is there a way to get it to expand the second argument as a single text block? (This relates to my question Can latexdiff-cvs handle RCS tags?)


title: XeTeX and xdvipdfmx problem in Texstudio

text: I am using MacTex2011 and the installation is standard installation, I didn't change a thing.Below is some information of my environment.               Sean@mac:~ > which xelatex     /usr/texbin/xelatex     Sean@mac:~ > echo $PATH      /usr/local/share/python:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/b in:/usr/texbin     Sean@mac:~ > xelatex --version     XeTeX 3.1415926-2.3-0.9997.5 (TeX Live 2011)     kpathsea version 6.0.1     Copyright 2011 SIL International and Jonathan Kew.     There is NO warranty.  Redistribution of this software is     covered by the terms of both the XeTeX copyright and     the Lesser GNU General Public License.     For more information about these matters, see the file     named COPYING and the XeTeX source.     Primary author of XeTeX: Jonathan Kew.     Compiled with ICU version 4.6 [with modifications for XeTeX]     Compiled with zlib version 1.2.5; using 1.2.5     Compiled with FreeType2 version 2.4.4; using 2.4.4     Using Mac OS X Carbon, Cocoa & QuickTime frameworks      I am using Texstudio and want to compliy a tex file. My command is:               "/usr/texbin/xelatex" -interaction=nonstopmode %.tex      what I got is the following:               sh: xdvipdfmx: command not found          Error: Command crashed: "/usr/texbin/xelatex" -interaction=nonstopmode "vb intro".tex       Can anybody help me with this? Thank you very much! My preamble is as follows:               \documentclass{beamer}     \usepackage{xeCJK}  % I am Chinese, which I have to use this package to support CJK     \usepackage{fontspec}     \usepackage{xunicode,xltxtra}     \usepackage{amsmath,graphicx}     \usepackage{verbatim}     \usepackage{listings}     \usetheme{Madrid}     \useinnertheme{circles}     \graphicspath{{figures/}}            \defaultfontfeatures{Mapping=tex-text}     \setmainfont{Helvetica}     \setsansfont{Helvetica}     \setmonofont{Consolas}     \setCJKmainfont[BoldFont={SimHei}, ItalicFont={Adobe Kaiti Std}]{Adobe Song Std}


title: Align bottom of table cell when table cell has height

text: I currently have at able whose row's height is set, so I can control it. This is what it looks like:               \begin{tabular}{ @{} p{1.60in} l @{} }     \hspace{-0.8in}\textbf{Fundacion Tecnologica Centroamericana} & \textbf{13/09/2012}\vspace{-0.06in} \\[0.3in]     \multicolumn{2}{ l }{\hspace{-0.8in}\textbf{Ciudad}\vspace{-0.07in}} \\     \multicolumn{2}{ l }{\hspace{-1.15in}\textbf{NIT}} \\     \end{tabular}      I used `[]` to set height. It works fine, but the row is of course taller than the text, this is what I want because as more text fills in I want it to go "up" in the cell, not push everything below it down. So how do I tell it to vertically align bottom of the row for that row? EDIT (Update): Ok, this is what I have so far, I went with the `tabularht` from below. It works by allowing me to position absolutely everything, great! Problem is the part that I want is still filling downward, I need it to fill UP so that it stays where I put it at.               \begin{tikzpicture}[remember picture,overlay]     \node [anchor=south] at ( $ (current page.center) + (-1.5cm,3.15cm) $ )     {         \begin{tabularht}{3cm}{ @{} b{2.35in} @{} }             \textbf{Fundacion Tecnologica centroamericana} \\[0.05in]\hline         \end{tabularht}     };     \end{tikzpicture}          \begin{tikzpicture}[remember picture,overlay]     \node [anchor=south] at ( $ (current page.center) + (3cm,3cm) $ )     {         \begin{tabularht}{3cm}{ @{} l @{} }             \textbf{13/09/2012}         \end{tabularht}     };     \end{tikzpicture}      Here are the images to show you what I am doing: ![enter image description here](http://i.stack.imgur.com/gfSWQ.jpg) ![enter image description here](http://i.stack.imgur.com/rhW2N.jpg) See how it pushes down and overtop of the text below it. I need it to push up and keep at the `nombre` part. If for instance the `nombre` part is only two words and only needs the first line it should stay in line, but if it's 3 or 4 word's and pushes to a second line the other word's should push UP instead of down overtop of everything. Thanks for all the help.


title: PDF Pages Included, but it does't work

text: I am writing my thesis, and I need to add a single `pdf` page in the appendix, so I found a way to use the `pdfpage` package. Normally I added the package, when I added the package and I continued writing it up. and when I compiled, I could not see any changes to my document. it basically blocks everything. when I delete that line (`\include{PdfPackage}`} then everything works fine. it didn't even append the pdf page.               \documentclass[oneside]{ecsthesis}       \graphicspath{{../Figures/}}        \usepackage{pdfpages}


title: Xelatex / Fontspec how to load fonts directly from diskfile (Postscript Type 1 fonts)

text: I have a directory containing a Type 1 Sabon font I want to use in Xelatex. I want to use the font by specifying the filenames using the `fontspec` package. I specifically define the bold and italic fonts as suggested in the fontspec manual. `\setmainfont` can take the same options as `\fontspec`, so I write:                   \documentclass[11pt, BCOR=0mm, DIV=default]{scrartcl}         \usepackage{fontspec}         \usepackage{xunicode}         \usepackage{xltxtra}         \usepackage{polyglossia}         \setmainlanguage{english}        \setmainfont[Path=C:/fonts/, BoldFont=LTe50385.pfb ,ItalicFont=LTe50383.pfb]             {LTe50383.pfb}                 \begin{document}                 etc                 \end{document}      After trying to compile this i get the following errors               Font \zf@basefont="[C:/fonts/LTe50383.pfb ]/IC              U" at 10.0pt not loadable: Metric (TFM) file or installed font n         ot found.         <to be read again>                             \scan_stop:          l.7 ..., ItalicFont = LTe50383.pfm]{LTe50383.pfm }              I wasn't able to read the size data for this font,         so I will ignore the font specification.         [Wizards can fix TFM files using TFtoPL/PLtoTF.]         You might try inserting a different font spec;        * Because of the error above I wonder if it is at all possible to load a Type 1 (Postscript) font in this way or is it restricted to OpenType and others. since it keeps asking for the TFM metric files. The Type 1 Metric files (.pfm) are placed in the same directory, but how does fontspec know how to use those?   * Or Am I doing something else wrong? All help is much appreciated! * * * **Edit 1** I'm able to use the fonts I want after installing them on the windows machine. However, this is not something I prefer, as at my workcomputer I'm unable to install fonts properly. So this problem is directly related to using the fonts by loading the diskfiles. * * * **Edit 2** The following test returns without errors:               \begin{document}     \font\test="[C:/fonts/LTe50383.pfb]" \test abc \par     \font\test="[C:/fonts/LTe50384.pfb]" \test abc \par     \font\test="[C:/fonts/LTe50385.pfb]" \test abc \par     \end{document}      * * * **Edit 3** It seems Xelatex automatically tries to find the best replacements for the unloadable font that are loaded on the machine, therefore giving some confusing false-positive results when trying to load fonts from diskfile directly using:               \setmainfont[Path=C:/fonts/, BoldFont=LTe50385.pfb ,ItalicFont=LTe50383.pfb]                 {LTe50383.pfb}      * * * **Edit 4** Owhman, this is getting confusing :) It seems syntax related, as the tests in Edit 2, meaning that Type 1 fonts can be loaded using diskfiles. Who helps me correct my syntax? * * * **Edit 5** The following works fine               \setmainfont[Path=C:/fonts/]{LTe50383.pfb}      and also using the diskfile to set a fontfamily works without problems:               \newfontfamily\scfont[Path=C:/fonts/]{SARSC___.PFB}      Meaning that I seem to be doing something wrong, and I shouldnt add fontfeatures such as BoldFont = and ItalicFont = to the \setmainfont option. Or should this be possibly and is this a bug in fontspec?


title: AMS align: Left aligned text/math plus multicolumn align

text: This question is basically a combination of two previous posts: Adding left aligned text to an equation. and AMS align / Align multiple “=”, too much space (the latter being my own question). What I would need is a multicolumn align as discussed (and solved) in the second post linked above plus a left aligned label (text and/or math) as discussed in the first post. And if possible some indent for the left aligned text would be nice. So basically an itemized list with custom text / math instead of bullets and nicely aligned equations as items.. I tried               \begin{flalign}      &aaaa & bbb &= cccccc && = d\\      &ee & f &= g && = hh     \end{flalign}      and that gives me the left aligned labels and the other stuff aligned at the equal signs. But the third column is flushed all the way to the right. I guess that's the feature of flalign. Or am I doing something wrong here? So: How can I get the desired format? Is there a way to combine flalign and alignat? Or are there other ways to do this? (I guess tables etc wouldn't really work here).


title: Disable environment contents

text: I want to prevent the content of a custom environment from being shown. I've tried:               \newenvironment{asdf}[3]     {       %some stuff happens here       %......       \begin{comment}     }{        \end{comment}     }      but this doesn't work.


title: Libertine italic sans-serif missing

text: I'm using Ubuntu 12.04 and installed the Ubuntu package 'texlive-fonts-extra' to be able to use the Libertine font. Everything is working fine except the sans-serif (Linux Biolinum) italic font. I get the following warnings:               LaTeX Font Warning: Font shape `T1/fxb/m/sl' undefined          LaTeX Font Warning: Font shape `T1/fxb/m/it' undefined          LaTeX Font Warning: Some font shapes were not available, defaults substituted.      I've found several suggestions, but none of them helped. First of all this Q&A suggests to update the Libertine font to version 5.1.3. Well the package ttf-linux-libertine is of version 5.1.3, but I doubt that this package is used by LaTeX. I couldn't figure out which version is used by LaTeX or how to upgrade the font. This mail suggests to use               \usepackage[T1]{fontenc}      Unfortunately this does not help either. Minimal example:               \documentclass[english]{article}     \usepackage[T1]{fontenc}          \usepackage{libertine}          \begin{document}         \textsf{Lorem }              \textsf{\emph{Ipsum}}     \end{document}      Compare the output with and without Libertine package: ![With Libertine, italic broken](http://i.stack.imgur.com/ICeUo.png) ![Without Libertine using default font, italic working](http://i.stack.imgur.com/BgNWD.png)


title: "exsheets": How to produce a list of questions in two or more columns?

text: I've come across some problems regarding the `exsheets` package and the use of `multicols`. When I try to enclose a series of questions, as seen in the provided example, the columns aren't typesetted as expected. ![Fist output](http://i.stack.imgur.com/n7ZTs.png)               \documentclass{scrbook}     \usepackage{exsheets}[2014/05/11]     \usepackage{multicol}          \SetupExSheets{counter-within = chapter}     \DeclareQuestionProperty{chapter-number}          \newcommand*\diff[1]{\mathop{}\!\mathrm{d}#1}          \begin{document}          \chapter{Some exercises}\label{ch:foo}     \section{Proposed}          Evaluate the following integrals:          \begin{multicols}{2}         \begin{question}             \SetQuestionProperties{chapter-number=\ref{ch:foo}}             $\int \cos x \diff{x}$.         \end{question}         \begin{solution}             $\sin x + C$         \end{solution}         \begin{question}             $\int \ln x \diff{x}$.         \end{question}         \begin{solution}             $x \ln x - x + C$         \end{solution}         \begin{question}             $\int x \cos x \diff{x}$         \end{question}         \begin{solution}             $x \sin x + \cos x + C$         \end{solution}     \end{multicols}          \appendix     \SetupExSheets{chapter-hook = \section*{Exercises from chapter~\GetQuestionProperty{chapter-number}{\CurrentQuestionID}}}          \chapter{Solutions to exercises}     \printsolutions          \end{document}      **NOTE:** I've already read the question How can I make two columns in two columns, on which the use of `tasks` is recommended. I tried putting the series of questions into a `tasks` environment, and it works but two indexing numbers appear (one for `tasks` and the other of `exsheets`). How can I get rid of one of the indexing numbers? Here's the sample and the result: ![Second output](http://i.stack.imgur.com/3k1aL.png)               \documentclass{scrbook}     \usepackage{exsheets}[2014/05/11]     \usepackage{tasks}          \SetupExSheets{counter-within = chapter}     \DeclareQuestionProperty{chapter-number}          \newcommand*\diff[1]{\mathop{}\!\mathrm{d}#1}          \begin{document}          \chapter{Some exercises}\label{ch:foo}     \section{Proposed}          Evaluate the following integrals:          \begin{tasks}(2)         \task         \begin{question}             \SetQuestionProperties{chapter-number=\ref{ch:foo}}             $\int \cos x \diff{x}$.         \end{question}         \begin{solution}             $\sin x + C$         \end{solution}         \task         \begin{question}             $\int \ln x \diff{x}$.         \end{question}         \begin{solution}             $x \ln x - x + C$         \end{solution}         \task         \begin{question}             $\int x \cos x \diff{x}$         \end{question}         \begin{solution}             $x \sin x + \cos x + C$         \end{solution}     \end{tasks}          \appendix     \SetupExSheets{chapter-hook = \section*{Exercises from chapter~\GetQuestionProperty{chapter-number}{\CurrentQuestionID}}}          \chapter{Solutions to exercises}     \printsolutions          \end{document}      Thanks in advance!!!


title: Write "chapter" before list of figures

text: if I use the `\listoffigures` command LaTeX creates a new chapter (I'm using the book class), but there is no chapter heading. Is it like it uses `\chapter*{List of figures}`. Of course this is what we want most of the cases, but what can I do to obtain a:               Chapter 3     List of figures      Actually I need these for the command `\listoftheorems` from the `thmtools` package, but it should be the same.


title: How to localize label using algorithm and algorithmic packages

text: I am writing a paper in Italian and I need to include pseudo code in my latex document so I am currently using the `algorithm` and `algorithmic` packages. At the top of every algorithm the label `Algorithm 1` is shown, but I'd like for it to be in Italian instead. I have previously included:               \usepackage[italian]{babel}     \usepackage[utf8]{inputenc}       with no change whatsoever, is there any way to localize it?               \documentclass[a4paper,12pt]{article}     \usepackage{algorithm}     \usepackage{algorithmic}     \usepackage[italian]{babel}     \usepackage[utf8]{inputenc}     \title{ASD}     \author{haunted85}     \date{Ottobre 2012}     \begin{document}     \maketitle     \section{}     \begin{algorithm}     \caption{Questo è un algoritmo.}     \begin{algorithmic}[1]     \STATE int Count(int $N$)     \STATE $sum = 0$     \FOR{$i \leq N$}     \FOR{$j = i \leq N$}     \STATE $sum = sum + 1$     \ENDFOR     \ENDFOR     \RETURN $sum$     \end{algorithmic}     \end{algorithm}     \end{document}


title: Using endfloat and caption packages to remove caption from figures

text: In the current example:               \documentclass[12pt]{article}     \usepackage[textwidth=6.7in,textheight=9.125in]{geometry} % alter dimensions of document     \usepackage{graphicx} % include graphics i.e. figures     \usepackage[nomarkers,tablesfirst,notablist]{endfloat} %place figures at end of document          \begin{document}     \title{LaTeX Example}     \maketitle     This is an example of a latex document with figures and tables included.           \begin{table}     \begin{tabular}{|l|c|p{3.5in}|}     \hline     \multicolumn{3}{|c|}{Places to Go Backpacking}\\ \hline     Name&Driving Time&Notes\\     &(hours)&\\ \hline     Big Basin&1.5&Very nice overnight to Berry Creek Falls from     either Headquarters or ocean side.\\ \hline     Sunol&1&Technicolor green in the spring. Watch out for the cows.\\ \hline     Henry Coe&1.5&Large wilderness nearby suitable for multi-day treks.\\ \hline     \end{tabular}     \caption{This is my first table}     \end{table}          \begin{figure}     \centering     \includegraphics{Figure1}     \caption{Here I describe the figure}     \end{figure}     \end{document}      I have a documnet that has a table and a figure. I use the `endfloat` package to place these at the end of the document where the table is placed first followed by a list of figures and finally the figures themselves. Is there a method for removing the captions from the figures but keeping the caption to the table? By adding an option that removes the caption, it does so for both the figure and the table (I don't want this). To remove only the figure caption, the `endfloat` manual states to use the `caption` package:               \captionsetup[figure]{labelsep=none,labelformat=empty,textformat=empty}      However, this generates an error, making me think that this command cannot be used with the `endfloat` package. Any suggestions on how to solve this issue?


title: How to typeset template attributes using TikzUml?

text: I've tried to typeset a template class attribute in Tikz Uml using the following code:               \documentclass[border=10pt]{standalone}     \usepackage{tikz}     \usepackage{tikz-uml}          \begin{document}          \begin{tikzpicture}         \tikzumlset{font=\footnotesize}              \umlclass[x=0, y=0, type=abstract]{Class}{}{             \umlvirt{+execute(): bool}         }              \umlclass[x=-3, y=-4]{DerivedClass}         {             -variable\_: type\\             -variablePtr\_: smartPtr<variableType>         }         {         }         \umlVHVimpl[anchors=north and south]{DerivedClass}{Class}          \end{tikzpicture}          \end{document}      And I got this as a result: ![enter image description here](http://i.stack.imgur.com/GOKbi.jpg) Instead of smartPtr¡variableType¿ I expected               smartPointer<variableType>      How do I get that? I tried escaping the "<" character, but I got the following error:               ! Undefined control sequence.     \tikzumlClassAttributes ...riablePtr\_: smartPtr\<                                                       variableType\>      l.20     }


title: Modifying moderncv to look like an example cv

text: I would like to create a cv with moderncv like the example below. I have set my fontsize to 10pt but the letters in this cv seem smaller. Furthermore the dates look awesome but I cannot achieve the same result. Can anyone help me? http://www.endofunctor.org/~rpearl/resume.pdf


title: Cannot run TexLive Manager for TeXLive 2008

text: I have simultaneous implementations of TL 2008, TL 2010 and TL 2011 on my Windows XP machine. However after installing TL 2011, I find that I cannot run the TeXLive Manager for 2008. The path for the TL 2008 manager is still correct:               C:\>"C:\Program Files\texlive\2008\bin\win32\tlmgr.bat" gui      A dos window pops up and gives me this message:               Loading local TeX Live Database     This may take some time, please wait!     TeXLive::TLUtils::setup_programs (w32) failed at C:/texlive/2011/tlpkg/TeXLive/TLUtils.pm line 2192.     C:\texlive\2011\tlpkg\installer\wget\wget.exe --version failed (status 256):     Output is:     wget: WGETRC points to C:/texlive/2011/tlpkg/installer/wgetrc, which doesn't exist.          Couldn't set up the necessary programs.     Installation of packages is not supported.     Please report to texlive@tug.org.     Continuing anyway ...     Completed.      Any suggestions as to how to correct this behaviour? Updated: Contents of tlmgr.bat               @echo off     rem tl-w32-starter.bat     rem universal script starter, batch file part     rem this program calls the tl-w32-wrapper.texlua     setlocal     set ownpath=%~dp0%     texlua "%ownpath%tl-w32-wrapper.texlua" "%~dpn0" %*     endlocal


title: Sublime Text 2 - LaTeXing can't find perltex and texcount

text: LaTeXing doesn't find perltex and texcount when I check the system. What I have done so far:   * Installed LaTeXing and LaTeX-cwl via package control.   * Added the `InverseSearchCmdLine` in SumatraPDF, and the path to SumatraPDF in LaTeXing.Sublime-settings (user).              "path": "C:\\Programfiler (x86)\\SumatraPDF;$PATH"        * Adjusted the path to texlive in LaTeX.Sublime-build.              "path": "C:\\texlive\\2014\\bin\\win32;$PATH"      So, when I run "Check System" I get the following output in a little window:               perl: Error     latexmk: OK     texcount: Error     kpsewhich: OK     texdoc: OK      What I have tried to solve the problem is:   1. Adding the path to perltex and texcount in LaTeXing.Sublime-settings (user).              "path": [     "C:\\Programfiler (x86)\\SumatraPDF;$PATH",     "C:\\texlive\\2014\\bin\\win32\\perltex.exe;$PATH",     "C:\\texlive\\2014\\bin\\win32\\texcount.exe;$PATH"     ]        2. Setting up absolute paths to perltex and texcount in LaTeXing.Sublime-settings (user).              "executables": {     "perl": "C:\\texlive\\2014\\bin\\win32\\perltex.exe;$PATH",     "texcount": "C:\\texlive\\2014\\bin\\win32\\texcount.exe;$PATH"     }      This doesn't do anything, but it should be mentioned that I can build a LaTeX document just fine, and the SumatraPDF works like it should. I also wonder if my syntax for setting up the paths in the code examples above are correct. Additional info: I'm running LaTeXing v0.5.10 and Sublime Text 2 on a Windows 8.1 system.


title: TeXLive 2011 does not update local directories

text: I am using TL 2011 with Windows XP. I have placed some custom files here:               C:\texlive\2011\texmf-local\tex\latex      and then I updated the filename database from the TeXLive Manager. Everything is reported fine:               Loading local TeX Live Database     This may take some time, please wait!     Completed.     Running mktexlsr, this may take some time ...     mktexlsr: Updating C:/texlive/2011/texmf-config/ls-R...     mktexlsr: Updated C:/texlive/2011/texmf-config/ls-R.     mktexlsr: Updating C:/texlive/2011/texmf-var/ls-R...     mktexlsr: Updated C:/texlive/2011/texmf-var/ls-R.     mktexlsr: Updating C:/texlive/2011/texmf/ls-R...     mktexlsr: Updated C:/texlive/2011/texmf/ls-R.     mktexlsr: Updating C:/texlive/2011/../texmf-local/ls-R...     mktexlsr: Updated C:/texlive/2011/../texmf-local/ls-R.     mktexlsr: Updating C:/texlive/2011/texmf-dist/ls-R...     mktexlsr: Updated C:/texlive/2011/texmf-dist/ls-R.     mktexlsr: Done.      But TeXLive 2011 still cannot find my custom files in the folder:               C:\texlive\2011\texmf-local\tex\latex      Note: I didn't have the problem with TexLive 2010. Any suggestions?


title: Can't Remove Date from newlfm

text: The date in the picture below is still appearing. If I remove the `\begin{newlfm}` and `\end{newlfm}` lines, it removes the date. But I also need to have things in my `newlfm` like the body of my cover letter. I need to remove that date, I can set my own date without it automating itself. ![](http://imgur.com/jNful.jpg) Here is my code:               \documentclass[11pt,stdletter,sigleft]{newlfm}      \usepackage{charter}           \widowpenalty=1000      \clubpenalty=1000           \newsavebox{\Luiuc}      \sbox{\Luiuc}{%          \parbox[b]{1.75in}{%                         }%      }%           \begin{document}      \begin{newlfm}           Enclosed is my curriculum vitae (including a list of           \end{newlfm}      \end{document}


title: Can't get italics to display for Japanese font using xelatex

text: I can't get italics to display correctly with `xelatex` for Japanese or Latin text using Japanese fonts. Sample file:               \documentclass{book}            \usepackage{fontspec}       \setromanfont{MS Mincho}            \title{Test}       \begin{document}       regular テスト       \emph{italics テスト}       \end{document}        It should show " _italics テスト_ " or at the very least " _italics_ テスト" but instead shows "italics テスト". The log says:               LaTeX Font Info:    Some font shapes were not available, defaults substituted.      So I guess most Japanese fonts don't have italics built in even for the latin characters. Does anybody know of free or inexpensive fonts with true italics like these that DOESN'T cost $595.00? http://store1.adobe.com/cfusion/store/html/index.cfm?store=OLS- US&event=displayFontPackage&code=1801   http://store1.adobe.com/cfusion/store/html/index.cfm?store=OLS- US&event=displayFontPackage&code=1800


title: Using pgfplots with a0poster

text: I want to use tikz/pgf to plot some graphs in a poster done with a0poster. That is the code:               \begin{tikzpicture}       \begin{axis}[xlabel=lambda, ylabel=int]         \addplot[blue] table [mark=none, col sep=comma, trim cells=true]{data.txt};       \end{axis}     \end{tikzpicture}      Here's what it should look like, compiled in DIN-A4 (standard paper size): ![tikz-plot](http://i.stack.imgur.com/8gTyr.png) This is what happens with a0poster (never mind about the background): ![tikz_in_a0poster](http://i.stack.imgur.com/mTy8P.png) Apart from the screwed up labeling and positioning (which might be fixed), there are curves in all the wrong places. The frame has 3 curvy corners and the single data points are connected by way too big arcs. That's what makes the hairs, here is it in detail: ![tikz_in_a0poster_detail](http://i.stack.imgur.com/aA7iV.png) > Well, do you have an idea of how to make pgfplot work correctly with > a0poster? (Or, if not, which poster packages are compatible with pgfplot? It would hurt to port the finished poster layout to another package, but if there's no other solution, then that's the pill to swallow.)


title: Unwanted space between logo and title in titlepage

text: I have a problem that I can't resolve. I already did a title page using LaTeX but it contains many spaces between the logo of my school and the name of the school. This is my code please if any person can help me               \begin{titlepage}     \begin{minipage}{\linewidth}     \begin{center}     \color{blue}     \bf {REPUBLIQUE TUNISIENNE \\     MINISTERE DE L'ENSEIGNEMENT SUPERIEUR,\\     DE LA RECHERCHE SCIENTIFIQUE ET DE LA TECHNOLOGIE \\     UNIVERSITE TUNIS EL MANAR }     \centerline{     \includegraphics[width=0.8\linewidth]{logo}     }     \centerline{     \textcolor{myblue}{\bf \normalsize{INSTITUT SUPERIEUR D'INFORMATIQUE}}     }          \end{center}     \end{minipage}     \vspace{1cm}          \begin{minipage}[b]{\linewidth}     \begin{center}     \color{black}     \bf \Large{M\'EMOIRE DE MAST\`ERE}     \end{center}     \end{minipage}     \vspace{0.5cm}          \begin{minipage}[b]{\linewidth}     \begin{center}     \color{black} \normalsize \bf{{Pr\'esent\'e en vue de l'obtention du \\     Dipl\^ome de mast\`ere de recherche en G\'enie logiciel \\     Option:Logiciels et Syst\`emes Critiques }}     \end{center}     \end{minipage}     \vspace{0.5cm}          \hspace{4cm}\begin{minipage}[b]{0.5\linewidth}     \begin{center}                    \end{center}     \end{minipage}          {\begin{minipage}[b]{\linewidth}     \begin{center}                \fontsize{18}{24}\selectfont      \bfseries{Protection de la vie priv\'ee dans les r\'eseaux sociaux :      principalement Facebook}     \end{center}     \end{minipage}}          \vspace{0.5cm}          \begin{minipage}[b]{\linewidth}     \begin{center}     \textbf{Elabor\'e Par: Gherib Boutheina}     \vspace{0.5cm}          \textbf{Encadr\'e par: Nawel Ben Salem Grati}     \vspace{1cm}          {\large \bf{Ann\'ee Universitaire:2011-2012}}     \end{center}     \end{minipage}          \end{titlepage}


title: How to get a tensor symbol like this?

text: ![enter image description here](http://i.stack.imgur.com/I2SDm.png) As you can see, it looks like the superposition of two `\rightharpoonup`. I don't know how to make it.


title: Not finding all graphics in graphicspath

text: I am able to build fine in Windows, but when I move to my Ubuntu machine and attempt to build from there, it looks like pdflatex is finding some pictures in my graphicspath but not others. Any ideas on how to fix this? Thanks! I've included the log, and bolded two instances: the first one, it finds the graphic in the path, the second, for some reason it doesn't. Both images exist, and are named correctly.               This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2014.5.19)  3 JUN 2014 18:52     entering extended mode      restricted \write18 enabled.      %&-line parsing enabled.     **SciTechDraft3.tex     (./SciTechDraft3.tex     LaTeX2e <2011/06/27>     Babel <3.9h> and hyphenation patterns for 2 languages loaded.     (/usr/share/texlive/texmf-dist/tex/latex/aiaa/aiaa-tc.cls     Document Class: aiaa-tc 2004/04/03 v3.5 AIAA technical conference paper     (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls     Document Class: article 2007/10/19 v1.4h Standard LaTeX document class     (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo     File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)     )     \c@part=\count79     \c@section=\count80     \c@subsection=\count81     \c@subsubsection=\count82     \c@paragraph=\count83     \c@subparagraph=\count84     \c@figure=\count85     \c@table=\count86     \abovecaptionskip=\skip41     \belowcaptionskip=\skip42     \bibindent=\dimen102     )     (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty     Package: geometry 2010/09/12 v5.6 Page Geometry          (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty     Package: keyval 1999/03/16 v1.13 key=value parser (DPC)     \KV@toks@=\toks14     )     (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty     Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)     Package ifpdf Info: pdfTeX in PDF mode is detected.     )     (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty     Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)     Package ifvtex Info: VTeX not detected.     )     (/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty     Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional     )     \Gm@cnth=\count87     \Gm@cntv=\count88     \c@Gm@tempcnt=\count89     \Gm@bindingoffset=\dimen103     \Gm@wd@mp=\dimen104     \Gm@odd@mp=\dimen105     \Gm@even@mp=\dimen106     \Gm@layoutwidth=\dimen107     \Gm@layoutheight=\dimen108     \Gm@layouthoffset=\dimen109     \Gm@layoutvoffset=\dimen110     \Gm@dimlist=\toks15     )     (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty     Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)          (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty     Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)          (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty     Package: trig 1999/03/16 v1.09 sin cos tan (DPC)     )     (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg     File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live     )     Package graphics Info: Driver file: pdftex.def on input line 91.          (/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def     File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty     Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)     )     (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty     Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)     )     \Gread@gobject=\count90     ))     \Gin@req@height=\dimen111     \Gin@req@width=\dimen112     )     (/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty     Package: array 2008/09/09 v2.4c Tabular extension package (FMi)     \col@sep=\dimen113     \extrarowheight=\dimen114     \NC@list=\toks16     \extratabsurround=\skip43     \backup@length=\skip44     )     (/usr/share/texlive/texmf-dist/tex/latex/cite/overcite.sty     Package: overcite 1999/04/23  v 3.8     )     (/usr/share/texlive/texmf-dist/tex/latex/lastpage/lastpage.sty     Package: lastpage 2013/01/28 v1.2l Refers to last page's name (HMM; JPG)     )     (/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty     \fancy@headwidth=\skip45     \f@ncyO@elh=\skip46     \f@ncyO@erh=\skip47     \f@ncyO@olh=\skip48     \f@ncyO@orh=\skip49     \f@ncyO@elf=\skip50     \f@ncyO@erf=\skip51     \f@ncyO@olf=\skip52     \f@ncyO@orf=\skip53     )     \c@aiaa@cthanks=\count91     \c@aiaa@cfootnote=\count92     )     (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty     Package: inputenc 2008/03/30 v1.1d Input encoding file     \inpenc@prehook=\toks17     \inpenc@posthook=\toks18          (/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def     File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc     Now handling font encoding OML ...     ... no UTF-8 mapping file for font encoding OML     Now handling font encoding T1 ...     ... processing UTF-8 mapping file for font encoding T1          (/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu     File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc        defining Unicode char U+00A1 (decimal 161)        defining Unicode char U+00A3 (decimal 163)        defining Unicode char U+00AB (decimal 171)        defining Unicode char U+00BB (decimal 187)        defining Unicode char U+00BF (decimal 191)        defining Unicode char U+00C0 (decimal 192)        defining Unicode char U+00C1 (decimal 193)        defining Unicode char U+00C2 (decimal 194)        defining Unicode char U+00C3 (decimal 195)        defining Unicode char U+00C4 (decimal 196)        defining Unicode char U+00C5 (decimal 197)        defining Unicode char U+00C6 (decimal 198)        defining Unicode char U+00C7 (decimal 199)        defining Unicode char U+00C8 (decimal 200)        defining Unicode char U+00C9 (decimal 201)        defining Unicode char U+00CA (decimal 202)        defining Unicode char U+00CB (decimal 203)        defining Unicode char U+00CC (decimal 204)        defining Unicode char U+00CD (decimal 205)        defining Unicode char U+00CE (decimal 206)        defining Unicode char U+00CF (decimal 207)        defining Unicode char U+00D0 (decimal 208)        defining Unicode char U+00D1 (decimal 209)        defining Unicode char U+00D2 (decimal 210)        defining Unicode char U+00D3 (decimal 211)        defining Unicode char U+00D4 (decimal 212)        defining Unicode char U+00D5 (decimal 213)        defining Unicode char U+00D6 (decimal 214)        defining Unicode char U+00D8 (decimal 216)        defining Unicode char U+00D9 (decimal 217)        defining Unicode char U+00DA (decimal 218)        defining Unicode char U+00DB (decimal 219)        defining Unicode char U+00DC (decimal 220)        defining Unicode char U+00DD (decimal 221)        defining Unicode char U+00DE (decimal 222)        defining Unicode char U+00DF (decimal 223)        defining Unicode char U+00E0 (decimal 224)        defining Unicode char U+00E1 (decimal 225)        defining Unicode char U+00E2 (decimal 226)        defining Unicode char U+00E3 (decimal 227)        defining Unicode char U+00E4 (decimal 228)        defining Unicode char U+00E5 (decimal 229)        defining Unicode char U+00E6 (decimal 230)        defining Unicode char U+00E7 (decimal 231)        defining Unicode char U+00E8 (decimal 232)        defining Unicode char U+00E9 (decimal 233)        defining Unicode char U+00EA (decimal 234)        defining Unicode char U+00EB (decimal 235)        defining Unicode char U+00EC (decimal 236)        defining Unicode char U+00ED (decimal 237)        defining Unicode char U+00EE (decimal 238)        defining Unicode char U+00EF (decimal 239)        defining Unicode char U+00F0 (decimal 240)        defining Unicode char U+00F1 (decimal 241)        defining Unicode char U+00F2 (decimal 242)        defining Unicode char U+00F3 (decimal 243)        defining Unicode char U+00F4 (decimal 244)        defining Unicode char U+00F5 (decimal 245)        defining Unicode char U+00F6 (decimal 246)        defining Unicode char U+00F8 (decimal 248)        defining Unicode char U+00F9 (decimal 249)        defining Unicode char U+00FA (decimal 250)        defining Unicode char U+00FB (decimal 251)        defining Unicode char U+00FC (decimal 252)        defining Unicode char U+00FD (decimal 253)        defining Unicode char U+00FE (decimal 254)        defining Unicode char U+00FF (decimal 255)        defining Unicode char U+0102 (decimal 258)        defining Unicode char U+0103 (decimal 259)        defining Unicode char U+0104 (decimal 260)        defining Unicode char U+0105 (decimal 261)        defining Unicode char U+0106 (decimal 262)        defining Unicode char U+0107 (decimal 263)        defining Unicode char U+010C (decimal 268)        defining Unicode char U+010D (decimal 269)        defining Unicode char U+010E (decimal 270)        defining Unicode char U+010F (decimal 271)        defining Unicode char U+0110 (decimal 272)        defining Unicode char U+0111 (decimal 273)        defining Unicode char U+0118 (decimal 280)        defining Unicode char U+0119 (decimal 281)        defining Unicode char U+011A (decimal 282)        defining Unicode char U+011B (decimal 283)        defining Unicode char U+011E (decimal 286)        defining Unicode char U+011F (decimal 287)        defining Unicode char U+0130 (decimal 304)        defining Unicode char U+0131 (decimal 305)        defining Unicode char U+0132 (decimal 306)        defining Unicode char U+0133 (decimal 307)        defining Unicode char U+0139 (decimal 313)        defining Unicode char U+013A (decimal 314)        defining Unicode char U+013D (decimal 317)        defining Unicode char U+013E (decimal 318)        defining Unicode char U+0141 (decimal 321)        defining Unicode char U+0142 (decimal 322)        defining Unicode char U+0143 (decimal 323)        defining Unicode char U+0144 (decimal 324)        defining Unicode char U+0147 (decimal 327)        defining Unicode char U+0148 (decimal 328)        defining Unicode char U+014A (decimal 330)        defining Unicode char U+014B (decimal 331)        defining Unicode char U+0150 (decimal 336)        defining Unicode char U+0151 (decimal 337)        defining Unicode char U+0152 (decimal 338)        defining Unicode char U+0153 (decimal 339)        defining Unicode char U+0154 (decimal 340)        defining Unicode char U+0155 (decimal 341)        defining Unicode char U+0158 (decimal 344)        defining Unicode char U+0159 (decimal 345)        defining Unicode char U+015A (decimal 346)        defining Unicode char U+015B (decimal 347)        defining Unicode char U+015E (decimal 350)        defining Unicode char U+015F (decimal 351)        defining Unicode char U+0160 (decimal 352)        defining Unicode char U+0161 (decimal 353)        defining Unicode char U+0162 (decimal 354)        defining Unicode char U+0163 (decimal 355)        defining Unicode char U+0164 (decimal 356)        defining Unicode char U+0165 (decimal 357)        defining Unicode char U+016E (decimal 366)        defining Unicode char U+016F (decimal 367)        defining Unicode char U+0170 (decimal 368)        defining Unicode char U+0171 (decimal 369)        defining Unicode char U+0178 (decimal 376)        defining Unicode char U+0179 (decimal 377)        defining Unicode char U+017A (decimal 378)        defining Unicode char U+017B (decimal 379)        defining Unicode char U+017C (decimal 380)        defining Unicode char U+017D (decimal 381)        defining Unicode char U+017E (decimal 382)        defining Unicode char U+200C (decimal 8204)        defining Unicode char U+2013 (decimal 8211)        defining Unicode char U+2014 (decimal 8212)        defining Unicode char U+2018 (decimal 8216)        defining Unicode char U+2019 (decimal 8217)        defining Unicode char U+201A (decimal 8218)        defining Unicode char U+201C (decimal 8220)        defining Unicode char U+201D (decimal 8221)        defining Unicode char U+201E (decimal 8222)        defining Unicode char U+2030 (decimal 8240)        defining Unicode char U+2031 (decimal 8241)        defining Unicode char U+2039 (decimal 8249)        defining Unicode char U+203A (decimal 8250)        defining Unicode char U+2423 (decimal 9251)     )     Now handling font encoding OT1 ...     ... processing UTF-8 mapping file for font encoding OT1          (/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu     File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc        defining Unicode char U+00A1 (decimal 161)        defining Unicode char U+00A3 (decimal 163)        defining Unicode char U+00B8 (decimal 184)        defining Unicode char U+00BF (decimal 191)        defining Unicode char U+00C5 (decimal 197)        defining Unicode char U+00C6 (decimal 198)        defining Unicode char U+00D8 (decimal 216)        defining Unicode char U+00DF (decimal 223)        defining Unicode char U+00E6 (decimal 230)        defining Unicode char U+00EC (decimal 236)        defining Unicode char U+00ED (decimal 237)        defining Unicode char U+00EE (decimal 238)        defining Unicode char U+00EF (decimal 239)        defining Unicode char U+00F8 (decimal 248)        defining Unicode char U+0131 (decimal 305)        defining Unicode char U+0141 (decimal 321)        defining Unicode char U+0142 (decimal 322)        defining Unicode char U+0152 (decimal 338)        defining Unicode char U+0153 (decimal 339)        defining Unicode char U+2013 (decimal 8211)        defining Unicode char U+2014 (decimal 8212)        defining Unicode char U+2018 (decimal 8216)        defining Unicode char U+2019 (decimal 8217)        defining Unicode char U+201C (decimal 8220)        defining Unicode char U+201D (decimal 8221)     )     Now handling font encoding OMS ...     ... processing UTF-8 mapping file for font encoding OMS          (/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu     File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc        defining Unicode char U+00A7 (decimal 167)        defining Unicode char U+00B6 (decimal 182)        defining Unicode char U+00B7 (decimal 183)        defining Unicode char U+2020 (decimal 8224)        defining Unicode char U+2021 (decimal 8225)        defining Unicode char U+2022 (decimal 8226)     )     Now handling font encoding OMX ...     ... no UTF-8 mapping file for font encoding OMX     Now handling font encoding U ...     ... no UTF-8 mapping file for font encoding U        defining Unicode char U+00A9 (decimal 169)        defining Unicode char U+00AA (decimal 170)        defining Unicode char U+00AE (decimal 174)        defining Unicode char U+00BA (decimal 186)        defining Unicode char U+02C6 (decimal 710)        defining Unicode char U+02DC (decimal 732)        defining Unicode char U+200C (decimal 8204)        defining Unicode char U+2026 (decimal 8230)        defining Unicode char U+2122 (decimal 8482)        defining Unicode char U+2423 (decimal 9251)     ))     (/usr/share/texlive/texmf-dist/tex/latex/wrapfig/wrapfig.sty     \wrapoverhang=\dimen115     \WF@size=\dimen116     \c@WF@wrappedlines=\count93     \WF@box=\box26     \WF@everypar=\toks19     Package: wrapfig 2003/01/31  v 3.6     )     (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty     \Urlmuskip=\muskip10     Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.     ) (./SciTechDraft3.aux)     \openout1 = `SciTechDraft3.aux'.          LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 14.     LaTeX Font Info:    ... okay on input line 14.     LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 14.     LaTeX Font Info:    ... okay on input line 14.     LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 14.     LaTeX Font Info:    ... okay on input line 14.     LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 14.     LaTeX Font Info:    ... okay on input line 14.     LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 14.     LaTeX Font Info:    ... okay on input line 14.     LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 14.     LaTeX Font Info:    ... okay on input line 14.          *geometry* driver: auto-detecting     *geometry* detected driver: pdftex     *geometry* verbose mode - [ preamble ] result:     * driver: pdftex     * paper: <default>     * layout: <same size as paper>     * layoutoffset:(h,v)=(0.0pt,0.0pt)     * modes:      * h-part:(L,W,R)=(72.26999pt, 469.75502pt, 72.26999pt)     * v-part:(T,H,B)=(54.2025pt, 668.4975pt, 72.26999pt)     * \paperwidth=614.295pt     * \paperheight=794.96999pt     * \textwidth=469.75502pt     * \textheight=668.4975pt     * \oddsidemargin=0.0pt     * \evensidemargin=0.0pt     * \topmargin=-55.06749pt     * \headheight=12.0pt     * \headsep=25.0pt     * \topskip=10.0pt     * \footskip=30.0pt     * \marginparwidth=65.0pt     * \marginparsep=11.0pt     * \columnsep=10.0pt     * \skip\footins=9.0pt plus 4.0pt minus 2.0pt     * \hoffset=0.0pt     * \voffset=0.0pt     * \mag=1000     * \@twocolumnfalse     * \@twosidefalse     * \@mparswitchfalse     * \@reversemarginfalse     * (1in=72.27pt=25.4mm, 1cm=28.453pt)          (/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii     [Loading MPS to PDF converter (version 2006.09.02).]     \scratchcounter=\count94     \scratchdimen=\dimen117     \scratchbox=\box27     \nofMPsegments=\count95     \nofMParguments=\count96     \everyMPshowfont=\toks20     \MPscratchCnt=\count97     \MPscratchDim=\dimen118     \MPnumerator=\count98     \makeMPintoPDFobject=\count99     \everyMPtoPDFconversion=\toks21     ) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty     Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO     )          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty     Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)     Package ifluatex Info: LuaTeX not detected.     )     Package pdftexcmds Info: LuaTeX not detected.     Package pdftexcmds Info: \pdf@primitive is available.     Package pdftexcmds Info: \pdf@ifprimitive is available.     Package pdftexcmds Info: \pdfdraftmode found.     )     (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty     Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf          (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty     Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty     Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)     ))     (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty     Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty     Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)          (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty     Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)     Package etexcmds Info: Could not find \expanded.     (etexcmds)             That can mean that you are not using pdfTeX 1.50 or     (etexcmds)             that some package has redefined \expanded.     (etexcmds)             In the latter case, load this package earlier.     )))     Package grfext Info: Graphics extension search list:     (grfext)             [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE     G,.JBIG2,.JB2,.eps]     (grfext)             \AppendGraphicsExtensions on input line 452.          (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg     File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv     e     ))     Package lastpage Info: Please have a look at the pageslts package at     (lastpage)             http://www.ctan.org/tex-archive/      (lastpage)             macros/latex/contrib/pageslts/      (lastpage)             or     (lastpage)             http://www.ctan.org/tex-archive/      (lastpage)             install/macros/latex/contrib/pageslts.tds.zip     (lastpage)             ! on input line 14.     LaTeX Font Info:    External font `cmex10' loaded for size     (Font)              <12> on input line 29.     LaTeX Font Info:    External font `cmex10' loaded for size     (Font)              <8> on input line 29.     LaTeX Font Info:    External font `cmex10' loaded for size     (Font)              <6> on input line 29.     LaTeX Font Info:    External font `cmex10' loaded for size     (Font)              <5> on input line 29.          **<./Pics/team2.png, id=1, 1397.22pt x 698.61pt>     File: ./Pics/team2.png Graphic file (type png)      <use ./Pics/team2.png>**     Package pdftex.def Info: ./Pics/team2.png used on input line 52.     (pdftex.def)             Requested size: 352.31024pt x 176.15512pt.               LaTeX Warning: `!h' float specifier changed to `!ht'.          [1          {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]     LaTeX Font Info:    External font `cmex10' loaded for size     (Font)              <7> on input line 61.               **LaTeX Warning: File `scheduleFig.png' not found on input line 65.**               ! Package pdftex.def Error: File `scheduleFig.png' not found.          See the pdftex.def package documentation for explanation.     Type  H <return>  for immediate help.      ...                                                        l.65        \includegraphics[scale=1]{scheduleFig.png}          Using draft setting for this image.     Try typing  <return>  to proceed.     If that doesn't work, type  X <return>  to quit.          [2 <./Pics/team2.png>] [3] [4]          LaTeX Warning: File `workflow.png' not found on input line 112.               ! Package pdftex.def Error: File `workflow.png' not found.          See the pdftex.def package documentation for explanation.     Type  H <return>  for immediate help.      ...                                                        l.112       \includegraphics[scale=1]{workflow.png}          Using draft setting for this image.     Try typing  <return>  to proceed.     If that doesn't work, type  X <return>  to quit.               LaTeX Warning: `!h' float specifier changed to `!ht'.          <./Pics/missionProfile.png, id=31, 704.8734pt x 348.3414pt>     File: ./Pics/missionProfile.png Graphic file (type png)          <use ./Pics/missionProfile.png>     Package pdftex.def Info: ./Pics/missionProfile.png used on input line 125.     (pdftex.def)             Requested size: 704.87169pt x 348.34055pt.               LaTeX Warning: `!h' float specifier changed to `!ht'.          [5]     LaTeX Font Info:    Try loading font information for OMS+cmr on input line 139.           (/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd     File: omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions     )     LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <10> not available     (Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 139.          <./Pics/sampleOutput.png, id=35, 2102.85625pt x 1742.51pt>     File: ./Pics/sampleOutput.png Graphic file (type png)          <use ./Pics/sampleOutput.png>     Package pdftex.def Info: ./Pics/sampleOutput.png used on input line 148.     (pdftex.def)             Requested size: 2102.85114pt x 1742.50577pt.               LaTeX Warning: `!h' float specifier changed to `!ht'.          [6]          LaTeX Warning: File `optimusWorkflow.png' not found on input line 165.               ! Package pdftex.def Error: File `optimusWorkflow.png' not found.          See the pdftex.def package documentation for explanation.     Type  H <return>  for immediate help.      ...                                                        l.165 ...udegraphics[scale=1]{optimusWorkflow.png}          Using draft setting for this image.     Try typing  <return>  to proceed.     If that doesn't work, type  X <return>  to quit.               LaTeX Warning: `!h' float specifier changed to `!ht'.          [7 <./Pics/missionProfile.png>] [8 <./Pics/sampleOutput.png>] [9]          LaTeX Warning: File `cloud.png' not found on input line 186.               ! Package pdftex.def Error: File `cloud.png' not found.          See the pdftex.def package documentation for explanation.     Type  H <return>  for immediate help.      ...                                                        l.186       \includegraphics[scale=1]{cloud.png}          Using draft setting for this image.     Try typing  <return>  to proceed.     If that doesn't work, type  X <return>  to quit.          [10] <./Pics/validate.png, id=55, 1396.21625pt x 1141.26375pt>     File: ./Pics/validate.png Graphic file (type png)          <use ./Pics/validate.png>     Package pdftex.def Info: ./Pics/validate.png used on input line 203.     (pdftex.def)             Requested size: 469.7433pt x 383.96703pt.               LaTeX Warning: `!h' float specifier changed to `!ht'.          [11] (./SciTechDraft3.bbl [12 <./Pics/validate.png>])          AED: lastpage setting LastPage     [13] (./SciTechDraft3.aux) )      Here is how much of TeX's memory you used:      2707 strings out of 495028      37099 string characters out of 6181497      105974 words of memory out of 5000000      5853 multiletter control sequences out of 15000+600000      9547 words of font info for 34 fonts, out of 8000000 for 9000      14 hyphenation exceptions out of 8191      38i,11n,45p,1396b,366s stack positions out of 5000i,500n,10000p,200000b,80000s     </usr/share/texlive/texmf-dist/fonts/type1/public/a     msfonts/cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfont     s/cm/cmbx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/c     mbx8.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx9.pf     b></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></us     r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi8.pfb></usr/share     /texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texliv     e/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf     -dist/fonts/type1/public/amsfonts/cm/cmr6.pfb></usr/share/texlive/texmf-dist/fo     nts/type1/public/amsfonts/cm/cmr7.pfb></usr/share/texlive/texmf-dist/fonts/type     1/public/amsfonts/cm/cmr8.pfb></usr/share/texlive/texmf-dist/fonts/type1/public     /amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfo     nts/cm/cmsy6.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/     cmsy8.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.     pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmti8.pfb></u     sr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></usr/sha     re/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt8.pfb>     Output written on SciTechDraft3.pdf (13 pages, 1819514 bytes).     PDF statistics:      128 PDF objects out of 1000 (max. 8388607)      86 compressed objects within 1 object stream      0 named destinations out of 1000 (max. 500000)      21 words of extra memory for PDF output out of 10000 (max. 10000000)


title: Append entries to an existing \graphicspath

text: I have a \graphicspath command at the beginning of a document (the main document):               \graphicspath{{images/}{extras/images/}}      I have sub-documents into which I insert images (actually SVG files from Inkscape):               \def\svgwidth{\linewidth}     \input{/another/path/images/ppn522-graphs.pdf_tex}      These sub-documents may be inserted into different main documents. But they need some information about images to be included so I need to do this:               \def\svgwidth{\linewidth}     \graphicspath{{/another/path/images/}}     \input{/another/path/images/ppn522-graphs.pdf_tex}      Problem: this overrides my first \graphicspath declaration: my logo images (and extras/images) are not found anymore (generating errors) after I insert the \graphicspath{{/another/path/images/}} My question: how could I append an entry to the \graphicspath ? Or is there a variable that contains the \graphicspath value so I can re-use it ?                   \graphicspath{\thegraphicspathvalue{/another/path/images/}}      EDIT: I already tried this, but it does not work :               \graphicspath{\typeout{\Ginput@path}{../images/}}


title: How to avoid citations being placed on a new line when \blockcquote ends with a list?

text: When `csquotes`'s `\blockquote` and `displaycquote` ends with a list the citation is put on the next line after the list rather than directly after the last list item. Can one force `csquotes` to place the citation directly after the last list item? The following is an example that illustrates the problem:               \documentclass{article}          \usepackage{biblatex}     \usepackage{csquotes}     \usepackage{filecontents}          \begin{filecontents*}{database.bib}     @book{texbook,       author    = {Donald E. Knuth},       title     = {The {{\TeX}book}},       publisher = {Addison-Wesley},       date      = {1984}       }     \end{filecontents*}          \bibliography{database.bib}          \begin{document}          % Bad placement of citation     \blockcquote{texbook}{%       Some cited text:       \begin{itemize}       \item item 1       \item item 2       \end{itemize}%     }          % Bad placement of citation     \begin{displaycquote}{texbook}       Some cited text:       \begin{itemize}       \item item 1       \item item 2       \end{itemize}     \end{displaycquote}          % Correct placement of citation     \begin{quote}       Some cited text:       \begin{itemize}       \item item 1       \item item 2 \cite{texbook}       \end{itemize}     \end{quote}          \end{document}      The following is the output of the example. Note how the first and second citations are badly placed while the third one is correctly placed. ![Output of example](http://i.stack.imgur.com/YaKjV.png)


title: Incompatibility between 'flushend' and 'lineno' packages!

text: I have observed when using `flushend` package to balance the references at the last page, if at the same time the package `lineno`is loaded, the last page of reference will not be displayed. I have tested using `\twocolumn` document with default package option for `lineno`. As soon as I remove either `flushend` or `lineno` package definition, the thing go well! Is there any incompatibility between these two packages? In the following MWE, the last page will be gone if you include the `lineno` package:               \documentclass{article}          \twocolumn     \usepackage{lipsum}     \usepackage{flushend}     \usepackage[switch]{lineno}     \linenumbers          \begin{document}          \lipsum          \end{document}      **EDIT:**   Is there any other way I can balance the columns at the last page without using `flushend` and `balance` and `multicol` packages? `multicol` with `\twocolum` will not result in nice output, if I use `\onecolum` before `\begin{multicols}` it will create new page, which I dont want.


title: How do I align text?

text: How do I do something like this in LaTeX?               X: a, b, c,          e, f, g


title: Hyndsight's LaTeX template for a CV not working on TeXworks

text: I've got this style from this blog post. I'm using TeXworks with the configuration `pdfLaTeX+MakeIndex+BibTeX`. I found on the web a good minimal code that should work. The code is reproduced below:               \documentclass[a4paper,11pt]{article}     \usepackage{cv}          \usepackage{filecontents}          \begin{filecontents}{\jobname.bib}     @article{ref1,      author = {Doe, J. and Dane, D., and Dewy, R.},      year = {2000},      title = {This and That},      journal = {Journal of Deep Understanding of Things},     }          \end{filecontents}               \name{Rob J Hyndman}     \info{Address: & Department of Econometrics \& Business Statistics, Monash University, VIC 3800, Australia.\\      Phone: & +61 3 9905 2358\\      Email: & Rob.Hyndman@monash.edu\\      WWW: & robjhyndman.com}          \bibliography{\jobname.bib}     \addtocategory{papers}{ref1}          \begin{document}     \maketitle               \begin{publications}     \printbib{papers}     \end{publications}          \end{document}      My problem is that, unlike the sample below, my generated PDF stops at the **Publications** section. That is, it does not contain the subsection **Refereed research paper**. ![](http://i.stack.imgur.com/9gnzy.png)


title: Redefine \item command to not typeset some items

text: Suppose I want to have an enumerate environment, in which I don't want to typeset certain items. I can obtain this in LateX using (let's ignore the problem that the numbers are wrong, this is easy to fix)               \documentclass{article}     \newcounter{excluded}     \newcommand{\exclude}[1]{\setcounter{excluded}{#1}}     \let\Item\item     \renewcommand{\item}[1]{\ifnum\value{enumi}=\value{excluded}%        \stepcounter{enumi}\else\Item #1\fi}     \begin{document}          \begin{enumerate}     \exclude{2}     \item{This is the first item}     \item{This should not be shown}     \item{This should be shown}     % I would like to be able to use     %\item This is an item without \{ and \}. Would make the course look nicer.     \end{enumerate}     \end{document}      The problem with this setup is that the item text now needs to be an argument to `\item`, i.e. I need curly brackets around the text. It would be good if I could still use               \item This is the first item      but I can't get it to work. Any elegant way around this?


title: "Resettable" variables

text: I want to define macros within a personal package for a few variables (I don't even know if I should be calling them "variables") that may or may not be defined by the user. My approach so far is this:               \newcommand\@varname{}     \newcommand\varname[1]{\renewcommand\@varname{#1}}     \newcommand\printvarname{%       \ifthenelse{\equal{\@varname}{}}{}{\@varname}}      The first command defines an empty `\@<varname>`; the second command provides a user level `\<varname>` that set `\@<varname>` to the value determined by the user; and the third command checks if `\@<varname>` is been defined by the user, and if so, prints it. Since I have a lot of those "variables" to set, can I have a `\NewResettableCommand{<varname>}` (whose argument probably need to be set without the `\`) that does all of the above? **BTW** : I used `\newcommand` (instead of `\providecommand`) because I'm running tests in a `.tex` file before create the packages.


title: Bibtex: Change formatting of editor name for type InCollection

text: I have a reference that is a chapter of the book, so I'd like to include both the author name and the editor's name in the citation. I quickly discovered that the "Book" and "InBook" types give errors when there are both author and editor names, so I changed it to "InCollection." However, I don't like the way it shows the editor piece. FYI, I am using the style apalike.bst. Right now my .bib file looks like:               @InCollection{Covich1993,       Title                    = {Water and Ecosystems},       Author                   = {Covich, A.P.},       Editor                   = {Gleick, P.H.},       Pages                    = {40--55},       Publisher                = {Oxford University Press},       Year                     = {1993},           Address                  = {New York},       Type                     = {Book Section},           Booktitle                = {Water in Crisis}     }      Right now it displays like this in my bibliography: ![enter image description here](http://i.stack.imgur.com/rkbyC.jpg) ...but I would like to rearrange how the editor appears so it looks something like this: ![enter image description here](http://i.stack.imgur.com/noAHg.jpg) I attempted to find the right place in the .bst file to edit like I've done before for small changes, but this one is over my head.


title: Two coloured arrow

text: I would like to draw arrows in diagrams that have two colours split along the axis. (This shall represent a mixed case in colour-coded case distinction.) Here's a sketch:![two-colour arrow](http://i.stack.imgur.com/0pZVY.png) Here is a MWE to play with:               \documentclass{article}          \usepackage{asymptote}          \begin{document}     \begin{asy}     size(10cm);     path p = (0,0)::(1,1){up}::(0,2){down};          draw (p, arrow=Arrow(size=25));     draw (shift((1,0))*p, arrow=Arrow(HookHead, size=25));     \end{asy}     \end{document}      It would be great if the arrow form would match with the default arrows, so they can be used together in a diagram. I am mainly interested in an Asymptote solution, but if the TikZers and PSTricksers have something to show I am sure this will be appreciated.


title: Footnote on "Contents" at head of table of contents?

text: Is it possible to place a footnote on the **Contents** heading that is generated at the head of a table of contents? (Not on an individual item in the table of contents, as discussed here.) I thought perhaps `titletoc` would permit this, but I see nothing about footnotes in the docs for that package. * * * **Edit** : I am using document class `scrbook` (needed for `\multiplefootmarker`, since the author's notes use numbers, while the editor's notes use * and other symbols). It is the editor who needs to annotate the **Contents** title.