Most Popular

1500 questions
92
votes
1 answer

What does this warning mean? (fancyhdr and headheight)

My LaTeX file compiles fine. However, in reading my .log file, I see many repeated instances of Package Fancyhdr Warning: \headheight is too small Looking for it in google, I found some 'fixes', but first I'd like to know what the error is…
josinalvo
  • 1,167
92
votes
4 answers

Beamer: \nonumber equivalent for slides?

Is there an equivalent command to \nonumber when one doesn't want to include certain slides in the numbering? I would like to leave outline and title slides out of my numbering, and instead just number slides with actual content. Other workarounds…
Ezekiel375
  • 1,021
  • 1
  • 7
  • 5
92
votes
1 answer

Split subfigures over multiple pages

I have the following code for a Figure with 4 subfigures: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure}[b] \centering \begin{subfigure}[b]{\textwidth} …
JNevens
  • 1,469
92
votes
15 answers

How can I convert from Microsoft Word to a LaTeX document

I am a final year graduate student and I have my thesis (about 350 pages) in Microsoft Word format. I would like to convert the document into a LaTeX "camera" ready PDF. Is there any easy way to do this? I am very new to LateX..
JohnJ
  • 1,103
  • 1
  • 9
  • 8
92
votes
2 answers

How to change the spacing between figures/tables and text?

I was wondering if there is any way to lessen the spaces between figures and text. In my paper I have a lot of figures (graphics) and it is inconvenient for me to have default (large) spaces between text and graphics. Is there any command I could…
kronos
  • 973
92
votes
4 answers

What is the difference between 'fil' and 'fill'?

TeX provides the commands \vfil and \vfill (and their corresponding horizontal versions \hfil and \hfill). These commands are actually defined as: \vskip 0cm plus 1fil \vskip 0cm plus 1fill where 'fil' and 'fill' (and in fact filll) are units of…
Alan Munn
  • 218,180
92
votes
8 answers

LaTeX options for kindle?

I was wondering if there are any good settings to produce a PDF suitable for reading on a (6 inch) kindle. Main use is for intermediate reading of academic papers while they are being written: Text needs to be large enough to be readable.…
willem
  • 2,341
92
votes
7 answers

Filling specified area by random dots in TikZ

I want to reproduce the following diagram in Tikz. LaTeX code of my MWE is below: \documentclass[tikz]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \draw [-latex, thick] (0, 0) -- (0, 6) node [above]…
MYaseen208
  • 8,587
92
votes
1 answer

how to turn latex figure by 90 degrees along with the caption?

The following code rotates the figure as I want to, so now my Y axis is parallel to the shorter edge of my A4 sheet. However, my caption is still parallel to the shorter edge of my sheet. How can I make the caption follow the figure and be parallel…
epsilon8
  • 5,961
91
votes
3 answers

Why use .sty files?

Why is it preferable to put inclusions of commonly used packages and user defined commands in a .sty file instead of putting them in an ordinary .tex file?
malin
  • 3,727
  • 4
  • 23
  • 35
91
votes
13 answers

Cleaning up a .bib file

I have a large .bib file which is in a mess. In particular: Entries are not in any particular order. Some entries may be duplicates (albeit with different keys). Some entries may not be used in the relevant book. (1 is an issue because I'm…
Mohan
  • 15,906
91
votes
20 answers

Which manuals are on your "TeX Reference" shelf?

This is a community wiki since there is no "one true answer"- if you find an answer that contains a lot of your choices, but is missing something you feel is incredibly useful. Feel free to add it. A short description of what topics the reference…
Sharpie
  • 12,844
  • 6
  • 48
  • 58
91
votes
7 answers

The space between the table and its caption is very small

I have a table written like this: \begin{table} \centering \begin{tabular}{|l||c|c|} \hline&Column 1&Column 2\ \hline\hline cell1 & cell2 & cell3 \\ \hline cell1 & cell2 & cell3 \\\hline \end{tabular} …
91
votes
2 answers

How do I number equations only if they are referred to in the text?

I have a paper where all equations are numbered, but I want to number equations only if they are actually referred to in the .tex file using \ref{}. How can I make that happen? Alternatively, how can I make all equations that have no \label next to…
klew
  • 999
91
votes
8 answers

Package for certificates

Since LaTeX can produce outstanding typesetting results and excellent graphics design, I began to wonder if it can recreate certificates. With so many packages and styles out there does anyone know if there is one to create certificate templates…
azetina
  • 28,884