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

1
vote
1answer
116 views

references to floats without ever using figure numbers (possbily using lua or python)

Stephen Wolfram's 'A New Kind of Science' states in its colophon that it has 973 illustrations spread out over 1280 pages. Remarkably, he accomplishes this without ever using figure numbers. No figure ...
1
vote
1answer
2k views

Non superscript citations for figures

Is it possible to reference figures like so taken from \emph{ref. \cite{reference}} with non superscript numbers, while leaving the rest of the references in the bulk of the document untouched? ...
20
votes
2answers
64k views

Insert multiple figures in Latex

I need to insert 10 figures (in two columns- side by side) in LaTeX that will have one global caption, but also I need to name each figure (1a, 1b, 1c, ... ect.). So they will look like: 1a ...
16
votes
1answer
27k views

Is it possible to scale an entire \begin{figure}?

I have a bunch of LaTeX-output from Gnuplot which I would really like to leave alone. Is there an easy way of scaling an entire figure? Something like \includegraphics[scale=0.5]{...} but just for ...
17
votes
1answer
5k views

Turning off and on images in figures

Is it possible to prevent the contents of a figure from being rendered? I have a large book document, and to speed up compiling while working on a draft, I would like to have some way of ignoring the ...
15
votes
1answer
2k views

Placing figure on an even/odd page

I'm writing a two sided document (it will be printed as a book) and I've got two figures which takes up a whole page each. These two figures are related so I want them to be side by side in the ...
8
votes
1answer
397 views

How to have headers, section headings, and figures expand into the margin?

I am interested in the following page layout. How to have headers in margins (up to margin) Is it possible to start section headings from margin How to set figures occupy the margins. I can ...
7
votes
3answers
2k views

Putting in MATLAB codes in a box as figures? [duplicate]

how do I put MATLAB codes in a box or deal with them as if they are figures? Is there a way to do it within LaTeX itself? I am currently using the verbatim environment to present my codes and to be ...
19
votes
1answer
346 views

Reflow text blocks in a page

Friends, I have a simple layout to typeset a songsheet for my parish which consists of two columns provided by the multicol package and a custom environment that simply wraps each song. The following ...
15
votes
3answers
509 views

How to recall a figure without rewriting it

I'm writing a long document and sometimes I need to recall a figure and show it (not just a \ref in the document). Right now every time I need this I rewrite the LaTeX code for showing the figure. Is ...
14
votes
2answers
5k 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 ...
7
votes
2answers
9k views

How to put two images next to each other with a) and b) labels?

I want to put two images next to each other and in order to do that I have written these code: \begin{figure}[h] \begin{minipage}{16pc} \includegraphics[width=16pc]{P_1.eps} \caption{\label{fig4} ...
18
votes
2answers
3k views

Find optimal figure size to fit two images on one page

I often encounter a situation where I would like to fit two or three figures on one page. I define my figures as follows: \begin{figure}[htpb] \centering ...
11
votes
5answers
10k views

Spacing around table and figure environments

I've got table and figure environments, some placed "here" with h and some arranged automatically. But all together I don't like the spacing above and below the figure and table environments. I ...
11
votes
2answers
11k views

Table numbering mismatch in caption and in text

I have created 2 tables in my LaTeX document \begin{table}[hb] \centering \begin{tabular}{|c|c|r|} \hline ... not important... \end{tabular} \label{tab:2} \caption{Določanje prioritet mojstrov ...
19
votes
2answers
33k views

Landscape figure in LaTeX

I have a figure I'm trying to insert which is in landscape and I'm using the following (snipped) code: \documentclass[12pt, oneside]{book} \usepackage{graphicx} \usepackage{wrapfig} ...
18
votes
4answers
890 views

Avoid repeating [hbt] and \centering for every table

In a document I'm writing, I'm using the familiar [hbt] option for my floating tables, and I center them. I'd like to avoid repeating that every time I'm creating a table. I assume it's easy to add ...
16
votes
4answers
20k views

Forcing a figure strictly on a separate page

How can a figure be forced to appear alone on a separate page? \begin{figure}[p!] forces it to a separate page, but it does not guarantee that some other small figures (which I'd like to be included ...
12
votes
2answers
10k 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. ...
11
votes
3answers
8k views

How to put large figure caption on separate page from the figure

I have a large figure (> 50% of a page) and a large caption to describe it (also >50% of page). How do I put the caption on a separate page? This is discussed in several forums, but apparently not ...
10
votes
1answer
1k views

change caption in tufte class full-page figure

I've tried to change the caption in a full-width float with tufte-book, but to no avail. I want the caption in this figure to be like more common LaTeX classes. Here is a MWE and the result: ...
8
votes
2answers
8k views

Too much space around wrap figure

I am using the wrapfig package to have my text around the figure but there is too much space around it as you can see below. Here is the code that I am using, I looked at the wikibook on LaTeX for ...
7
votes
3answers
2k views

Count number of figures, tables and citations in report class

I'm using report documentclass and trying to use totcount for counting figures, tables and references, but there are two problems: Figures and tables counters are reset for each chapter, so ...
6
votes
1answer
489 views

Continue long table beside on the same page

I have a datatable in a CSV file and print it with pgfplotstable. I can split long datatables by making pgfplotstable use longtable instead of tabular environment; so far so good. My problem is that ...
5
votes
2answers
623 views

Color pages in specific sections in LyX

To show the difference between my theoretical an practical part, I want to change the background color of the page during practical sections/parts. Until now I used a new paragraph style, which ...
0
votes
1answer
573 views

Vertical space between headlines, tables, images and the following text too large

Is there a way to globally set a value (or minimum and maximum value) for the vertical space between, for instance, headlines, tables, images and the like and the following text. Right now I have ...
17
votes
3answers
6k views

avoid that figure gets its own page

I have a couple of floats in my document, which contain large Images (it consumes the half of the page). In this case, the figure get's its own page and no text goes on this page. How can I configure ...
13
votes
3answers
20k views

Note below figure

I have a figure and include it in LaTeX using \includegraphics in a \figure floating environment. The caption is at the top. Basically I would like to have a note below the figure too. I see some ...
12
votes
1answer
10k views

Include table as a subfigure

Is it possible to include "table code" as a sub-figure (instead of an image) using the package subfig? If so, how?
10
votes
1answer
596 views

How to make all figures float on the outer margins of two-side document?

I want to make a double-sided problem booklet that contains several questions. Each question has a distinct number and may have zero or more figures. Each figure has a caption and floats on the outer ...
10
votes
2answers
3k views

Equivalent of CSS “float:left;” for images

What I am try here is have the image on the left side and it should be surrounded by text on the right and bottom side. For example how can below image_3.png float to left? \usepackage{lipsum} ...
9
votes
2answers
1k views

Looking for three images on top of each other with text underneath each

I need to place three images on a page with text under each, and then one 'overall' caption for the figure. This code puts the images on top of each other but the text is to the left of the images, I ...
9
votes
2answers
822 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, ...
8
votes
1answer
2k 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
1answer
5k views

Adjusting left/right margins of a wrapfig

Is there a (simple) way to adjust the white space to the left or right of a wrapfigure? I'd like to reduce the whitespace on the left side of a right-floated figure. Adding \hspace moves the figure ...
7
votes
3answers
3k views

How do I make figure captions span multiple pages?

How do I make figure captions span multiple pages? I have a very long caption for a figure and would like it to carry on to the next page. EDIT: I would like this to work in both one sided and two ...
7
votes
2answers
6k views

Automatic vertical alignment of a single float on a dedicated page

In my large latex document, I have some figures which take a considerable height of the page (80-95%). Latex puts each of these figures alone on a page, aligned on top. I would like to have each ...
6
votes
2answers
4k views

multiple algorithm2e algorithms in two column documents

I tried this example Place four algorithms (algorithm2e) in a subfigure and arrange them in two rows and two columns on two column documents. It doesn't work. The error message is ! LaTeX Error: [H] ...
6
votes
1answer
5k views

\renewcommand\tablename{name} does not work

I am completely noobie in LaTeX. I need to change table name in all captions. But when I write \renewcommand\tablename{newname} at the beginning of document, it doesn't do anything. It's still "Table" ...
5
votes
1answer
10k views

Add four images on a beamer frame

What is the best way to add four images on a beamer frame? I am using \documentclass[slidestop,compress,11pt,xcolor=dvipsnames]{beamer} \usefonttheme[onlymath]{serif} \definecolor{LHCblue}{RGB}{4, ...
4
votes
1answer
543 views

Placing listing and figure side by side in memoir

I am writing a document using the memoir class where I want to place listings (with the listings package) and figures side by side. My first approach was to save the listing in a box and use subbottom ...
3
votes
1answer
1k views

Typesetting errors with two wrapfigures on one page?

I have a document with the book documentclass, and I'm trying to include two wrapfigures on the same page, one on each side (ideally in adjacent paragraphs, but at this point I'm just trying to get ...
3
votes
1answer
1k views

Insert graphs and text side by side

I wanna know how can I draw graphs and arrows with text, side by side in Beamer as shown in the figure of this question Drawing arrows in beamer Can someone post the code?
18
votes
4answers
692 views

How exactly does \def\p@figure{Figure~} work?

I took this line from my thesis style and added it into my document (preceded by \makeatletter) and what it does that whenever I used \ref{figureid} instead of putting just the figure number, it puts ...
14
votes
1answer
1k views

Unsorted citations and floats

In attempting to answer this question Citations in order of appearance it's clear that unsorted citation schemes (ones in which the citations are numbered simply by order of appearance) can be easily ...
14
votes
3answers
24k views

Border or frame around figure

I'd like to place a border / frame around my figure. The figure is a bunch of equations: \begin{figure}[ht] \[ eqn 1 \] \[ eqn 2 \] \[ eqn 3 \] \caption{\label{myfig} My caption.} ...
11
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 ...
10
votes
2answers
3k views

Extra page at beginning of appendix containing big figures

I have an appendix that contains two full-page figures. The first page of the appendix is always blank except for the title -- I suspect this is a common problem with appendices of full page figures. ...
9
votes
2answers
9k views

Centering figure captions in IEEEtran

I am working on a paper using the IEEEtran template in LyX. I have run into a problem: While the contents (in this case, a table) of the figure float are centered, the caption is aligned to the left ...
9
votes
1answer
243 views

How can I create a chapter with graphics only divided into different sections?

I'm trying to create a chapter with pictures only, but keep running into troubles. The chapter is an appendix, where only some graphics should be displayed, placed in different sections. I don't need ...