# All Questions

7k views

### PDF reader on Linux capable of continuous updating

I am using latexmk on a Red Hat 5 machine. I use it as: latexmk -pdf -pvc I would like to have my PDF reader automatically update the PDF as it is changed. What PDF reader do I need for this? What ...
599 views

### What is the fastest--to-install TeX to HTML converter for windows?

I just came by this http://tug.org/applications/tex4ht/mn-mswin.html And I find it a bit extreme to need 20 steps just to set up a software. Is there any simpler, more reasonable, alternative?
101 views

### flacards.cls and loop don't work together

I try to automatise the construction of my flashcards. I try with \foreach (tikz) and \forloop (forloop package), it's not working. The error is in the two case: ! LaTeX Error: There's no line here ...
524 views

### Uneven vertical spacing displaymath

I would like to ask you why we have uneven vertical skips between the first two and last two vectors, coming from the source: \documentclass{article} \begin{document} $(a,b,c,d,e,f,g,h)$ ...
866 views

### Help with vertically aligning enumerate labels

I am just getting started using latex and am having some problem vertically aligning the enumerate labels when listing tables (see image below). I would like to have the '(a)' label aligned vertically ...
7k views

### \subfloat command from subcaption package doesn't produce bottom margin if used in table

I'm trying to typeset a table of images. If image inserted into cell with \subfloat (subcaption package included), resulting box will be w/o bottom margin, but top, left and right margins will be ok. ...
958 views

### Help with ieee.cls and figure?

Using {ieee}[2000/01/11].cls (via Formatting IEEE Papers in LaTeX2e), I have a problem with the following minimal code (which builds fine for \documentclass{article} - using pdflatex to compile): ...
18k views

### Extra space between number and variable in math mode

I find that if I typeset $3 q$, I find the 3 and the q a bit too close to each other. I know that I can manually add a thin space by typing: $3 \, q$. However, I was wondering if there was a way to ...
613 views

### How to choose singular or plural form from presence of \and in argument

I need a new command \director (similar to author) to write project's director names. But I would like to write the word Director or Directors (if more than one) in front of the names. The easiest way ...
236 views

### convert ctable to rtf/word/odt etc

I need to convert ctables, like the following, into a format for a word processor (MS Word, OOWrite etc.) It should be an editable table but in worse case, an img would be also fine... \ctable[ ...
499 views

### Arrow scaling problem. How can I zoom properly a very tiny part of a drawing?

Thanks to this solution, I can draw tangent line to a path. I'd like to zoom a very little part of my drawing. Here it is the code: \documentclass{standalone} \usepackage{tikz} ...
3k views

### Number in name of commands? [duplicate]

Possible Duplicate: Definining commands/abbreviations that contain numbers I wanted to know if it was possible to define a new command with a name that contains numbers? e.g. ...
5k views

### Micro-graphics inline in text

Can I insert a graphic in-line in a sentence? Use case: I'm writing a manual that involves navigating the Windows Start Menu. I would like to insert a little graphic of the start menu in-line in ...
855 views

### Scale one dimension of EPS and preserve label font and size

I'm importing .eps in LaTeX. I want to resize image to fit my purposes. I want to do that only by one scale, X or Y (disproportional). The problem is that labels (font and size) become distorted. Is ...
199 views

### forLoop does not accept negative step?

I try to use \forLoop for a countdown sequence: \documentclass{minimal} \usepackage{forloop} \usepackage{fmtcount} \begin{document} \newcounter{idx} \forLoop[-1]{10}{1}{idx}{\numberstring{idx}\\} ...
2k views

### Changing the apperance of equation numbers with amsmath

For equations in my document, I use the facilities of the amsmath package. In order to make the equation numbers more eye-catching, I want them to be in boldface and a little bit indented to the ...
11k views

### Forcing bibliography to the end [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they're associated with? I'm using the thebibliography environment, in a paper that has three floating figures. ...
5k views

### Modify \eqref command

I want to edit the \eqref command so that \eqref will produce Eq. (1), for example, instead of (1). Of course, I could define \newcommand{\reff}{Eq.~\eqref} but then I lose my editor's ability to ...
2k views

### Colon (:) instead of period (.) after author with biblatex, alphabetic

With biblatex, alphabetic style, I have <author>. <title> But I want to have a colon ":" instead of the period "." after the author: <author>: <title> What do I ...
324 views

### Convert color name to pdfliteral code

How can I convert a color name (such as used with the xcolor package) to a pdfliteral code, like q 1 0 0 rg (for red)?
441 views

### Using pdfliteral to highlight text

Using pdfliteral, one can color text like the following: w1_prev = node.new("whatsit","pdf_literal") w1_prev.data = "q 1 0 0 rg" w1_prev.mode = 1 w2_prev = ...
601 views

### Is it possible to have a two head arrow as a decorator?

I would like to have the analogue of \overrightarrow{x} but with a two headed arrow (as in \twoheadrightarrow, but above the variable). Is this possible?
339 views

### Including transformed XML

I need to include a transformed XML document into my LaTeX source. Transformation is specified inside the XML via XSLT. I recently started using LaTeX and I have bib database in XML. However, this XML ...
454 views

### how to get PSTricks QR codes to handle tildes properly?

I am getting bitten by the same problem from one of my previous questions: tildes are not handled properly. But now it's the PSTricks QR code package that's not working, and none of the suggestions ...
5k views

### How do I add a blank line in the algorithmic environment?

I'm trying to learn the algorithmic package for typesetting pseudocode. One problem I'm running into is that I can't figure out how to insert blank lines, to separate blocks of code. The usual \\ or ...
7k views

### How to print \frac{1}{2} by a single Unicode character?

I am looking for a command which would print simple fractions like 1/2, 1/3 etc using glyphs available in modern TTF/OTF fonts. Ideally, I want this command to output ordinary \frac{1}{2}, \frac{1}{3} ...
438 views

### With TikZ, How do I use a labeled coordinate that's inside a node?

In the following diagram, I'm trying to draw a line from the center of the red dot (inside the blue node) to the green node. The coordinate of the red dot is labeled "thepoint", so this should be ...
5k views

### Text upside-down, characters rotated along baseline?

I'd like to achieve something like in the picture below: Another example: Note that the text is not simply rotated! I know it could be achieved by boxing each character separately, measuring the ...
564 views

### What’s the most straightforward way to typeset theorems etc. when the numbering is entirely manual?

I’m using LaTeX to typeset some homework, and since we’re assigned problems scattered throughout our textbook I have to enter the problem number for each problem I typeset. I’d like these problems to ...
98 views

### Something goes wrong after this line but I don't know what

\[ \begin{split} &( \frac{21! \cdot 2^3}{3! 18! \cdot 4^{18}} + \frac{21! \cdot 2^2}{2! 2! 17! \cdot 5^2 \cdot 4^{17}} \\ & + \frac{21! \cdot 2}{4! 16! \cdot 5^4 \cdot 4^{16}} + ...
205 views

### Avoid splitting of itemize lists by floats? [duplicate]

Possible Duplicate: How to protect text from being split by a float? I have a list constructed using itemize which is split by a figure. Is it possible to prevent the figure from splitting ...
376 views

### How to learn to create General (Functional) Shadings wifth pgf?

In the section called General (Functional) Shadings in the PGF/TikZ manual, there is an "explanation" of the command to create a general functional shading. The author of this section assumes that ...
118 views

### Problems with insert_before and post_linebreak_filter

I'm coding an algorithm to detect and highlight homeoarchies. Here my current almost working (but compiling at least) code: \documentclass{article} \usepackage[french]{babel} \usepackage{kpfonts} ...
750 views

### Using mathspec’s \setallmainfonts with Russian in polyglossia causes hang during compilation

I’ve just run into a problem with the combination of mathspec’s \setallmainfonts command and polyglossia with language set to Russian. I’m using MiKTeX 2.9 and compiling with XeLaTeX and when I use ...
3k views

### Adding vertical space in a multi-line equation while using IEEEeqnarray

how can I add vertical space between lines in an equation while using IEEEeqnarray?
50k views

### Typesetting the “define equals” symbol

4k views

### Option to break urls with carriage-return symbol?

There are several ways to get long, uncooperative URLs to line-break in LaTeX. If you're using pdfLaTeX, then the hyperref package can break them across lines for you, roughly after any /. If you ...
271 views

### Typeset content of a PDF text-field without recompilation

With respect to preparing a PDF for printing: Is it possible to provide a text-field in PDF where I can type something and it should be typeset for printing? A resume for example : Most of the ...
265 views

### Front-end for pdfpages

I use following .tex file very much for printing books, booklets, etc \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages={4-8},nup=1x2,frame,landscape]{xyz.pdf} ...
2k views

### Can I think of LyX as a LaTeX IDE?

Can LyX be used as an IDE for LaTeX? I am considering using LyX instead of Emacs to write my LaTeX papers. Emacs is powerful editor/IDE which helps me be more productive while writing LaTeX. LyX looks ...
2k views

### Remove “white parts” of tikz picture

I have a tikz picture, which consists of a visible part on the left side and a white part on the right side (for some constructive reasons). Now I would like to redefine the size so that the new ...
14k views

### How can I prevent inline math formulas from overflowing into the margin?

When I compile my document in LaTeX, some formulas in the document in math mode, between , go into the right margin area beyond all the text. Is there a way to fix this aesthetic problem?
3k views

I want to change the font size of section and subsection titles in the header. It works fine for the section title, the header automatically increases its height (as stated in the beamer manual) but ...
581 views

### Persistent change of caption width in memoir

How do you persistently change caption width in memoir? I know you can use \changecaptionwidth followed by a \captionwidth{...}, but that only works within a float and I don't want to have to specify ...
1k views

The linktoc=all option of hyperref package makes both the reference text and page number clickable hyperlinks. However, the dots are still not hyperlinks. This is not very important but I'm asking out ...
362 views

### Legend on top of a pst-solides3d drawing

Another question aboutpst-solides3d and visibility: How can one draw a legend on top of the 3d drawings ? I thought that putting the put command before or after the 3d drawings commands would render ...
2k views

### Cut-off cone in TikZ

How would I draw the following cone using TikZ? I have no clue how to incorporate the "cut-off". I want to draw a picture of the cone given by the points (y, t) for y in R^d and t in (0, infty) such ...
2k views

### Links to glossary items broken

I'm currently writing a large document, and I have two glossaries, one for acronyms, and one for a normal glossary. I have hyperref setup so that the glossary entries in the main text have links to ...