{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
2answers
128 views

Regarding Changing Captions and Including Them in Different Lists of Interest

I have created several large tables in Excel and MATLAB. Since it is very time-consuming to manually copy and paste these tables in LaTeX, I would like to include them as figures in LaTeX. I would ...
3
votes
1answer
219 views

labbook figure numbering

I am using the labbook document class which is based on scrbook. labbook doesn't number the chapters, but the figure numbering still behaves the way it was in scrbook: it's not running, but each ...
9
votes
2answers
2k views

How to make a float that is not labelled 'Figure' but 'Listing'

I would to include my listings as floats, pretty much as Figures, but I don't want to call them Figures. I want to call them listings. How can I do that?
1
vote
0answers
559 views

Use \subfloat in custom float/caption [closed]

I am trying to use subfloats in a custom caption/float environment. But I get compilation errors. MWE: \documentclass[a4paper]{report} \usepackage[margin=10pt,font=small,labelfont=bf,justification=...
12
votes
1answer
4k views

List of figures: source below image caption?

I'm relatively new to LaTeX and currently working on a paper. In my list of figures, I'd like to have a structure like this: Fig. 1: <Title of figure> . . . 1 <...
0
votes
1answer
4k views

Forcing a new section to begin after previous captions [duplicate]

Possible Duplicate: How to avoid splitting tables between sections I have noticed that, by default, when you open a new section, it could interfere with the contents from the previous section. ...
7
votes
1answer
4k views

Get BibTeX to ignore citation numbering in a figure caption

Here's the problem. I have the main text of a document which includes a citation late in the document, say \cite{ref20}. One of my figure captions has in it, the \cite{ref20}. What happens is that ...
2
votes
1answer
23k views

How to use tabular/array to arrange figures [duplicate]

Possible Duplicate: How to use images in a table? I'm looking for a solution for automatic alignment of figures within my tex-file. I would like to keep it as simple as possible. I have the ...
22
votes
5answers
21k views

Rotate picture with caption

How can I rotate both a picture and its title in TeX? Parameter in \includegraphics allows to rotate only a picture.
8
votes
1answer
6k views

How can I change figure caption label?

I am using revtex4-1 for a Physical Review Letter. Typically when a figure is made, the caption starts out FIG. 1. <text>. I am creating a supplementary file and I would like it to say FIG. S1. &...
1
vote
2answers
1k views

How to make table with caption appearing on \listoftables without \begin{table} environment? [duplicate]

Possible Duplicate: Label and caption without float Create caption without float AND without caption-package? Here is an example of LaTeX document being compiled with pdflatex having table ...
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
394 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
830 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
711 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
507 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
251 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] \...
17
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
429 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
491 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
325 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
276 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
475 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
754 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
274 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
907 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
801 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?