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

4
votes
1answer
270 views

Placing listing and figure side by side in memoir

I am writing a document using the memoir class where I want to place listings (with the listings package) and figures side by side. My first approach was to save the listing in a box and use subbottom ...
3
votes
1answer
911 views

Insert graphs and text side by side

I wanna know how can I draw graphs and arrows with text, side by side in Beamer as shown in the figure of this question Drawing arrows in beamer Can someone post the code?
1
vote
1answer
4k views

Add source to figure caption

How can I add a source to a figure? I need to add \ref, \cite or just free text. Something like that: \begin{figure} [ht] \centering \includegraphics[width=0.95\textwidth]{res/figure.pdf} ...
0
votes
1answer
509 views

Vertical space between headlines, tables, images and the following text too large

Is there a way to globally set a value (or minimum and maximum value) for the vertical space between, for instance, headlines, tables, images and the like and the following text. Right now I have ...
18
votes
4answers
650 views

How exactly does \def\p@figure{Figure~} work?

I took this line from my thesis style and added it into my document (preceded by \makeatletter) and what it does that whenever I used \ref{figureid} instead of putting just the figure number, it puts ...
13
votes
3answers
16k views

Border or frame around figure

I'd like to place a border / frame around my figure. The figure is a bunch of equations: \begin{figure}[ht] \[ eqn 1 \] \[ eqn 2 \] \[ eqn 3 \] \caption{\label{myfig} My caption.} ...
12
votes
2answers
2k views

How can I place a double-wide figure float (ie, figure*) on the bottom on the first page of a two-column document

In what I would like to be a two-page, two-column document with two wide (figure*) figures, I need one to be on the bottom of the first page, and one to be on the top or bottom of the second. ...
10
votes
1answer
505 views

How to make all figures float on the outer margins of two-side document?

I want to make a double-sided problem booklet that contains several questions. Each question has a distinct number and may have zero or more figures. Each figure has a caption and floats on the outer ...
10
votes
1answer
3k views

List of figures: source below image caption?

I'm relatively new to LaTeX and currently working on a paper. In my list of figures, I'd like to have a structure like this: Fig. 1: <Title of figure> . . . 1 ...
9
votes
2answers
1k views

Extra page at beginning of appendix containing big figures

I have an appendix that contains two full-page figures. The first page of the appendix is always blank except for the title -- I suspect this is a common problem with appendices of full page figures. ...
9
votes
1answer
229 views

How can I create a chapter with graphics only divided into different sections?

I'm trying to create a chapter with pictures only, but keep running into troubles. The chapter is an appendix, where only some graphics should be displayed, placed in different sections. I don't need ...
8
votes
2answers
2k views

Equivalent of CSS “float:left;” for images

What I am try here is have the image on the left side and it should be surrounded by text on the right and bottom side. For example how can below image_3.png float to left? \usepackage{lipsum} ...
8
votes
1answer
742 views

Replicate Figure w/out Inserting New Entry in List of Figures

I would like to replicate a figure in Chapter 3 within Chapter 6 such that the figure is displayed and optionally, it has the caption and Figure number of the figure in Chapter 3. If that is not ...
7
votes
1answer
599 views

References inside floats as footnote bibliography

I'm working on my thesis and I would like (for the sake of readability) the references to appear at the bottom of each page as footnotes, as well as at the end of the text, in the bibliography. This ...
7
votes
2answers
3k views

subfigures with memoir

I switched to memoir and stopped including subfig and now all my subfigures interpret the caption as actual text, i.e., "[caption...]" shows up in the document with the square brackets. How do I have ...
6
votes
1answer
195 views

TikZ's extended line penetrates the figure caption

Here is an example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}\centering \begin{tikzpicture}[extended line/.style={shorten >=-#1,shorten <=-#1}] \draw [very ...
6
votes
2answers
727 views

Spacing between figures and texts

I'm having some issues dealing with figures. It happens that when I have a page with some text and then it comes a figure, with H property, who doesn't fits into the same page as the text, the text ...
6
votes
1answer
461 views

How to use figure inside a exercise environment?

Trying to use figure inside an Exercise environment (exercise.sty) gives me "LaTeX Error: Not in outer par mode." Example: \documentclass{article} \usepackage[]{exercise} \begin{document} ...
6
votes
1answer
4k views

\renewcommand\tablename{name} does not work

I am completely noobie in LaTeX. I need to change table name in all captions. But when I write \renewcommand\tablename{newname} at the beginning of document, it doesn't do anything. It's still "Table" ...
5
votes
2answers
128 views

Three 'side to side' figures using minipage

I'm trying to set up a main figure containing three sub figures. The idea is to split them in such way that it shows a two columns figure where the second column is made out of two sub figures located ...
5
votes
1answer
1k views

floatrow: Changing the formatting of table footnotes

The floatrow package, which is useful for customizing the layout of floats, also allows to add footnotes as well as additional explanations (besides the caption) to tables. (The main commands are ...
4
votes
2answers
4k views

Too much space around wrap figure

I am using the wrapfig package to have my text around the figure but there is too much space around it as you can see below. Here is the code that I am using, I looked at the wikibook on LaTeX for ...
4
votes
2answers
3k views

Inconsistent rotations with \sidewaysfigure

In my document I'm largely using \sidewaysfigure. However, this results pictures with inconsistent placement and direction of included pictures and captions. By inconsistent I mean that figures and ...
4
votes
1answer
2k views

Numbers of figure references

I use enumerating of figures within the section \renewcommand{\thefigure}{\arabic{section}.\arabic{figure}} however, when I use a reference to subfigure, instead of 1.1 (a) I get 1(a). How should I ...
4
votes
1answer
260 views

Avoid line break after macro

The following example produces a line break after the second text. \define[2]\smallfigure{\placefigure[margin][#1]{#2}{!}}% \starttext text text\smallfigure{fig1}{A}text text \stoptext The ...
4
votes
1answer
3k views

Ignore figure for list of figures

I'd like to include some figures in my LaTeX document just like every other figure but don't have exactly these figures included in the list of figures. Since I couldn't find a solution I have to ask ...
4
votes
2answers
5k views

sidewaystable vs landscape environment (pdflscape-package) for landscape tables spanning double pages

As explained in several other posts, I'm currently trying to create wide tables. The document is in portrait format A4, but the tables shall be typeset in landscape format. As the tables have more ...
4
votes
1answer
1k views

Numbering figures and tables by their section

I am having trouble formatting my list of figures and list of tables. Currently, my tex document is printing the list in the following manner: 1 Foreign Key Constraint Problem Due to Improper ...
4
votes
1answer
159 views

How to retain figures only with captions in their original positions

The publisher of our book has requested us to modify the source of the book so that only figures with their captions remain retaining their original positions in the document as if the rest of the ...
3
votes
1answer
96 views

How to measure the vertical space that was typeset without placing it into an environment?

I would like to achieve automatic clearing of a {floatingfigure} at the beginning of a new \section for texts automatically created by Pandoc. For this to work, I am in need of a way to measure the ...
3
votes
3answers
1k views

How to wrap around a figure in a theorem-like environment?

I want to illustrate my examples, which are set in a theorem-like environment. Is it possible to wrap the text and equations around the figures? I have read about several packages but I can't get them ...
3
votes
1answer
5k views

Insert image in latex [duplicate]

Possible Duplicate: Force figure placement in text Hi! I'm trying to insert an image in latex with some text around: Here is our image: \begin{figure}[h!] \centering ...
2
votes
2answers
123 views

Plenty of space on page but can't make figures bigger

I am trying to put two figures on one page in latex, without using minipage. But the second figure is moved to the next page at a certain size, even though there is plenty of white space left on the ...
0
votes
1answer
391 views

Figures on left pages, text on right ones with class book (cont.)

In addition to the very useful discussion Figures on left pages, text on right ones with class book, numbering only on right pages, I would like to handle 2 other features: the suppression of blank ...
11
votes
1answer
385 views

\ref, make figure/table reference automatically toggle between “above” or “below”

Is it possible to automatically include a reference to the position of a labeled object (Table, Figure) in text? By this I mean the following: Say I have labeled a figure in chapter 1: ...
10
votes
2answers
2k views

How to put table and PNG next to each other in the same figure?

How can I put a table and a PNG (using \includegraphics) next to each other in the same figure, in the following way? +----+ +-----+ |png | |table| |png | |table| |png | ...
9
votes
2answers
1k views

Figure subnumbering 1a

I'm wondering how to give subnumberings like "2a" and "2b" for separate floats. I know both the subfigure and subcaption packages do the subnumbering but they demand the subfigures be in a single ...
9
votes
3answers
3k views

avoid that figure gets its own page

I have a couple of floats in my document, which contain large Images (it consumes the half of the page). In this case, the figure get's its own page and no text goes on this page. How can I configure ...
9
votes
1answer
375 views

How to place all floats (tables in particular) at a certain point in the document

I would like to place all of the tables in the document at the end but before the bibliography generated by biblatex and the notes printed by endnotes. In other words, I'd like to collect the tables ...
8
votes
3answers
230 views

Changing the number of figure or equation automatically in text by changing the places of figures and equations

Is it possible to automatically reference a figure and equations in text? I meant sth like bibliography references. Moreover, by changing the place of the figures or equations relevant figure or ...
8
votes
1answer
423 views

problem with image rotation

I am facing a weird problem. I am trying to include an eps file into my thesis. The code I am using is as follows: \documentclass[11pt,twoside]{ce} \usepackage{graphicx} \usepackage{wrapfig} ...
8
votes
2answers
401 views

Trouble changing font size in figure legends

I'm trying to set the font size smaller in the legends for all of my figures and tables. The way I was trying to do this was using \AtBeginEnvironment but that doesn't seem to do anything at all. This ...
8
votes
1answer
349 views

How do I create a new command \listofcodes in latex?

In addition to tables and figures, I have a bunch of code pieces. Just like follows: \begin{figure} \lstinputlisting[ language=C++, breaklines=true, keywordstyle=\color{blue}, ...
8
votes
2answers
507 views

Place all floats last without changing numbering

I'd like to place some of my floats (specifically code listings) in my documents in a section at the end, without disturbing the numbering. Currently, I have them numbered within sections, so in ...
7
votes
1answer
545 views

wrong positioning of figure with tabular in xelatex

I recently updated MikTex and it seems Xelatex is not able to place figures correctly anymore. Before updating all figures were shown correctly. I work with Texworks and Miktex 2.9 Here it is the ...
7
votes
1answer
674 views

Change caption of figure for references

I changed the caption of my figures running the following command (I'm using the babel package): \addto\captionsngerman{\renewcommand{\figurename}{Abb.}} If I use \autoref{$LABEL} to reference to ...
7
votes
3answers
4k views

Join figure and table on the same page

I have a figure and and a table and I want to make sure they both appear on the same page. I want both objects to keep their natural numbering and captioning: The Figure should be captioned Figure ...
7
votes
1answer
505 views

Footnote being pushed to after a float page.

I have somewhat bizarre footnote placement in a document that I'm typing. Unfortunately, I'm also having trouble reducing it to a minimum not-working example as this behaviour seems to depend on many ...
6
votes
1answer
5k views

Centering figure captions in IEEEtran

I am working on a paper using the IEEEtran template in LyX. I have run into a problem: While the contents (in this case, a table) of the figure float are centered, the caption is aligned to the left ...
6
votes
2answers
1k views

How can I inhibit LaTeX to float a table across a section boundary? [duplicate]

Possible Duplicates: How to avoid splitting tables between sections. How do I ensure that figures appear in the section they're associated with? I have a couple of tables that ...