Skip to main content

Questions tagged [floats]

{floats} is about the floating environments figure, table and other, custom-defined floats, and concerns issues such as positioning, labelling, captioning, indexing and listing of said floats. For questions specifically about formatting a float caption, consider using {captions}.

Filter by
Sorted by
Tagged with
187 votes
6 answers
122k views

Why should a table caption be placed above the table?

In the papers I read the caption in figure floats is placed below the figure and in table floats the caption is placed above the table. I recognize that this is a common style that a lot of people ...
maxschlepzig's user avatar
  • 12.2k
47 votes
3 answers
120k views

Why is my table displayed at the top of the page?

I figure this must be a common issue but I could not find a solution. Here is my code: \documentclass{article} \begin{document} Text: This text should be above the table, but it is not. \...
AD - Stop Putin -'s user avatar
114 votes
2 answers
93k views

How to make a figure span on two columns in a scientific paper?

If I just try to set the figure's size to 0.9\textwidth my figure will just end up on the right column, sized to be two-columns wide. Has anyone done this before?
levesque's user avatar
  • 13.1k
191 votes
2 answers
362k views

Why is \newpage ignored sometimes ?

I have the following towards the end of an article. The bibliography is short (4 entries). What's happening is that on the very last page of document I get the chart and immediately afterwards the ...
wishihadabettername's user avatar
10 votes
3 answers
12k views

Legend in caption

It may be a bit difficult sometimes to deal with the legend of a figure in a LaTeX document. Depending on the context, you may have to place the legend over the existing curves because of a lack of ...
13 votes
3 answers
1k views

Why can't I use \newfloat more than once?

I've found the float package, which lets me specify \newfloat{program}{...} to get other named floats than Table and Figure. However, if I try to use this more than once, I get a cryptic error: ! You ...
Tomas Aschan's user avatar
  • 15.6k
5 votes
3 answers
7k views

Forcing specific numbers for tables

I'm working on a paper which will include several tables from a book. I would like to keep the same table numbers as in the book, it makes it easier for people reading the paper in this case. They'll ...
wishihadabettername's user avatar
335 votes
3 answers
379k 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}
yannisl's user avatar
  • 118k
15 votes
4 answers
8k views

Is there a general command to disable indentation of paragraphs after figures and tables?

I am typesetting a manual, that uses normal indentation for paragraphs. The pages have a lot of figures and tables and I would like to have the paragraph after tables and figures to have no ...
yannisl's user avatar
  • 118k
27 votes
2 answers
6k views

Margin Figures/Captions

I have two figure/caption related questions. Firstly, in many textbooks, it is customary to put thin figures (along with their captions) entirely in the outer margin of the page. What is the most ...
Freddie Witherden's user avatar
23 votes
3 answers
6k views

Photograph credits in LaTeX

Is there any convenient package/way to link photograph credits with a figure, and then generate a kind of \listoffigures? Have you any other solution than generating the .lof temporary file, and ...
Kevin's user avatar
  • 393
4 votes
1 answer
2k views

Subfloat labels don't display properly

The screenshot has the bottom part of a figure with two subfigures. As you can see, the labels have a very narrow width. I don't understand why. \begin{figure}[htp] \centering \subfloat[...
wishihadabettername's user avatar
5 votes
2 answers
4k views

How to create multilevel figure / table numbers?

How to create figure numbers like 1.1.1 and then 1.2.1, not 1.2.2? I mean even if I added \arabic{section} into the command, the order of figures is still continuous, not accordingly rearranged by ...
user avatar
397 votes
8 answers
506k views

Keeping tables/figures close to where they are mentioned

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?
artimess's user avatar
  • 4,361
108 votes
3 answers
83k views

How to reference the page of a figure?

Is it possible to make a reference to the page where a figure is rendered? I would like to write something like see figure~\ref{figure-xyz} on page NN where NN will automatically be maintained by ...
wishihadabettername's user avatar
31 votes
2 answers
16k views

What is the difference between \subfigure and \subfloat?

I've been just reading through this Latex wikibook and I spotted they advocate use of \subfloat in figures. I've always used \subfigure. What is the difference?
Łukasz Lew's user avatar
  • 8,643
6 votes
1 answer
2k views

In amsart, how I can get caption spacing in tables to be like that in figures?

In the document class amsart, I get different vertical spacing around the caption in tables and figures. For instance, compare the difference: \documentclass{amsart} \begin{document} \begin{...
James Borger's user avatar
19 votes
3 answers
4k views

Too many unprocessed floats with marginpar

I'm updating my CV, which is written by modifying this template. I have always been very happy with the result, but now I'm getting a Too many unprocessed floats error. For those who do not want to ...
Andrea's user avatar
  • 4,187
13 votes
3 answers
5k views

Line up captions on side by side figures

I want to place two (or more) figures with side by side. The figures are independent, so need separate captions, with no overall caption for the two. I know how to do this with minipages within a ...
user avatar
103 votes
2 answers
107k views

`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 ...
Geodesic's user avatar
  • 1,153
9 votes
2 answers
2k views

How can I have images that are side-by-side and have numbers attached to each one?

For example: *Image 1* *Image 2* *Image 3* (i) (ii) (iii) Figure n. Multiple images. (i) image at time n. (ii) Image at time n+1. (iii) Image at time n+2
bada's user avatar
  • 4,387
10 votes
2 answers
6k views

How do I format subfigures captions using memoir?

I switched to using the memoir class and stopped including subfigures. All of my subfigures now interpret the caption as actual text, i.e. as [caption...], which shows up in the document with the ...
Neil G's user avatar
  • 18.1k
3 votes
2 answers
1k views

How to get rotating and/or rotfloat to work

Using LyX 1.6.5/MacTex-2009 my floating sideways figures only occupy half the page and the other half of the figure disappears off the left margin. I tried the rotfloat and rotating packages and they ...
Andrew Sterian's user avatar
12 votes
1 answer
2k views

Full-page figure without extraneous whitespace in text?

My question is along the lines of How do I ensure that figures appear in the section they're associated with?, but slightly different. I have a figure that occupies a full page. By default, LaTeX ...
Matt Reece's user avatar
14 votes
2 answers
573 views

Why do floats change the \mark?

The presence of floats appears to disrupt the setting of \marks, so that \topmark ends up with the wrong value. For example, consider this: \documentclass{article} \textheight 50mm \textwidth 50mm \...
Norman Gray's user avatar
  • 7,627
221 votes
4 answers
175k views

How do I ensure that figures appear in the section they're associated with?

Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break. Is there a way to force a new section to start on a new page, after any ...
Kim Morrison's user avatar
  • 7,723
19 votes
5 answers
61k views

Table reference

I wrote a long table with a label in a tex file and \input it into my main tex file. The reference in the main tex file to the table, however, does not show the numbering of the table but the one of ...
Tim's user avatar
  • 5,783
7 votes
1 answer
314 views

Combining a user-defined float inside a shadowbox

Is it possible to combine the "program" part in a shadowbox? \documentclass{article} \usepackage{float} \floatstyle{ruled} \newfloat{program}{thp}{lop} \floatname{program}{Program} \begin{document}...
user avatar
146 votes
3 answers
182k 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 ...
Jacob Gabrielson's user avatar
138 votes
7 answers
259k views

Custom margin settings for figure in LaTeX [duplicate]

I have a fairly large figure in a LaTeX document. This figure is too large for the left and right margin of the document. This results in the figure being placed flush with the left margin, and way ...
user avatar

1
121 122 123 124
125