{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
39 views

Figure positioning correction

I am finding incredibly tough to align a one particular figure in my report. Somehow this figure gets automatically positioned in the extreme right position.Here is my code for the same. Could anyone ...
2
votes
0answers
115 views

Two-columns wide figure at the bottom of a page with Revtex

The problem is simple: how to place a two-columns wide figure at the bottom of a page with the revtex document class? For those unfamiliar with revtex, it is a two-column style guide used by a number ...
1
vote
2answers
56 views

Two figures with side captions next to one another

I currently have the following figure placed at the bottom of my page: \begin{SCfigure}[][h] \centering \caption{Georg Kantor (1845--1918)} ...
3
votes
2answers
92 views

Figure from PDF is always at new page

I have a figure in pdf file, which I want to include to my latex file. In the PDF file is only one figure, nothing else. This is code, how I iclude it: \documentclass[a4paper,11pt]{article} ...
1
vote
1answer
27 views

include figure, auto-fit image and add caption at same time

I have to include some images to illustrate a problem. So I used the following code to auto-scale them to text-witdh, which works amazing. But how can I add some caption? (I have to label and number ...
3
votes
2answers
89 views

An .eps image, whose caption is too separated from the image.

I am writing a thesis in a large .tex file in Vim. I have an .eps image, whose caption is too separated from the image. I have extensively read similar posts, tried almost everything, but the ...
5
votes
2answers
53 views

Grouping two tables, one above the other

I'd like to group two tables, one below the other, so they don't show separated ie. one in each page. What's the best way to achieve that? I've read about positioning them side by side, but not this. ...
1
vote
0answers
35 views

Hyperref and custom caption in float environment link wrong

I have a custom caption style. If i add a reference to a float the link points to the caption which is below the floats content, but it should point to the top. I probably forgot to set a ref line or ...
2
votes
0answers
51 views

How to zoom (and apply grid on) subfigures

So I have folders containing triplets of images which all have the same style as shown in an example below It is basically an automatically generated image and a color-bar besides it. I want to ...
1
vote
0answers
38 views

Center code in a lstlisting float

Out of pure laziness, I decided to create lstlisting floats with the option offered by the package: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{listings} \begin{document} ...
4
votes
2answers
57 views

Left indent for figure with program

In my document, I have some pseudocode sections created using the program environment (tried several alternatives, but liked that one most, so I want to stick to that). Now I would simply like to ...
2
votes
1answer
70 views

How to place a very large image (Size) in a document?

I am trying to produce a document which is full of high resolution large images around 60-100Mb each. The document is ok with small images, but with the large ones I get the error ! Unable to read ...
2
votes
1answer
51 views

h! nor H working for table floats

I'm trying to get a table in to a section I want but it wont play ball, The first table shows above the allowed paragraph and the second table in the allowed paragraph, how can I fix it? I use the ...
0
votes
0answers
20 views

Size of EPS images in \subfig environment not the expected!

When I insert two figures which I expect to be equal in width and height using \subfig as shown below \begin{figure} \centering \makebox[\linewidth][c]{% ...
1
vote
1answer
20 views

Two figures with two sub-figures each on same page

I need a layout like this on a single page without any other text or floats. | figure 1a | figure 1b | Caption for Figure 1 | figure 2a | figure 2b | Caption for Figure 2 Do anyone know ...
0
votes
1answer
56 views

Centering a xy matrix inside beamer frame and figure

In the following beamer frame, I want the description text to stay top-left, while the xymatrix-figure should be centered. However, whatever I tried with \centering, \begin{center} and other online ...
2
votes
2answers
79 views

How to define/attach acronym to figure without showing it in the text?

I use the acronym package to manage my acronyms. Is it possible to attach an acronym definition to the LaTeX code of an included figure (PDF, not LaTeX figure)? That is, I want to make sure my LaTeX ...
3
votes
1answer
52 views

In beamer, figure and table side by side

I have 6 figures and 1 table. I plan to arrange them as follows, in the first line, there are 4 figures side by side. in the second line, there are [figure figure table]. \begin{document} ...
2
votes
0answers
31 views

How to make an image occupy the remaining white space on a page? [duplicate]

I would like to have a figure that occupies whatever white space is left at the bottom of the page without having to fine tune it manually. Here is an attempt of what I'm trying to do: ...
0
votes
0answers
53 views

Wrap text around floats only at top and bottom

I am having difficulties in placing floats (figures and tables) as in my thesis I need to place the floats in the sections where they appear. In the process, lots of white space is remaining here and ...
4
votes
1answer
58 views

Another problem with display graphic

I have full code of my document (I hope it's correct now): \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[demo]{graphicx} \usepackage{placeins,listings} \begin{document} ...
4
votes
1answer
58 views

No figures or tables on this page

Occasionally there are "special pages" on which I do not want to have any figures or tables (e.g., cover pages). Usually I solve this by simply putting all floats sufficiently late in the source code ...
2
votes
0answers
28 views

Placement of figures at the end of document [closed]

I want to place all the figures at the end of the document in nature.cls can some one help me in this renewenvironmentfigureletcaptionnatfigcaption newcommandnatfigcaption2 atenddocument ...
2
votes
1answer
34 views

Indenting text and still allowing sections, pagebreaks and floats

I have a document where there are some sections with and some without subsections. When there are subsections, I want them (and all their content) to be indented. I have found several approaches to ...
4
votes
3answers
65 views

Problem with display graphic

I'm writing document in Latex with Texmaker. My document looks like something that: \subsection{Title 1} \qquad Some text.... \\ Some text.... Some text: \begin{itemize} \item item1 \item item2 ...
2
votes
0answers
44 views

What is a sound way to add wrapped figure support to a letter?

I am using the letter class and would like to put a wrapped figure in the letter. How can this be done properly? Attempting to insert a wrapped figure using the wrapfig package (with a caption) ...
3
votes
1answer
25 views

How can I change the horizontal spacing in a figure environment?

I want to put two figures, one at the top and one at the bottom, into one figure environment. I only want one common label and caption. How can I adjust the horizontal positioning of each of the ...
2
votes
0answers
55 views

want to remove space above figure

I am using this code \RequirePackage[demo]{graphicx} % to deal with non-available graphics files \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Title } \begin{columns} ...
2
votes
0answers
41 views

Tables and Figures towards the end

I'm submitting a manuscript and the editing team asked for the following two changes: 2) Please remove the figures from the main text file as they are already uploaded separately in the Figures ...
4
votes
2answers
69 views

Start table number in whole digits for each chapter seprately

I want to show table number starting from 1 to so on seprately on each chapter. I am trying to use setcounter, but its not giving the desired results. \documentclass[english]{book} ...
0
votes
0answers
31 views

Figure reference incorrect

I've looked at Why does an environment's label have to appear after the caption? and understand that the label has to come after the caption. This is not the source of my problem. Using subfigure ...
0
votes
1answer
23 views

Reformatting the way references to figures do appear

How can one make LaTeX insert Figure into \ref calls automatically, i.e. instead of writing: See data in Figure \ref{fig:JobInformationDialog} simply write: See data in ...
1
vote
2answers
46 views

how to put a figure on the side of text?

I have a figure which does not occupy a lot of horizontal space, and I want to put text on its left side. Is there a way to put a figure environment such that the text naturally flows on the left, ...
0
votes
0answers
32 views

What is the purpose of the “fig:myFig” when using subfigures? [duplicate]

When not using subfigures, the "fig:" is not used, but with subfigures it is. Can anyone explain the use of "fig:"? Can there be another name before the colon?
3
votes
1answer
38 views

Avoid right shift when starting a new line

I have included many figures with this code: \begin{minipage}[b]{0.5\linewidth} \makebox[\linewidth]{ % to center the image ...
1
vote
0answers
60 views

How to suppress hyphenation in figure and table captions?

To suppress hyphenation in section names I use \hyphenpenalty=10000 in \titleformat command. Is there any similar way to suppress hyphenation in figure and table (and longtable) captions?
0
votes
1answer
34 views

When I try to reference figures, eg “see Figure~\ref{lattice1}”, the output it “Figure ??”. Did I label it wrong? [duplicate]

\documentclass{article} \begin{document} \begin{figure} % \begin{subfigure}[b]{0.30\textwidth} \centering \begin{tikzpicture}[ decoration={ markings, mark=between positions 0 and 1 step ...
0
votes
0answers
88 views

Do I need a new version of

I would like to put a graph side by side in my document. I believe I need to use the following: \usepackage{subcaption}. But I am getting an error message stating subcaption.sty not found ...
0
votes
0answers
19 views

Figures won't stay where they should using LaTex

I'm using TeXnic Center, but I'm having an issue with getting my figures where I want them. I've used [h!] etc but when I write something else it will put it before and partially after my figures, ...
9
votes
1answer
131 views

How to create Placeholder for missing figure?

I'm writing my paper using texlive2013.As for me,it is rather annoying to swich between writing and plotting figures.So I'd like to create a dummy figure when I was writing to avoid disturbance and ...
1
vote
1answer
39 views

How can I align two captions? [duplicate]

I have a figure and an equation side by side. The code is as follows: \begin{figure}[H] \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=.8\linewidth]{cycle} \caption{The opsin ...
0
votes
1answer
36 views

autoref to graphics inside a subfloat inside a figure

I have the following figure, which displays 3 graphics horizontally: \begin{figure}[bth] \myfloatalign \subfloat[A]{\label{fig:a}% \includegraphics[width=.31\linewidth]{a}} \enskip ...
2
votes
1answer
60 views

Prefix “Figure” and giving reference to figures

Is it possible to adjust the font size of the prefix Figure when captioning an included image? Furthermore, is it possible to refer to a picture in a meaningful way without using a caption; I tried ...
1
vote
1answer
74 views

How to allow page break inside a float environment?

I'm using new float enviroment to show some examples in my document. This enviroment contains tcolorbox which provides a gray background. The main text in the enviroment is a mixture of plain text ...
5
votes
4answers
116 views

Subfigure captions appear too close together

Is there anyway to avoid what is observed below with the subfigure captions appearing too close together? I would rather not use the minipage environment as a solution. \documentclass[]{article} ...
7
votes
4answers
112 views

Proper alignment of three boxes

I want two text boxes to appear next to a photo which is 5cm wide. The combined height of the boxes may be greater than or less than the height of the photo. If the combined height is less than the ...
2
votes
1answer
41 views

Redefine table caption

I'm writing a paper in IEEEtran twocolumn format. When putting pictures in my paper I prefer to use the Table environment over the Figure environment. I feel that the Table environment does a better ...
2
votes
1answer
58 views

How to make a non-float subfigure environment? [duplicate]

I am writing a document class report that has a maximum page limit. I tend to stay away from float environments for tables and figures since I like to have them where I code them in (I try [h], and ...
4
votes
1answer
89 views

How can I vertically align subfigures of different size without affecting subcaptions?

Please consider the following MWE \documentclass{article} \usepackage[demo]{graphicx} \begin{document} \begin{figure} \centering \begin{minipage}[c]{0.45\textwidth} \centering ...
4
votes
1answer
86 views

Place numbers on edges between nodes in tikz

I am creating a graph of connected nodes and I want to have numbers on all edges that connect the nodes. At the moment it looks as follows: \begin{figure}[H] \begin{tikzpicture} \node[shape=ellipse, ...