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

How to get two logos side by side

I need to put a logo left side aligned and a logo on the right side, I also need to add text between both logos? I've reviewed the questions about figures side by side, subfigure and minipage, but ...
0
votes
1answer
10 views

How to save a figure with multiple sub floats to a single pdf file

How to save a figure with multiple sub floats to a single pdf file. Here is the code: \documentclass[12pt]{article} \usepackage[percent]{overpic} \begin{document} \begin{figure}\centering ...
0
votes
1answer
15 views

Float(s) lost in newly defined environment (possible \vbox/\hbox problem)

The following gives me LaTeX Error: Float(s) lost. I saw on Lost float in exam class that this might have to do with the \vbox. Replacing it with an \hbox gives Something's wrong--perhaps a missing ...
3
votes
1answer
33 views

Image vs Text Arrangement [duplicate]

When I write a multi-page paper with imported images, I usually try to group the picture with the text referencing it. Sometimes, there is not enough room at the end of the page for the picture, and ...
0
votes
0answers
14 views

How to layout figures/tables close to each other from the top

How to layout figures/tables close to each other from the top. Here is the test code: \documentclass[12pt]{article} \begin{document} \begin{figure} \caption{A very long caption!A very long ...
4
votes
0answers
28 views

How can I move floats that aren't tables or figures to the end of a document (endfloat for listings)?

I use endfloat to move all figures and tables to the end of my document. I want to apply the same to other floats that I have in my document, for example listing environments. Is there some hack that ...
4
votes
1answer
26 views

Figure caption within quote environment

In order to provide visual contrast, I have decided that I would like to have a certain section of a document I'm writing indented. To achieve this, I've simply been using the quote environment ...
9
votes
1answer
146 views

What are the default placement options for a floating figure in Latex?

The document Using Imported Graphics in L A TEX and pdfL A TEX talks about the different ways to affect where a floating figure is placed [htbp]. But these arguments are optional ... So how is the ...
2
votes
1answer
26 views

Subcaption package error, even without the use of the subfigure package

I have read countless instructions on how to use the subcaption package, and tried several examples. Each time I get two types of errors, which I will post further down. This is my premable: ...
2
votes
1answer
46 views

Float error with PNAS template

I'm attempting to use the PNAS template at writelatex.com however I'm encountering a strange compiling error when the default title is changed to one that is long enough to require a second line, and ...
4
votes
0answers
23 views

Figures on report counter page (without styling)

Context : I am writing a report with article style in latex and I am wondering if it is possible to have : on right page : my usual text, my full report without figures ; on counter page (left ...
5
votes
0answers
45 views

How to show figure captions in Arabic language?

I want to show the caption of the figure in Arabic language. Given the unpredictable interactions with other packages, I tended to keep them in the preamble of the MWE. Questions How to set the ...
1
vote
0answers
39 views

Displaying two plots side by side not displaying titles correctly [duplicate]

I’m writing a report and using the following code to display a bode-diagram. To save some space (I have several of these figures), I’ve displayed them side by side, but the title of the right plots’s ...
0
votes
0answers
56 views

LaTeX - Letter 'f' being swapped with theta symbol

I am rewriting a thesis paper of mine in LaTeX and have been looking around for some good templates. I'm an experienced developer, but have little experience with Tex. Sample Template: ...
8
votes
1answer
47 views

Two identical diagrams inserted with subcaption box come out at different scales

I have two diagrams that are 100% identical except for a red line in the other one. However, when they are included in a figure as two subfigures with subcapionbox, the one with the red line is ...
7
votes
1answer
54 views

How can one make border of text for a figure?

I want to take text and wrap it around as the border of a figure. That is, text on the top, wrapping to sideways text running down the right, wrapping to upside down text on the bottom, wrapping to ...
4
votes
2answers
379 views

How to create this figure?

I have now spend hours by creating this figure - without luck. I have tried different types of tikz, tikzpicture, pstricks and multido usepackage. Can you maybe help me? I would really appreciate ...
0
votes
2answers
65 views

An image side by side in latex

I would like to have two figures side by side in my document. I found an example on here with the following code \begin{figure} \centering \begin{minipage}{.5\linewidth} \centering ...
0
votes
0answers
38 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}{ ...
1
vote
1answer
52 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 ...
3
votes
0answers
22 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
2answers
88 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} ...
2
votes
1answer
43 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 ...
3
votes
1answer
37 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
23 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
28 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?
3
votes
1answer
50 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
3answers
278 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 ...
1
vote
0answers
71 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 ...
8
votes
4answers
187 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
59 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
56 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
28 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
25 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
47 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 ...
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
50 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 ...
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} ...
2
votes
2answers
72 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
63 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} ...
2
votes
1answer
25 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 ...
5
votes
2answers
72 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
128 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
184 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 ...
9
votes
2answers
249 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?