{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}.

learn more… | top users | synonyms (2)

8
votes
2answers
3k views

Sideways figure with rotated page number

The submission requirements require that any landscaped image have the page number on the 11" side of the page, at the bottom and centered. I can't figure out how to do this. I'm using ...
7
votes
1answer
2k views

twoside introduces incorrect linespacing at end of section

I have: \documentclass[a4paper,11pt]{report} with no special customisation. In one page, at the end of a section, I have a big figure with two paragraphs of text below it, and these two paragraphs ...
2
votes
1answer
560 views

LyX Question on Table Numbering

How can you change table numbers in LyX. I want to get tables numbered within section (Table 1.1, 1.2 etc.). For some reason \numberwithin{table}{section} is not working.
3
votes
1answer
1k views

Insert graphs and text side by side

I wanna know how can I draw graphs and arrows with text, side by side in Beamer as shown in the figure of this question Drawing arrows in beamer Can someone post the code?
2
votes
1answer
2k views

aligning a table with a figure side to side using llncs format

using the \documentclass{llncs} instead of for example \documentclass{book} will not make the captions aligned together for the following example. How can I do to align them together: \documentclass{...
1
vote
1answer
10k views

Put a figure with a table side by side

I have a table and a figure, I want to align them one next to the other (not one under the other): \documentclass{llncs} \usepackage{capt-of} \usepackage[demo]{graphicx} \begin{document} \begin{...
18
votes
3answers
4k views

How to put a PDF figure on top of another one

I have two PDF figures (charts) in a LaTeX document. As one of them is really simple, and I have some document space constraints, I was thinking of putting it in the upper right corner of the second ...
2
votes
1answer
98 views

Placing a .pdf file in the center with \multirow

The following is my code \begin{sidewaysfigure} \centering \scalebox{0.9}{\begin{tabular}{c|c|cc} \emph{}&\emph{a}&\emph{b}&\emph{c}\\ \hline \rotatebox{90}{text}&\multirow{2}{*}{ ...
4
votes
1answer
983 views

Figures on left pages, text on right pages

I'm writing a thesis in the book document class and I'm using a lot of figures to explain the working method. If I use the method proposed in Figures on left pages, text on right ones with class book, ...
2
votes
1answer
106 views

How do I force using the blank space before/after a table in a two column env?

I'm using a two column environment, and I placed a table in the left column, as shown in the image: Below it the latex source excerpt used to draw such a table: \documentclass[final,5p,times,...
1
vote
0answers
51 views

\ref{} does not find my \label in LaTeX [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? I have a problem using \ref{} to reference table floating object. In my document, I have a table area ...
3
votes
1answer
2k views

How to insert algorithm inside multicols environment [duplicate]

Possible Duplicate: Placing figures inside a two-column document Here is my MWE: \documentclass{article} \usepackage{multicol} \usepackage{algorithm} \usepackage{algpseudocode} \usepackage{...
5
votes
1answer
4k views

Trouble Putting Figure in \resizebox

I would like to create an array of tikzpictures on a beamer slide by beginning a figure environment and creating four subfloats inside it (using the subfigure package). Strangely, this exact process ...
4
votes
2answers
9k views

Changing the subfigure caption by removing brackets & font of the subcaption

Note that by using \usepackage[bf]{subfigure} I'm able to change the label of the subfigure to be boldface. However, the label appears with brackets, e.g., "(a)". How could I get a subfigure label ...
1
vote
0answers
28 views

Sub-labeling in tabular environment [duplicate]

Possible Duplicate: How to put subcaptions below subtables, and increase gap between subtables with 'subfigure'? I have two tables in the tabular environment with labels. I'd like to ...
1
vote
1answer
457 views

Placing subfigure argument at the distance below the figure

In my \documentclass[a4paper,12pt]{book} I'm using the following \begin{figure}[] \centering \subfigure[text A]{\includegraphics[width=0.47\textwidth]{a.pdf}} \subfigure[text B}]{\includegraphics[...
1
vote
1answer
1k views

autoref with the float package

I would like to use \autoref{fig:subfig:a}, but I don't get the figure number by simply typing this. My code is: \documentclass{article} \usepackage{amssymb,amstext,amsmath,latexsym,mathtools} \...
4
votes
2answers
1k views

numbering several latex figures

How is it possible to include figure labeling in latex? By labeling I mean that if I import several figures: \begin{figure}[ht] \centering \includegraphics[height = 0.2\textwidth,width=0.8\...
1
vote
0answers
36 views

Table generating error [duplicate]

Possible Duplicate: 19 simple tables giving “TeX capacity exceeded” / “Too many unprocessed floats”? TexStudio 2.3 Miktex2.9 Hi everybody I am kind if new to LaTeX. I ...
2
votes
1answer
656 views

How to remove horizontal lines around figures for htlatex output

htlatex adds horizontal lines around figures floats. For instance, the HTML output for the following tex: \begin{figure} \begin{centering} \includegraphics{photo.png} \end{centering} \end{figure} ...
4
votes
2answers
702 views

Undesired behaviour of \parbox within figure environment

I want to put a \parbox in a figure that is drawn by pstricks. The pspicture environment is inside of a figure environment. As an example: \documentclass[singlecolumn, nofootinbib, notitlepage]{...
4
votes
1answer
2k views

How can I use \belowcaptionskip with listing?

\documentclass{mwrep} \usepackage{minted} \usepackage{lipsum} % question regarding this code \setlength{\belowcaptionskip}{-10pt} % end \begin{document} \lipsum[1] \begin{listing}[h] \begin{verbatim}...
1
vote
2answers
2k views

How do I put two different pictures side by side? [duplicate]

Possible Duplicate: Two figures side by side How do I put two different pictures side by side? I'm using the figure environment. My code is: \begin{figure}[h!] \centering \includegraphics[...
31
votes
4answers
49k views

Remove space after figure and before text

I have a figure in my paper (I am using IEEEtran package). After this figure there exists a space between the figure and the text. How can I reduce the size of this white space. To be specific the ...
5
votes
2answers
281 views

Last part of longtable after next float

I'm having the following problem with a document I'm making. I have a table which is split over five pages. This is done with longtable and it works fine. In the next section I have another (simple) ...
10
votes
1answer
20k views

How do force center-alignment in a caption in a figure?

When I use the following code: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure}[h!] \begin{center} \caption{test} \includegraphics{...
9
votes
1answer
255 views

How can I create a chapter with graphics only divided into different sections?

I'm trying to create a chapter with pictures only, but keep running into troubles. The chapter is an appendix, where only some graphics should be displayed, placed in different sections. I don't need ...
0
votes
1answer
265 views

Table references showing up with section number instead of table number [duplicate]

Possible Duplicate: Continuous v. per-chapter/section numbering of figures, tables, and other document elements My table references are showing up with the section number in them. I'd like all ...
5
votes
1answer
985 views

Packages hyperref together with subfig break when \renewcommand{\thefigure}{…} is used

The following code compiles and acts as you would expect: \documentclass[12pt]{report} %\usepackage{hyperref} \usepackage{subfig} \begin{document} \begin{figure} \centering \renewcommand{\...
9
votes
1answer
210 views

Numbering a figure with a symbol in a way that is compatible with \label and \ref

In a long paper, full of figures labeled as usual, there are two figures which I would like to single out and label with symbols. For instance, I would like to have them labeled Figure $\dag$ and ...
5
votes
0answers
54 views

Why are float objects centered vertically on new pages? [duplicate]

Possible Duplicate: Automatic vertical alignment of a single float on a dedicated page Why are float objects centered vertically on new pages if they don't fit on the page where they are added ...
3
votes
1answer
1k views

Multicolumn image

How can i span image across two columns in multicolumn environment? I want to create something like this: c1 Image c1 Image c1 c2 c3 c1 c2 c3 (c1, c2, c3 = columns) It can be done in ConTeXt: ...
1
vote
0answers
28 views

Equivalent of <div style=“float:right”></div>? [duplicate]

Possible Duplicate: Equivalent of CSS “float:left;” for images I come from an HTML/CSS background, and would like to know the LaTeX equivalent of the following HTML snippet: <...
4
votes
1answer
1k views

Table numbers restart using \ContinuedFloat

Okay, I am really new at LaTeX so I may be screwing up terribly, but here's my problem. I'm writing a paper with several tables, one of which is in three parts, so I'm using \ContinuedFloat from the ...
0
votes
0answers
42 views

Specific layout when adding nornmal text below a tabular in a table-environment [duplicate]

Possible Duplicate: Align Note below table I have a tabular inside a table-environment and wish to add some explanatory text directly below the tabular within the float. Of course I know that ...
5
votes
1answer
4k views

Numbers of figure references

I use enumerating of figures within the section \renewcommand{\thefigure}{\arabic{section}.\arabic{figure}} however, when I use a reference to subfigure, instead of 1.1 (a) I get 1(a). How should I ...
4
votes
1answer
6k views

Issues with figure numbering and\ContinuedFloat command

I am having an issues with the subfig and \ContinuedFloat command. I have a figure that has 4 subfigures. They are too large to fit on one page. I have tried using the \ContinuedFloat command to ...
11
votes
2answers
3k views

Why are \listof{}{} and \listoffigures styled differently?

I'm writing my thesis and I have certain code-snippets to show. I'm using the the listings package embedded in a custom float environment to display them. To list them in an index at the beginning of ...
1
vote
1answer
172 views

listof (float package) mixes many differents floats (memoir)

As said, I have a problem when I create new float type with float. My preamble contains \newfloat{protocol}{tHp}{lop} \floatname{protocol}{Protocole} \newfloat{fonction}{tHp}{lop} \floatname{...
3
votes
1answer
1k views

Floating TikZ picture within text in mdframed

When there is not enough space for TikZ picture at the end of a text, it will goes to the next page, and leaves an empty space after the text. Is there a standard method for putting TikZ picture in ...
6
votes
2answers
1k views

How to add custom floats to \listoffigures?

I created custom float objects using the float package to draw stuff with tikz. \usepackage{float} \floatstyle{plain} \newfloat{tkizfloat}{htb}{lof} \floatname{tkizfloat}{Figure} Is there any ...
2
votes
3answers
337 views

Tables are not numbered using Polyglossia in Hebrew

I have a problem using Polyglossia in Hebrew: While defining main language as Hebrew, my tables are not numbered in the caption(It appraes as just "Table" (טבלה) instead of "Table 1" (or "טבלה 1"). If ...
5
votes
2answers
3k views

LaTeX freezes on \begin{SCfigure}

I need side figure captions but using SCfigure freezes LaTeX as described here: http://sourceforge.net/projects/latex-beamer/forums/forum/319190/topic/1589887 Do you have any solutions to this ...
5
votes
1answer
258 views

How to force a hvFloat to be “Here”

A want to rotate my table but not on a newpage that is why i use hvFloat instead of sidewaystable. But with this one i have an other issue. The table won't get under the title. Is there someone who ...
4
votes
1answer
198 views

Splitting .tex file across pages when included as figure

I am trying to include a .tex file in my thesis. The file is some MATLAB code formatted to appear correctly in LaTeX. The compiler throws a warning that the code is too long for the page, but it doesn'...
2
votes
0answers
46 views

Page Long Image keeps getting put at the end of the page! [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I have some text, then, one page long image, followed by a page long table, and another page of text. What latex ...
7
votes
2answers
4k views

changing the position of a caption

I have a code for putting a figure: \begin{figure} \includegraphics{some_narrow_and_tall_image.pdf} \caption{caption of the figure which can be pretty long} \end{figure} The page format is single-...
10
votes
1answer
691 views

Context: Placing float (figure) and text-top at same height

I would like my figures to be flush with the text line beside them if they are positioned left or right and top. Currently the top edge of the figures are roughly flush with the 2nd line. This seems ...
0
votes
0answers
45 views

How to place floats after a section heading and how to place it before one? [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned Is there a latex command that can be used to force floats to be positioned AFTER a specified section heading? And ...
37
votes
4answers
84k views

Placing figures inside a two-column document

I'm trying to get images in my document in two different ways: On top of the entire page, centered On top of a single column I tried it with both twocols and multicols. I ruled out twocols because ...