Linked Questions

600
votes
2answers
381k views

How to influence the position of float environments like figure and table in LaTeX?

How to influence the position of float environments like figure and table in LaTeX? This is a general question and should collect useful answers for all users. I hope we can use this as a reference
124
votes
4answers
328k 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 ...
111
votes
7answers
122k views

How can I get the figures not to be pushed to the end of the document?

For some reason, my figures get pushed to the end of the document. I tried begin{figure}[t], [h] and other options, but none helped. Any ideas how to get the figures to appear much earlier in the ...
108
votes
3answers
423k views

How to use the placement options [t], [h] with figures? [duplicate]

I want to control the placement of figures. The paper that I am currently writing contains a lot of figures, resulting in some figures ending up in the bibliography section. Therefore I want to ...
78
votes
2answers
334k views

How to fix table position

Table does not show up at the same position it was inserted in the TeX file. I got the understanding through bit of reading on this forum that they are floats and they pick the best place on the ...
67
votes
2answers
116k views

How can I reduce padding after figure?

\documentclass{mwrep} \usepackage[draft]{graphicx} \usepackage{hyperref} \usepackage[all]{hypcap} \makeatletter \g@addto@macro\@floatboxreset\centering \makeatother I use figures with captions. \...
61
votes
3answers
249k views

How to use figure inside a minipage?

I'm trying to include an image, and keep it centered, and prevent from wrapping from the next page. The following code works for that: \begin{minipage}{\textwidth} \begin{center} Caption ...
45
votes
2answers
253k views

Putting Figures Side-By-Side Using Minipage

I am trying to put two figures next to each other. However, it is not working. Here is my code: \begin{figure}[h] \centering \begin{minipage}{1.0\textwidth} \centering \includegraphics[width=0.3\...
44
votes
1answer
136k views

How to control the position of floating images? [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I want to make it like this: text image text image But even if I put [h!] to the position the figures, the figure is ...
39
votes
3answers
5k views

Automatically increase PDF page height

I'd like to emulate HTML's infinite page height using LaTeX/XeTeX, i.e. have the PDF pages grow higher until a manual \newpage is issued. This could be emulated by setting a very large page height ...
28
votes
2answers
39k views

Forcing bibliography to the end [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they're associated with? I'm using the thebibliography environment, in a paper that has three floating figures. Now, for ...
24
votes
1answer
7k views

General differences between array, table, tabular, tabularx, longtable, supertabular, longtabu, etc [closed]

What are the general differences between the various table environments that exist for LaTeX? By this I mean: What are their basic purposes? Which ones are the most important ones for new users? Which ...
22
votes
1answer
135k views

Placing the figure exactly at the top of the page in Latex [duplicate]

I have a problem in placing a picture into a page. I used a simple code as below: \begin{figure}[t!] \centering \includegraphics[keepaspectratio, width=0.6\textwidth]{./pics/5_11} \caption{...
22
votes
1answer
27k views

Floats - how to restrict floating to subsection only in one section of the document?

I have concluded that the package float allows figures to float within the section they belong to. However for one particular section I need to restrict the floating to the subsection (without forcing ...
20
votes
3answers
4k views

What are some best practices for the typography of tables and figures?

I put captions above my tables and below my figures. I use the booktabs package (and no vertical lines) for my tables. Do I show both tables and figures (graphs) for the same data? If so, in what ...

15 30 50 per page