Most Popular

1500 questions
100
votes
3 answers

Theorem packages: which to use, which conflict?

As far as I know, one can create theorem environments using any of amsthm, ntheorem, thmtools and probably more. How should I define my theorem environments? Is one package clearly superior? Which packages conflict? Is there one package that does…
Seamus
  • 73,242
100
votes
4 answers

Modern book design, margins and typed area

The golden fleece of book design has been the typesetting of the typed area in relation to the paper and the spread. Famous typographers such as Jan_Tschichold and Rosarivo devised canon's of page construction detailing how to calculate margins and…
yannisl
  • 117,160
100
votes
7 answers

What is the practical difference between latex and pdflatex?

I understand that some packages (like PSTricks) can't be used with pdflatex. Are there any other differences between these tools? Can we say that pdflatex is better if we don't care about ps?
Łukasz Lew
  • 8,543
  • 12
  • 43
  • 42
100
votes
17 answers

LaTeX templates for writing a thesis

Aside from CTAN, what are good resources/repositories for Latex templates? In particular, I'm looking for some pretty Thesis templates (I'm familiar with classicthesis)
Menno
  • 111
  • 2
  • 4
  • 3
100
votes
2 answers

`h' float specifier changed to `ht' warning when not attempting to specify a float

I'm new to LaTeX and trying to understand the reason why I'm getting the warning: `h' float specifier changed to `ht' I'm not attempting to change the float property of anything - the warning is showing up if I attempt to simply encapsulate some…
Geodesic
  • 1,123
100
votes
6 answers

Beautiful presentations done with TeX and related systems

I recently had to persuade a fellow student that you can create beautiful presentations with LaTeX and beamer. Luckily, I already had some examples. But I'm sure that there are better presentations, not necesarily done with beamer but with TeX and…
Martin Thoma
  • 18,799
99
votes
3 answers

How can I typeset the date/time at compile time?

For printed drafts of my papers, I would like to add a timestamp on every page with the date/time when the document was last compiled. Is there any LaTeX command that produces the current date/time at compile time? Even better, is there any package…
Juan A. Navarro
  • 62,139
  • 32
  • 140
  • 169
99
votes
2 answers

\bfseries is to \textbf as WHAT is to \textsf

Neither of \sfseries nor \sfshape seem to work. So what is the command I'm looking for to change the current group to sans serif? \bfseries, \scshape and \itshape work, but I can't find the sans serif command to do the same thing...
Seamus
  • 73,242
99
votes
3 answers

Avoid page breaks in \lstlistings

I'm trying to avoid page breaks in my lstlisting (seen in section 0.0.2) I know I can remedy this by floating my lstlisting, but it adds some unwanted white space (seen in section 0.0.1). Is there an alternative to float so that my lstlisting…
blitzvergnugen
  • 2,101
  • 2
  • 20
  • 20
99
votes
5 answers

Too many unprocessed floats

I'm trying to a large number of figures. The code is \begin{figure} \includegraphics[scale=0.5]{m2T4.pdf} \caption{M2T, Problem Size 513} \end{figure} I'm not able to compile, I get the error ! LaTeX Error: Too many unprocessed floats. See the…
psteelk
  • 1,307
99
votes
1 answer

How to draw a line of dots in tikz?

Instead of drawing a dashed line as follows: \draw [dashed] (10,1) -- (10,11); I would like to draw a list of dots from (10,1) to (10,11), like ........., but vertically. Could anyone tell me what to put at the place of [dashed]?
SoftTimur
  • 19,767
99
votes
4 answers

What does the warning about "moved marginpar" mean?

I repeatedly get the LaTeX warning: LaTeX Warning: Marginpar on page x moved. What does this mean? Is that a problem? How can I fix the corresponding problem?
Olivier
  • 3,151
99
votes
2 answers

Node below and left of another node in TikZ

I am using TikZ to make flowchart kind of diagrams. I want to get a node below and to the left of another node. Please see the following example. I want the replicate the sort of relationship between nodes revealed and WTP measurement. I have done…
99
votes
4 answers

! LaTeX Error: Not in outer par mode

I am using an image within minipage and getting error message. ! LaTeX Error: Not in outer par mode. Below is minimal working…
manish
  • 9,111
98
votes
4 answers

Don't count backup slides

I prepare some backup slides at the end of my presentation. I don't want them to be counted in terms of pages, which is displayed at the footer of each slide. Does anyone know how to do that?
SoftTimur
  • 19,767