{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
0answers
9 views

Position shift when adding label to 3D asymptote diagram

I have this strange issue with 3d asymptote diagrams. Without labels they act as a normal figure, but when I add label, the diagram moves to the edge off the page... MWE: ...
1
vote
1answer
113 views

Customize the position of a figure

Hello although this question has been asked several times, I still can't position my figures at the right place. I have installed the float and the here packages. and the code is as follow: ...
2
votes
1answer
105 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 ...
2
votes
1answer
118 views

ieeetran two column figures

How can I have a figure span the full width in ieeetran two column? I have googled and seen people say use \begin{figure*}\end{figure*} but when I do that there is no figure. I want the figure to be ...
3
votes
1answer
51 views

Make a minipage float

I am using the minipage environment to put a table and figure next to each other. Now I would like this to 'float' like a normal figure or table, such that LaTeX decides where to put it (using the ...
0
votes
0answers
37 views

What variables control the space before and after table environments? [duplicate]

Code: \documentclass{article} \usepackage[a5paper]{geometry} \setlength{\parindent}{0cm} \begin{document} text \begin{table}[ht] \begin{tabular}{ |c| } \hline text\\ \hline ...
0
votes
0answers
45 views

Latex subections inside figure - toc shows subsections

I try to put a lot of these elements inside my thesis: \subsection{Maschine} \begin{figure}[!ht] \begin{center} \begin{tikzpicture} \node[fill=gray!10,text width=0.9\textwidth, draw, minimum height=1 ...
1
vote
0answers
18 views

Latex subsections inside figure - toc shows subsections [duplicate]

I try to put a lot of these elements inside my thesis: \subsection{Maschine} \begin{figure}[!ht] \begin{center} \begin{tikzpicture} \node[fill=gray!10,text width=0.9\textwidth, draw, minimum height=1 ...
1
vote
0answers
42 views

Remove the unnecessary white space between figures and the sentences

This is the command I used to have the figures. \begin{figure}[h] \centering \includegraphics[scale=0.2]{ch5} \caption{lalalalal} \label{llaa} \end{figure} However, ...
2
votes
1answer
198 views

Minipage: trouble getting figures at top of page

I'm trying to fit these to flowcharts in one page. This is what I got so far, not so nicely done I think. Any suggestions how I can get the flowcharts at the top of the page, nicely next to each other ...
3
votes
1answer
31 views

Figure numbering with section number, problem with subfigure

I changed my figure numbering to section-style numbering for my thesis: \numberwithin{figure}{section} That's fine, but the only problem that remains in the following MWE: ...
2
votes
0answers
30 views

Meaning of floattype in KOMA [duplicate]

Friends, I've been happily using KOMA for some time now, and yesterday I was intrigued by a particular option when using \DeclareNewTOC: floattype = <number>: The numerical float type of the ...
1
vote
1answer
34 views

to remove unnecessary space between text and figure on same page

What is the command that I can used to remove unnecessary space between text and figure on same page? Below command doesn't do anything \newcommand{\squeezeup}{\vspace{-2.5mm}}
3
votes
1answer
45 views

LaTeX figure problems

I want to include a jpg to a LaTeX document, which I have done many times. Normally, I use put it in a figure environment, the code looks like this: \documentclass[twoside]{article} ...
1
vote
0answers
41 views

How to position wide figures in two column documents

I want to an image at the bottom of a page in a two column document. Using figure* causes the image to jump to jump to the bottom of the document. Is there a way to do avoid this? Here is an example: ...
0
votes
0answers
26 views

Centering \inputminted inside a figure?

I'm using minted package to import some code and also kind of images using ASCII art. I've wrapped the \inputminted with \figure with a caption and all works fine. The only thing I can't accomplish ...
1
vote
2answers
29 views

Image caption within \newfloat

I am using the float package to create my own floats. Now I also want to add an image with its own caption inside, but the caption belongs to the outer float. Is it possible to create something like ...
0
votes
0answers
36 views

inserting figure or table affect \chapter and \section

I am using scrreprt with this preamble: \documentclass[fontsize=12pt,a4paper,oneside, listof=totoc, bibliography=totoc, titlepage, headsepline, DIV12, ]{scrreprt} I have a document with \chapter ...
3
votes
1answer
38 views

Labels do not increment

In my document, I have a lot of short case studies, which I would like to number, just like figures. So I am using this: \subsubsection{Case study \ref{cs:this}: Title} \begin{figure} \label{cs:this} ...
3
votes
2answers
45 views

Placing image in second column of two column page

I would like to use a two column layout and have images and text in the second column begin at the top of the page and continue down with even spacing. I've tried using the multicol package as well, ...
8
votes
2answers
2k views

Wrapping text around multiple figures

I am a beginner in LaTex, but I have to to do this in a hurry: I need to write a macro to handle 2 cases (or one macro for both). 1st case: i have 1 - 3 pictures on the right side, and the left ...
4
votes
1answer
62 views

Implementing marginfigure

sorry for the absolutely beginner question here. I've been looking at the tufte-latex class, specifically the tufte sample book. It makes use of marginfigures, which I believe are provided by the ...
0
votes
2answers
72 views

Adding image file in Latex

I'm trying to add a image file in the middle of report but it always go in the next page. \begin{figure}[h] \centering \includegraphics[angle=45,width=62mm]{images/X} \caption{Diagram} ...
3
votes
1answer
50 views

Continuous numbering of custom float with caption package

I defined a custom environment that allows me to define mathematical problem statements and puts them in a box. Since I have quite a few of them in my report, I decided to properly caption them, which ...
2
votes
0answers
33 views

Ensure float appears directly after `\afterpage` and `landscape`

I have a large (full page) landscape figure that I would like to appear on the page opposite to a large (full page) portrait figure. The landscape figure is generated like so: \afterpage{ ...
4
votes
1answer
64 views

Using LyX, how do you put a table and a figure side by side and caption them Table XX and Figure XX?

I have found solutions for them to be done in normal TeX, but how do I do this in LyX? What I wish to obtain is something like that shown in Table and Figure side-by-side with Table caption above, ...
1
vote
0answers
43 views

Text Wrap with algorithm2e

I'm using algorithm2e for algorithms and for some of the longer algorithms, (eyeballed at > 50% of a page) there is no other text on the page with just an embarrassing amount of white space above and ...
1
vote
1answer
27 views

Hyperref a subfloat figure

Here is a sample code from my document, \begin{figure}[H] \centering \begin{tabular}{cc} \subfloat[$a=0.2$]{\includegraphics[width=2in]{Chapters/BMethods/figures/Airy_Rings_0.pdf}}~~~~~&~~~~~ ...
4
votes
1answer
80 views

List of Figures sorted by Figure number

I am using \usepackage{imakeidx} \usepackage{hyperref} and the command \listoffigures to get the list of figures. Some figures are double-column, some are single-column, and LaTeX does not ...
1
vote
2answers
116 views

Custom geometry for a first chapter page?

On normal pages I have header and no footer. On first chapter page -- I have footer (with page number) and no header. Hence I need: \newgeometry{top=2cm, bottom=1.2cm, left=1.5cm, right=1.7cm} for ...
1
vote
1answer
240 views

Adding a photo on top corner of a two column CV template

How can I add a photo on the top right/left corners to this CV Template ? http://www.latextemplates.com/template/two-column-one-page-cv I tried to use variants of the following code to insert the ...
3
votes
3answers
81 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
1answer
29 views

Figure caption runs off page

How can I get latex to place my figure sufficiently at the top of my page to allow for my caption to nicely fit at the bottom? \documentclass{amsart} \usepackage{graphicx} \begin{document} ...
0
votes
0answers
31 views

figure reference links go just below the figure [duplicate]

Is it common that when you click the reference it takes you just below the figure? If I scroll up, the figure is right there. I am using the standard procedure \begin{figure}[H] \centering ...
3
votes
0answers
75 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 ...
1
vote
1answer
154 views

Problem with side by side figures and captions

I want to have 4 figures side by side and centered in my paper. I am using this code. The problem is that captions and figures are not aligned. It seems captions are in correct position, but figures ...
3
votes
0answers
16 views

revtex incompatible with dblfloatfix?

This minimal example makes my latex/pdflatex from MiKTeX (or TeX Live of a colleague) crash: \documentclass{revtex4-1} \usepackage{dblfloatfix} \begin{document} Hello World! \begin{figure} ...
0
votes
0answers
31 views

Text and caption overlapping on includepdf image

I have recently discovered includepdf for a cropped pdf image I have wanted to insert. However, both the surrounding text and the image caption itself overlaps the image, what do I do?! I've tried ...
2
votes
1answer
48 views

Arrange multiple graphics inside a subfloat

I'm using the subfig package to arrange multiple graphics inside a figure. I'm trying to arrange two graphics vertically inside a subfloat but keep getting an error. I'd like the figures to be ...
0
votes
1answer
35 views

Cannot include caption on figure [closed]

I'm having trouble including a caption on a figure in my thesis. The code I'm using to do this is below: \begin{figure}\label{FillExample1} \includegraphics[scale=0.8]{FillExample.png} %\caption{ ...
0
votes
1answer
27 views

Adding \includegraphics totally abolishes all \citep and \ref links [closed]

I have something very peculiar, and I have been trying for several hours now, without success. I will try to describe it as well as possible. I must say beforehand that I used Word2010 as editor. So I ...
8
votes
1answer
41 views

Prevent the insertion of figure after the footnote

How can I prohibit putting figure after the footnote? I have pretty simple LaTeX code that has a lot of figure environments, and I see the figure is inserted after the footnote. \documentclass[10pt, ...
1
vote
0answers
18 views

latex: how to insert oneside figures in a twosided article?

I'm writing a 2 sided article with latex, but I'd like to insert a figure in appendix with width of the whole page to make it clearer. I tired with this script but it did nothing... ...
0
votes
0answers
34 views

Chapter header is not placed right before pagebreak

I have a document that is followed by a set of appendices. In one of these appendices, I want to include flowcharts as figures that take a whole page. The way I want it to look is as follows: First ...
0
votes
0answers
15 views

Different number in image caption and in ref to figure [duplicate]

I have figure with image like this: \begin{figure}[h!] \centering \label{fig:controlsOpacity} \includegraphics[width=120mm]{img/image_01.png} \caption{some text} \end{figure} then I am referencing ...
1
vote
0answers
25 views

Fine Tuning Float Positioning [duplicate]

How can I make a float have a dedicated page AND be always placed on an EVEN page (ie left page of double sided book)? I explicitly do not want to have certain floats taking up a whole page on the ...
17
votes
2answers
12k views

Change caption name of figures

How can I modify the caption name of a figure? For example I have \caption{This is a figure.} and by default the caption appears as Figure 1: This is a figure. However I want Fig.1 - This ...
5
votes
1answer
405 views

How to place a float at the top of a floats-only page?

I just got a short algorithm on my page, and it keeps getting aligned at the center of the page. But I want to have it aligned at the top, what do I have to do?
1
vote
0answers
34 views

Latex float so no stretching appears, but everything is placed on top

It has probably been already answered, but I cannot find it. If I include images as floats, LaTeX places the last one on a single page in the middle. How do I make LaTeX to put in on the top of the ...
0
votes
0answers
72 views

Unable to use subfigure package together with subcaption packages [closed]

I am using following code to place two sub figures one below another but it is giving multiple error \begin{figure}[ht] \centering \subfigure[Feb 25]{ ...

1 2 3 4 5 24