{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
1answer
49 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
38 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 ...
0
votes
1answer
48 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
1answer
27 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
49 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 ...
8
votes
2answers
247 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
23 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
20 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
106 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 ...
0
votes
0answers
36 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
0answers
34 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
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 ...
4
votes
1answer
23 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
41 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 ...
1
vote
1answer
51 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
25 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
31 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 ...
4
votes
1answer
63 views

How to set a picture with caption in table?

How to set caption for images in table? like this image.
2
votes
1answer
43 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 ...
6
votes
1answer
60 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
83 views

Why do eps images do not show TexLive2014? [closed]

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?
0
votes
1answer
69 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
57 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 ...
3
votes
1answer
50 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} ...
2
votes
1answer
69 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 ...
4
votes
1answer
60 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 ...
0
votes
0answers
73 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 ...
1
vote
1answer
22 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
44 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
56 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 ...
0
votes
1answer
24 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 ...
0
votes
1answer
44 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
0answers
23 views

Figure numbers repeat when using \numberwithin

I'm using lyx, and I found out that if I add the command \numberwithin for figures, the figure numbers get repeated! For example, figure 5.1 comes twice... and a huge confusion between figures come ...
5
votes
1answer
77 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 ...
2
votes
2answers
74 views

How to operate figures described by latex packages?

I am trying to write a go book using the latex package igo. here is the example given by the igo' User Manual: I don't know how to operate the figure described by the igo statements, put it ...
1
vote
1answer
42 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} ...
1
vote
0answers
34 views

SCfigure won't compile, shows a runaway argument error

I'm trying to create an SCfigure, but the formatting doesn't seem to be working. I have used this same code and it worked fine, but I tried to compile again in a new session and this error showed. ...
2
votes
1answer
43 views

Figure - Page Number overlap

I am new to Tex and not very experienced. Unfortunately, I've got a problem: On one page a figure overlaps the page number. Actually the image is positioned very close to the bottom page border which ...
2
votes
1answer
61 views

Modify Figure environment

is it possible to modify the Figure environment in order to distinguish it better from the text in a one column document? I mean, I was thinking in doing --------- Figure # ---------- [The ...
4
votes
2answers
120 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 ...
4
votes
2answers
40 views

why does subfigure show wrong reference number?

I am using \begin {figure}-\end {figure} for one figure and \begin {figure} \subfigure{} \end {figure} for multiple figures joined on a page. (By using \usepackage{subfigure}) When I refer the ...
3
votes
3answers
75 views

How to clean unused files?

I recently edited an existing document to create a new one from it (that is: I copied the whole folder to a new location and started from there). The early document had a lot of figures, but not all ...
2
votes
1answer
56 views

Journal of Fluid Mechanics Class Constraints

I am trying to format a paper to be consistent with the JFM style guidelines. I am using the JFM Latex class provided on the website. However, this class appears to be forcing a format that is not ...
0
votes
1answer
30 views

Subfigure referencing, wrong order

I have problems with subfigure referencing. When I reference the main figure, the labeling in the reference is correct, but when I try to reference the subfigure, I get figure X+1, which is kind of ...
6
votes
2answers
98 views

Different Caption-Setup for top and bottom figures?

is there a way to control the caption format used for figures, depending on where the figure has been placed? In particular, i would like to have different formatting of figure captions for figures ...
1
vote
0answers
21 views

How to continue a framed box which is defined in floating environment [duplicate]

I have defined a floating environment. It defines a framed box using \mdframe. Here is the code I used. \documentclass{article} \usepackage{mdframed} \usepackage{lipsum} \usepackage{caption} ...
2
votes
0answers
36 views

Rename associated Figure files [closed]

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 ...
1
vote
0answers
34 views

Caption with two figures in a single column

How can I put two figures in a single column, with a label (say a), b) ) on the left and in the middle or top of each figure? I was trying \newcommand{\Inserttwopgf}[6]{% \begin{figure}[t] ...