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

Figure is put in the center of the page

I made a figure containing subfigures, but it keeps appearing in a whole page, so lots of white space. I don't know why. This picture explains what i mean: This is the code used: \clearpage ...
7
votes
1answer
2k views

Insert A3 page with figure into A4 document with active references

Based on the first answer from a previous post "Insert foldable A3 pages in an A4 document with active references", I tried to get a figure on an A3 page in my thesis. However, it does not turn out as ...
13
votes
1answer
463 views

Spacing, subfigures and right captions (Creating a bar menu)

I am trying to create a bar menu for a student place I am part of. Now since we are studying CS, mathematics and or physics of course he have to use latex to create our barmenus or drinking lists. An ...
3
votes
1answer
126 views

Big figure has 4*3 subfigures

I have big figure that contains 4*3 subfigures but its not appearing correct. It's taking alot of space. So if anyone could advise. This pics shows the output and this is the script used ...
1
vote
0answers
65 views

What is [htbp] used for? [duplicate]

When I try to input a macro for tables or figures, I usually get [htbp] beside the command... e.g. \begin{table}[htbp] What is the use of it? Can I remove it?
3
votes
1answer
175 views

Inaccurate table numbering with LyX

I'm using LyX to create some tables, but the numbering is complete borked. In the LyX window, the table numbers are accurate. However, when I render to a PDF, they are evens only: 2, 4, 6 etc. (I'm ...
1
vote
0answers
33 views

How to reduce space before image? [duplicate]

I m using includegraphics function for image. Some text before image \begin{figure} \includegraphics[width=0.5\linewidth]{ABC.pdf} ...
4
votes
1answer
386 views

Figure width problem

I have a problem in a figure which i draw, the figure doesn't fit in one column of two column paper as shown in the fig below, any help? \begin{figure}{H} \centering \begin{tikzpicture}[ ...
5
votes
0answers
169 views

Placing text in the margin next to a figure using ConTeXt [closed]

What is a good way to place a short paragraph in the margin next to a figure in ConTeXt? I've been trying the following code, but it places the \inmargin text at the base of the figure which only ...
1
vote
0answers
150 views

Alignment of TikZ object [closed]

I'm using the classic thesis style by André Miede. As I have to import a lot of Matlab plots, I'm using matlab2tikz. In the LaTeX document, I want the TikZ object to act like a normal jpg/png ...
1
vote
0answers
249 views

sidewaysfigure does not work [closed]

I am having trouble with 'sidewaysfigure'. It simply isn't recognized and says ' Missing number, treated as zero' my code is \begin{sidewaysfigure}[hbtp] \setlength{\abovecaptionskip}{0.01pt} % ...
5
votes
2answers
115 views

How to combine listing and figure into a single figure?

I am using package listings, and I would like to combine a listing and a figure into a single float. As an example, I am using listings as follows: ...
1
vote
1answer
196 views

Captioning a figure with multiple subfigures all at once

I want to create a figure with subfigures, and then reference them from the caption of the main figure: \begin{figure} \begin{subfigure} A figure \caption{} \label{a} ...
8
votes
1answer
5k views

How to put a full-width table at the top or bottom of the same two-column page as the reference text?

I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*). At some point, ...
4
votes
3answers
649 views

Spider Graph Legend and Caption

I would like to add: legend (Red, blue and Green) and figure caption (with legend) for my Keviat plot. The code of my keviat is listed below. Thank you \documentclass[]{scrartcl} ...
2
votes
1answer
330 views

Thesis class error Extra } or forgotten \endgroup on second compile (not first) in float caption

I am adapting a paper to a thesis format, and I am getting an error on the second compile of my document (the first one seems to work fine). I am using TeXshop, v. 2.47; I am compiling using pdfTex ...
6
votes
2answers
1k views

Latex inserting blank pages between figures

I have a large number of (.eps) figures which I want to put into a stand-alone .pdf document. I have a script which puts together the code shown below twice (but is repeated dozens of times). The ...
3
votes
2answers
146 views

Background color for existing floats (e.g. w/o defining a new environment)?

I'm trying to make all my figures (including caption) backgrounded with a decent color. I already found these questions with some nice answers: How to set a background color of figure environment? ...
6
votes
1answer
414 views

Figure and text vertical alignment in two column document

I am trying to set a layout for a twocolumn book with a particular page layout (specified with the geometry package) and with the text in both columns aligned to each other. For this I've already ...
4
votes
1answer
171 views

Figures in tables

I want to make a table with lots of figures. \begin{table} \centering \begin{tabular}{c|c|c} Index & Stand. Residuals & acf\\ \hline\hline BEL 20 & ...
6
votes
1answer
139 views

Why doesn't font family change take effect when using AtBeginEnvironment{figure} together with memoir?

I'm trying to use \AtBeginEnvironment{figure} to customize the font family and font size used in figures. However, it doesn't seem to have any effect. Here is a minimal example: ...
4
votes
2answers
671 views

KOMA-Script captionbeside and custom floats

In a KOMA-Script report, I want to use a custom float for algorithms and display an algorithmic-environment with a caption right next to it instead of below. Apart from the fact that I have to wrap ...
0
votes
1answer
132 views

Aligning subfigures with the plots starting at the same level

I have two figures that I am trying to align side by side. The difficulty is trying to get the two plots on a same horizontal line. In the bad example picture shown below the problem is that the ...
1
vote
0answers
216 views

A figure and table side by side [closed]

I tried to insert my plot in many ways in this code but did not work. Can someone kindly please tell me where can I insert my plot below code; especially I dont understand whats \rule{} is also. ...
4
votes
2answers
599 views

Remove prefix from figure caption in tufte-book document class

I want to get rid of prefixes in figure captions. I use MikTeX, XeLaTeX and tufte-latex style class. I've tried three variants: \caption*{Foto} \usepackage[labelformat=empty]{caption} ...
1
vote
1answer
33 views

Align a figure in a specific position of a line?

I want to align a figure on the left, but not at the very beginning of the line, but 20 points away from the beginning of the line so that it is at the same width as an itemization that I did in the ...
7
votes
1answer
7k views

Image placement in LaTeX (twocolumn mode)

I'm beginning to work on my senior thesis for biochemistry and I'm excited to use LaTeX to make a nice looking final product. I'm new to LaTeX though so I don't actually know that much about it. ...
6
votes
2answers
336 views

Using a lot of marginpars

I need to use a lot of marginpars and hit "Too many unprocessed floats" as a result. I'm already using the morefloats package with maxfloats set to 100, but it's not enough sometimes. I'm thinking a ...
7
votes
1answer
3k 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 ...
3
votes
1answer
102 views

Align pictures with text

I am having problems to align or better put, make my figures being of equal size/margins like my text What I do is this \documentclass[a4paper,12pt]{book} %%%%%%%%%%%%%%%%%%%%%%%%% %%% Document ...
3
votes
1answer
312 views

ConTeXt - Make text embody figure and respect margins

I am trying rewrite an already formatted layout to ConTeXt, but I face two major problems. Please have a look at the goal I am aiming at and at the source code below. I have tried many suggestions ...
3
votes
1answer
150 views

Why use \listoffigures \listoftables [closed]

Why do people include "Lists of Figures" and "Lists of Tables" in their theses/books? (as generated by \listoffigures, \listoftables, etc.) Besides the obvious reason that they take up space and ...
2
votes
1answer
113 views

Vertical spacing within float

I have a table in which I want to include two tabular elements one below the other (and justified right). Right now I have this code, that displays exactly what I want.. I would like to add some ...
2
votes
0answers
89 views

Split custom float over pages? [duplicate]

I use a custom float example, but some of the code is running longer than a page. Is there an easy way to split the float across pages? The definition is as follows: \floatstyle{ruled} ...
3
votes
3answers
312 views

table numbering style

The tables in my document are labeled 1...N; I like this format. I also have a table which belongs to the appendix of my paper that I would labeled A1 or A.1 . Is there a way to change the numbering ...
2
votes
2answers
111 views

Get image with includegraphics from remote computer

Is there a way to grab a figure from another computer (and enter the password in the console or via command line)? For example, is there a way to do this? \begin{figure} ...
6
votes
2answers
4k views

Figure and table side by side with common caption

I'm not a LaTeX expert, and I want to align a table and a figure side by side, with a common caption; the table and the figure should be aligned to the bottom, too. I tried this: \begin{figure} ...
2
votes
1answer
1k views

Remove individual entries from List of Tables?

This is my first post here, so the TeX code may not appear as desired, but I'll do what I can to provide a MWE. I want to be able to suppress the appearance of individual figures/tables in the list ...
3
votes
1answer
429 views

figure numbering with endfloat and appendix

I have a document which has figures and tables. The document also has an appendix. The tables seem to be labeled normally (1...N), however the figures seem to be labeled A.1, A.2, etc. I would like ...
10
votes
2answers
211 views

Position two floats on opposing pages

I have some big body of text with a figure within it, and another figure that requires a full float page (I use \begin{figure}[p]). The two figures relate to one another, and should really be viewed ...
0
votes
0answers
23 views

\ref{figures} goes to the part, not the figure [duplicate]

I'm using Latex for a Report about signal processing and I've a lot of figures. SoI putted them into minipages to display them side by side. It's fine but the references doesn't work. Here is an ...
2
votes
1answer
441 views

Prevent Float from being placed within a paragraph

is it possible to prevent a float from being placed within a paragraph? I know there has been another post (How to protect text from being split by a float?) with a similar question, but I would like ...
0
votes
0answers
34 views

Figure numbers appearing wrongly within the text [duplicate]

I am new to Latex and I am facing a lot of problems with Figure numbers. They appear correctly next to the figure in Arabic numericals. But when I refer to any figure within the text, it shows a wrong ...
6
votes
1answer
390 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
138 views

Figure with a different box around

I'm trying to make a box around my figure like the ones in Benjamin Pierce "Types and Programming Languages" book and Luca Cardelli paper "Types Systems". Such boxes have horizontal rules and only ...
1
vote
0answers
28 views

How do you move a figure caption in lyx? [duplicate]

When inserting a figure in Lyx (i.e. Insert->Float->Figure), the figure caption is automatically inserted below the image. The image that I am inserting is long but narrow and therefore the ...
4
votes
2answers
4k views

Figure and Table next to each other (memoir class) [duplicate]

To save space, I would like to place the following table next to each other. Each has a separate caption. I have this, I want this, Sample code, \documentclass[]{memoir} ...
4
votes
1answer
9k views

Move table to the left / change left margin of particular frame

I'm trying to move my table to the left with no success. I found \hspace, but it seem to not work. Here is my slide: \begin{frame} \frametitle{Test slide} \vspace{-0.4cm} \hspace{-1cm} ...
0
votes
0answers
46 views

Figure 2 is referred to as Figure 3 [duplicate]

The caption of Figure 2 (label: F:mnDiagram) is printed correctly, but when I use \ref{F:mnDiagram}, the output I get is 3 (instead 2). What could be wrong?
1
vote
2answers
394 views

Figure is chopped off when inserting a MATLAB table as eps figure

I am trying to include a MATLAB UI table (which I have previously saved as an .eps figure and put it into the same folder as my .tex file) into a LaTeX document, using: \begin{figure} \centering ...