{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
2answers
61 views

How to make table floats work with preview/standalone environment?

Couldn't make a table float work inside the preview environment: \documentclass[fontsize=16pt]{scrartcl} \usepackage[active,tightpage]{preview} \setlength{\PreviewBorder}{25pt} \begin{document} ...
0
votes
1answer
43 views

How can I avoid blank spaces when I insert a pdf figure?

in the following piece of latex code, I would like to place a pdf figure called sharpideq2 at page 1 among the text rows, avoiding blank space. What I get instead is the figure placed alone in the ...
0
votes
0answers
27 views

Gantt chart is going to beyond the page boundary

I draw a gantt chart under the figure but it is going to beyond the boundary of page. I show my code below; \begin{figure}[h] \begin{center} \begin{landscape} \scalebox{0.6}{ ...
3
votes
0answers
18 views

Dealing with columns while placing a figure at the top of next page [duplicate]

I am using ACM template and having problem while placing the figure at the top of next page. I read threads here, but still instead of placing the figure at the top of whole page it only places it at ...
2
votes
1answer
40 views

Figure numbering

I have a figure composed by 9 subfigures (3 rows and 3 columns). I divided this figure into 2 blocks using the following commands: \addtocounter{figure}{-1} and \addtocounter{subfigure}{1}. These 2 ...
5
votes
1answer
11k views

Vertical space between figures

I really want to get rid of some of the whitespace between figures and subfigures, it is completley unecessary and sometimes causes a page of figures with a third landing on page two with text, while ...
3
votes
2answers
1k views

Referencing a table vs. a figure in LyX, format

Currently, when I reference things using labels I have setup LyX simply inserts the table number. I would like it to insert Table N where N is the table number. Similarly, I would like it to insert ...
5
votes
3answers
264 views

How to create simple funnel in LaTeX?

I have a problem trying to create a simple funnel, as it can be seen on the attached file: I have tried to look at the internet, trying to write the lines, but it won't work. I am using TikZ. The ...
2
votes
1answer
35 views

Insert 4 figures in a square like structure [duplicate]

I want to insert 4 figures in structure of a square i.e. in two rows and two columns, the structure I talk about is given in the image below; Please help me with piece of code. Thanks.
1
vote
1answer
22 views

Lower page number for selected pages

Is there a possibility to lower the page number at a single page where a large figure (float) with a height nearly pageheight is positioned? So the command must probably be used inside the figure ...
1
vote
1answer
157 views

Expand page to use full page height with fancyhdr

I use fancyhdr package and would like to print a large float that exceeds the textheight. Hence I would like to remove the headers and footers. And have the float verticaly centered. I tried ...
1
vote
1answer
26 views

Previous half of page left blank when floating figure

I have a document where I wish to have a block of text then my figure then a block of text below that. I have tried using the [H] option along with the float package. While this does what I want it is ...
2
votes
1answer
22 views

How to chang the colon after figure number to another symbol?

I want to change the colon in the caption to another symbol e.g. Figure 1: this is figure to Figure 1 | this is figure How can I do this?
2
votes
1answer
30 views

Put two figures side by side

There are already several threads that deal with this: they suggest having one figure and putting putting minipages inside, or using the subcaption package and having subfigure environments. However, ...
5
votes
1answer
59 views

Preventing a code listing of multiple pages to be split to several parts

I have a lstlisting that doesn't fit on one page. It continues correctly on another page but instead of putting the last lines in the beginning of the next page it actually splits into three parts on ...
1
vote
0answers
67 views

Importing plots from MATLAB to LaTeX

This is my first time trying to import plots created by MATLAB into LaTeX and it's not turning out very nicely. I have saved my MATLAB plot as a .png file here and an .eps file here. Using the .eps ...
17
votes
1answer
301 views

Optimal arrangement of pictures/boxes in a page

Does anybody come up with a way to automatically arrange a few figures or boxes in a larger rectangle or page? Here it is a real world example: One is producing a beamer presentation. One has 4 or 5 ...
54
votes
9answers
37k views

Using \footnote in a figure's \caption

Maybe this is an easy one, but I struggled with this now too long :) I want to have a footnote in a caption of a figure, see the example. \begin{figure}[!ht] \caption{a figure ...
8
votes
4answers
185 views

Floats in the middle of paragraphs

How would you place a float like this with LaTeX? Note that it's in the middle of a sentence. Normal float placement rules could only find the right page to put the float on. Then it's a matter of ...
3
votes
1answer
57 views

\input in figure environment not centering

I'm making a presentation with beamer, and I've drawn some figures in TikZ that I'm inserting into the presentation using \input{footikz.tex} For some reason the tikz picture is appearing off to the ...
2
votes
2answers
53 views

How can I remove an empty caption line

I'm generating LaTex automagically from a lengthy document that is written in the multimarkdown language, compiled by a software package called Scrivener. It's a workflow that works well, but this is ...
1
vote
0answers
19 views

Why is space inserted at beginning of table or figure caption when using macros to define caption label? [duplicate]

Here is my MWE. As you can see, the problem only happens when we use the macro \suppOrApp. \documentclass{article} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{caption} ...
0
votes
1answer
23 views

Shifting (sub)figure caption in case of merged figures

I have a small piece of code that merges two figures: \begin{figure} \centering \begin{minipage}{.5\textwidth} \hspace*{-1.5cm} \includegraphics[scale=0.45]{images/Figure1.pdf} ...
0
votes
0answers
22 views

Titles directly below a float is causing spacings below the float to increase

I'm using \begin{figure}... \end{figure} with memoir class, and if there is a title (\section, \subsection, \subsubsection) right below the figure, the spacing below the figure is greatly increased. ...
3
votes
0answers
41 views

font size and type in asymptote

I am struggling to find font sizes and types for labels on my math figures in asymptote. I am creating two images which should be essentially the same, but for a sphere and cylinder. I haven't been ...
12
votes
2answers
14k views

Remove space after figure and before text

I have a figure in my paper (I am using IEEEtran package). After this figure there exists a space between the figure and the text. How can I reduce the size of this white space. To be specific the ...
5
votes
3answers
71 views

Figure number adjusted with theorems

I am trying to adjust the figure numbers linked to the theorem it is displayed in. In case of a theorem contains exactly one figure, the figure number will be theorem number; for multiple figures, the ...
1
vote
0answers
48 views

pgfplot same size font in figures and same size figures

Hi I've created figures with standalone and pgfplot package. The figures output size are different to one another but more importantly the font size are different. I would like all figures to be of ...
5
votes
3answers
132 views

How to include addcontentsline on blank page into TOC

\addcontentsline is written to the toc when the page is "shipped out". If the command is on an empty page which is not written to the pdf or dvi it gets lost. Question: How do I get \addcontentsline ...
2
votes
2answers
68 views

latex placing image - how can I put image wherever I want [duplicate]

I am trying to insert an image in the middle of the page, but it is going to the top of the page. why the hell is it happening? I tried this: \begin{figure} \begin{minipage}{\textwidth} ...
4
votes
1answer
62 views

How do I put a figure* before my abstract?

I'm sadly not using double-column abstract, just single-column. This is based on the sigchi document class: https://code.google.com/p/sigchi-latex/ The obvious thing: \documentclass{sigchi} ...
0
votes
0answers
27 views

Table won't stay anchored in two colums article [duplicate]

I'm trying to put a table placed in the two columns of an article. This I can do. The problem is it won't stay in the middle of the text. Here is my code, \documentclass[11pt, twocolumn]{article} ...
3
votes
1answer
61 views

Wide float positioning in two-column document

I am writing a lab report formatted in two columns. It is set to two columns at the beginning by\documentclass[a4paper,11pt,twocolumn]{article}, rather than using the multicols package, because I use ...
18
votes
2answers
2k views

subfigure and subfig packages deprecated

I was using the subfigure package to align multiple small images in a document. However, WikiBooks states that "the subfigure and subfig packages are deprecated and shouldn't be used any more" ...
2
votes
1answer
23 views

How to set the pagestyle on the page a particular float ends up on?

Sometimes, a float is just a tiny bit too large for one page and one would like to remove the page number and hope that nobody notices. \documentclass{article} \usepackage{mwe} \begin{document} ...
1
vote
0answers
20 views

Last element in each row of a matrix getting pushed to next line [duplicate]

The following matrix is not displaying all elements in each row on the same line, the last element in each row is getting pushed to the next line. If I delete the last element then the matrix displays ...
7
votes
3answers
2k 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 ...
5
votes
2answers
68 views

How to place a multicolumn table above a multicolumn figure?

I have a table that spans two columns of a page. I have a figure that also spans two columns. I tried adjusting the h, t and the * in different fashions, but I couldn't get it to work. The figure ...
3
votes
3answers
126 views

Centering a matrix in a figure?

I have a matrix that I would like to be centered in the middle of the page, however it is showing up left-aligned. \begin{figure}[ht]$ \centering \begin{bmatrix} 0 & C_l ...
8
votes
2answers
181 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 ...
93
votes
2answers
152k views

Force figure placement in text

I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code: \begin{figure}[ht] ...
9
votes
2answers
247 views

Three tables side by side, want only one caption

I have three tables and I want to use one caption under them. I tried the following but then nothing prints except the caption - \begin{figure}[!h] \begin{table}[h] \centering ...
2
votes
1answer
22 views

List of <newfloat> with zero caption in text

new Float type: Illustration How to make a list of illustrations, with captions in the list, but for the illustrations to appear in the text with zero captioning - image only.
0
votes
0answers
41 views

Mathematical Symbols in Figure [duplicate]

How can I add mathematical symbols in figure or draw figure and put mathematical symbols on it?
4
votes
2answers
3k views

Use caption and long description for figure

I want to have to following text at my figures: << FIGURE >> Figure 1: Title of my figure which is displayed in the list of figures Here in a new line a long description about the figure, ...
2
votes
1answer
44 views

Listings float with sublistings

I want to have 2 listings side-by-side in a float environment with its own name (i.e. Listing 1 instead of Figure 1) and counter (so that I can have a separate listoflistings besides listoffigures). I ...
4
votes
1answer
50 views

figurename (captionname) changing

I have a problem with my algorithms, I'm using the mcode-package: I would like the caption to say Algorithmus 1.1 for example. If I try it with a figure environment it does not work, because I don't ...
0
votes
0answers
28 views

How to put paragraph after a figure in latex?

I want to put a paragraph after an image but latex always put the paragraph before the image. how can I do it? Thank you.
4
votes
1answer
33 views

Appendix Figure Placement

Sorry for the long message, I'm pretty new to LaTeX, only starting a few days ago to put my thesis together that's due in on Friday. I managed to get most things together but I'm having trouble with ...
18
votes
4answers
361 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 ...