# All Questions

816 views

### Test if token is a control sequence

Sometimes more complex (La)TeX macros test the next input token and branch dependent on its type. I'm aware how to test for catcodes and character codes, but sometimes I like to handle control ...
2k views

### Setting rightmargin = leftmargin with enumitem package

The default leftmargin when using the enumitem package seems to be leftmargin=*, is there a way I can get the rightmargin to be the same width? The most obvious way would be rightmargin=* but that ...
398 views

### Non-repository management of TeXLive packages on Ubuntu

How do I install a package which is supplied by a publisher (like Springer or Elsevier)? In MikTex (windows), I have to copy it into specified folder and than run some file which install the package. ...
767 views

### How to typeset this symbol?

It's not \mathscr{I}, which is more italic (slanted)
1k views

### Same Header on different slides with beamer and longtable

When using the Longtable package in a LaTeX Beamerdocument, how can I create a table header shown on every slide containing table contents? The following approach seems not to work: ...
238 views

### Cartesian product of two lists as parameters for a command

Friends, I used to suffer a lot when had to iterate through elements of a list, but thanks to egreg's suggestion, I've been successfully using the etoolbox package for that task, e.g.: ...
350 views

### How to make hanging lists using memoir?

I found the \hangsecnum command for having section numbers hanging out into the left margin. Now I want to do the same thing for all lists also, that is for the enumerate and itemize environments at ...
11k views

I've always used \bibliography to tell BibTeX where my bibliography is, and when I moved to biblatex, I didn't change. I see a lot of biblatex answers use \addbibresource instead. What is the ...
6k views

### How can I make vfill to work without adding any text before?

Using \vfill between two texts works: \newpage bla \vfill blabla but it doesn't work if there is no text before it: \newpage \vfill blabla How can this be achieved?
1k views

### How to present source code RDF/Notation 3 in LaTeX?

I give a second try to present RDF in Notation 3 serialization in LaTeX. I tried with the listings package but its not so nice the restuls for the eye-there is much spacing between the letters, the ...
561 views

### Is there a way to clear paths previously defined with name path global in TikZ

In the solution to Intersections in PGFplots it was pointed out that each \addplot command was drawn in its own scope and using name path would not survive outside of that \addplot command. The ...
328 views

### How to prevent \baselinestretch from affecting the math mode?

Changing \baselinestretch will affect the distance between two adjacent rows. How to avoid this? \documentclass{book} \usepackage[a6paper,vmargin=15mm,hmargin=5mm]{geometry} ...
18k views

### Inserting a .EMF file into a LaTeX document.

I had a question about a file extension I was dealing with after creating a graphics file using the computing software Maxima. When I created the plot I wanted, I saved the file and it saved as a .EMF ...
809 views

### Better arrowheads in commutative diagrams

The Fourier package gives a different look for the arrowheads, which looks nice to me. I also want to use this arrowhead in the commutative diagrams. I have tried Taylor's diagrams package, xy-matrix, ...
746 views

### Nested styles in TikZ

I have: \pgfkeys{/TransformerNetwork/.style={ transformer/.style 2 args={draw, cylinder, gray!80, rotate=90, minimum height=#1, minimum width=#2}, }} And then: ...
2k views

### Intersections in PGFplots

I can get intersections to work in TikZ, but not PGF plots. I defined a command to show the intersections to make sure that it is identical in both cases. Commenting out the \ShowIntersection line in ...
36k views

### How to create pdf with command line using MiKTeX?

I downloaded and installed MikTeX on my machine (Windows 7), then when I run the command: latex ex.tex the outputs were: ex.aux ex.dvi ex.log So my question is, what option could I use to ...
4k views

### biblatex: Reverse numbering (i.e., count down)

I was wondering if it is possible to get the citation numbers to count down [3] newest item [2] item [1] oldest item in biblatex? I am sorting using either using sorting=none and entering in ...
1k views

### Area between curves

I want to fill the area of a region R bounded by x=f(y), x=g(y), y=A and y=B. For example, R is bounded by x=0, x=2/y, y=1 and y=4.
2k views

### Tikz /.style with two parameters

How do I pass two parameters to a tikz style? I would like to do something like this: \begin{tikzpicture}[ transformer/.style={draw, cylinder, gray!80, rotate=90, minimum height=#1, minimum ...
1k views

### Best way to avoid repeating expressions

I'm writing a text where I repeatedly speak of particular expressions which compose more complex expressions which I also repeatedly speak of (more specifically I'm writing a text with logical and set ...
3k views

### Rounded ends with tikz

I can draw double lines, and I can draw rounded caps using certain arrowheads. However, in combination they don't look as you would expect: \documentclass{article} \usepackage{tikz} ...
2k views

### Implementing “aside” environment for explaining details of calculation

I would like to have parts of the text set in smaller time with different indentation, and separated from the rest of the text visually (e.g. by horizontal rules). I would like to use this to set off ...
231 views

### Vertically stretch “/” operator when second (but not first) operand is tall

I have code similar to this: $x / \sqrt{\frac{a}{b}}$ I.e. the first part (x) is normal height while the second part is tall. How do I get the / to be stretched vertically to match the second ...
4k views

### How to put the navigation bar in one line using beamerthemesplit?

I'm using a beamerthemesplit package in beamer to create slides for presentation. I get a header with 2 split columns (1 on the left for section, 1 on the right for subsection's name). My problem is I ...
287 views

### Vim-LaTeXsuite shows me my .bbl file for errors in the .tex file [closed]

I'm writing my doctoral dissertation in LaTeX with Vim-LaTeXsuite, and I find that Vim-LaTeXsuite is often determining the location of errors incorrectly, particularly when the error is a \ref{} to an ...
2k views

### Vertically center a node with the current line in TikZ

Consider the following: \documentclass{article} \usepackage{tikz} \begin{document} This is a \begin{tikzpicture} \node[draw, rectangle, align=left] {% And here \\[.3em] is ...
2k views

### Article organizers: refbase, I,Librarian or something else?

I hope this is the right place to ask this. I think it's extremely likely other TeX users have experienced the same problem I have, given its use in the academic world. So, I have an ever-growing ...
2k views

### \small wrapped around table doesn't work

Nothing happens, even though I've applied \small around the table. No observable change in font size. Howcome? \documentclass{article} \usepackage{booktabs} \usepackage[T1]{fontenc} ...
564 views

### Placing a list of nodes in TikZ

I would like to define a macro, which would take a list of node definitions, like this \mymacro[boxes={{\node[rectangle] {foo};}, {\node[rectangle] {bar};}, ...
773 views

### How to get the catcode of a token?

For debugging a complicated macro I would like to print out the catcode of a token. Optimally I would like to have a macro \getcatcode such that, for example, \getcatcode{a} would expand to 10. How ...
814 views

### Package or tool for visualizing differences [duplicate]

Possible Duplicate: What is a good way to show changes between two versions I done a bunch of updates in an article. I have a copy of an old revision of the paper. Now I would like to ...
956 views

### How can I put a name's prefix in front in citations but *not* in the bibliography?

For my Dutch thesis I need to have the prefix to a name when using the \cite command but not in the bibliography. So basically what I need is Cite: ‘De Jonge’ Bibliography: ‘Jonge, Marinus, ...
6k views

### Transforming coordinates, so (0,0) from tikzpicture is put in the desired place of the page

In tikz I can perform absolute positioning, e.g. (current page.center), but how I can specify/transform the coordinates, so (0,0) within tikzpicture will end in well-defined place like center of the ...
694 views

### Execute own command in listing

I create an own command like this \newcommand{\hostname}{this.is.my.hostname} Now I want to use this command in normal text (no problem) and inside of a listing Nun kann die Funktionsweise ...
36k views

### Adding custom image in title slide

I use beamer with the warsaw style to create presentation. I would like to insert an image in the title slide as part of customization. An image that fills the whole breadth of the slide but limits to ...
627 views

6k views

### Locally setting the line width in a paragraph

How can I make a specific paragraph have a specific line width?
1k views

### Math mode accents and spacing

I'm using accents to produce a variant of the \in operator but when I place an accent on it, as in \tilde{\in}, I get spacing that is different from \in, see the example and the image below. My ...
2k views

### vim, PDF -XChange, pdflatex, TeX Live 2010, windows xp, (pdfsync)

Hope I didn't forget any. These are the packages I want to use on my computer for typesetting pdf files. Up to date I'm using vim (without any plugin but integrated syntax highlighting for .tex files) ...
4k views

### Is there a package that has the “clockwise gapped circle arrow” in it?

The symbol I'm after is ⟳ (also nice to have ⟲). That's U+27F3 (and U+27F2). Detexify can't find it (or my drawing skills are woeful); is it already in a font package, or do I have to ...
388 views

### Is there a package for automatically managing table headers and formatting?

Is there a package for automatically managing table headers and formatting? For example I don't want to have to manually embolden every header entry individually, not to mention the extra clutter ...
4k views

### How to insert a one column page within a twocolumn document?

I have a twocolumn layout which is rendering quite well except for the last page. The incriminated page contains a bibliography with several URLs, each one being cut on several lines. For better ...
718 views

### How to make equal width columns?

Based on Leo's answer but I removed one column and replaced the \big) with a vertical rule. Now I want to make all columns have the same width. How to do this? \documentclass{article} ...
1k views

### Garamond kills bold Fonts

[Cross posted from latex-community.org] When I use Garamond fonts, everything becomes immediately lighter, in particular the \begin{description} … \end{description} parts. With Garamond: ...
5k views

### Appendix without sections ?

There is only one appendix chapter in my thesis, which Latex defaults as Appendix A. However, I need it to show up as only "Appendix" without A or 1. Can anyone please tell me how to achieve that. ...
435 views

### fancyvrb, helvetica and underscore… is it just me?

Ran into some weirdness with fancyvrb, helvetica and _. Here's a MWE (for me): \documentclass{article} \usepackage{fancyvrb} \begin{document} \begin{Verbatim}[fontfamily=helvetica] Oh no! It's a ...
1k views

### Which measurement units to use to shift labels in TikZ/PGFplot graphs

I often end up shifting labels on my TikZ/PGFplot graphs using, for example, xshift=1.0em, or yshift=1.0ex. Are these the correct units to be using to to the shifting? I don't think I should use ...