# All Questions

806 views

### Draftwatermark Draft not in Italics

I have installed the draftwatermark package, but 'DRAFT' comes horizontaly in my document, not in diagonal. The same happens with the draftcopy package. Furthermore, modifying the angle option in ...
2k views

### How do I convince tocloft to put the word 'Figura' ahead of entries in my List of Figures?

How to customize list of figures, adding word FIGURA to appears in the table of contents? I changed \newcommand{\cftfigfont}{Figura }, but in the summary, it's not linked (hyperref). How to solve it? ...
300 views

### How to invert long term to short term using ACRONYM list?

In my text, I'd like to have in first use of \ac the result (all my text is typed using \ac or \acp): PC (Personal Computer) So, normally the result is opposite: Personal Computer (PC) How ...
541 views

### How do I draw a white border on a black page ?

I use \pagecolor{black} \color{white} to create a document with white text on black background. I draw a border around the page using \pgfpagesdeclarelayout{boxed} { ...
1k views

### Using counters or macros

Should I use counters or macros to store numerical data? Is there a limitation on a number of counters that can be used at the same time or other considerations? I would also like to perform simple ...
517 views

### Capital sigma missing in Euler font

I'm using the Euler font in my equations and it appears that the capital Sigma symbol is missing (a dot is displayed in its place). It appears to be caused by a conflict between euler or eulervm, ...
453 views

### Splitting an argument of a custom macro into a list

Introduction I created a simple bus timetable with TikZ: Currently, the node placing is done manually. The problem I would like to create an environment which would look approximately like this: ...
1k views

### Breakable vboxes

In Plain TeX how can I make vboxes breakable, and can I handle/measure them separately? What I'm trying to do, is that I have a portion of text, that is treated separately (no indention, narrower, ...
536 views

### mdframed options style=1 or style=3 fail to draw frames

The mdframed package offers the options style=1 and style=3 to have the frames drawn by tikz or pstricks respectively. Using either of these options means that the frames around my boxes just aren't ...
15k views

### Difference between \footcite and \cite in BibLaTeX

Since recently, I am having some trouble with the short/ibidem and full citations in BibLaTeX. When I use a \cite command inside a footnote, it behaves differently than \footcite: it seems each keeps ...
1k views

### Make index entries refer to something other than the page numbers

For a given book which is a daily devotional, I have no page numbers at all, but each section corresponds to a day in the year, with one day per page. I generate an index of Bible references in the ...
621 views

### Concurrently interleaving execution of Lua and TeX in LuaTeX

The usual way to interleave Lua and TeX in generating documents is by invoking Lua from Tex through the \directlua facility and generate Tex from Lua using tex.print(). For example, consider the ...
2k views

### Define an “escape underscore” environment

I am writing a text document in LaTeX where I need a lot a words with underscores: foo_bar_1, more_bar_2_long_expression_3. I know about the underscore package, but for some reason the [strings] ...
160 views

### biblatex: how to add a key with authoyear style [duplicate]

Possible Duplicate: Adding an [AuthorYear] block at the beginning of bibliography entries I use biblatex on Ubuntu 11.04 (TeXLive 2009, biblatex 0.9, no biber). The style is authoyear. In ...
26k views

### Draw Curly Braces in TikZ

I am using TikZ with the following code to draw a picture. How can I turn the curly bracket next to $P_2$ to the right? \documentclass{article} \usepackage{tikz} ...
84k views

### How to convert PDF to EPS?

I can't find a tool to convert PDF to EPS, neither in MikTeX nor in TeXLive. Is there such a tool actually? Update: Based on Herbert's accepted answer, I simplify his batch as follows: #!/bin/sh ...
846 views

### Alignment within enumerate

I'm looking for a way to sort of combine the features of enumerate (and other list-like environments) with features of tabular environments. Specifically, what I like about enumerate is that it ...
4k views

### Comma as decimal marker with siunitx (Spanish usage)

I'm using siunitx to input some big numbers and units in my document. Is there a way to make the output of \num{3.14} be "3,13" instead of "3.13"? In Spanish, we use the first one.
577 views

### Rubber and \include: Missing aux file [closed]

I'm trying to build a multi-file document with Rubber. In thesis.tex, I have: \include{intro} and I have a file intro.tex. It builds fine with pdflatex, but with rubber -d, I am getting the error: ...
4k views

### Horizontal lines of different thickness above and below text which span the entire page.

I am trying to make section headers like in this resume. I want one line above the text and one below with the above line thicker than the one below. The lines also need to span the entire page. I ...
247 views

### Can (La)TeX compare the time stamps of two external files?

Scenario I have a bunch of standalone PSTricks files. Each of those files can be compiled by latex-dvips-ps2pdf-pdfcrop-pdftops to produce a PDF image. I have made a batch file to do ...
821 views

### Drawing line “on top” in tikz

I have a tikz graphic which I'm using in two different final documents. It contains a line-crossing where I've needed to specify which line was on-top, via surrounding it with a white-coloured ...
945 views

### Seeking review on a document with people unfamiliar with TeX

I am a great fan of TeX, LaTeX and LyX, but recently I wrote some minutes and then tried to send them off for other people to review. There was no way I could send a TeX file; no-one would know what ...
3k views

### appendix formatting: section number before \appendixname

Here is my situation: Source code in preamble: \usepackage[title,titletoc]{appendix} \renewcommand{\appendixname}{priedas} in document: \begin{appendices} \section{Tekstai} Nemo enim ipsam ...
3k views

### beamerposter subfigure

I am making a poster with beamerposter and it is treating all my subfigures as part of a single figure, lettering them (a), (b), ..., (q), even though I very clearly \end{figure} several times, which ...
4k views

### stripe pattern tikz manual chapter 78

Interleaving two colors in a stripes pattern Aim: coloring a shape (rectangle, circle, etc.) in two interleaving colors with the aid of patterns. One solution would be the definition of four ...
700 views

### Predictive mode: Only auto-complete LaTeX keywords

I typeset documents in French, and I don't really need auto-completion of the words that I type. I do, however, love the completions features that Predictive mode offers for LaTeX commands. Is there ...
6k views

### Autocomplete current environment

Is there a keyboard shortcut in TeXnicCenter to complete the current environment? In other words, it should add the appropriate \end{....}.
23k views

### Useful shortcuts or key bindings or predefined commands for emacs+AUCTeX

On of the problems I've encountered with emacs in general, and with the defaults key bindings in particular, is the diversity. There are simply so many of them, that sometimes, at the end of the day, ...
445 views

### Can i automatically load chapters and sections based on the filesystem?

I was interested in knowing if i can load chapters and sections of my book based on the filesystem. For example: Chapter 1/ Section 1.tex Section 2.tex Section 3.tex Chapter 2/ Section 1.tex ...
1k views

### Section numbering with chapter in amsbook

I'm using amsbook to write a report. I'm using \chapter{}s and \section{}s, and their numbering is fine. However, \section{}s are numbered sequentially inside each \chapter{}, but without the ...
1k views

### How to put a mark on an arc (tikz,decoration)

I have a problem with this code : \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.markings} \begin{document} \begin{tikzpicture}[decoration={markings, mark = at position .5 ...
897 views

### What does <++> signify when using Vim LatexSuite?

I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc. However, one of the things that it does is unknown to me, and is difficult to ...
533 views

### \item behaviour in footnote, depending on brackets use

I've noticed something strange, and someone might be able to explain things to me. When I do the following code, everything goes awry in the footnote (the itemized phrases go outside the page): ...
8k views

### Label angle with tikz

I am able to draw a nice right triangle with \begin{tikzpicture}[thick] \draw (0,0) -- (4,0) node[midway,below]{$f$} -- (4,2) node[midway,right]{$\frac{x}{2}$}-- cycle; \end{tikzpicture} Now I ...
575 views

### Centering text on a page

I'll try to illustrate what I want to accomplish. I want an enviroment/page style for poems that works like this -- the title (if present) is placed in the title placeholder (purple). The body of the ...
1k views

### Is there any difference between nesting \label in \caption and putting \label outside \caption?

Is there any difference in behavior between the following coding styles? Coding style A: \caption does not enclose \label. \begin{figure} \includegraphics{cat.eps} \caption{This is a cat.} ...
2k views

### 2x3 images spanning over a two column text

I am trying to align 6 figures in a 2 by 3 organization over a two column text, but all my tries are in vain, the figures end up vertical. I've also tried minipages but no luck. the tex: ...
1k views

### What package or class defines an \email macro?

A colleague sent to me a manuscript written in Ubuntu. I am using Mac OS X Snow Leopard and I only have trouble when I compile the document due to the latex command \email. It seems it is not ...
16k views

### Setting text color in TikZ without changing line color; conflict with double

I have a certain TikZ style that I would like to use over and over again (so I'd like to use it as a scope). Namely, I want the color of the curves to be red, with white borders (to give a "crossing ...
9k views

### Beamer-Button which opens a browser with an URL

is it possible to use a beamerbutton for presentations which would open a browser and a given URL?
1k views

### Side by side images problem

I am having some problems using sub-floats. I am trying to put two images side by side in the same row to avoid wasting space, for which I used sub-floats. However, they touch each other that it is ...
4k views

### How to have access to (or manage) bib files in MiKTeX?

I use Jabref to manage my bibliography database. I also use it with LyX and it's running well. But now I need to use it with MiKTeX and use TeXmaker as an editor. Using my MiKTeX settings I'm trying ...
2k views

### The kerning option of microtype

I wonder what the kerning option of the microtype package does? In the manual it says that kerning=true will give additional kerning. But how? Is this something that has to be specified in addition to ...
13k views

### How to superimpose LaTeX on a picture?

I know how to add a picture to my LaTeX file, e.g. \includegraphics[width=7cm]{curve.pdf}. What I'd now like to do is place some latex symbols onto the picture. Like a \gamma to name a curve. I do not ...
1k views

### How to draw a hypergraph (forest)?

How can I draw a hypergraph structure (a.k.a. forest) like this: (Note: This is not a duplicate of this question, of course, since that drawing is very different.)
1k views

### TeX accents do not seem to work with fontspec and xe/lua/latex

I am using Minion Pro as mainfont and it does not have in its glyph table the character U+1E47 Latin small letter with dot below which I need only once in my document. Rather than change to another ...
2k views

### Biblatex cite with footnote only once, with use of brackets

I've started putting into practice the answer to this question. Yet I would like to change this so that there are brackets around the citations: in the superscript in text, in the superscript in ...
How does TeX decide how to size a middle delimiter? When I want to show evaluation of limits of an integral, I would type $$\int_1^2 x\; dx=\frac{x^2}{2}|_1^2=4-\frac{1}{2}=\frac{7}{2}.$$ How do I ...