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

3
votes
3answers
2k views

Using endfloat with Chapters [ Figure X about here] has incorrect numbering

Using endfloat and graphicx package. I place a figure in chapter 1. Which is assigned the figure number 2.1. A box in the position reads: [ Figure 1 about here ] How can we make the box read the ...
1
vote
2answers
875 views

error in memoir: Command \newfloat already defined

Using this preamble: \documentclass[pdftex,11pt,a4paper,openany]{memoir} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{indentfirst} \usepackage{latexsym} ...
1
vote
1answer
25 views

figure in two column while using a one column environment

I am using one column book class and I would like to have just one page in my document consisting of two figures spreading along two columns, as the example in below. I would appreciate if some one ...
0
votes
1answer
11 views

Cannot cross-reference figure after using \captionof [on hold]

I'm using \captionof instead of \caption because I had a problem with the figure environment. Whenever I wrote the code to place two figures and some text between them, the text was placed before the ...
0
votes
0answers
15 views

How to write multiple lines of text in a box created using \framebox in LaTex [duplicate]

I want to draw block diagram of a system. I used \framebox command to create blocks. But when I write long text inside the box it comes out of the boundaries of block. How can I write text in multiple ...
0
votes
2answers
66 views

Side-by-side images in LaTeX

I need to put 2 figures side by side in LaTeX where the first figure needs to be given a caption and the second must not be given a caption. I have tried the following: \usepackage{floatrow} ...
0
votes
1answer
54 views

Insert multiple “unique” photos in one page in latex [on hold]

My attempt is to put multiple photos in a page, which are not related to each other. However, they overlap and making page look ugly. Is there a way to separate these photos? the document class can be ...
4
votes
1answer
62 views

How to place floats between paragraphs?

I have read multiple questions on this site like How to influence the position of float environments like figure and table in LaTeX? and it seems to me that default behaviour of floats is not what I ...
2
votes
2answers
8k views

Add source to figure caption

How can I add a source to a figure? I need to add \ref, \cite or just free text. Something like that: \begin{figure} [ht] \centering \includegraphics[width=0.95\textwidth]{res/figure.pdf} ...
3
votes
1answer
16 views

Moving a subfloat to the background

I have the following problem: i have a figure with 3 subsfigs, (2 top, 1 centered bottom). Since the background of the pictures is white and i want a good layout, I moved the bottom figure up with a ...
0
votes
0answers
169 views

Endfloat and appendix: two sets of floats [on hold]

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 ...
2
votes
1answer
56 views

Infographic - need help!

Infographics enable us to communicate incredibly large sets of data in a way that is interesting, meaningful, and engaging to others. I have been trying to create a simple Infographic with TeX - ...
0
votes
1answer
34 views

Align axes across subfigures

How can I align the y axes of subsequent subfigures horizontally? Like in this test case: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{subcaption} \begin{document} ...
0
votes
1answer
131 views

texmaker bullet in .eps figure equation shows infinity symbol

I am using Texmaker on windows 7 and I'm trying to include a .eps figure which has bullet symbol in it, and for some reason, Texmaker shows an infinity sign instead. I've checked my .eps file, and it ...
6
votes
5answers
502 views

Subfigure captions appear too close together

Is there anyway to avoid what is observed below with the subfigure captions appearing too close together? I would rather not use the minipage environment as a solution. \documentclass[]{article} ...
2
votes
1answer
32 views

Draw over mutliple subfigures [duplicate]

I currently try to document a project where a lot of image processing goes on. The problem is, that often tiny details are important to show, but also the reference in the bigger picture is required. ...
0
votes
0answers
24 views

Force figure to be a listing

To center my listings on the page I followed a tutorial on tex.se.com and that resulted in the following code: {\renewcommand{\figurename}{Listing} \begin{figure}[H] % the figure provides the caption ...
0
votes
2answers
21 views

text alongside figure using minipage

I need to place 2 images with captions in a minipage one below the other, in the second minipage alongside there is the description. I cannot use \begin{figure} ... \end{figure} I looked at this, ...
1
vote
1answer
63 views

Wrap text around an irregular shape

I'm trying to wrap some text around a raspberry shaped image that is placed to the right on the page. I would realy liked the text to follow the shape of the Raspberry. Is this possible? Below is a ...
3
votes
2answers
110 views

How to change list of figure entry from 3.1.0.1 to 3.1.1?

I am writing my report and using the tocloft package. I have used these commands to get desired depth of 4 digits: \documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} ...
0
votes
1answer
43 views

best figure format in terms of resolution?

I am learning latex recently and I want to add figures, charts, maps to my paper. What is the best figure formats in terms of resolution? I have some charts and it has many numbers on them. The ...
7
votes
2answers
5k 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 ...
4
votes
1answer
34 views

Issues with tables being moved to next page due to empty space

I have an issue with my tables not wanting to fit onto the pages of my document. As can be seen by the first page, there is plenty of room for the tables, but for some reason on page two there is a ...
1
vote
1answer
43 views

Putting figures+caption in the margin

Is there a "clean" way to make figures and their caption appear in the margin? I'm using memoir with the companion pagestyle, so the margin is quite assymmetric and I think it might look nice enough ...
3
votes
3answers
1k views

Create caption without float *and* without caption package?

In the appendix of my thesis, there is a large number of tables and longtables which does not need to float, as they shall appear one after the other just how they fit on the pages (and it is no ...
2
votes
1answer
44 views

include graphics overlapping figures, (sig-alternate.tex) format

I have several images that span the entire length of the two-column sig-alternate format I am using. I would like to avoid images on the same page from overlapping. How can I achieve this? I am using ...
1
vote
1answer
2k views

No caption number for figures and tables

I whant to make some of my figures just without a number. Instead of Fig. 1: Caption. I want simply Caption. I tried to do \caption*, but it doesnt work for me. Even after caption package upgrade. ...
2
votes
0answers
46 views

figure formatting with python

I'm trying to use the python package to automate figure generation for figures containing multiple image files. My output seems okay, except that the imgaes are coming out as a single column, whereas ...
1
vote
1answer
39 views

My table is coming above the title I want it to be

My code is something like this whereas the table is coming above the section "Work experience". \section{Work experience} \begin{table} \caption{Research Experience} \centering ...
3
votes
1answer
32 views

Runaway argument in table, tabular

I have the following code: \documentclass[preprint,12pt]{elsarticle} \usepackage{amssymb} \usepackage{lineno} \usepackage{algorithm} \usepackage[noend]{algpseudocode} \usepackage{mathtools} ...
2
votes
2answers
99 views

Figure as part of a paragraph

I have two paragraphs and one figure. I want to place the figure as part of the first paragraph. I want this order: paragraph1 with the figure than paragraph2 \paragraph{P1} text ...
1
vote
0answers
26 views

Using xcolor package and inserting figures

I have a report with figures. The code that I'm using is very basic and looks like this: \begin{figure} \centering \includegraphics[scale=0.5]{Figures/pic} \caption{Title} \label{fig:name} ...
4
votes
1answer
59 views

Some normal letters from included PDF disappear in compiled document

I have made a figure in Adobe Illustrator, and saved the file as a PDF file. This PDF works fine when opened. I want to include this figure in my LaTeX file as a picture, which is done with the ...
1
vote
1answer
21 views

Side by side figures adjusted to have equal height

I have two graphics of different dimensions which I would like to put into my document side by side such that: The two figures are scaled to have the same height. The two figures take up the entire ...
1
vote
0answers
22 views

How to add horizontal space between two centered subfigures? [duplicate]

I have the following LaTex code: \begin{figure}[H] \begin{subfigure}[b]{0.2\textwidth} \includegraphics[width=\textwidth]{imgs/high_accuracy_Low_precision.png} \caption{low accuracy, low ...
0
votes
0answers
32 views

How can i print the label of a subfloat inside a TikZ node?

I'm laying out a few tikzpictures side by side (made with pgfplots, but I think it should not matter). I'm trying to use the subfig package to be able to reference single subfigures. Everything works ...
12
votes
1answer
184 views

Any progress on Knuth-Plass algorithm?

The pagination problem as posed by Donald Knuth and Michael Plasss is an NP-complete problem. At an intuitive level, this problem is related to the packing problem, so quite difficult to solve. ...
2
votes
0answers
36 views

List of figures: figure numbers appear in incorrect order

The List of Figures in my thesis sorts my figures based on the page number on which they appear. Instead I would like the figures to be sorted based on their figure number. The current sorting method ...
0
votes
0answers
8 views

Latex (TexWorks) not referencing figures properly in minipage environment [closed]

I am inserting two figures into a latex document I am writing. I am using a minipage environment so they appear side by side. When referenced later in the text the first figure number appears ...
0
votes
1answer
9 views

Latex. Figure reference doesn't work

Any idea why the figure referencing of the following code doesn't work ? \usepackage{graphicx} \usepackage{floatrow} \begin{figure}[h] ...
1
vote
0answers
34 views

figure does not appear, however \includegraphics{} does

I'd like to insert figure-environments into my tex document, however the figures do not appear after compiling the file. On the other hand I can includes images without any problems. ...
1
vote
1answer
28 views

Missing $ inserted in python code

I use python3 (with code not from me) to insert data from a database (bsddb3) from the program GRAMPS into a LaTeX document (TeX Live 2014) and I receive the following error messages: ! Missing $ ...
5
votes
1answer
31 views

Is it possible to place a later Figure before an earlier one?

One of the figures, e.g. Figure 3, in my document takes up a whole page so is located on the following page to where it is referenced. This leaves a large blank space on the page before and so I am ...
1
vote
1answer
61 views

How does LaTeX calculate the width of a caption? What is it based on?

A pretty straighforward question... I thought of it while using the caption package, where you can set the width parameter for a caption. I am wondering if there is a better (smarter) way-perhaps the ...
0
votes
1answer
23 views

Wrong page with `\addcontentsline{toc}{section}` after a list of figures

Consider the code presented at the end of this message, with the figure downloadable here (it is just a pdf of a rectangle). The problem is that the \addcontentsline{toc}{section} links to the wrong ...
0
votes
0answers
22 views

Graphic not displaying as a figure

EDIT: I found the solution for the problem. The float package is necessary to use figures in a multicol environment. When trying to insert an image into a document, I am unable to use a figure. This ...
0
votes
1answer
33 views

Different equation position control in the two column paper

In two column paper, I have long equations. I want one of the equations to be appear at the bottom of the current page. I have another equation which I want to be appear at the top of the second page. ...
4
votes
2answers
71 views

tex4ht styling breaks after figure containing tikz drawing

\textbf works in tex4ht before the figure environment, but not after: \documentclass{book} \usepackage{tikz} \begin{document} \textbf{this is bold} \begin{figure}[h] \begin{tikzpicture} ...
3
votes
1answer
122 views

twocolumn / IEEEtran vertical alignment of columns

I'm currently writing a paper using the IEEEtran class (which uses the twocolumn option). When inserting this float figur, it is properly placed, but the second column is also aligned vertically with ...
1
vote
1answer
94 views

Multi-page subfigures using the subfigure package

I'm trying to create figure that contains many subfigures and I want it to span multiple pages. I'm using the subfigure package to create my figure: \usepackage{subfigure} \begin{figure}[!hbp] ...