{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
1answer
63 views

Multi-page subfigures using the subfigure package

I'm trying to create figure that contains many subfigures and I want it to span multiple pages. I'm using the subfigure package to create my figure: \usepackage{subfigure} \begin{figure}[!hbp] ...
2
votes
1answer
71 views

Setting 4X2 figures in a page

I can't have all the images (4X2) in one page, while it works for 6 images (3X2) and there is enough space in the page. Any suggestion please? \begin{figure}[ht] ...
0
votes
1answer
44 views

problem with distribution of subfigures

I've been trying to arrange my figures in my beamer presentation as the attached example without success, could anyone please give me an example to do so? I like the way it is arranged and the margin ...
3
votes
1answer
89 views

Position tikzpictures side by side

I have the following tikzpictures, and I would like to present them in two columns. However, no matter what I try, whether it be multicol or minipage or subcaption, they stubbornly stay in one column. ...
3
votes
2answers
61 views

Place a figure next to a table

I hope someone can help me how can take a picture next to a table (at \parbox there is a fault). \documentclass{article} \usepackage[a4paper]{geometry} \usepackage{pgfarrows} ...
4
votes
2answers
59 views

placing of floats referenced with varioref

In my text I use \vref{<label>} from the varioref package for referencing figures and tables. In most circumstances this works satisfactory. Exceptions are cases, when in a text line \vref ...
0
votes
0answers
54 views

LATEX: graphics is half displayed in generated PDF [closed]

I have used following code segment to include a figure in my Latex project: \begin{figure}[t!] \begin{center} \includegraphics[keepaspectratio=true,scale = .45]{Figure01} \caption{Coexisting ...
2
votes
2answers
50 views

Center float vertically in space at the end of a page

I have half a page of text, followed by a short table under it, followed a large table on the next page. The short table is placed at the bottom of the page under the half page of text which is ...
0
votes
0answers
37 views

How to get rid of paragraph separation after a float is placed in following page? [duplicate]

I have a large image (about the size of a full page) which is declared between two paragraphs: I write a paragraph. Then I declare a float for this large image (I use !hbt). Then I keep on writting ...
0
votes
0answers
31 views

[h!tp], [H] and [h!t] not working for floats [duplicate]

In my document I have four graphs that I have tried to fix in place under a given subsection and they keep moving to other parts of my document under different subsections. I am using {float} and ...
2
votes
1answer
70 views

How to modify default parameters in the Algorithmic Environment module using LyX?

I'm using LyX together with the Springer Journal LaTeX template to write a document. I'm also using the Algorithmic Environment module to create an algorithm layout within my document. The problem is ...
0
votes
0answers
23 views

Reserve whole page for text then whole page for figure [duplicate]

Are there any LaTeX packages that allow you to have alternating whole pages of text and images? I have quite bit of text in my report with large figures that take up almost a whole A4 page. I would ...
2
votes
1answer
84 views

Listing for TeX : how to add every tex command as keywords?

I'm looking for a way to color all LaTeX commands in a listing. I'm currently using a bad way to do it : \lstset{ language=TeX, ...
1
vote
1answer
41 views

caption close to the table in caption of figure

I need guidance for making the picture below. I can't see to put the caption to the right of the small table (a,b,c), as in the picture below. Any ideas? This is my code: \begin{figure*} ...
4
votes
1answer
45 views

Subfigures appear on different lines when one doesn't have caption

I've got three subfigures in a row, and am setting their heights explicitly, as the first two are different widths, but need to appear the same height. The third subfigure needs to caption (it's just ...
1
vote
0answers
44 views

increase margins of floats page

I have several sections in my article, each with a sizable (~22 lines) code listing explaining the concept of that specific section. I do want to float my listings, as they look nasty if broken off ...
4
votes
1answer
75 views

Probsoln customization of solution environment (set as marginpar)

I'm using probsoln, and I want to put the solution as a marginpar and with footnotesize. Please look at the MWE below. Writelatex won't compile, spitting out LaTeX Error: \begin{solutionnew} on ...
0
votes
0answers
39 views

images are after the references

Images are coming after the references (due to confidentiality i cannot upload the code or snapshots). I am using the elsarticle in documentclass with 2 columns. Using Multicols package. used [!ht] ...
1
vote
1answer
33 views

How to make the pdf file that inserted stayed the position I give?

I'd like to typeset the Mathematica code.My solution is Select it (by clicking on the right square bracket ]). Then, following the menu's File>Save Selection As... and saving as a PDF ...
1
vote
1answer
42 views

Add figures to a minipage

I've been trying to add figures to a minipage in lyx but couldn't really find a way. Does someone know how this is done in lyx?
4
votes
1answer
65 views

Insert page of current document as figure

I'm trying to insert a page (that was already typeset, i.e. page < currentpage) of the current document as a figure. Obviously, one could use something like ...
1
vote
1answer
55 views

Tables with the same height but with different number of rows

I want to put two tables side by side. Each table has its own caption and the two have a common caption. I can do that with subfloat: \begin{table} \centering ...
3
votes
2answers
57 views

Is there a way to put subheadings(for maps) in the list of figures?

In my thesis I am going to have a couple of maps and some pictures. All the files are image files so my plan was to enter them with the\begin{figure} coding. This means that they would all show up on ...
2
votes
2answers
54 views

How do I use \bmatrix in a subfigure?

I am trying to put two matrices next to each other with the same caption, but I am having trouble using \bmatrix in the subfigure environment. Here is the code of what I am trying to do: ...
2
votes
1answer
89 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
16 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
35 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
177 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
50 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 ...
6
votes
1answer
223 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
81 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
41 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
38 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
34 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
110 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
58 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
154 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
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
130 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
22 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
49 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
30 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
150 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
51 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
43 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
125 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
125 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
191 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 ...
2
votes
1answer
114 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
68 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 ...