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

How do i use \bmatrix in a subfigure?

I am trying to put two matrices next to eachother with the same caption but am having trouble using \bmatrix in the subfigure environment. here is the code of what i am trying to do: ...
1
vote
1answer
32 views

Insert tables and graph from Excel

I'm writing a report in LaTeX and I'm using excel to calculate, make graphs and tables. What would you recommend me to do to import it to latex? I have tried taking print-screen and import as ...
0
votes
0answers
11 views

Specifying the default behaviour of floats in Koma-Script [duplicate]

I want to specify the default behavior of floats to be htbp and I want to do this in a class definition for the whole document. I already found floatpos in the documentation, but this does not affect ...
1
vote
1answer
20 views

Control the height and the length of a frame

By using the following code, I draw a framed figure that contains an array of 3 rows: \usepackage{framed} \usepackage{float} \begin{document} \begin{figure}[h] \begin{framed} \[ ...
3
votes
1answer
19 views

Floats lost error

I tried to combine this answer: http://tex.stackexchange.com/a/73983/4011 with minipage but got an error: ERROR: LaTeX Error: Float(s) lost. \documentclass{article} \usepackage{showframe}% ...
0
votes
0answers
26 views

New float and \listof command error

I am trying to create a catalogue of photographs using the float package to define a new float called photo. That part worked beautifully. The problem is with the \listof command. When it hits the ...
5
votes
1answer
32 views

Problem with wrapfig and itemize

If I use an image with wrapfig into or near an itemized list, the result is the image overlapped to the text (see picture). I red a lot of posts related to wrapfig and itemize incompatibility but no ...
1
vote
1answer
50 views

Table of tables with captions?

Minimal example: \documentclass{scrreprt} \begin{document} \begin{figure} \centering \begin{tabular}{cc} \begin{figure} \begin{tabular}{cc} 0 & 1 \\ 2 & 3 \\ \end{tabular} ...
1
vote
1answer
25 views

Get the caption of figures to build a personalized list of figures

I would like to build a very simple list of figures (as required by Cambridge Journals). They should be ordered to have a progressive number, thus in order of appearance. First all the figures and ...
1
vote
2answers
17 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
16 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
33 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] ...
0
votes
0answers
11 views

Suggestions for labeling figures in a translation when they're not labelled in the original [on hold]

This isn't strictly speaking a Texnical question but I'm hoping that users here will have some suggestions for this typesetting problem. I'm currently working on the Latex component of a ...
2
votes
1answer
23 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
47 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
53 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
28 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
59 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
39 views

Figure reference doesn't work? [closed]

As a physics students I am quite used to LaTeX now, but I really don't see what I am doing wrong here. This is my code: \begin{figure}[H] \centering \graphicspath{ {./path1/path2/} } ...
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
33 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
22 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
34 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
29 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
39 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
43 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
115 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
0answers
46 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
24 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
108 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} ...
2
votes
2answers
29 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
20 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
42 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
22 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
39 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
80 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
32 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
30 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
40 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
99 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
34 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
43 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
55 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
55 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
22 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
82 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} ...