Linked Questions

1
vote
0answers
148 views

\center and \centering [duplicate]

Possible Duplicate: When should we use \begin{center} instead of \centering? I found that \center \begin{tabular}{...} ... \end{tabular} and \centering \begin{tabular}{...} ... ...
4
votes
1answer
50 views

Too much space below figures [duplicate]

I am trying to use graphicx package to include figures. However it seems to leave too much space between the figure and caption. My LaTeX lines are \begin{center} ...
7
votes
0answers
71 views

When should \begin{center}\end{center} ever be used? [duplicate]

I know that \begin{center}\end{center} cause excess white space so it is always suggested that \centering should be used which I use all the time. What would ever justify the use this tag? Maybe if ...
96
votes
38answers
7k views

What are the most common mistakes that beginners of (La)TeX and Friends make?

I want to collect the most common mistakes, misconceptions, pitfalls, etc that (La)TeX and Friends users make. Please one answer for each mistake, misconception, pitfall, etc. I am only interested in ...
129
votes
1answer
18k views

Should I use center or centering for figures and tables?

What is the correct way to center figures and tables (figure, table)? \begin{center} ... \end{center} or \begin{centering} ... \end{centering}
11
votes
6answers
19k views

How do I align an image to centre?

How do I align an image to centre? In a beamer presentation I have a 2-3 items on a slide followed by an image. The image is not wide enough to cover whole slide, so it leaves around 30% space from ...
13
votes
4answers
307 views

How do I tell which version of a command to use?

So LaTeX has a lot of commands that do very similar things. Often this is a result of some of these being old. For example: $x^2$ vs \(^2\); As I understand it, the second example is the more modern ...
20
votes
2answers
3k views

Definitive guide to trivlists

I create a lot of theorem-like environments, and I'm usually happy to employ a package (such as ntheorem, amsthm, etc) to do the work for me. After studying the ntheorem documentation, and reading ...
5
votes
2answers
5k views

center and \centering both add space above; \centerline does not

The nag package suggests I use the center environment in LaTeX, rather than the TeX \centerline command. When I do that, however, I find that the former inserts a blank line above the line (in my ...
5
votes
2answers
1k views

TikZ graph positioning

I am trying to use TikZ to include a simple graph in a short document, but I can't get to position the image properly. Sorry if it is a bit stupid, but this is the first time I am doing something like ...
2
votes
3answers
633 views

Verbatim Environment in Figure Caption

verbatim environment is not working in figure caption. Checked How to put \verb command inside of \textbf{} block? and Verbatim inside a command is not working. \documentclass[11pt, double ...
5
votes
2answers
200 views

Centering long sentence causes strange vertical spacing

In the following MWE I have a centred piece of unbreakable text. Problem is that this causes an extra bit of vertical space, so that visually the centred text is not vertically centred between the two ...
1
vote
1answer
1k views

Image (figure) positioning

I got two cases with images I wish to use within a document. One is a logo, I would like to use it in the front page, at the top-right corner. How do I do that? The second are a drawings which I ...
7
votes
1answer
145 views

Why does putting a vspace*{0 mm} create vertical spacing?

I am testing a new layout for my invoice. I am trying to put some small vertical spacing before the invoice title. While tesing the vertical spacing, I have spotted a strange behaviour, and reduced it ...
4
votes
1answer
231 views

How do I fix the vertical spacing in documents which go over one page?

When LaTeX is unable to fit content onto a page, it sometimes inserts a large amount of whitespace between the two elements that fit on the first page, rather than just leaving space at the bottom of ...

15 30 50 per page