{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)

3
votes
1answer
166 views

ConTeXt figure placement

For years I've used a LaTeX macro that allowed me to embed figures into my text with relatively little fuss. I could type something like: A typological comparison (see Figure \Fig[Caption ...
2
votes
2answers
118 views

Table way out of margin

I have a really long table and it is out of margin. I read other post about this issue but I still cannot figure it out: \begin{table}[htbp] \begin{center} ...
6
votes
1answer
1k views

How to keep multiple figure together

I have 6 graphs that I have to keep together while showing. I have to make them almost same width as text width, otherwise the graphs will not be properly seen. So I cannot add them side by side but I ...
0
votes
0answers
22 views

Cleveref breakup on figure references [duplicate]

Consider this MWE: \documentclass[a4paper]{article} \usepackage{graphicx} \usepackage[dvips]{hyperref} \usepackage[noabbrev,nameinlink]{cleveref} \begin{document} \section{Abc} \begin{figure} ...
2
votes
1answer
70 views

About the distance between the caption and the main body

I found that there is too much space between the caption of the figure and the main body. (The caption is below the figure). I don't know how to reduce the distance among them? the code I use now is ...
2
votes
1answer
86 views

Moving equations and aligns into outer margin

I have rather narrow text width, so sometimes I have to move floats to the outer margin. In case of drawings and tables I use command \widefloat defined below \documentclass[11pt]{scrbook} ...
10
votes
3answers
2k views

Generating a separate pdf file of tables and figures from a latex file?

Is it possible to generate a pdf of figures and tables of a paper from latex itself? I saw Journals and Conferences asking for a separate file of tables and figures. In this question, questioner ...
6
votes
2answers
155 views

Problems with \ifthispageodd

I am using KOMA script for my document. Occasionally, I have a float that is wider than text width, and I want the float to be pushed into the outer margin. This is why I defined \widefloat command, ...
3
votes
0answers
47 views

Duplicate captions problem with figure [duplicate]

I am a beginner in LaTeX. I used the LaTeX example to insert a figure in my thesis. Here is the code: \begin{figure}[ht] \centering \includegraphics[width=\textwidth]{figs/#####.jpg} \vspace{0in} ...
4
votes
1answer
118 views

Spacing captions in a subfigure environment

I'm trying to use the subfigure environment to generate side-by-side images with captions, however because the images are different heights the captions come out at different heights. Also, they come ...
3
votes
1answer
213 views

How can I remove extra space after the figure, but keep it above the figure [duplicate]

Code: \documentclass{article} \usepackage[a4paper]{geometry} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document} text text text text text text text text text text text text text ...
1
vote
0answers
117 views

Problem when introducing figures [closed]

I'm new to LaTeX and I'm having trouble when I try to include a figure in my text. The problem is that the text appears behind the image, or the image overlays the text. Also, it's not centred ...
4
votes
2answers
209 views

hvFloat: wrong page number via addcontentsline

I'm still typesetting a book where I have about 10 pictures in every huge part and I want to add their captions to the ToC, not on a separate list of figures. Fot that, I'm using \addcontentsline to ...
0
votes
0answers
38 views

Locally change float parameters

I have a specific page in which I want to change the float settings, but I do not want to change them globally. Specifically, I would like to increase the \bottomfraction of a page. Is this possible?
0
votes
0answers
37 views

Employing options of the figure or table environment via \newcommand

I am writing a large document in which I would like to employ the options of figure environments via \newcommand{\figposa}{H} \newcommand{\figposb}{T} \newcommand{\figposc}{B} ...
2
votes
1answer
70 views

How to set default positioning of figure/table document wide [duplicate]

I'm writing my thesis and I find myself adding [hb]s and [ht]s to all figures and tables. Is there a way to make this global for the whole document? Preferably with the option to override it for ...
5
votes
3answers
135 views

How could a verbatimtab environment in a figure environment be resized (perhaps using the package adjustbox)?

How could a verbatimtab environment in a figure environment be resized (perhaps using the package adjustbox)? I have some code something like the following: \begin{figure}[htb] \centering ...
2
votes
1answer
203 views

Figure with minipage alignment issues [duplicate]

I have a figure block with 2 'minipage', each having a figure. When I typeset the document, the figure goes to the top of the page instead of being in the sub-section where I am defining it. The ...
0
votes
0answers
18 views

Figures in latex using loop [duplicate]

To put maximum of 6 figures in 3 rows & 2 columns in a A4 page using loop, I tried like: \foreach \x in {1,2,3,4,5,6,7,8,9,10,11,12} { \begin{figure}[h] \caption{This is the caption.} ...
0
votes
1answer
49 views

Insert a figure such that there is text to the right of it

Right now I'm using the following at the top of my document: \begin{flushright} \textbf{\large My name} \vspace{3pt} \hrule \vspace{3pt} Street 1a\\ Postal code + city\\ Phone number\\ Email@test.com ...
2
votes
1answer
82 views

Figure as part of a paragraph

I have two paragraphs and one figure. I want to place the figure as part of the first paragraph. I want this order: paragraph1 with the figure than paragraph2 \paragraph{P1} text ...
3
votes
0answers
64 views

pageslts error: very old endfloat in texlive 2013

The package pageslts complains about "very old endfloat package detected", but the recent endfloat version 2.5d is loaded. A minimum working example showing this error is: \documentclass{article} ...
4
votes
1answer
41 views

\pageref to customised float environment

I would like to include some pictures in my document that are not really figures and should therefore not appear in the list-of-figures. They are to cover a whole page each, which I achieved using the ...
1
vote
1answer
176 views

Figures Taking Up too much space

I have two small figures that take up an entire page. How can I reduce the space between/after the figures so that I can start the next section on the same page? \begin{figure} \centering ...
5
votes
3answers
180 views

How to include addcontentsline on blank page into TOC

\addcontentsline is written to the toc when the page is "shipped out". If the command is on an empty page which is not written to the pdf or dvi it gets lost. Question: How do I get \addcontentsline ...
2
votes
1answer
4k views

“Missing number, treated as zero” error adding subfigures

I was ok doing my college work, then I needed to put figures on it. I looked at the Wikipedia's example where it used subfigures, so I tried to use in my work. The following block is public at my ...
2
votes
0answers
34 views

How to unfloat a table or figure enviroment [duplicate]

Someone knows how to "unfloat" a table or figure enviroments. I mean, I want to put a float enviroment after a specified paragraph. I need some help.
3
votes
1answer
100 views

\vref and input command

You've saved my life in some occasions, I am writing my master thesis and as I am working with MATLAB, I found a very useful MATLAB function which "translate" MATLAB images to TeX tikzpicture. I ...
1
vote
1answer
110 views

Don't start next section until every image float is resolved

I've a chapter formed by two sections. The problem is, I have two images that should be in the first section but eventually end up in the second. I read a bit about approaches to the problem using ...
5
votes
1answer
4k views

How to make a subfigure span the two columns in IEEEtrans style?

I have three figures that I want to put side by side for the sake of comparison, I am using IEEEtrans. I found solutions for how an equation spans the two columns but not for contiguous figures, any ...
3
votes
1answer
85 views

Position of figure in a new page

Writing my thesis, I have to put an image in a new page, but it is always in the middle of the page, and I want it on the top. To insert the image I use \begin{figure}[t] \centering \hspace*{-2.0cm} ...
15
votes
3answers
264 views

┓- shaped figure and caption

I have a (float) figure that has a ┓-shape, that is there is a huge blank square at the bottom left. I'd like to put in this blank the caption of the figure. Is there a way? My class loads ...
5
votes
1answer
143 views

Lots and lots of floats

I am working on a book on statistical graphics. Needless to say, it has many many figures/floats. I was (at least as a temporary measure) dumping them all at the end, but even this eventually failed ...
3
votes
2answers
128 views

How to put figures and tables together (in the same page) at the end? And leave some in the text?

I would like to put most of the figures and tables together (in the same page) at the end, while leave one of them in the text where it is referred. Now, I use ...
1
vote
0answers
105 views

Using tikz to modify List of Figures

I have successfully used tikz to modify the table of contents of a $\Tex$ document, and cannot quite figure out how to achieve the same effect for the list of figures, list of tables, ...
12
votes
2answers
114 views

Color leak from multicols within a figure

The text at the bottom of page 2 is red, despite the fact that the color change in the code below originates from \color{red}\normalcolor within the multicols within the figure and should naively ...
7
votes
2answers
335 views

Indent further paragraphs in the caption of a table

I have a little problem how to create a caption to my table. It looks ok as of now, but I would like to indent the heading of a new paragraph. Also right now, I cannot even create a new paragraph ...
4
votes
1answer
277 views

Package wrapfig with many section and subsections

I'm using package wrapfig in a document with many subsections. At least one per page. I have a tall figure, almost the height of an entire page, so I assume wrapfig is the correct way to place this - ...
8
votes
2answers
157 views

Align position of a table exactly to another one

I have a problem. I just made a table which was very wide, so I decided to split it into two smaller ones. Turned out the 2nd half is a little bit smaller in width than the first one. Now I want these ...
0
votes
1answer
94 views

Not aligned figures!

I have a problem aligning my figures. I am using following code. However, one figure appears a bit higher than the other one. Everything else is perfectly aligned in the paper. Except for these two: ...
3
votes
1answer
94 views

Figure between equation and where

Here is a problem hard to describe and give a minimal code. I have an equation written like this: \begin{equation} \tau_w = -\frac{T}{\ln(r_{decay})} \end{equation} % where $r_decay$ is decay ...
0
votes
0answers
80 views

How do I label and reference an Inkscape file using \input?

I have written the following code in TexShop: \begin{figure}[h] \begin{center} \def\svgwidth{\columnwidth} \input{<nameoffile>.pdf_tex} \caption{figure 1} \label{fig:no1} \end{center} ...
1
vote
1answer
136 views

image positioning

I'm trying to put an image (test.pdf) inside an page that has already an table, the page is in landscape position. How can I set the positioning of the image on the top right corner of the page, or ...
0
votes
0answers
37 views

Figure move to next page when I combine to two floats to appear simultaneously

% Hemolysis measurements with WT vs Mutant %General parameters \documentclass[12pt]{article} \usepackage{doublespace,fullpage} \usepackage{epsfig} \usepackage{wrapfig} \usepackage{graphics} ...
2
votes
3answers
155 views

Is there a “rule” that figures “must” be at the top of a page, and tables at the bottom? [closed]

Today I had a discussion with my professor, who demands me to put all of my figures at the top of a page, and all tables at the bottom. None may be inline with the text. He says that "this is the ...
4
votes
2answers
365 views

How to make grid of pictures span across entire page

I am writing a paper that has a template which runs text down two columns. I have a 2x3 (2 wide, 3 tall) grid of images that currently are contained in one column. I'd like to make it a 3x2 grid ...
6
votes
2answers
149 views

Space between floats and text after special declaration of font size for scrbook

Our designer suggested a font size of 10.5. We passed this as an option to the srcbook class and everything seems to work fine except the space between main text and floats. With fontsize=10.5 much ...
3
votes
1answer
147 views

How to put a table at the head of a page of a two column academic paper?

I have a huge table that needs to be in the paper and I want to fit it at the top of a page. How can I align in such a way, at the top of the page?
3
votes
1answer
294 views

Logo next title poster

I have a problem with placing one logo on the appropriate place in my poster. I have two logo's, there is no problem with the first logo, which stands left to the title. The second logo is right to ...
3
votes
1answer
402 views

How to fix caption in moderncv?

I'm using moderncv and I want to add a caption to an inserted graphic. I'm currently using this code \begin{minipage}{.5\textwidth} \centering ...