{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
2answers
49 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, ...
3
votes
2answers
171 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
48 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 ...
1
vote
1answer
97 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 ...
4
votes
1answer
52 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 ...
2
votes
0answers
69 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
41 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
112 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} ...
1
vote
0answers
44 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
97 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 ...
3
votes
2answers
56 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 ...
3
votes
1answer
67 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 ...
2
votes
0answers
57 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 ...
1
vote
0answers
47 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. ...
2
votes
1answer
65 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
41 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 ...
0
votes
1answer
51 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 ...
1
vote
1answer
97 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
0answers
27 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
48 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. ...
1
vote
0answers
27 views

insertion picture in latex problem [duplicate]

I'm using latex editor to insert a picture. When I view the output in pdf file the "Diagram.jpg" appear above the picture. How I can remove it? the code written for insertion is: \begin{figure}[h] ...
3
votes
1answer
67 views

How to add logo at exam class with two column?

I have a problem about "How to add logo at Exam class with two column ?". My MWE like this : \documentclass[11pt,addpoints,answers,twocolumn]{exam} \usepackage{graphicx,lastpage} ...
1
vote
1answer
74 views

Removing white space in text after the image moves

I'm writing a thesis and have about 80 figures. The text leads up to the figure with a single line space: ....text text text text. \begin{figure}[h] .... \end{figure} More text, and so on... My ...
1
vote
0answers
25 views

Figure environment not compiling onto pdf [closed]

I'm trying to get the following image to show up in my document: \begin{figure}[h] \includegraphics[width=\linewidth]{experimentalapparatus} \caption{Experimental Apparatus. Copied from Dr. Wes ...
2
votes
1answer
57 views

Table caption above, figure caption below in ConTeXt

My definition looks like this: \setupcaptions[location=top] \setupcaptions[way=bysection,prefixsegments=section,headstyle=\bf] And placement of tables ...
5
votes
1answer
60 views

How can I stop revtex from sending a tall figure to the end of the document?

I am writing a two-column document in revtex 4.1 and I have a very tall figure, which revtex insists in sending to the very end of the document. The figure is tall but it is short enough that it will ...
1
vote
0answers
88 views

Force placement of sidewaysfigure

I have several large figures which need their own page. I would like to force the figures to occupy adjacent pages, starting from where I place the code for the first figure. Regular figure ...
2
votes
1answer
124 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 ...
0
votes
0answers
20 views

LaTex typesetting name of figure next to it [duplicate]

I can't seem to figure this out. I have a figure saved in the same folder as my .tex document. If I enter: \begin{figure}[h!] \centering \includegraphics[width=0.5\textwidth]{loads and supports} ...
1
vote
1answer
20 views

Figure moves downwards

I'm using the below script to display a figure (long one which fits a whole page) and for a reason (I don't know) it moves downwards in below the text when the text finishes.So briefly I reference my ...
6
votes
1answer
75 views

List figures with \listoffigures but don't show the figures themselves

For a journal submission, I need a list of figure captions at the end of my manuscript but they explicitly asks not to include the figures themselves in the document. I have added \listoffigures at ...
3
votes
2answers
93 views

newcommand for pictures

I am writing my thesis and I want to include pictures via a single command. I am fairly new to LaTeX, so I do not really get it. So far I tried this: \newcommand{\pic}[4]{ \begin{figure}[h!] ...
2
votes
1answer
35 views

Troubles for fit this floating table to the page

Sorry for the question but I have the following MWE: \documentclass[fontsize=10pt,paper=letter,headings=big,bibliography=totoc,DIV=9,headsepline=true,]{scrbook} ...
0
votes
1answer
43 views

Modify list of figures in .sty file

My .sty file has the following code for \listoffigure: \RequirePackage{ifthen} \RequirePackage{setspace} \RequirePackage{comment} \RequirePackage{epsfig} \usepackage{sectsty} ...
4
votes
1answer
73 views

How to know the *best* figure dimensions

How do I know which dimensions are best for the figures I want to include in my book? I know about \textwidth, \linewidth, etc. but is there an automatic way to adjust the figures in an appropriate ...
0
votes
1answer
34 views

Two figures side by side - caption

I have two figures side by side in my work and I need to add captions to them. However when I add captions they are not in line with the figures. Is anyone able to help me? Thank you very much. This ...
3
votes
1answer
50 views

why subfigure doesn't occupy the full textwidth

I have 5 subfigures with width set to be 0.2 \textwidth, I want them to be in one row, but I have to set their width smaller than 0.2 to do that. Does anyone know the reason? Thank you!
3
votes
2answers
55 views

Two captions, one figure, one line

I have a figure that contains two images side by side. I want the first to be Figure 1 and the second image to be Figure 2. I'd like to have the caption written beneath both of them. ...
3
votes
2answers
58 views

How to create new subfloats?

Using \newfloat, new float environments can be created and as exemplified in this post, I created a new float called suppfig but I want to add subfigures in it. When I simply add subfigures inside it ...
1
vote
1answer
27 views

Global setting of adjustwidth is ignored by figures

I have a long document which format I don't want to break. My aim is to shift the entire content to the right; so basically if I increase the right margin by 1cm I want the left margin to decrease by ...
0
votes
1answer
41 views

Page content turns back to portrait within `landscape` environment

I have some wide tables, so I decided to use landscape orientation to show them. I use the landscape environment from the lscape package to achieve this. Unfortunately, I am experiencing some strange ...
0
votes
3answers
45 views

Using a table inside a figure tag, otherwise changing table caption to figure

I've used a table of figures in order to format their presentation and order. But essentially the whole thing is a figure, so I want it now to get "Figure 5" as a caption. To do that I guess I have to ...
1
vote
1answer
51 views

Adding figures on first page of documentclass article

I'm using the default article documentclass for a document that is just supposed to hold the accompanying figures for a paper. This is what I'm doing: \documentclass{article} \usepackage{graphicx} ...
1
vote
1answer
53 views

One-column figure in a two-column document : top and bottom alignment with text

I have a tall image in a figure float in a two-column document that I want alone in a single column. I would like the top of the image and the bottom of the figure caption to be both vertically ...
1
vote
2answers
64 views

Border of pictures are not coming in longtable

\begin{longtable}{|lllllllll|} % [ht] \caption{Create } \\ %\label{step 3} \hline \multicolumn{3}{|l|}{\textbf{Prefix}} & ...
1
vote
0answers
198 views

Figures generate improper text spacing/breaking with IEEEtran and latexrelease package after MiKTeX update

After updating MiKTeX on 23-April-2015, compilation of my TeX files that use the fixltx2e.sty package was broken. According to the LaTeX News Issue 22 article, the fixltx2e package has become obsolete ...
1
vote
1answer
42 views

Setting margins below and above figures does not have any effect in beamer

For the sake of using captions I'd like to put my graphics into a \begin{figure} ... environment. Doing that a white space is added before and after the picture, table or whatever. This answer is ...
3
votes
1answer
32 views

spanish and lost figure

I want to use \usepackage[spanish]{babel} because I am writing a text in Spanish language. Now, when I make that, the figures get lost!, they cannot be read any more. The changes that I expect are ...
1
vote
0answers
39 views

Keeping tables / figures (floats) on either the current even (left) or odd (right) page

I'm writing a two sided LaTeX document and would like tables / figures (floats) to be depicted ) in the best case, immediately after the end of the sentence in which the float is referred to with ...