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

7
votes
0answers
38 views

Adding color package destroys listing centering

I am using @egreg's answer to make listings centered: \documentclass[a4paper]{book} \usepackage[T1]{fontenc} \usepackage[ hang, small, it, hypcap=true ]{caption} \usepackage{fancyvrb} ...
5
votes
0answers
81 views

Assign categories to subsection, the create list of categories (like list of figures)

Basically I'm using LaTeX to organize my sheet music. Each piece of music is a subsection, which shows up in the ToC. What I would like to do is assign a category to each piece of music and then ...
5
votes
0answers
606 views

Figure on A3 page within A4 document

In my dissertation, I got some diagrams that don't fit a single (horizontal) A4 page. Hence I decided to print them on A3 pages that might be unfolded when reading. I followed the instructions in ...
4
votes
0answers
44 views

Identifying long-distance float and footnote references

Many people have asked questions about how to locate float references such that the float will appear near the first reference (note that a similar - but less common - problem exists for footnotes, as ...
3
votes
0answers
39 views

Sub-figures in multiple pages but with one figure caption and showing “continued on next page”

The below code (together with Knitr package in R) creates figures on 3 pages under one caption of "Figure 1: Lots of figure". What I want to have is something like "footer" underneath figures in ...
3
votes
0answers
191 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 ...
3
votes
0answers
73 views

How can I orient a figure in landscape only when it is placed on its own page?

Floats sometimes end up placed on a page of their own. When this happens, I'd like them to be rotated to landscape mode so that they take up the whole page. sidewaysfigure from the rotating package ...
3
votes
0answers
31 views

Arrange subfigure according to the text

I have a little issue. I have a figure made by 5 subifgures. They fill perfectly a page. The problem is that, when I have some lines of text before the image, the figure goes to the next page without ...
3
votes
0answers
125 views

split longtable over even and odd pages (2)

I am a first-time user of LaTeX, trying to typeset my thesis. My problem is that some of my tables are large and do not fit on a single page; both in length (many rows) but some also in width (many ...
3
votes
0answers
58 views

pageslts error: very old endfloat in texlive 2013

The package pageslts complains about "very old endfloat package detected", but the recent endfloat version 2.5d is loaded. A minimum working example showing this error is: \documentclass{article} ...
3
votes
0answers
67 views

Extra page while using simultaneously minitoc and float

I have a problem for a while now: there is always an extra page at the end of my documents. I notice that this happens when I use simultaneously minitoc and float. I track this issue down to this ...
3
votes
0answers
113 views

pdflatex change my text format following after one figure, using this figure's format

I have a figure between some texts. The text after the figure appears to use the figure's format. which is "centered" and "scale=0.65". As well as the following sections appeared in the same page. Can ...
2
votes
0answers
40 views

How to make the appendix appear at the end

I have the appendix page given by \appendix syntax. However, I have some figures that are appearing after the appendix. How to make sure that everything before the appendix appears before the appendix ...
2
votes
0answers
32 views

Interdependencies between subfig, subfigure and subcaption for journal papers

I am using informs3.cls template to write a paper. I have run into serious difficulty when making a figure with subfigures. The problem is that: subfigure package is obsolete. subfig is not ...
2
votes
0answers
60 views

Absolute positioning of an image without overlaying the text

The following will position an image at the specified page coordinates. \documentclass{article} \usepackage{lipsum} \usepackage[demo]{graphicx} \usepackage[absolute,overlay]{textpos} ...
2
votes
0answers
43 views

jpg, png image positioning problems

I have two figures in a row. One is png another is jpg. I thought the image type does not matter, at the end it seems like it does. \begin{figure}[ht!] \centering ...
2
votes
0answers
68 views

How to make “callouts” or “standout blurbs” among a larger body of text?

I'm not sure what the word I need to search for is, to find help if this question has already been answered. In magazines it's common to pick out words from the middle of a body of text and repeat ...
2
votes
0answers
36 views

FPfigure not working

I am trying to put a figure caption on the following page from the figure. It works fine when I run it on a small document but as soon as I try to run in on my thesis master document through a linked ...
2
votes
0answers
169 views

Two-columns wide figure at the bottom of a page with Revtex

The problem is simple: how to place a two-columns wide figure at the bottom of a page with the revtex document class? For those unfamiliar with revtex, it is a two-column style guide used by a number ...
2
votes
0answers
55 views

How to zoom (and apply grid on) subfigures

So I have folders containing triplets of images which all have the same style as shown in an example below It is basically an automatically generated image and a color-bar besides it. I want to ...
2
votes
0answers
45 views

What is a sound way to add wrapped figure support to a letter?

I am using the letter class and would like to put a wrapped figure in the letter. How can this be done properly? Attempting to insert a wrapped figure using the wrapfig package (with a caption) ...
2
votes
0answers
68 views

want to remove space above figure

I am using this code \RequirePackage[demo]{graphicx} % to deal with non-available graphics files \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Title } \begin{columns} ...
2
votes
0answers
43 views

Tables and Figures towards the end

I'm submitting a manuscript and the editing team asked for the following two changes: 2) Please remove the figures from the main text file as they are already uploaded separately in the Figures ...
2
votes
0answers
115 views

mdframed box spanning over page break: prevent images in between

I've run into a problem in a bigger documents where pictures get in between the breaks of mdframed boxes. So the scenario is that the mdframed box should break at pageend if it's to large and not ...
2
votes
0answers
36 views

Placing the floats in the current page or in the previous page

I would like the floats to appear, if possible in the top (or bottom) of the same page where they are defined, or in the bottom of the previous page otherwise (or wherever it fits as near as possible ...
2
votes
0answers
120 views

Placing a figure that occupies 2 columns

Thanks for reading my thread. I have a two-columned IEEE format journal latex, and I want to insert a wide figure. Here is my code \begin{figure*}[ht!] \centering \begin{overpic}{profiles.eps} ...
2
votes
0answers
70 views

Subfigure is not working fine into a beamer presentation -

I have this in the preamble ... \documentclass{beamer} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \usepackage{color} \usepackage{xcolor} \usepackage{graphicx} \usepackage{caption} ...
2
votes
0answers
90 views

Figures much clearer in the internal PDF-Viewer

I have a problem: In my thesis I added some figures via: \begin{figure}[H] \begin{center} \includegraphics[width=\textwidth]{figure.png} \caption{blablabla} \label{Abb.1} \end{center} ...
2
votes
0answers
1k views

A float is stuck (cannot be placed)

I am writing an article using revtex4-1, and I am facing the following warning: MnBi.bbl|1 warning| LaTeX Warning: A float is stuck (cannot be placed) on input line 1. (As from vim's quickfix ...
2
votes
0answers
86 views

TeX capacity exceeded when using mdframed inside figure

Sorry if this question has already been answered before. The following code always produce the silly error: TeX capacity exceeded, sorry [input stack size=5000].<write>Package ...
2
votes
0answers
59 views

providing a list of figure filenames used in tex file

Is there a simple way of getting a list of figure filenames from a tex file? for example if I have included 10 png, 5 pdf and 3 eps files, is there a script that can output the filenames to a list so ...
2
votes
0answers
103 views

Very consistent latex - customized class or KOMA?

This is mostly a thought exercise, but in working on a large document, I've come across some annoying inconsistencies when working with latex. These are usually somewhat trivially fixed, but they add ...
2
votes
0answers
246 views

Rotate Figure using sidewaysfigure according to page number

I have a lot of tables and figures to include in my thesis. I am using sidewaysfigure to include them in a full-page landscape view. I need to put 90 degrees-oriented figures if the page is on the ...
2
votes
0answers
158 views

Reduce gap between a figure and a paragraph

I put 2 figures side by side as follows: \begin{figure} \centering \subfigure[a long sentence a]{% \includegraphics[width=0.23\textwidth]{figures/cells_time_23h29.eps}} \subfigure[a long ...
2
votes
0answers
91 views

Float placement: how can I prevent a float from splitting a paragraph?

I want to use floating figures within my thesis to improve the layout; however, when the float will not fit in the text, it is placed at the top of the next page. This can often be in the middle of a ...
2
votes
0answers
67 views

Longtabu table broken by another float table

I have come across a problem with using longtabu together with tables created in the table environment which makes them float. When a long table is broken across two pages with the longtabu ...
2
votes
0answers
136 views

Is there an alternative for \usepackage[nobottomtitles*]{titlesec}?

Is there an alternative for \usepackage[nobottomtitles*]{titlesec} as it messes up my automatic clearing of floatingfingure? \documentclass{article} \usepackage{mwe} \makeatletter ...
2
votes
0answers
68 views

Place longer figures in appendix

I am writing a technical document that includes many source code listings. I have been asked to place longer listings in the appendix instead of inline. Is there a way to do this automatically? It is ...
2
votes
0answers
176 views

Ensure float appears directly after `\afterpage` and `landscape`

I have a large (full page) landscape figure that I would like to appear on the page opposite to a large (full page) portrait figure. The landscape figure is generated like so: \afterpage{ ...
1
vote
0answers
28 views

Setting paths for different types

I wonder if it is possible to set several paths for different types of images, that im including in my document. Currently im using \graphicspath{{./Figures/}} for saying that, it should use ...
1
vote
0answers
23 views

Prevent full page image in multicols

While placing a full-width image in the multicols environment using \begin{figure*} ... \end{figure*} if the figure is larger than some fraction of the page, it takes up a whole page on its own, ...
1
vote
0answers
32 views

SCfigure won't compile, shows a runaway argument error

I'm trying to create an SCfigure, but the formatting doesn't seem to be working. I have used this same code and it worked fine, but I tried to compile again in a new session and this error showed. ...
1
vote
0answers
32 views

Caption with two figures in a single column

How can I put two figures in a single column, with a label (say a), b) ) on the left and in the middle or top of each figure? I was trying \newcommand{\Inserttwopgf}[6]{% \begin{figure}[t] ...
1
vote
0answers
33 views

make latex to automatically choose the placement of algorithms

I have several algorithms written down in a single file and would like latex to spread them across the document to save spaces. For example an algorithm can be just 3 or 4 lines and another can be 20 ...
1
vote
0answers
50 views

Make paperheight (page length) same as section length

I'd like a document where each section is followed by a page-break but otherwise is one page. The sections have varying lengths, mainly due to the size of the picture(s) in each one. So far what I ...
1
vote
0answers
27 views

How to display a code using lstinputlisting that isn't separated with figures?

This is the code I used: \lstinputlisting[language=Python,breaklines=true]{seminar_ED.py} It works fine with displaying the code over multiple pages when I don't add other figures in the text. But ...
1
vote
0answers
44 views

Tabularx moving table to next page, ignoring optional arguments

Using the tabularx and booktabs packages to include tables I have a problem in my Appendix. A table, when inserted, appears on the start of the next page, above the next appendix's designation and ...
1
vote
0answers
44 views

Simulating a figure-environment

In this question of mine, I asked how to distribute two pictures with some text between evenly (across the horizontal) and got a really good answer. Here's the code of it, for those who don't want to ...
1
vote
0answers
37 views

Place figure captions below figure instead of in side margin?

I'm trying to figure out how to use the Tufte-book layout but place image captions below the image instead of in the side-margin. Does anyone know how to do this? This is for a dissertation and the ...
1
vote
0answers
38 views

A figure-like environment that can contain many subfigures and break over pages: How to align double-column starts after the thing properly?

I have a problem similar to post 11059, i.e., I need a figure-like environment that can contain an arbitrary number of sub-figures. These may take so much space that the figure may span over multiple ...