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

2
votes
1answer
235 views

Referencing figure not working in Gummi

Ok so I'm trying to reference a couple of images from my document. The code is: \begin{figure}[htp] \centering \includegraphics[scale=0.70]{grafico2.jpg} \caption{Aceleramiento con las 4 primeras ...
2
votes
3answers
250 views

wrapfigure inside a tikzpicture

I am trying to place a figure environment inside a tikzpicture as: \begin{tikzpicture} \node [mybox] (box){% \begin{minipage}{0.45\textwidth} % \LHead{ ...
10
votes
3answers
228 views

Automated label tagging in figure? Automated labeling?

Is there a way to set a figure label based on the basename of the eps file used? \begin{figure} \centering \includegraphics[width=.8\textwidth]{figures/MYFIGNAMEXXX.eps} \caption{my caption} ...
5
votes
1answer
259 views

mdframed: unable to reproduce the example environment with figures [duplicate]

I used mdframed but I am unable to reproduce the example environment (?) from this primer. The main problem is with figures (graphics, plots), of course. Any help?
5
votes
1answer
118 views

When do we still need the table and figure environments when we don't want the enclosed objects to float?

The LaTeX Wikibook writes: Please understand: you do not have to use floating tables. It only looks more professional. If you want to place your tables where they lie in your source code, do ...
3
votes
1answer
487 views

figcaps and page breaks

I'm using figcaps to place floats at the end of an article prior to copyediting. The journal asks for each figure/table on a separate page. But figcaps puts as many figures as possible on each page. ...
1
vote
1answer
125 views

How to set identifier “Listing 1” in listing in bold

I use figures and listings in a document. By default, the identifier "Figure 1" is set in bold, while "Listing 1" is normal. For consistent looks I would like to have either everythin bold or normal. ...
2
votes
1answer
310 views

Vertical spacing for two consecutive figure environments

I think I'm not going to solve my problem with the Floats and positioning of figures. I have 4 diagramms and I need to place them on two pages and at the end of the second page the caption for all 4 ...
2
votes
1answer
1k views

Include subfigures in poster

I am trying to write a poster for a conference presentation, so far everything works fine except for 2 figures that I want to include (both should be on the same row with one common caption). I keep ...
3
votes
1answer
131 views

Path for global figures

I know that I can save some styles files to be used for all users simply loading it on preamble. I'd like to know where save some figures to have the same effect, that is, any user could insert the ...
2
votes
2answers
264 views

Align a figure caption lines

I have an image with caption in LaTeX: \begin{figure}[H] \centering \includegraphics[width=0.8\textwidth,height=0.8\textheight,keepaspectratio]{img/image9} \caption{Text text text text text ...
0
votes
0answers
24 views

Tabularx textwidth tables jump to last page [duplicate]

I am using tabularx to get a table that automatically stretches to the full width of the paper. However, my tables seem to be put at the last page when I apply this code (see below). How can I avoid ...
3
votes
2answers
265 views

how to insert a fixed number of figures per row/column?

I have a simple question but I am not sure on how to proceed. I would like to put 10 figures on the same page: a grid of 5 rows and 2 columns. What should I type in order to have the figure inserted ...
13
votes
2answers
16k views

Figures: What is the difference between using subfig or subfigure [duplicate]

I tend to use \subfloats[]{} in my figures when I want to list multiple labelled figures of similar content in one bigger picture. However, I see that some people use \subfigure. What is the ...
4
votes
1answer
615 views

custom sub-caption and refs format for subfigures

I've just read questions: Changing the subfigure caption by removing brackets & font of the subcaption Adding parentheses around subfig references How to put two images next to each other with ...
0
votes
0answers
33 views

Is there a way to include a prefix to the figure number? [duplicate]

The publisher requires that I have captions and references of resp. to figures that include the chapter number. So in chapter 27 it has to be figure 27.1, 27.2, ... in the captions. \refhas to be ...
2
votes
1answer
69 views

Why does leftidx not work in a figure caption?

I use the leftidx package to get left subscripts typeset acceptably, however, when I tried to use the \leftidx command within a figure caption (\caption) command I get errors compiling. Here is a MWE: ...
1
vote
2answers
67 views

Floatplacement with short paragraph

I do not know why the picture ends up on a page of its own, IMHO it should fit perfectly fine on the page with the paragraph, however I get a two page document. \documentclass{report} ...
2
votes
2answers
226 views

2 pictures not entirely side by side

I am using the following command to get two pictures side by side but my problem is that sometimes they are not. \begin{figure}[ht] \begin{minipage}[b]{0.45\linewidth} \centering ...
2
votes
1answer
531 views

\restylefloat does not restyle properly threeparttable caption

The following code does not produce the result I would expect. When the caption position is changed by restyling the caption it is no longer centred; it moves to the left. Any idea on how to fix the ...
2
votes
1answer
146 views

How should I prevent images from floating between list and paragraph before

I have a list which has some text that describes the list and an image that gets in between of those: The LaTeX code looks similar to this: \begin{figure}...\end{figure} ...
5
votes
1answer
9k views

Adding multiple images in a LaTeX document in the same “area”

Is it possible to add multiple images to a given are in a LaTeX document. What I want to achieve is having three images aligned horizontally, and each one of them corresponding letters a), b), and c) ...
7
votes
1answer
633 views

Fit float to page

This is a follow-up question to Best figure size adjustment when dealing with different image sizes. I want to resize a figure in a way, that the figure including the caption fits the page. Resizing ...
4
votes
2answers
148 views

How to use citation in a figure

Goal: Use \cit{...} e.g. in a circle or box, etc., when drawing a figure. And then include this figure and compile it with pdflatex. With Xfig, we can do similar things with math mode, but how to do ...
3
votes
1answer
367 views

wrapfig with {R} remains left and keeps white space to the right

I am using wrapfig inside normal text (no lists or anything), with the {R} option to make it float right. However, some of the figures end up being aligned left, with all the space to their right ...
1
vote
1answer
240 views

Latex Subfloat has odd text next to figures

I'm using template from sigchi http://www.sigchi.org/publications/chipubform/sigchi-papers-latex-template/view I'm having problem with subfloats. I have three figures and they look like this: chch ...
-1
votes
0answers
275 views

There is no line here to end (figure) [closed]

I am having problems with: \begin{figure}[h] \centering \includegraphics[scale=0.7]{img1} \caption{Elaboraci\'on propia en base a la ECH2011.} \end{figure} I get the error: Latex error: ...
2
votes
1answer
3k views

Put figure text under images?

In LyX, how can I set a float that contain figure so that the caption is under the figure? By default the caption is always on the left side of figure.
5
votes
2answers
407 views

More than two figures on one page with text in between (problem with float)

I need to put more than two pictures/figures with text in between on one page. Now I'm having the problem, that more or less always one picture is floating on the next page, even though there would be ...
3
votes
1answer
890 views

Algorithm as a figure (to include additional caption below the figure)

I have an algorithm in latex, and I need to add an addition caption underneath the algorithm (just like in a figure at the bottom: "Figure 1: Whatever it is". I tried simply changing the ...
5
votes
2answers
913 views

How to forbid LaTex from placing floats in the middle of sentences?

I'm finding image floats being placed in a paragraph... OK this is normal. But they're being placed inside sentences which looks terrible. So I have been fishing a round for some time but haven't had ...
1
vote
1answer
329 views

Table (page width) in multicol?

I'm writing a scientific article (two-column style), and I need to show some results in a table with lots of columns, so I have to put a page-width table in the bottom of the page. How can I do?
0
votes
2answers
72 views

Inserted figure appears centered in the page

The following is a paragraph in my document, but the figure appears centered in the page. Please help me. Góc này cũng chính là góc giữa hai bán kính đi qua giao điểm của hai đường tròn.\\ Trường hợp ...
0
votes
0answers
48 views

Managing floats when there is not much text [duplicate]

I have a section in my document where I discuss results of my simulation, pictured as graphs, which in turn are included as floating images in the document. However, $\latex$ seems to put only one ...
1
vote
0answers
461 views

Globally change the font size in EPS figures (when using pdfLaTeX with pstool)

I have a document where float environments are typeset with \small font (tables, figures). For the tables and most environments in general, this works nicely with \AtBeginEnvironment{tabular}{\small} ...
2
votes
1answer
2k views

LyX: why does figure-wrap-float overrun the page?

I find that when I add figure wrap floats to LyX documents, often they will be placed poorly such that they overrun the bottom of the page. This is always accompanied by some of the text on the next ...
4
votes
1answer
886 views

How to manipulate width and position of items inside floatrow

From this answer by @lockstep I learned, how to put figure and table side by side: \documentclass{article} \usepackage{floatrow} % Table float box with bottom caption, box width adjusted to content ...
0
votes
0answers
29 views

Suppressing page numbers for floating figure [duplicate]

At the end of a manuscript, I have several figures, each of which takes up an entire page. A couple of these figures have long captions that end up overlapping the page number. I'd like to suppress ...
1
vote
0answers
158 views

LaTeX places a float in the middle of my script. How do I prevent this? [closed]

I have a multi-page script in my thesis, and I have used the listings package to format the source code. This works really well, however LaTeX wants to put a float in the middle of this code, which ...
1
vote
1answer
88 views

Floats: Figure labels matching the section they are in

When I label my figures, they are labelled Figure 1, Figure 2, ... How can I have the labelling match the section it comes from? That is, if Figure 2 is in section 3, it will be labelled Figure 3.1. ...
5
votes
1answer
523 views

Break box (a long caption) over pages

I want to have text of a certain width less than the page width, which goes across several pages. Normally you’d put text into a (\par)box to set its width but these boxes cannot be broken across ...
8
votes
2answers
10k views

Text next to image

I have a problem to get the following result in LaTeX: The figure is not something I want to do with tikz, but I want to use \includegraphics{figure1.png}. Can someone help me to get this?
4
votes
2answers
2k views

How is cropping for EPS-files done in XeLaTeX?

When trying to crop an EPS-figure with trim=<left> <bottom> <right> <top>, clip, ... it results in strange behavior. Please find a MWE and a image of the result below. It ...
15
votes
2answers
47k views

Insert multiple figures in Latex

I need to insert 10 figures (in two columns- side by side) in LaTeX that will have one global caption, but also I need to name each figure (1a, 1b, 1c, ... ect.). So they will look like: 1a ...
4
votes
1answer
121 views

Can I prevent endfloat from changing \leftmark and \rightmark?

I am working on a thesis with floats at the end of each chapter. endfloat lets me keep the figs/tables near their first callouts while writing so the order is correct, but I don't want to use the ...
3
votes
1answer
274 views

Floating figures placement

I am using TeXnicCenter with MiKTeX and the compiler that I am using is XeLaTeX to Pdf. I am having a problem with the placement of figures. That is, even when I use the \usepackage{float} and the ...
3
votes
2answers
2k views

Why do eps images overlap the captions in subfigures?

I'm using the package subcaption within an scrreprt compiling with XeTeX/XeLaTeX. When using subfigures for 4 images in a grid view, the images are not centered and overlap the middle subcaptions. It ...
3
votes
1answer
87 views

Caption package error redux

I'm using the caption package, but it's not affecting the captions within my tables and figures. I've pasted my sample code below. How can it be fixed? \documentclass{article} ...
4
votes
2answers
395 views

TeXnicCenter, the placement specifier shows up in printed pdf

I am using the jfm document class, and I tried to use a placement specifier to adjust my figure as follows. \begin{figure}[ht] \centerline{\includegraphics[scale=0.11]{figure3.eps}} ...
17
votes
2answers
5k views

Use placeins for subsections

I would like to place figures in my document in certain subsections. Normally I would achieve this with float using [H]. But this would mean, that the figures are at fixed points in my text and ...