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

How do I arrange 2 subfigures on top of 1 subfigure?

I'd like the arrange these figures so there are two figures next to each other and one below, like an upside down triangle, so that they all fit on one page and are a reasonable size. How do I do ...
2
votes
1answer
26 views

Input figures from sub-folders

I'm writing a big thesis using latex and I'm trying to keep organised. File-tree: ../Thesis/mainfile.tex ../Thesis/Section1/section1.tex ../Thesis/Figures/figure1.png ...
0
votes
1answer
251 views

problem with figure on a0poster

Iam trying to put a figure on my a0poster. But I get the error message: LaTeX error: Float(s) lost; and my figure is suppressed. I have subdivided my a0poster into regions using minipages. My figures ...
0
votes
1answer
43 views

All figures at end of section (or Chapter) but in the order they were cited in the text

I've been trying to do this for so long, it would make my life so much easier. I have a *.tex file containing all the details of the figures in a chapter (but not necessarily in the right order), ...
0
votes
1answer
122 views

Framed float box, spanning two columns in paracol

I'm looking for a simple, framed, float box-environment that has (or can have by construction) a star equivalent (like figure* or table*) so that it may span both columns in the paracol environment. ...
0
votes
1answer
33 views

Floating and non-floating items in one document

till now my tables were like this: \documentclass{article} \usepackage{capt-of} \begin{document} \begin{table} \begin{minipage}[h!]{\linewidth} \centering ...
1
vote
1answer
20 views

subcaption color with the subfigure package

To define the caption color in my document, I am using \usepackage{caption} \usepackage[font={small,color=ocre}]{caption} Which works perfectly, but currently facing the following two problems: ...
1
vote
1answer
38 views

Overlapping ticks and figure not centered with matlab2tikz

See the printscreen. What I want is that the figure is centered, now that is not the case with using \setlength\figurewidth{1.0\textwidth}. Besides that the ticks with negative signs on the x-axis are ...
0
votes
1answer
39 views

How to put a figure in one column and its caption in another column in a two column article latex

Could some one help me to figure this issue out? I have a two column article and I have figures that are long. They fit in one column and that's ok but if I want to add the caption under the figure, ...
1
vote
2answers
152 views

landscape figure on different page to heading

I'm trying to keep a landscape figure on the same page as the section heading -- with section heading still in portrait. But figure keeps slipping onto next page. MWE here: \documentclass{article} ...
7
votes
2answers
232 views

Typography: floating vs inline illustrations

I understand the use and purpose of floats containing figures and tables. It makes a lot of sense if you think about the overall aesthetics of the page. However I find the graphical distance between ...
0
votes
0answers
26 views

Weird pdflatex log output [duplicate]

my pdf generation works like pdflatex biber pdflatex pdflatex. In the context of final PDF generation, I checked the log file and stumbled upon several weird entries: ...
0
votes
0answers
20 views

Move some floats to the end of the document

I want to move some of the tables to the end of the document. There is a solution via defining a new environment. However, I wonder whether there is a simple solution like using a new placement ...
0
votes
0answers
13 views

Endfloat and appendix: two sets of floats

I am using the endfloat package and I'd like to print two sets of floats. The first set right after the bibliography where each figure and table is labeled Figure 1, Figure 2, Table 1, Table 2, etc ...
1
vote
1answer
95 views

Centering Xcircuit Figure

Hi I am using a program called xcircuit to make circuit diagrams and I cant seem to get the figure centered. I have tried \begin{center}, \centering. I have tried messing with \flushleft but it needs ...
1
vote
1answer
74 views

A new figure environment for the exam class

The incompatibility of having a float inside the solutions box of the exam class is somewhat well known. Multiple solutions for this exist, almost all of which use some variant of the caption package ...
1
vote
1answer
32 views

figure different numbering \only - beamer

I am using beamer and i want to create a set of slides with the same title, but different content so i use the command \only. Per each \only{} i inserted different pictures, but they appear with the ...
0
votes
1answer
119 views

Formatting figures on a single page without leaving space at the bottom

When Using 6 figures in a single page, I am forced to make figures small. But, this arrangement leaves a lot of empty space at the bottom. How to enlarge image without having to move them to different ...
0
votes
0answers
33 views

Problem - Referencing a Figure in the Text

I am using hyperref package. And when I want to reference a figure it does not work properly. It works fine with my first two figures but, when I call the 3rd figure by \ref{3rdfig} it returns IV, ...
1
vote
2answers
69 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)} ...
2
votes
1answer
38 views

Scheduling a float to appear on a specific, later page?

Consider the following MWE - let's say it's called test.tex: \batchmode % \ifx\article\undefined % \documentclass[12pt,journal,onecolumn,twoside,draftcls,letterpaper]{IEEEtran} % \else % ...
2
votes
2answers
247 views

Floating figures and tikzposter

I'm trying to use the class tikzposter to write a scientific poster. I need to link the figures to my text, therefore I need to use \caption and \label commands. It seems impossible to use floating ...
1
vote
1answer
46 views

Float after paragraph on the same page

I always put my float environments at the end of the paragraph where it was first referenced. But I have a problem when the paragraph is split over two pages (beginning at the bottom of the first ...
1
vote
0answers
21 views

Prevent full page image in multicols

While placing a full-width image in the multicols environment using \begin{figure*} ... \end{figure*} if the figure is larger than some fraction of the page, it takes up a whole page on its own, ...
1
vote
1answer
29 views

tocloft, listoffigures and scrheadings missing page-numbers

There are in this example page-numbers missing at the pages containing table of contents and list of figures. Just for clarification: They're not missing in toc or list of figures but on the pages ...
4
votes
1answer
21 views

Cannot access column name in pgfplotsstable

I followed the standard way (to the extent of my knowledge) of accessing the column name in pgfplotstable but it doesn't seem to be working. This is the code: \begin{figure}[H] ...
1
vote
1answer
74 views

placeins: options section and below

I am using the package placeins with the options section and below so the floats will appear in their sections below their section if on the same page; however, the float is appearing above its ...
1
vote
1answer
48 views

How to reduce spacing between figure and text

I want to reduce spacing between figure and text (not caption) and between paragraphs. I'm using revtex4 package (two column style).
0
votes
0answers
22 views

How to remove extra white space from figures

How can I please remove extra white space from a figure because it's taking me so much space. Thank you,
0
votes
1answer
29 views

Why does one sometimes get what appears to be arbitrary spacing with the subcaption package? [duplicate]

I have a very simple MWE which demonstrates the problem: \documentclass{book} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} \centering ...
0
votes
0answers
64 views

Insert and compile EPS

I want to upload an .eps figure in my latex, i read this thread Why doesn't LaTeX allow me to import my .eps file when I compile it? Although i got confused, is TexMaker able to convert .eps ...
2
votes
1answer
72 views

Why do eps images do not show TexLive2014?

I want insert my university logo that is .eps format with xelatex. but that do not show. my TexLive version is 2014. Why do eps images do not show TexLive2014?
4
votes
1answer
58 views

How to set a picture with caption in table?

How to set caption for images in table? like this image.
0
votes
1answer
65 views

sidewaysfigure with non-rotated section-title

I have a sidewaysfigure with consisting of 6 subfigures. As this is the first figure that appear in my appendix, I need to have a non-rotatet section-title. Following this question Rotating: Sideways ...
2
votes
1answer
38 views

Figure in Revtex4

I'm using MiKTeX2.9 for writing paper: \documentclass[twocolumn,aps,showpacs,prl,superscriptaddress]{revtex4} .... \usepackage{epsfig} \usepackage{graphicx} and I'm trying to place an eps figure ...
5
votes
1answer
45 views

How to pass figure position to keyval macro?

I want to wrap a macro around figure-env to make my document more readable. Here is minimal example of how it is now: \documentclass[10pt,a4paper]{article} \usepackage{keyval} \makeatletter ...
3
votes
1answer
44 views

Scaling an \input within a subfigure

I'm including latex files with \input within a subfigure environment: \documentclass[a4paper]{report} \usepackage[usenames,dvipsnames]{color} \usepackage{linegoal} \usepackage{graphicx} ...
6
votes
1answer
53 views

How do I stack two figures on top of each other, rather than side to side?

I'd like my figures to be one on top of the other, rather than next to each other, so that they are larger and spread along the page width. How do I do this? Here is my code: \begin{figure}[H] ...
2
votes
1answer
48 views

Bold Captions in figure and tables but not on the list of tables and figures

I am using "normal" table, sidewaystable and sideways figures. In my code I put per \renewcommand the captions of the tables (inclusive table numbering) in bold. But this does not work for the ...
5
votes
1answer
15k views

centering caption of a figure

I want to put the caption of my figure in the center but I can't do that. when I put my figure in the center the caption is also in the center but when the caption is too long and there is a return to ...
4
votes
1answer
55 views

Wide figure in a 2 column document (figure* doesn't work)

I am new to this environment, but I believe I have checked other questions related to mine problem, still couldn't find a solution. What I want is to have a wider figure in a two column document. I am ...
2
votes
1answer
41 views

Problem on subfigure 2X2

I try to put figures in 2X2, but they appear in 4 rows. \begin{figure*} \begin{minipage}{\textwidth} \centering \begin{subfigure}[b]{1\textwidth} \centering ...
1
vote
1answer
17 views

Order of floats and bibliography and appendix

I am having trouble getting the order that I wish of my figures, bibliography, and appendix. I would like the order to be: body, bibliography, floats, appendix (which also includes some floats). ...
7
votes
0answers
38 views

Adding color package destroys listing centering

I am using @egreg's answer to make listings centered: \documentclass[a4paper]{book} \usepackage[T1]{fontenc} \usepackage[ hang, small, it, hypcap=true ]{caption} \usepackage{fancyvrb} ...
0
votes
1answer
38 views

wrapfig how to designate where the figure should come and of what size exactly

This is a general question. I find that the wrapfigure environment is very tricky. It depends on where you put it and if you add things to the top part you can make a good wrapfig bad. I would like ...
11
votes
3answers
4k views

Avoid page breaks in \lstlistings

I'm trying to avoid page breaks in my lstlisting (seen in section 0.0.2) I know I can remedy this by floating my lstlisting, but it adds some unwanted white space (seen in section 0.0.1). Is ...
0
votes
1answer
43 views

How to get figure counter to follow theorem counter?

I am trying to get my figure to counter to follow my theorem counter. I created a few different environments: lemma, example, definitions, etc. I have gotten all of them to follow my theorem counter. ...
0
votes
1answer
22 views

Converting image from eps to pdf changes placement

I'm finishing up the formatting of a document, and for compatibility reasons I converted an .eps image to .pdf. After doing so, the figure* it is inside is being forced to a full page at the end of ...
1
vote
1answer
38 views

How to make caption of a subfigure wider after scaling the figure?

i wanna scale (a) similar to (c) unfortunatelly, the caption is scaled too how can i make the caption of (c) wider (similar to caption of (a))? thank you \documentclass[12pt]{article} ...
5
votes
1answer
76 views

How to have automatic ordering of floats?

I tend to place my "float code" after the first call out (i.e., \ref) to the float. While I am drafting a document the first call out may change and I feel like I waste time finding the first call out ...