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

1
vote
1answer
20 views

How to put hyperlinks in endfloat's markers?

The documentation of the endfloat package explains how to customize the text in the markers from the default of "[Table 3 about here.]" But I would like to customize the markers to include a ...
4
votes
2answers
49 views

Document doesn't show the list of figures (LaTeX)

I have the problem that LaTeX doesn't show the List of figures and List of Listings. I don't know where the problem is. I'm working with TeXstudio and the code was defined as follows: ...
2
votes
1answer
218 views

Line break in the caption of subfigure

I would like to add a line break in the caption of a subfigure: \begin{figure} \subfigure[a long line]{% \includegraphics[width=0.23\textwidth]{figures/cells_time.eps} } \end{figure} So I ...
0
votes
0answers
34 views

How to increase table and figure numbers' font size?

I am trying to make the figure/table number in same sized font with the caption of the figure/table. the code is here: \begin{figure}[!htbp] \centering ...
1
vote
0answers
32 views

Section, figure, table numbers are in smaller font size

I have used \include{resultsanddiscussion} to import certain chapter results and discussion. I have used \fontsize{16pt}{18pt}\selectfont to determine heading size 16 pt and spacing 18 pt. the code of ...
2
votes
1answer
219 views

pgfplot same size font in figures and same size figures

Hi I've created figures with standalone and pgfplot package. The figures output size are different to one another but more importantly the font size are different. I would like all figures to be of ...
0
votes
1answer
40 views

scale bar figure - showing scale with citations

I am attempting to make figures similar to this: with latex. I would like for the citations to work in order to match the observed data from where it came. Does anyone know of a good package ...
2
votes
2answers
495 views

One column figure blocks text in adjacent column

I am facing this strange problem where a figure in one column of a two-column page is blocking the second column. In other words, text is not going there in other column with a figure in the adjacent ...
2
votes
3answers
102 views

figure is in subsection but it goes to subsection

I need your help in solving the followings: \documentclass[a4paper, 10pt, conference]{ieeeconf} ... \subsubsection{C} \begin{figure}[h] \begin{minipage}[t]{0.3\linewidth} \centering ...
14
votes
3answers
8k views

How to find the lost text part when having “Float(s) lost” error

I've lost some text. I don't know if theres something missing, so how can I find it? I'm not in the mood to compare the chapter1.tex to the pdf file by reading both. Chapter 1 (chapter1.tex) is rather ...
2
votes
1answer
33 views

Aligned figures and captions on one line

In LaTeX I'm trying to put two figures next to each other, with captions below, where the captions might have unequal numbers of lines in them. The images are bottom-aligned, and the captions are ...
0
votes
0answers
22 views

stfloats, twocolumn, figure* broken with late pdfTeX 1.40.16

I tried to build some older document with a new pdfTeX version and encountered very strange errors of figures getting lost. I was able to produce the following minimal example: ...
0
votes
0answers
14 views

Caption Error: “destination with the same identifier (name{figure.1}) has been already used” [duplicate]

I get the following error when compiling pdflatex: (/usr/local/texlive/2015/texmf-dist/tex/latex/base/omscmr.fd) [2pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) ...
0
votes
0answers
18 views

Two-col spanning figure with a fixed position

I am writing a document that uses the common two-column text format. I have one figure which shall span over two columns, I am using figure* to achieve that. A side-effect of the figure* environment ...
1
vote
1answer
52 views

How to put figures in LaTex in \documentclass[preprint,12pt,authoryear]{elsarticle}

It said " %% For including figures, graphicx.sty has been loaded in %% elsarticle.cls I do not know how to use that effectively. can you provide a worked example here. For example ...
0
votes
1answer
20 views

define environment spanning two columns [duplicate]

In writing a two-column paper, I want to insert two figures. Fig. 1 has two subfigures (a) and (b); Fig. 2 has a single figure. So in total, there are three figures, each occupying about 1/3 of the ...
0
votes
1answer
44 views

wrapfig followed by a list: items after the first does not wrap around correctly

When using the wrapfig environment followed by a list, the text of the first item of the list wraps around the figure. So, with the wrapfig that has a left placement, this text starts on the right of ...
0
votes
0answers
25 views

How to move tables and figures to the end and without the list of figures blank page

Been using this and it works but how to include tables too, tables before figures first or figures before tables? Also, it adds a blank page which says list of figures, anyway to get rid of that? Is ...
3
votes
2answers
119 views

Renumber figures as they appear in text

I have two questions: When I use figure*, LaTeX sometimes places the figure before its predecessor. Is there a way to automatically number the figures as they appear in the text? On the other hand, ...
0
votes
0answers
13 views

Numbering of figures with {figure*} [duplicate]

I need to use both figure and figure* In my twocolumn article, but I have problems with the numbering. The figures are not numbered by the order of appearance. Apparently, the large figures* are the ...
2
votes
1answer
26 views

Vertically aligning captions in side-by-side figures

I'd like to put two side-by-side figures with two different captions. I used this: \begin{figure}[h!tbp] \centering \begin{minipage}[b]{0.6\textwidth} ...
1
vote
1answer
29 views

How can I independently number figure pages?

I have a document where all the figures are put on separate pages (sometimes more than one figure to a page, which is fine). This is achieved using the \begin{figure}[p] option in the figure ...
16
votes
1answer
8k views

Center-align the verbatim environment

I am trying to center align the content of a figure that has verbatim text in it. But the verbatim text is always right-aligned: \begin{figure} \centering \begin{verbatim} some text here ...
1
vote
2answers
39 views

How to put two figures in the same page?

I am trying to put two figures in the same page of my paper, but although there is still enough space for the second figure in the first page, the second picture won't appear in the first page. ...
4
votes
1answer
52 views

If figures are placed left, left-aligned captions are unwantedly centered (ConTeXt)

What I try to do: I want to place figures left so that text wraps around them if they have less width than \textwidth. The figure captions should be aligned left (flushleft). What happens: The ...
0
votes
1answer
31 views

Text starts from new page when there is enough space

I am writing a formal letter and found this template. I liked it very much and I am using it with a few changes. My problem is after I include my signature at the very end, my name starts from a new ...
1
vote
1answer
73 views

How to remove the blank line above the table in beamer

I want to insert a table in my beamer, but the there's a blank line above the table, how can I remove the blank line to make the table's top align with the text on the right This is the MWE ...
20
votes
3answers
9k views

How can I remove the figures from a draft of my document?

I'm working on a research paper with many figures in it. To save paper, I would like to exclude the figures when I print drafts of the paper. Is there an easy way to do this (via command-line option, ...
0
votes
1answer
15 views

Can I put a figure with caption and label inside a theorem (newmdtheoremenv)?

The following MWE doesn't compile if I uncomment the commented lines: \documentclass[a4paper,10pt]{book} \usepackage{amsmath} \usepackage{mdframed} \usepackage{graphicx} \usepackage{xcolor} ...
1
vote
0answers
10 views

How to remove the “path” above a figure [duplicate]

How to remove the text "LaTeX tutorial/STA9700 Project/fig1.jpg" above the figure: my code: \usepackage{graphicx} \usepackage{float} ...... \begin{figure}[H] \centering ...
0
votes
0answers
25 views

Reduce horizontal empty spaces between figures

I want to place the figures in grid mode and I use following lines for the same \begin{figure*} \begin{tabular}{cccc} \includegraphics[width=40mm,height=40mm]{mds_chiller2_august.pdf} ...
2
votes
1answer
36 views

Sideways picture shown on wrong page

My picture and my section won't be on the same page. I have tried the float package with [H] and [!] and so on but it won't work \documentclass[a4paper]{report} \usepackage{float} ...
3
votes
2answers
30 views

How to make a caption (table and figure) left justified

How do I make my captions both for table and figures left aligned. I tried using \usepackage[justification=justified,singlelinecheck=false]{caption}. But the caption is aligned with the page and not ...
0
votes
0answers
27 views

Why my table not showing up where it should? [duplicate]

I'm doing something like this some text \input{tables/ratings} some more text However, it's popping up randomly. How can use the \ref{} command in this case? Please suggest some simple solution. ...
0
votes
0answers
17 views

How to insert flexible float/text separation in two-column mode

To avoid ugly extra white space in the text, i want a flexible glue between the float and the text in two-column mode. In one-column mode, I can add extra glue using \textfloatsep, and I hoped I could ...
1
vote
1answer
21 views

How to change figure caption label

How can i change my figure caption from Fig. 1 to Figure 1 I am using IEEEtran template. My code looks like below \documentclass[journal]{IEEEtran} \usepackage{algorithmic} \usepackage{graphicx} ...
2
votes
1answer
23 views

How are conflicting options for figure placement prioritized?

The options in \begin{figure}[!htb] [...] \end{figure} are in conflict (place here, place at the top, place at the bottom). It is said that the order doesn't matter. So, how are those options ...
0
votes
0answers
14 views

How to display the file name of a figure in a Latex document?

As I'm drafting a LateX document, I'd like to generate a PDF that displays somewhere the actual file names of the figures. I'm sure I saw something like that, but I cannot find it now. I know there is ...
3
votes
1answer
48 views

2x2 subfigures with tikz graphs

I saw that this has been asked before, but none of the solutions appear to work in my document. I am trying to set an 2x2 grid of sub figures, each filled with a tikz graph. However, no matter how ...
1
vote
1answer
96 views

Adding figures on first page of documentclass article

I'm using the default article documentclass for a document that is just supposed to hold the accompanying figures for a paper. This is what I'm doing: \documentclass{article} \usepackage{graphicx} ...
0
votes
1answer
20 views

Replacing figure with figure* globally in Pandoc-created documents

I use Pandoc to create TeX files as chapter templates that are then fed back into Pandoc to create the final PDF. This sets some limitations, since some of the ways Pandoc writes TeX is hard-coded. ...
104
votes
11answers
86k views

Using \footnote in a figure's \caption

Maybe this is an easy one, but I struggled with this now too long :) I want to have a footnote in a caption of a figure, see the example. \begin{figure}[!ht] \caption{a figure ...
0
votes
0answers
21 views

make text visible when it overlaps a figure

Is there a way to let the text be visible when a figure and text in a document are made to overlap? (Don't want to use transparent)
2
votes
1answer
44 views

Table number referencing

I have a dissertation with three chapters, and each chapter has the table after main text and appendix. Each appendix has also table. The format is as follows: ...
0
votes
2answers
750 views

float placement using endfloat

I have a lyx file in which there are several figures and tables. The preamble has been amended to have: \usepackage{multirow} \usepackage{rotating} \usepackage{subfig} ...
2
votes
1answer
1k views

3 * 2 figures in one page

I have to place six figures in one page. There are three lines and two columns. Each figure have a subcaption. For this 3 * 2 figure, it has a caption too. Thanks in advance. I try this. But it ...
1
vote
1answer
65 views

Subfigures on next page cause text not come in correct order

I have a problem when using subfigures: When there is not enough space for the two side-by-side subfigures they are put on the next page, which is fine of course, but then the text following the ...
1
vote
1answer
20 views

Breaking the twocolumn to add a large figure

I am using \documentclass[twoside,twocolumn]{article} and I need to place a very large figure composed of 12 smaller plots: \begin{figure}[h] \includegraphics[scale=0.28]{usti1} ...
0
votes
2answers
62 views

How to put several images in one column in LaTex?

I want to know how to put 3 images in one column in Latex, so that it looks like the following format: Hope someone can help me!
204
votes
2answers
387k views

Force figure placement in text

I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code: \begin{figure}[ht] ...