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

0
votes
0answers
13 views

Issue in figures adjustment after compilation of the document

I am facing an issue of floated figures and tables adjustment in the compiled document... They get out of the document and can't be seen when it is compiled. kindly help!
2
votes
1answer
114 views

New Question: Serious problem by creating a figure

I have now trying to make this model: But I do not know how to add the nodes in top; "1 text", "2 text", "3 text" and "4 text". Furthermore, I do not know how to make a fourth box, as shown: "9 ...
3
votes
1answer
30 views

asymptote multiple graphics in single file

One of the features I've liked in metapost and missed in asymptote is the fact that (in metapost) I can write the code for many figures in a single file. metapost then generates indexed set of figures ...
4
votes
1answer
104 views

Table - problem with two lines (NEW)

Dear TeX Stackexchange I have one issue, when I create my table. As you can see on the picture below, the three black lines don't go to the right but stops under (10): My text look like this: ...
1
vote
1answer
47 views

Caption tikzpicture

I am getting an out of float error, here is the code: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.9} \begin{document} \begin{center} \begin{tikzpicture} ...
1
vote
2answers
50 views

Forcing a figure not to skip onto the next page

When I include the following figure it doesn't go directly below the text after the semicolon but skips onto the next page (it does however appear below the semicolon). The image is the size I want it ...
0
votes
0answers
17 views

Controlling where a figure appears [duplicate]

I want to insert an image immediately below the semicolon in the following: The sequent calculus proof of this uses contraction and is therefore not derivable in linear logic (unless special ...
3
votes
2answers
50 views

Set the same height of the rectangle with different splits in tikz

I posted the same question in SO. I am not able to get the figure with two nodes the same height (10 cm), when they are rectangles split in different number of parts. It appears when the object is ...
1
vote
1answer
25 views

Set the same height of the splits with tikz [duplicate]

I am not able to get the figure with the same height (10 cm). When a division is split in more parts the height, apparently increases. How to fix this? Here is a reproducible example. ...
0
votes
0answers
30 views

Using subfigure without \textwidth command in AAAI format

I want to use AAAI format to write a conference paper. Conference forbid using \textwidth or any other commands that alter page layout but I want to use subfigure to put some figures beside each ...
1
vote
1answer
39 views

How to define numbering for figures and tables? [duplicate]

I am writing a document with several figures with subsections numbers in the 2.1, 2.2, etc. format. I would like to number the figures in each subsection with a 3 digit format, for example: Figure ...
1
vote
0answers
12 views

LyX: Two differently sized subfigures with a combined width of 100% columnwidth

On LyX I'm trying to create 2 subfigures (one with a square shaped graphic and one that is tall and narrow) side-by-side, such that their combined width is 100% of the column (or page). How do I do ...
2
votes
1answer
62 views

Bug or feature of floats mechanism

If I type $\section{Second section}$ or \begin{enumerate} \item first bla bla \item second bla bla $\item last bla bla$ \end{enumerate} I get the error message ! Missing $ inserted... or ! LaTeX ...
2
votes
1answer
23 views

I cannot omit fig1 above a figure [duplicate]

I insert \begin{figure}[ht!] \begin{center} \includegraphics{figure 1.png} \end{center} \caption{First question} \label{fig1} \end{figure} and the figure and title are appeared correctly but above ...
3
votes
1answer
46 views

How do I force a figure on top of a line, and place it exactly where I want on the page?

Background info is as such: Image A is a logo in the top right corner, around which I will write my name, and image B is of my average appearance, I want to place somewhere(!) on the left of my name ...
1
vote
0answers
29 views

Insert 2-columns figure in Texstudio

I have the same question about 2-pages figure. I use the code figure* then the figure appears very well; however, there is one word "figure" appears randomly in the text body, which I want to get rid ...
4
votes
1answer
49 views

How to increase space between the bottom border of a boxed figure and its caption?

I am trying to generate a space (6pt) between the boxed figure and its caption. Since I am using tikz code \includegraphics did not work. Also I tried \setlength{\abovecaptionskip}{6pt}, ...
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
49 views

prevent page break a couple of lines after figure

I am writing a document which consists of the repeating format: text, figure, then a larger paragraph. How can I prevent a page break between both of the text and figure environments, whilst not ...
0
votes
1answer
42 views

How to use a marginfigure environment inside a tcolorbox environment?

\documentclass{book} \usepackage[demo]{graphicx} \usepackage[paperwidth=170mm, paperheight=240mm, left=42pt, top=40pt, textwidth=280pt, marginparsep=20pt, marginparwidth=100pt, textheight=560pt, ...
3
votes
0answers
32 views

Spacing around figures and tables

At the moment I have the following code in the preamble: \usepackage{float} \floatstyle{plaintop} \restylefloat{table} This puts figure captions below the figure, and table captions above the ...
0
votes
0answers
22 views

One column IEEE format (figures not go to the end)

I changed a double column paper (\documentclass[journal]{IEEEtran}) to a single column using the command \documentclass[12pt, draftclsnofoot, onecolumn]{IEEEtran}. However, some of the figures are ...
3
votes
2answers
42 views

How to have a figure with multiple groups of image and each image with individual name?

I have several images and I must put their names below them. Moreover, I need to give the name of the group of that images too (for example, "first layer", "second layer" ect as show below). I need to ...
0
votes
1answer
23 views

Vertical spacing around align in a figure

Math environments like align put vertical space around them, to separate them from the text. This is all well, and if I wanted to change that, I could check this question. However, these environments ...
3
votes
1answer
44 views

Adding figures with a certain order

I am trying to add some figures in a specific order as shown below but it didn't work, Any Ideas? My code: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure*} ...
2
votes
1answer
54 views

Why do all of my latex figures say “chesches” next to it? [duplicate]

When I use \includegraphics all of my figures say "chesches" at the bottom left of the figure. Here is the code: \begin{figure} \includegraphics[width = 6 inches]{HHCircuit.png} \end{figure}
0
votes
0answers
35 views

Unwanted Edges in MATLAB Pcolor Figure Appear in TeX [closed]

I want to use an eps file in my tex document. I generate this figure with MATLAB using pcolor command. To make the edges smoother and omit the grids, I use the shading flat (or shading interp) ...
3
votes
1answer
38 views

(color online) label in RevTeX

For colored figures, Physical Review journals require that the caption label takes the form "FIG. 1 (color online). Caption content" if the figure will not appear in color in print. Could someone ...
3
votes
0answers
48 views

List of figures with reference URL

I want to have a list of figures, which also contains a reference URL (or the article which I refer to \cite{}) for each figure entry. (and if possible the URL should appear in the next line with a ...
0
votes
0answers
39 views

Fix wide-figure positioning in 2 column Latex

I have a two column formating of latex. I know that I can use * to wide the figure in two column: \begin{figure*}----\end{figure*} For fix positioning I know, I have to use \usepackage{float} plus ...
2
votes
1answer
18 views

Wrap caption in multipage lstlisting environment

I am following the accepted answer from this question to extend an lstlisting across multiple pages. It works great, however if my caption is too long the continued caption doesn't wrap, and this is ...
2
votes
0answers
29 views

eps images position in IEEEtrans class

I have a document with some problems in the positions of the last images. I copied the code here and after that, I copy the warnings that I get: \documentclass[journal]{IEEEtran} ...
1
vote
1answer
37 views

Margin notes in listing with float enviroment – Error: Float(s) lost

Based on this question: Margin notes in listing with float enviroment - Error: Float(s) lost I have now other question. The solution is working fine. But I want to use floats for listings, to prevent ...
1
vote
0answers
23 views

Content is missing but lof or toc keeps showing on top of first page [closed]

\documentclass[a4j]{jarticle} \usepackage{float} \usepackage{listings} \usepackage[dvipdfmx]{graphicx,color} \usepackage{amsmath,amssymb} \usepackage{bm} \usepackage{chngcntr} ...
1
vote
2answers
17 views

Is it possible to have fxnotes in caption of figure or table?

I am using the fixme package with the following MWE: \documentclass[10pt,a4paper, draft]{memoir} \usepackage[utf8]{inputenc} \usepackage{fixme} \fxsetup{layout=footnote} \begin{document} Fixme notes ...
3
votes
1answer
52 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 ...
2
votes
1answer
27 views

How can I reference figure*'s subfigure? [duplicate]

I'm writing a paper to submit a conference. However, I am having some problems fixing non-resolved references in latex. \begin{figure*}[ht!] \begin{subfigure}[b]{0.3\linewidth} ...
2
votes
0answers
93 views

How to move the List of Figures to the end of a document

Is it possible to set the list of figures to appear at the end of a document instead of appearing at the beginning? I tried to set \listoftables befor the command \end{document} but nothing ...
2
votes
1answer
54 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 ...
3
votes
1answer
35 views

multiple handcrafted labels for figure

The following MWE shows my attempt to create a list of references in a document, with links from text to reference and back. It works well in text, but badly in figures when I try make the reference ...
3
votes
2answers
53 views

Centering figures vertically on a page?

I am finishing off a book, and there are a few issues with some page layouts. Specifically, the publishers have requested figures to be on the top and bottom of pages as much as possible. I have ...
4
votes
1answer
77 views

Is there a way to divide ONE figure to reference the subparts of the figure?

I have a figure that basically consists of smaller figures. I don't want to split the big image apart to put it together with latex for convenience. Instead, I want to reference each subpart of the ...
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?
11
votes
2answers
282 views

Which is better practice: rendering figures on the fly, or importing them as images?

I've come to a philosophical quandary with respect to my use of LaTeX for scientific writeups. At first I tried to render all figures in LaTeX at compile-time, for example making a graph using ...
1
vote
0answers
26 views

`h' float specifier changed to `ht' [duplicate]

When I add this text: The pdpotri routine computes the inverse of a real symmetric or complex Hermitian positive definite distributed matrix $sub(A) = A(ia:ia+n-1, ja:ja+n-1)$ using the Cholesky ...
1
vote
0answers
13 views

How to set the figure number corresponding to its section and start from 1 in each section [duplicate]

\renewcommand{\thefigure}{\arabic{section}-\arabic{figure}} I used this commend, and I get the figure number like this: 1-1,1-2.....2-9.....5-54, but I want to set the figure number to the type ...
0
votes
0answers
41 views

Error: “Undefined control sequence” in \includegraphics, height

I am using figure and subfigure environment. Inside subfigure I am using includegraphics. The figure and subfigure structure looks like following: \begin{figure} \begin{subfigure}[b]{.25\textwidth} ...
2
votes
2answers
26 views

Get rid of text over footer after figure and long table

The document is otherwise exactly what I want. The text respects the footer on every page but one. On this one page, the first thing is a figure, followed by a longtable (that doesn't actually ...
4
votes
1answer
173 views

Why is the picture not centered in the frame?

Using the following code: \documentclass[12pt]{beamer} \usepackage{ctex} \usepackage{graphicx} \begin{document} \begin{frame}{PSA分析级别和实施程序} \begin{figure}[htbp] \centering ...
3
votes
0answers
18 views

Float environment before or on the page of its first reference

I know, it's an old topic and I already know about the general functionality of float environments in LaTeX. I want to give it as much freedom as possible and generally like the way of placing floats. ...