Linked Questions

98
votes
3answers
87k views

What is the correct way to center a \tikzpicture? [duplicate]

Possible Duplicate: Should I use center or centering for figures and tables? What is the correct way to cause a \tikzpicture to be centered? By default it appears to be aligned with the left ...
3
votes
2answers
1k views

Best way to centre figure in float [duplicate]

Possible Duplicate: Should I use center or centering for figures and tables? There are (at least) two ways of centering a single figure / graphic horizontally in a figure float: 1) using \begin{...
1
vote
2answers
4k views

Empty space after adding an image [duplicate]

After adding an image I have an empty space. How can it be reduced? I used \FloatBarrier. But it did not worked. % Following copied by Marc van Dongen from comment from OP. \documentclass[12pt,...
0
votes
1answer
1k views

How do you center graphics? [duplicate]

Possible Duplicate: Should I use center or centering for figures and tables? I am doing an assessment and as part of it have linked some graphics into my Latex report, however they are not ...
-1
votes
2answers
400 views

How to center align the whole table? [duplicate]

I created a table and it starts from the left and goes all the way to right, which looks really skewed. So I want to center align the whole table but couldn't figure out how to do it. I'm new to latex ...
2
votes
0answers
471 views

\center and \centering [duplicate]

I found that \center \begin{tabular}{...} ... \end{tabular} and \centering \begin{tabular}{...} ... \end{tabular} both make the following table centered. My questions are: Are \center and \...
0
votes
0answers
30 views

Removing new line after figure [duplicate]

We've been given a template to work with. I am adding figures with the following code: \begin{figure}[H] \begin{center} \includegraphics[scale=0.7]{Figures/System/reinf-learning.jpg} \...
175
votes
45answers
18k 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 ...
447
votes
4answers
1.1m views

Force figure placement in text

I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code: \begin{figure}[ht] \...
206
votes
2answers
371k views

When should we use \begin{center} instead of \centering?

After reading this question Should I use center or centering for figures?, I want to know the answer of the following. When should we use \begin{center} instead of \centering? For example, should we ...
124
votes
4answers
333k views

Force LaTeX image to appear in the section in which it's declared [duplicate]

Possible Duplicates: How do I ensure that figures appear in the section they're associated with? Keeping tables/figures close to where they are mentioned How can I force an image in a LaTeX ...
47
votes
9answers
248k 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 ...
32
votes
2answers
98k views

Combine 4 cells in a table

Here is a simple table. I want to merge 4 cells. I want to combine the three "this" cells area in this table. I thought I have to use multirow and multicolum at same time. However, I could not find ...
27
votes
6answers
17k views

Scaling a TikZ figure from an external file

I would like to insert figures which were created with TikZ to my LaTeX document. I suppose that if I create the TikZ figure inside the document, that wouldn't be a problem - I'd just play with the ...
20
votes
4answers
24k views

How to do simple calculation in LaTeX?

Consider the following macro: \newcommand{\sxfigure}[4]{ \includegraphics[width=#1*#3 cm, height=#2*#3 cm]{#4} } #1 and #2 is some value to determine the width and height of the figure, #3 is to ...

15 30 50 per page