Most Popular
1500 questions
220
votes
5 answers
When to use \edef, \noexpand, and \expandafter?
I'm quite happy hacking TeX macros and cobbling together bits and pieces from different style files to suit my own ends, but I have a suspicion that my resulting hacks are not quite as elegant as they could be. In particular, with regard to when to…
Andrew Stacey
- 153,724
- 43
- 389
- 751
220
votes
5 answers
What does "overfull hbox" mean? (Why is there a black mark at the end of a line?)
I often see output from TeX with the warning overfull hbox, badness 10000. What does this message mean?
Phil Miller
- 20,208
- 7
- 27
- 28
220
votes
2 answers
\emph or \textit
In the comments section of Does it matter if I use \textit or \it, \bfseries or \bf, etc, I asked for a clarification of these points. The clarification has mostly been made, but it was requested that I turn this into a question to provide for more…
BBischof
- 4,149
- 5
- 28
- 23
220
votes
3 answers
Suppress "In:" biblatex
How do I suppress the "In: " before the journaltitle? Like so:
In: Journal of Applied Physics
Kit
- 16,430
219
votes
4 answers
How do I ensure that figures appear in the section they're associated with?
Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break.
Is there a way to force a new section to start on a new page, after any unplaced floats?
Scott Morrison
- 7,553
- 6
- 33
- 32
219
votes
6 answers
Is there a nice way to compile a beamer presentation without the pauses?
Say I made a beamer presentation and I want to print it out. Is there a nice way to make beamer ignore the pauses so that I don't get lots of pages with duplicate information?
Of course there are some things one could do with find & replace, but I…
kevins
- 2,293
- 2
- 14
- 5
218
votes
15 answers
Showcase of beautiful title page done in TeX
The book is mostly meets by the Title Page. Default TeX \maketitle are simple and minimalistic.
I'm looking for examples of Title Pages:
complex - have different formatting;
beautiful and awesome;
available online;
and, finally!, with TeX sources…
m0nhawk
- 9,664
217
votes
4 answers
Pretty Table of Contents
I would like to know if it's possible to have a Table of Contents looking like the following, where the number of the page is the big number on the left.
The sections could look like in the following "uggly-font-formatted" example. If someone has a…
projetmbc
- 13,315
216
votes
2 answers
Comments in BibTex
Basic question (though I haven't found it here):
How do I comment out parts (some lines within an entry which I would like to save for later) of a BibTex file?
Apparently, @ can be used to comment out lines (but not be used within a comment…
fuenfundachtzig
- 12,113
215
votes
4 answers
How to write a function (piecewise) with bracket outside?
How to write this Piecewise function using LaTeX?
I tried
$
\begin{array}{cc}
\{ &
\begin{array}{cc}
0 & x\leq 0 \\
\frac{100-x}{100} & 0\leq x\leq 100 \\
0 & 100\leq x
\end{array}
\end{array}
$
but it didn't work…
GarouDan
- 3,291
215
votes
6 answers
Where do I start LaTeX programming?
I'm interested in writing packages for TeX/LaTeX/XeLaTeX. I googled around, but all I found was guides or tutorials about how to prepare documents using LaTeX. I want to know how LaTeX works and how to change it or add new things to it.
Which…
sorush-r
- 2,687
214
votes
27 answers
Workflow for converting LaTeX into Open Office / MS Word Format
I often have to write up reports based on the analysis of some data.
I use R to analyse the data and export tables, figures, and text.
This is then included into a LaTeX document either using input or Sweave (see here for details).
However, when I…
Jeromy Anglim
- 7,450
- 6
- 46
- 63
214
votes
5 answers
Easy curves in TikZ
I find myself needing to draw lots of elegantly curved paths in TikZ. Ideally, I'd just specify a series of points, and TikZ would calculate the extra data itself to draw a nice series of curves passing smoothly through these points, perhaps with an…
Jamie Vicary
- 11,098
213
votes
5 answers
Reduce space between enumerated items
Background
All book figures are set to "here definitely" (as they must come after the text that introduces them).
Problem
The list types (enumerated and bullet) have too much space between them. The reason seems to be because the TeX engine wants to…
Dave Jarvis
- 11,809
212
votes
4 answers
newcommand vs. DeclareMathOperator
As far as I understand, whatever can be done using DeclareMathOperator can also be achieved using newcommand, but not the other way around. If this is the case, what are the circumstances where DeclareMathOperator is the better choice? When should I…
Dror
- 22,613