{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)

3
votes
1answer
57 views

Can I disable \RequirePackage without modifying a document style?

I have a custom (provided by someone else, not in latex repos) document style that loads flafter package in its style definition by unconditional \RequirePackage{flafter}. I want to use this style, ...
2
votes
1answer
36 views

How to run a tex file without showing the figures

I have a large tex file which includes a lot of figures, and I would like to know how much text I have written. (I use texshop to run my files)
1
vote
3answers
56 views

Lyx IEEE Transactions Figure Label Nonstandard

I am using the IEEE transactions template in lyx and I noticed on the figures instead of saying "Fig.1" or "Fig. 2", the figures are labeled as "Figure 1." or "Figure 2." I looked at the most recent ...
6
votes
1answer
95 views

Include figure on the same page above \chapter

In a book, with the book documentclass, I'm typesetting I want to include a figure above the \chapter title. This however has turned out to be hard. With the following code: \chapter{Uppväxt} ...
5
votes
1answer
62 views

\marginpar inside figure environment fails

I am working with marginpar to put some comments in the margin of my document. In one case I would like to put a comment on a caption of a figure, a MWE of which looks like this: \begin{document} ...
0
votes
1answer
34 views

How to change Figure Label? (Fig.: n instead Figure: n) [duplicate]

This question seems to be asked a lot. I tried some different solutions and any of them did not work. My figure caption is displayed as Figure 1: Caption Here But I want to display: Fig. 1: ...
4
votes
3answers
52 views

Multiple captions under a single figure

I have a figure (lets say a picture of a couple ) for which I want two subcaptions (1 a that will be under the first half of the figure and will show the man and 1 b that will be under the second half ...
4
votes
1answer
33 views

Separating two huge images into two pages

How can I seperate two huge images into two pages? I tried \newline but no success. \documentclass[12pt]{book} \usepackage{subfig} \usepackage{caption} \usepackage{graphicx} \begin{document} ...
1
vote
2answers
49 views

How to have image span two columns without a page break

I'm making a document with two columns; however, I'd like the first page to server as a cover page with a title spanning two columns and a cover image doing the same. I tried to do it as follows, ...
0
votes
0answers
64 views

Is there a way to embed Type 1 fonts into an Encapsulated PostScript file?

The solution to "pictures in TeX" I first encountered in the TeX-implementation "TeXtures", produced by Blue Sky Research in Portland, Oregon. This solution requires you to import an eps-file by means ...
5
votes
2answers
135 views

How to switch off “figure” in algorithm2e only in certain cases?

Suppose the following situation. Algorithm2e should have the global option "figure", i.e. an algorithm is included in Figures. However we need to switch off this property only in certain cases (to ...
2
votes
1answer
65 views

Switching from two columns to one column environment and back

I am using a two-column template to write an article in LaTeX. I would like to insert in the text tables which have one column only. Is there a way in which I can switch from a two-column to a one ...
0
votes
0answers
13 views

figures and text do not appear in the right order [duplicate]

That's my code \subsection{Here is the subsection} Here is the text\\ \begin{figure}[htbp] \centerline{\resizebox{\width}{5cm}{\includegraphics[scale=0.5]{r1.png}}} \caption{Here goes the ...
0
votes
2answers
40 views

Enforce figures to be placed in the same section [duplicate]

I'm having some sections in a report with more images (figures) than text. I include the images in the following way: \begin{figure}[h] \centering ...
2
votes
1answer
38 views

Two-columns figure at current page (below other figure)

I'm wondering if it is possible to show a two column figure in a page where another figure has already been displayed. In other words, I didn't want to spawn the two column figure to a new page. I ...
1
vote
1answer
70 views

Font size of figures and table captions

I need my figure and table captions to be of font size 8pt, how do I achieve this?
2
votes
3answers
77 views

How to place the left subfigure more left?

I have the following code: \begin{figure}[h] \centering \subcaptionbox{Heron's wind-powered organ}% [.4\linewidth]{\includegraphics[scale=0.58]{Figures/200px-Heron's_Windwheel}} \subcaptionbox{The ...
0
votes
1answer
41 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
62 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
36 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
61 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
55 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
54 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
46 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
47 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
34 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
22 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
82 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
37 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
39 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
37 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
59 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
30 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
31 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
37 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
61 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
47 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
50 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
42 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
69 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
29 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
57 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
35 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
89 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
71 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
33 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
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} ...