All Questions

15
votes
2answers
37k views

Error message when using biber

Great site here. I have a question regarding Biblatex and Biber. My current .tex file structure looks like this in TeXworks: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{inputenc} ...
1
vote
1answer
525 views

Wrap text using m{…cm} and array package does not work

I am trying to wrap the text using the command m{2.7cm} with array package in this table, but this does not work together. If I use p{2.7cm} without array package it works, but the text is not ...
3
votes
2answers
663 views

I want to fill all the space between paragraphs on a page with a grid(graphic)

I took an example from another answer to a similar question (How to define a figure size so that it consumes the rest of a page?). On a page of an exam paper I want the following: Question ...
8
votes
1answer
23k views

Adding comments to pseudocode

I would like to find a pseudocode package that support the possibility to wrote a comment at the right side of a if and that it wont be between { } but rather at the right side of the page, after a ...
2
votes
1answer
30k views

Macro for tabbing with complex line breaks (or similar environment)

You I have a complicated transcription with mid-line aligned text, I've been using tabbing to to it automatically, but it obviously doesn't do line breaks Even I want to write a macro (unless ...
18
votes
5answers
1k 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 ...
7
votes
2answers
5k 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 ...
7
votes
4answers
458 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. ...
3
votes
3answers
1k views

How to typeset this symbol?

It's not \mathscr{I}, which is more italic (slanted)
1
vote
1answer
2k 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: \begin{frame}[...
5
votes
3answers
356 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.: \...
3
votes
2answers
477 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 ...
70
votes
1answer
40k views

Is there any advantage to using \addbibresource over \bibliography?

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 ...
32
votes
4answers
15k 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?
6
votes
3answers
2k 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 ...
7
votes
1answer
895 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 ...
6
votes
1answer
589 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} \usepackage[english]{...
13
votes
4answers
43k 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 ...
4
votes
2answers
1k 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, ...
9
votes
2answers
1k 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: \begin{tikzpicture}[/...
16
votes
1answer
4k 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 ...
28
votes
1answer
110k 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 ...
29
votes
1answer
8k 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 reverse ...
5
votes
2answers
2k 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.
25
votes
1answer
5k 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 ...
12
votes
2answers
2k 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 ...
16
votes
1answer
10k 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} \usetikzlibrary{...
4
votes
1answer
6k 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 ...
5
votes
2answers
313 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 ...
3
votes
2answers
6k 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 ...
4
votes
0answers
358 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 ...
7
votes
1answer
7k 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 ...
2
votes
2answers
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 ...
5
votes
1answer
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} \begin{document}...
3
votes
1answer
687 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};}, {\node[...
19
votes
3answers
2k 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 ...
2
votes
1answer
2k 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 generate a ...
16
votes
2answers
2k 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, de’...
24
votes
3answers
11k 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 ...
4
votes
1answer
2k 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 ...
52
votes
2answers
81k 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 ...
7
votes
3answers
762 views

\openg in MinionPro (from Acrobat 9)

(This is an extension of question \ell in MinionPro, but sadly I can't add comments on S.E. yet.) Similar to the issue of using \ell in recent versions of MinionPro, which is solved by replacing /...
14
votes
4answers
17k views

Locally setting the line width in a paragraph

How can I make a specific paragraph have a specific line width?
7
votes
1answer
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 ...
3
votes
4answers
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) ...
17
votes
3answers
11k 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 ...
11
votes
1answer
471 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 ...
18
votes
1answer
14k 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 ...
1
vote
2answers
989 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} \usepackage{...
8
votes
5answers
4k 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: \...

15 30 50 per page