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

6
votes
2answers
3k views

APA6 Class - Single-spaced Tables for Manuscript

I'm trying to produce a manuscript for submission. I have tables that are fairly long and need to be single spaced. The apa6 class is double-spacing the entire document including the tables. I need ...
0
votes
1answer
1k views

Abbreviate “figure” [duplicate]

Possible Duplicate: Change caption name of figures I'm using scrbook for the document class. Is there an easy way to abbreviate "Figure 1" in order to have "Fig. 1" ? The proposed answer didn'...
12
votes
1answer
1k views

Figures in odd pages, text in even pages; if no figures, then odd=even pages (i.e., no blank pages w/ numbering and headers…)

I'm writing my thesis using \documentclass{book}. I have plenty of figures and I want them to appear always on the right hand of my manuscript (since this is the "attraction" page when reading, and ...
5
votes
3answers
3k views

float and subfig package interference: subfigures with exact placement

I'm using the subfig package for subfigures and the float package for forced float placement (H). Using both these packages results in the subcaption not getting reset. The following example shows six ...
8
votes
1answer
8k views

Ignore figure for list of figures

I'd like to include some figures in my LaTeX document just like every other figure but don't have exactly these figures included in the list of figures. Since I couldn't find a solution I have to ask ...
6
votes
1answer
397 views

Grouping figures in \listoffigures

Is it possible to group together several figures in the List of Figures. For example a time step sequence where there are 4 or 5 different figures would only have one entry.
3
votes
1answer
2k views

figures in sidewaysfigure environment are not listed in List of Figures

I was writing my thesis and found that all figures I included in sidewaysfigure environment are not listed in \listoffigures. How can I make those figures listed in List of Figures? What I did is ...
10
votes
1answer
856 views

Aberrant footnote numbering behavior with footnoted captions

I don't have an explanation for the behavior shown by the following two MWEs. Clearly, the footnote number is altered by the length of text in the caption. Please advise me as to why this strange ...
5
votes
1answer
713 views

Enclosing a float into a shadowed box

I have created a float enivoirment as shown below \floatstyle{boxed} \newfloat{example}{thp}{lop}[section] \floatname{example}{Example} I would like to enclose the example in the a shadowbox, ...
0
votes
1answer
509 views

Incorrect page number in List of Listings

The problem I'm having is that page numbers, in a List of Listings, are frequently off by one page. I'm using the listings package and I have a List of Listings in the beginning of the document, ...
0
votes
1answer
1k views

Figure positions and sizing

I have the following figure code : \begin{figure}[h] \centering \includegraphics[scale=.7,bb=0 0 804 401]{f5.png} \caption{Case Adaptation \cite{16} } \label{fig:f5} \end{figure} Even ...
3
votes
1answer
251 views

Figure refs stop working after I added a new counter

I was using the amspset document class for generating exam practice problems. I had wanted to add some referencing to the problems so I started a new counter like this (adapted from some Tex Exchange ...
5
votes
1answer
2k views

lstlisting ignores float setting

My document starts with: \begin{document} \lstset{ % language=Java, float=tb } However all listings appear exactly just where they have been defined, e.g. this one: \begin{lstlisting}[label=...
7
votes
1answer
3k views

scrreprt – How to adjust distance between caption and table?

I am new to LaTeX, tentatively using it to prepare a complicated industrial document (laboratory test report). I had selected the report class. After numerous experiments, I have just found that just ...
3
votes
2answers
252 views

Need to adjust in tikz

I want to display the following figures simultaneously that is not above or lower. Also need to reduce the size. Please help me. \begin{figure}[htp] %\centering \begin{tikzpicture} %\draw [color=...
1
vote
1answer
480 views

Wrapfig pushes section text out of the page

wrapfig works perfectly with all text except the sections. It seems to push the section text out of the page to the left. The only section text that is still showing is the one the wrapfig command is ...
2
votes
1answer
1k views

How to use correctly latexdiff with figures?

I did change a source of some image between new and old version of .tex files, when I run latexdiff it marks such parts like this: \DIFdelend %DIF > lamp \DIFaddbegin \begin{figure*}[t] \...
18
votes
2answers
6k views

How to build and combine sophisticated layouts in figures

How can I get a layout like the one below in my document?                 With this question, I am looking for: An ...
3
votes
2answers
1k views

Adjusting Figures (Floats) Next to Tables

I am wondering what is the best way to place floats directly across from a array or tabular environment. I want to get the graph to show on the right of the table of values. A picture is shown below ...
3
votes
0answers
431 views

The [H] “put it here” placement option doesn't work with floatrow [closed]

I'm using the minted, floatrow, caption, and listing packages to create code blocks like these: To do this, I'm using a hack based on this answer. Here is what I have: ... \usepackage{listings} \...
10
votes
3answers
1k views

When to indent a paragraph?

I use indentation of the first line for paragraphs. When a new paragraph starts after a code listing (or some other figure), this looks a bit unpleasant to me. What is the typographical convention for ...
4
votes
1answer
493 views

Adding both captions and notes to a table with the captions package

In the following table I created the caption exactly they way I wanted. I'd like to add a "Note" below the tabular, but within the table environment, following the same style as the caption. I sort of ...
4
votes
1answer
329 views

Placement and coordinate information of a figure

Is it possible to extract the coordinates of where LaTeX places an item? I want to be able to tell what page and where on that page LaTeX placed a figure.
3
votes
1answer
277 views

float package: get list of all floats defined with \newfloat?

I develop a new package and as one functionality, I would need to get the list of all floats defined using the \newfloat command of the float package. I could of course modify this command in ...
1
vote
1answer
209 views

Floating object inside another floating object in ConTeXt

I need page where is text column with pictures on the left side. Inside the text column I need on the right side floating letter. Here is code: \starttext \startfiguretext[left]{none}% {\...
8
votes
2answers
4k views

How to change table numbering scheme at a new section?

I am trying to implement a style to name tables and figures depending on the section for a thesis and can't figure out how to do it with LaTeX. In the end it should look like this: and my document: ...
9
votes
1answer
4k views

vertically align different size images in a figure* environment

I have an figure* environment with the following \begin{figure*} \centerline { \subfloat[1]{...} \subfloat[2]{...} } \end{figure*} The images are different heights. How can I ...
6
votes
1answer
479 views

longtable and floatrow: font commands ignored

If I load both longtable (ltxtable) and floatrow, then \sffamily is ignored and the table is typeset in roman. If I disable floatrow everything works as expected. floatrows \RawFloats command does ...
11
votes
1answer
4k views

Unwanted space after figure environment

When the figure environment directly follows a \[ ... \] environment an unwanted space occurs in the output. It obviously seems to be an endlinechar which is changed into a space. \documentclass{...
3
votes
1answer
1k views

“Center” table offset, to account for floating figure?

I'm composing a document in which I use the wrapfig environment to let me wrap text around a floating figure. I've placed this figure (of width 0.3\textwidth) on the right of a page, and I'd like to ...
8
votes
1answer
3k views

\parskip inserts extra space after floats (and listings)

This question seems to be a duplicate of How to remove the skip after a listing when "\parskip" is increased with "\baselineskip"? but the answer given there doesn’t work although ...
7
votes
2answers
758 views

Subfloat indexes misaligned when using setcaptionwidth

I have the following document: \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \usepackage{geometry} \setcaptionwidth{12cm} \begin{document} \begin{figure}[t] \centering% \...
11
votes
1answer
276 views

Ensuring that floats are displayed in order of first reference

There are many questions on this web site and elsewhere about ensuring that floats are displayed in the order in which they are placed in the source. What I want is different—I have all my ...
8
votes
3answers
3k views

Border around figure does not fit

I want to insert a bitmap image in my document. I would like to put a tight and thin border line around the image. Apparently, the way to do this is with \framebox. I want to have the border fit ...
1
vote
2answers
198 views

How to make sure images & content are in the right order?

I have several big figures to insert to the article, however, the Content-Part-2 jumps to the front of figures (Figure-1 & Figure-2 in code), where is at the end of Content-Part-1. Code shown ...
9
votes
2answers
913 views

How to put an algorithm and a tikz drawing (objects of different type) side-by-side in the same float environment?

I am trying to put an algorithm and a tikz' drawing side-by-side inside a figure environment. I am aware of this question but I would like to have a single caption for them. For instance, in the text, ...
3
votes
1answer
18k views

Table in LaTeX appearing in middle of next page

I've inserted a table in my LaTeX document and have used \center to horizontally align it to the centre of the page. However, it's appearing a page after where it should, is both horizontally and ...
3
votes
1answer
809 views

Problem inserting a figure in LaTeX

I am writing a research paper using LaTeX. I have certain images to insert. Now when we observe the images from the research paper, they have the following format: image its caption I am ...
5
votes
1answer
4k views

Change \abovecaptionskip for some floats only

I'd like to change the \abovecaptionskip (space between figure and caption) for the listing floats of the minted package only. How can I do that?
2
votes
0answers
75 views

Floating figures with 'b' ends up below the footnote [duplicate]

Possible Duplicate: Tables below footnotes, is this a good output routine algorithm or a bug? Whenever a page contains a figure which is set to be placed at the bottom of the page, and the ...
32
votes
4answers
609 views

Where do I place floats in the source?

I realize that this is an embarrassing simple question. Shall I put the floats, e.g. \begin{figure} . . \end{figure} in the source immediately after first reference? or wait until the end of the ...
4
votes
1answer
2k views

Including multiple figures/subfigures within an fbox (minipage)

From what I understand, it's pretty much impossible to include floats within an fbox/minipage. I basically want a paragraph of framed text with a couple of subfigures included within the frame. Any ...
3
votes
2answers
4k views

LaTeX inserts blank page between figures

I am writing a relatively long text in LaTeX. At some points I need to include a bunch of large figers (2 figures per page, no text) using \figure and \includegraphics. In order to avoid pages with ...
15
votes
2answers
2k views

\intextsep gives doubled space

If a float (black box) follows my {example} environment (gray left line) the skip between them is too big. I guess it’s twice \baselineskip but it should be only one \baselineskip plus some glue. It ...
4
votes
1answer
8k views

Figure placed at the end of the file [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned How to influence the position of float environments like figure and table in LaTeX? I'm doing this \section{Use ...
3
votes
1answer
657 views

Splitting figures' caption apart

I'm using stock figure environment and \caption{} command to typeset figures in my document. Is there any sane way I can get 'Figure N' part to be written right below the figure, and the actual ...
2
votes
2answers
4k views

Background color boxes around complete figure in LaTeX [duplicate]

Possible Duplicate: Rounded corner colored box around figure Make all figures and tables framed by default? I'd like to make colored boxes (a light graytone) around my figures including the ...
9
votes
2answers
461 views

Table/Figure Layout

I'm interested in good practice for table (tabular) and figure layout, especially in good references. What do typographers have to say about this. Please provide references if you can. To focus the ...
0
votes
2answers
792 views

How to synchronize sidewaystable with the odd/even page?

I have two tables, T1 and T2. I want these to appear in two pages as if the head-side of the table remains at the binding side of the book. Like this |||||>|<||||| |||||>|<||||| ||...
12
votes
2answers
14k views

How to change the numbering for different figures?

Let's say I have two standard figures and two supplementary figures. If I change the name of figure using \renewcommand{\figurename} the figure counter will still count all figures continuously (i.e. ...