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

Reference list of figures with autoref in continuous text

How can I create a reference with \autoref{} to the list of figures (or glossary, list of tables, etc.) within continuous text? Minimal Example \documentclass{article} \usepackage{caption} ...
1
vote
1answer
27 views

How to force caption above a custom text float?

I am trying to make a supplementary information text, which I would input to my main document. I want to have the caption above the text and use caption package for formatting of the caption (required ...
2
votes
1answer
62 views

LaTeX keeps putting my figure alone in last page [duplicate]

everyone. I'm writing my thesis and I'm having some trouble with \subfigure package. I have this code below in some part of my text: Some big text with a few explanations here... \begin{figure}[!h] ...
2
votes
1answer
44 views

two spanning figures in one page

I am using acm template and have two figures that need to span both columns. I put them like the following: \begin{figure*} \begin{subfigure} \includegraphics{fig1} % size is 6.4cm x 4cm ...
0
votes
0answers
98 views

Table and longtable centering and caption alignment

I want to format table and longtable in a special way: 1) table/longtable should be positioned to the center of the page 2) table/longtable caption should be positioned between left and right ...
0
votes
1answer
71 views

PdfLatex - images does not appear in pdf document

I'm compiling my .tex file with pdflatex. I've included graphicx package to insert some images, but the figures don't appear in the resulting pdf file. I've tried first to include a pdf file, then an ...
0
votes
0answers
30 views

Split algorithm over two pages, inside a for loop [duplicate]

I have found questions similar to mine, but none of the solutions given solves my problem. Because my algorithm is too long to fit on one page, I want it to be split on two pages. Solutions I've ...
2
votes
2answers
97 views

How to insert image in conference paper?

I'm learning latex now in college, and I've tried everything I found on the internet but it is not working. I'm making a conference paper, that has two columns. I want to insert image that will ...
0
votes
0answers
19 views

Multicolumn custom float

I use these package and bunch of instruction to get a custom ruled float named "example" \usepackage{float} \floatstyle{ruled} \newfloat{example}{tbh}{exam} \floatname{example}{\textsc{Exemple}} ...
2
votes
1answer
42 views

how can i give a figure an extended caption without it going in my table of figures? [duplicate]

I am writing my minor thesis which includes a number of tikz figures, which are all listed in a table of figures. the table of figures gives the figure number, and then the title of the figure, as ...
0
votes
0answers
27 views

LaTeX keeps placing floats above section headlines

I followed the accepted answer to the question on how to Start new page with each section but LaTeX still puts a float object on the top of a page, above the section headline. Instead, I want this ...
3
votes
2answers
77 views

Footcite in Float Caption

Is there an easy workaround for using \footcite{...} command in figure/table captions, to produce the same citation formatting in the footer as if the citation was used outside of the float. At the ...
2
votes
1answer
44 views

Distance between caption and figure

I have used this code but there is unsuitable distance between caption and figure. Can anyone help me? \documentclass{article} \usepackage{graphics} \begin{document} \begin{figure} \centering ...
1
vote
1answer
41 views

Problem with adding figure

I am trying to add a figure. the code is compiled without any error, but in output file figure is not fitted well and is placed over text and in two column. Can anyone help me? \begin{figure} ...
1
vote
1answer
82 views

How to decrease horizontal and vertical space between figures?

I want to insert 24 figures each two of them side by side. I'm doing this through \minipage but I'm not satisfied with the result because although figures appear small but I can have just 4 of them in ...
3
votes
1answer
121 views

Tikz - code suggestion?

Tikz: I would like to draw a figure in optics, a laser. See image. Can anybody help me? Any suggestion for code? Here's the MWE: \begin{figure}[htb] \centering % ...
2
votes
1answer
103 views

How to print a table and figure side-by-side in knitr

I see a lot of posts on putting figures side by side with tables without knitr, and posts about putting tables next to tables and figures next to figures in knitr, but nothing on how to put a figure ...
0
votes
0answers
30 views

How do I include figure or equation references inside algorithm environment in Lyx?

I would like to cross reference figures (and also maybe equations) inside the algorithm environment in Lyx but could not figure out how to do this. Help please?
2
votes
1answer
112 views

Is it ok to use vbox instead of figure for floating elements?

I started using vbox instead of the figure command for tikz drawings and for text that I do not want to be over the next page like so: \documentclass[oneside, pdftex, a4paper, 12pt]{scrbook} ...
3
votes
2answers
50 views

Full-page figure with preceding caption

I have a large figure that takes up a full page in my dissertation, leaving not enough room on that page for its caption. The figure must be a fixed size, I can't scale it down. The caption must ...
0
votes
0answers
27 views

Switch a vertical Letter size frame to a horizontal Letter size frame at a specific page

Is there a way to change a vertical Letter size frame to a horizontal Letter size frame in the revtex4? I have a huge figure which suits better in a horizontal Letter size frame. For example, in ...
0
votes
1answer
58 views

Replicating a figure in Latex

I am a beginner in Latex and i need to replicate the following image, but I am having trouble doing it and I don't know what packages I need in order to replicate it properly. I tried the TikZ package ...
0
votes
0answers
28 views

Add text to a specific page at a specific position

Well in our style guide we have the "\makecover" to create a cover page - we're not allowed to actually change this as it should adhere to standards. However this coverpage includes already a ...
3
votes
2answers
89 views

Problem in putting figures in 2X2 using subfigure

I used this code: \begin{figure*} \centering \begin{subfigure}[t]{0.45\textwidth} \centering \includegraphics[width=0.45\textwidth]{Figs/fig7.eps} \caption[Network2]% ...
0
votes
0answers
25 views

Border around image is clipped

I want to add a border around a PNG image so I followed the steps here: How to add border for an image? My resulting code is: \begin{figure} \centering {% \setlength{\fboxsep}{0pt}% ...
0
votes
0answers
17 views

Full width landscape image in koma script [duplicate]

I need an image the biggest possible and then show it in landscape. I use koma options in a classic thesis flavour. I don't find any solution to have it bigger than the textwidth but staying in the ...
2
votes
1answer
58 views

Massive gap between text when I force my figures to appear where I wanted it to be in a two-column report

I want the text to fill up the massive gap shown in the picture below: This is to code I used: \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \usepackage{float} ...
3
votes
1answer
205 views

Package `fixltx2e` conflicts with `float` and cannot be resolved in Lyx

The latex package fixltx2e conflicts with float and prevents using the option H for floats. This can be solved in LaTeX if fixltx2e is loaded prior to float. However, this doesn't work in Lyx, and an ...
1
vote
1answer
43 views

Figure disappears if a new page is added before it

In the experimental section of my Master's thesis in chemistry, I'm using chemnum to numbering chemical coumpounds. The problem is that the figures disappears when adding a \newpage in front; see ...
1
vote
1answer
34 views

plots and relative table on the same page

I have 4 plots and 4 tables: the tables define tha values used in the plots. I wish to have a layout of this kind: table A plot A \newpage table B plot B and so on. All plots are .jpg figures. ...
0
votes
0answers
41 views

How to use the outdated \subfigure package to align 3 images

I would like to create a figure that has 3 images, one large long figure on the left, and two small figures on the right, exactly like the image in this link: How to stack two subfigures next to a ...
2
votes
1answer
45 views

Scheme on a clear page

I am writing thesis using Lyx, and I'm almost done but I have a strange problem. Few Figures and Schemes are moved to a new page if they don't fit a page which is fine, but I don't understand why ...
5
votes
2answers
137 views

Modifying the “Figure X” text

In LaTeX, it is usual to insert a figure with this structure: \begin{figure*}[] \centering \includegraphics[width=\textwidth]{fig1.eps} \caption{A two line caption} \label{the_label} ...
1
vote
1answer
47 views

Table positioning and floating problem [duplicate]

Here is my question. I want to put my tables exacty where I want in document so I use \begin{figure}[H] code. but then, this problem appears. If table does not fit the page, LaTeX puts it next ...
2
votes
1answer
64 views

endfloat leaves space even when marker text off

I am using endfloat to process all my tables at the end of my document. I am also using the option to suppress in-text markers. However, endfloat still seems to insert a space where the marker would ...
3
votes
1answer
76 views

Per section figure numbering - reset counter each section

I would like to achieve book like figure numbering for my article class document. MWE: \documentclass[11pt,a4paper]{article} \usepackage{graphicx} % optionally - this creates: Figure 1.1 ... Figure ...
3
votes
2answers
68 views

Placing a minipage or a table on top of the right column

I am new to TeX, but I cannot find a solution to my problem anywhere. I have some text in two columns just after a page wide image (and this is not a problem). But I would like to add a little table ...
2
votes
1answer
31 views

Referencing subfigures/Increasing figure counter

There is a problem with referencing subfigures. When I add the line containing \caption{}, everything works perfect, but caption of a figure must be below the figure. How can I solve this ...
1
vote
1answer
89 views

How can I add this figure below in my latex file?

I have this image that I want to add in my latex file: Here is my MWE: \usepackage{graphicx} \usepackage{amssymb,amsthm} \usepackage{natbib} \bibpunct{(}{)}{;}{;}{,}{,} \usepackage{xr-hyper} ...
0
votes
1answer
24 views

Organizing floats in a multi-file project

I find it convenient to manage my papers on a one-section-one-file basis. However, I also find it convenient to have my figures defined in the corresponding section. Unfortunately, these two ...
2
votes
2answers
105 views

How can you automatically continue a figure on to the next page?

Below is my code, I have 5 figures (a, b,c,d,e) under Figure 1.. i want them to continue on the next page and not stuck in the middle. I want them to be one under the other i.e. vertically like the ...
2
votes
1answer
131 views

Side-by-side algorithms in two columns paper

I am trying to put two algorithms side-by-side on a page so it is easy to compare their differences. I am using the acm template, algorithm2e package and minipage environment. but I get this error: ...
1
vote
1answer
33 views

Make a float “between” parts

Well say I have a float (figure/table) - how can I make it so this float is always before a certain piece of text (and always after another). If the float would switch to the page the next it should ...
2
votes
1answer
66 views

Beamer — Revealing image in one minipage moves stuff in the other minipage

I have two vertical minipages and when I reveal a picture in the right minipage, the text in the left one moves down a bit. I tried to use the columns environment, but I get the same result. I'm ...
3
votes
2answers
39 views

minipages in fbox horizontal misalignment when figure is included (not float)

I am trying to place some text and a figure next to each other and trying to avoid wrapfigure at the same time :-) Placing two minipages inside a framedbox works just fine: the text can be aligned by ...
0
votes
0answers
20 views

Tables obscuring a graph inserted as a pdf page in landscape orientation

I want to insert two graphs (full page) in pdf format. They must be in landscape orientation. I tried the following at the end of the document: Here is a MWE: \documentclass[12pt]{article} ...
2
votes
1answer
78 views

Place figures after evoking the figure* environment using fixltx2e

I know there is a couple of questions about placing figures, tables, floats in general as in, e.g., Keeping tables/figures close to where they are mentioned. But my question is different. I am using ...
2
votes
1answer
29 views

Inserting \begin{figure} and \begin{table} enviroments into the \AtBeginDocument{} command

Is it possible to insert either the \begin{figure} ... \end{figure} or the \begin{table} ... \end{table} environments into the \AtBeginDocument{} command? Consider the MWE below: ...
5
votes
1answer
44 views

Prohibiting figures from the left column

Is it possible to have a twocolumn document with text and figures, where text can appear in either column, but figures must be in the right column? This question is superficially what I need, but it ...
5
votes
1answer
133 views

Is there a dummy package like Lipsum or Blindtext for Tables and Figures?

Lipsum and Blindtext offer paragraphs, lists, and even whole documents of dummy content for testing LaTeX layouts. Is there a package that will generate tables and figures in a similar way?