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

14
votes
2answers
518 views

Drawbacks of the `H` specifier

According to the float package documentation, the H float placement specifier [...]when added to a float, tells LaTeX to “put the float HERE, period”. If there isn’t enough space left on the ...
1
vote
1answer
25 views

In a two column documment, figure* and figure are placed non consecutively

I am using the sigplanconf docummentclass, which has a two column layout. The environment figure inserts a figure in one column while figure* insert the figure covering two columns. The problem is ...
0
votes
1answer
23 views

Appendix figure labeling A.3 before A.2

I have a problem with figure labeling in my appendix. As soon as I add a chapter into it, my figures will be wrongly placed. Instead of A1, A2, A3, A 4 it results in A1, A3, A2, A4. And it is not just ...
1
vote
1answer
65 views

Labeling figures as Figure 1, 2, 3 in LyX

I am making a document in LyX but my figures are labelled here as figure 2.1, figure 3.1, figure 3.2 etc instead of figure 1, figure 2etc. How can I fix this issue?
4
votes
1answer
34 views

Enumerate Minipages inside a figure environment

At the moment I'm working with the figure environment to display two graphs side by side using minipage which works fine. I want to use one caption for both and enumerate the minipages with a small ...
1
vote
1answer
33 views

Captioning my tikzpicture using figure environment causes issues

If I remove the figure environment this code works perfectly fine. Unfortunately, I am not able to put a caption on this figure. \begin{center} \begin{figure} \begin{tikzpicture} ...
2
votes
1answer
24 views

How to prevent a main caption being wrapped in a figure?

I am writing a paper using LaTeX, and using a subfig package to arrange images. My problem is that the main caption is wrapped when I use 2 x 3 images with subfloat which occupies 2 columns. I have ...
3
votes
1answer
16 views

Two figure side-by-side in a single column of tikzposter?

How to put two figures (different sizes) side by side in a single block in tikzposter? Is there a neat way of using? \begin{tikzfigure}[Caption of figure] \includegraphics[width = \linewidth]{image} ...
0
votes
0answers
25 views

Force figures to be on the same page

In a two-column document using the following documentclass call: \documentclass[twocolumn,aps,prb,citeautoscript]{revtex4-1} I have three separate figures at the end of my document. Two are placed ...
1
vote
1answer
30 views

Positioning two independent figures [duplicate]

I have two figures, 1 and 2. Figure 1 should be placed on top, so a \begin{figure}[t] is the way to go. In the syntax, figure 2 is loaded just after the first one with a \begin{figure}[h] command, so ...
1
vote
1answer
52 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} ...
2
votes
1answer
201 views

captions overlap figures in *.pdf file after dvi2pdf (while appearing normal in *.dvi file)

For some reason, figure captions that appear underneath the figure in the *.dvi file, overlap the figure in the *.pdf file generated using div2pdf. Any idea why this happens? Thanks, Ofer.
3
votes
1answer
21 views

Floats change behavior when using package “algorithm”

Not really a problem, but I noticed this when pruning stuff from a document preamble to find a problem I was having. I've found the problem but also something a bit weird Just the act of importing ...
1
vote
2answers
64 views

Border of pictures are not coming in longtable

\begin{longtable}{|lllllllll|} % [ht] \caption{Create } \\ %\label{step 3} \hline \multicolumn{3}{|l|}{\textbf{Prefix}} & ...
2
votes
1answer
34 views

Rotation effect on figure

I want to produce a figure with this rotation effect: I've the source code that produces this image, but I haven't been able to replicate the figure in Sharelatex, even while using the same ...
1
vote
1answer
36 views

A series of diagrams in the list of figures

I have a number of diagrams (right now 8) that depict different stages of an algorithm, each in its own figure environment together with a caption and a label I am referencing in text (the description ...
2
votes
1answer
42 views

moderncv: insert a university logo at the top-left of the page

I'm using the cvtheme document class and \moderncv{classic} to create a CV. The command \photo will put a photograph at the top-right of the page. At the same time, I want to insert a logo of my ...
0
votes
1answer
31 views

Get actual position

Is there any command to get current position in text? What do I mean: \the\currentposition text text text text \newline \the\currentposition text text text text \newline \the\currentposition ...
0
votes
1answer
25 views

footnote in the figure caption (through \footnotetext , footnotemark) does not appear in the same page as the figure

I have several figures in my thesis which need a footnote in their caption. However, I could not find an efficient way to do it looking into the others' inquiries in the forum. In fact, using the ...
4
votes
1answer
2k views

Putting two-column long figure in Revtex4-1

I have a problem with APS's revtex4-1. I want to place an twocolumn-wide figure at the bottom of the page. I know \begin{figure*}[position] picture \end{figure*} in {article} document class ...
0
votes
1answer
182 views

Can I add 3D objects as subfigures (using movie15)

I have faced one stiff problem that when I try to add four 3D plots (2 rows x 2 columns) in my beamer by using subfigure approach, I fail! This is my minimal example: \begin{frame} \begin{figure}[t] ...
2
votes
2answers
37 views

How to force oversized figure off of the bottom of the page and up to the top

I have a figure that is bigger than the margins. In the long run, the size won't matter. But for now, Latex is putting it on its own page (which is fine) and placing it at the very bottom of the ...
0
votes
1answer
31 views

Figures (floats) break my theorems, definitions and remarks apart!

When I insert figures with graphics in a text it frequently happens that in the compiled document they split definitions and theorems (and maybe remarks) apart. This, of course, happens because LaTeX ...
2
votes
1answer
20 views

How to fix problem with `fontspec` and `wrapfig`?

MWE: \documentclass[a4paper,12pt,twoside]{memoir} \usepackage{graphicx} %\usepackage{fontspec} \usepackage{wrapfig} \usepackage{lipsum} \begin{document} \chapter{Fundamentals of Modern Physics} ...
0
votes
1answer
22 views

Conflict between endfloat and figure floats included via macro

I use \newcommand to quickly include figures. But combined with endfloat, it throws an error. Any ideas how to send floats to end when included this way? \documentclass{article} \usepackage{graphicx} ...
3
votes
1answer
51 views

Figure: Sidecaption while text floats next to figure

I am restricted to a two-column and have a figure that I want to include in \textheight height with the caption on the other column. The figure spans exactly one column, but I don't know how to let ...
0
votes
0answers
34 views

“and figures/FILENAME.png” is displayed next to output images [closed]

The pdf output from my tex file is showing the above text next to every figure and table in the document. It hasn't done it on previous files when I have used the same preamble and syntax and so I'm ...
1
vote
1answer
50 views

figcaps package: How to print figure captions and then tables?

I am using figcaps package, it puts at the end Tables and then Figure captions. I want to have first Figure captions and then Tables. Is there any solution? Code: \documentclass{article} ...
0
votes
1answer
29 views

how to insert protocol in Lyx?

I know how to insert "algorithm" in Lyx. But how to insert "protocol" as shown in the following figure?
1
vote
1answer
15 views

Floating objects: defining in a place, saying where to print later

I'm using a system where I can mix TeX and formal definitions, and it has a procedure that generates latex that combining my TeX and the formal definitions. I discovered that I can wrap the formal ...
2
votes
2answers
68 views

Caption in Figure only partially centered

I have two figures next to one another and I want to centre my Figure caption, but completely, i.e. to include Figure x.x: in centering. This is the code I'm using: \begin{figure}[!tbph] ...
7
votes
2answers
4k 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 ...
8
votes
2answers
3k views

I get an error when using subfigure with memoir

I made an article and insert several subfigures in that as follows: \begin{figure} \centering \begin{subfigure}[b]{0.3\textwidth} \includegraphics[width=\textwidth]{fig6_1} ...
5
votes
3answers
6k views

Putting two images beside each other

If I want to put two images beside each other, what should I do? I have inserted a figure. But, rather than having the next figure on a new line, I want it to be beside the already inserted figure. ...
1
vote
1answer
27 views

Customly change margins for a figure

Is there a way to customly change the margins only for a figure? Not for the text. I'd like to widen the margins on both sides, left and right, of the page, and keep the figure in the center. The ...
1
vote
0answers
26 views

Subfigures on different pages [duplicate]

Does anybody know the easiest way to prevent a subfigure from going to the next page? I have 3 subfigures, 1 or 2 of which would easily fit on the previous page, but because it is in one figure, it ...
2
votes
1answer
613 views

Text over figure in the wrapfigure environment

I know this question has been asked before, but I could not find a suitable answer, so please bear with me. I want to put a figure in my document using the wrapfigure environment. It is supposed to ...
5
votes
1answer
104 views

Rename associated Figure files

Some journals request that the submitted figure files are named to match the compiled latex pdf (fig1.pdf, fig2.pdf, ...). Now most of my colleagues and I do not name our figures according to the ...
7
votes
1answer
97 views

How to understand LaTeX styling when coming from a CSS background?

I come from a web development background and am used to apply CSS styles to HTML tags in order to position and shape them. In LaTeX I constantly find myself trying to think of CSS and of how things ...
8
votes
2answers
117 views

Undesired behavior: compiler skips figure onto the next page no matter what

This one is driving me crazy, I really hope somebody can give me a hint about what's going on... In this print-screen you can see the code compared to the compiled result: No matter how small I ...
0
votes
0answers
11 views

Paragraph ended before \@float@Hx was complete - problem inserting figure [duplicate]

I'm using a custom .cls (provided by my university) for thesis writing. I discovered that otherwise valid figure code (copied from other documents) doesn't work. Here is a full, simplified example: ...
0
votes
1answer
158 views

texmaker bullet in .eps figure equation shows infinity symbol

I am using Texmaker on windows 7 and I'm trying to include a .eps figure which has bullet symbol in it, and for some reason, Texmaker shows an infinity sign instead. I've checked my .eps file, and it ...
3
votes
1answer
126 views

Interdependencies between subfig, subfigure and subcaption for journal papers

I am using informs3.cls template to write a paper. I have run into serious difficulty when making a figure with subfigures. The problem is that: subfigure package is obsolete. subfig is not ...
0
votes
0answers
26 views

Is there a nice way to split an algorithm float over multiple pages?

I am using the algorithm float with an lstlisting in it containing the code. Unfortunately, the code is just a little too long to fit on one page. I'd like to keep the layout provided by the ...
1
vote
2answers
28 views

Formating caption figure

How does one create the following format in TeX: Raw figure: Raw text : If $μ=0$ and $σ=1$, the distribution is called the “standard normal distribution” or the “unit normal distribution” ...
2
votes
1answer
53 views

2nd Column EnvironmentTable and figure 2x2 on the top of 1st and 2nd page

Can anyone help me revise my code so that I can achieve the following goals. 1.How to make the table to be on the top of the first page? Now it skips the first page and jumps to the middle of the 2nd ...
5
votes
3answers
1k views

LyX is leaving a big gap between paragraphs in the place where float (figure) should be

I just want to ask about why is LyX leaving a big gap between paragraphs surrounding a figure?. Not all paragraphs, but only between those paragraphs where I inserted a float (figure). The figure is ...
0
votes
0answers
11 views

How to get Subcaption outside float working for landscape tables?

I use the nice MWE displayed below to display a landscape table (found here: Tex: How to place table on new page.) I have one big table (that's why landscape) which I want to split across multiple ...
29
votes
2answers
20k views

How can I modify vertical space between figure and caption?

\documentclass{article} \usepackage[draft]{graphicx} \begin{document} \begin{figure} \centering \setlength\fboxsep{124pt} \setlength\fboxrule{1pt} \fbox{\includegraphics{dummy}} \caption{Dummy ...
2
votes
1answer
46 views

Placing caption on a separate page

I got back the correction for my M.Sc thesis (breast cancer). The corrector want the caption of landscale graphics to be on the next page. Here is an example of my code: \documentclass[12pt, ...