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

12
votes
1answer
5k views

center /verbatim text in /figure

I'm trying to center a the content of a figure that has verbatim text in it, but the verbatim text is always right-aligned: \begin{figure} \centering \begin{verbatim} some text here ...
9
votes
1answer
14k views

Is it possible to scale an entire \begin{figure}?

I have a bunch of LaTeX-output from Gnuplot which I would really like to leave alone. Is there an easy way of scaling an entire figure? Something like \includegraphics[scale=0.5]{...} but just for ...
2
votes
2answers
789 views

About numbering of figures and tables in appendix {elsarticle.cls}

When I am using elsarticle.cls to write papers, I always meet the following problem. If I already have one picture (table) in main text and then I put another picture (table) in appendix, the ...
0
votes
0answers
45 views

Preparing a report but sections are twisted [duplicate]

I'm on a Mac (10.8.2) running with the latest TeX Live from MacPorts working with the latest TexShop. As stated above my sections are twisted, meaning I've a section for the table and one for the ...
0
votes
2answers
7k views

Caption of an image doesn't follow flushleft

Hello I want to place a photograph in a page so i write: \begin{figure}[h] \caption{H Feistel Function } \begin{flushleft} \includegraphics[scale=0.7]{func} \end{flushleft} \end{figure} I face 2 ...
8
votes
2answers
352 views

Consecutive caption numbers without chngcntr?

As many before me I need consecutive caption numbers for figures and tables instead of chapter-based numbers like Figure 1.2. I use scrreprt and the caption-package for my document. I also need roman ...
2
votes
1answer
159 views

Caption on the side of a table

I tried to use the floatrow package together with the approach from the accepted answer from (Caption on the side of a figure) to put my table caption to the right top hand side of my table. However, ...
1
vote
0answers
99 views

How to flow a marginpar that does not fit to next page (or: how to write text with lots of margin notes)? [duplicate]

I analyse an interview transcript and would like to add plenty of notes in the margin. Sometimes these margin notes will not fit on the current page, and thus I would like them to flow to the next ...
1
vote
1answer
110 views

Merge items in list of floats

My seraching creativity didn't provide useable results so far, so I have to ask this question... I have a group of related (figure-like) item types (music examples) which I include in different ways: ...
3
votes
1answer
168 views

Figure spans two columns, but text going over half the image

I am using the float package to force an image to right below where the authors section normally is on a journal paper. Using [H] I get the image to show up in the right place, but the text does not ...
6
votes
1answer
143 views

Using a floatrow environment outside a figure environment

I use the floatrow package to manage my figures. Sometimes one cannot put figures inside a figure environment (e.g. inside a mdframed environment). Hopefully, the \ffigbox macro works outside the ...
4
votes
1answer
299 views

Center subfigures; fix TikZ error

I am trying to center some figures produced by TikZ. In my example, I have three large Tikz pictures that are separate figures. I also have the same three pictures, but this time as subfigures. All ...
4
votes
1answer
121 views

Place floats on a separate page before the referring text

I am familiar with how/why LaTeX places floats in the way it does. I have searched for questions here and have read many answers relating to "floats", "left/right pages", etc., but have not found a ...
0
votes
0answers
55 views

Figure counter and figure label issues [duplicate]

i ve got an issue with Figure counting and, i think, labeling. Though I set the counter for figures at 0, my first figure, that I d like to have counted as 'Fig.1' and that is labeled as ...
0
votes
0answers
32 views

control figure & table placement - specific case [duplicate]

Attached an image of my document output. Notice the last page (bottom-right) is almost empty and contains only a small table. The document continues after this page for a few more pages of text. I ...
11
votes
1answer
129 views

Using a caption label as a title

I have done some searching but not had much luck. I would like to be able to see and use the label of my caption as a 'title' for the caption text. An example: \documentclass[11pt]{article} ...
4
votes
1answer
201 views

floatrow and dirtree clash

I am using dirtree to visualize a directory structure. It needs to be embedded into a float as to avoid problems when a pagebreak occours. This works fine except when loading floatrow which i use to ...
6
votes
1answer
990 views

Referencing equation counter value in custom float caption

I have used the float package to create an equation float, eqfloat, so I can add captions to equations. Within the eqfloat I used the equation environment to typeset the math. I want to keep the ...
1
vote
0answers
96 views

sidewaystable* in two-column document - emulateapj [closed]

I have a big table that I want to display sideways in an emulateapj document, but I get a weird result: \documentclass[]{emulateapj} \usepackage{amsmath} \usepackage{amssymb} \usepackage{booktabs} ...
2
votes
1answer
310 views

Figures are not visible inside minipage

I am a novice in Latex. Recently I am trying to use minipage to show some figures. The code I am using is as following: \begin{figure}[t] \begin{minipage}[t]{\linewidth} \centering ...
0
votes
0answers
44 views

How to make an inset in a figure [duplicate]

Possible Duplicate: Image inside another image How can I have an inset (smaller picture) within a larger picture in LaTeX? is there any function for this or do I have to combine the ...
2
votes
1answer
592 views

endfloat and \Continuedfloat: incorrect numbering for place holders

When I use endfloat and \ContinuedFloat, the table place holders that endfloat puts in don't have the correct numbering (while the tables themselves do). For example if I have a float and another ...
0
votes
1answer
154 views

Display a figure over 2 columns in a 2 column layout on a fixed position

I would like to display a figure in a 2 column document, though the figure has to appear over the 2 columns on a fixed position. I tried this: \begin{figure*}[H] \begin{center} ...
1
vote
3answers
189 views

Centering figure consisting of subfigures

I currently have a graph that uses subfigures as follows: \begin{figure}[!htbp] \centering \begin{subfigure}[b]{0.3\textwidth} \centering ...
0
votes
0answers
51 views

Reducing vertical space between figure and caption [duplicate]

Possible Duplicate: How to reduce space between image and its caption? How do I reduce the space below figures and above their captions, without changing the parameters for tables? For ...
0
votes
0answers
37 views

Continued 'figure' after 'table' Error [duplicate]

Possible Duplicate: ContinuedFloat, and Subfloat The error is associated to the addition of a Caption in a Table when, in the same section, there is a figure split between two pages using ...
8
votes
1answer
2k views

Defining a new type of floating environment

In a document, I need to provide some details about specific topics without disrupting the flow of the main document, so that the details may easily be omitted at first reading. To do so, I thought it ...
2
votes
2answers
573 views

Framed floats and background colors for captions

i wanted to edit my floats. Found the package floatrow and got the desired frames easily for them. Now i would like to add a backgroundcolor to the captions. The problem is that the \parbox, i ...
1
vote
1answer
66 views

How can I set this template so that lengthy code doesn't overshoot the page?

I actually asked the exact question here: http://tex.stackexchange.com/questions/87646/problem-formatting-java-code-in-my-latex-document-overshooting-the-page However I have tried using the ...
1
vote
1answer
3k views

Left column with a figure to the right (Beamer)

I can't understand how to make a column to the left with a figure to the right: Here is one example of what I did: \documentclass{beamer} ... \begin{frame}\frametitle{Title} \begin{columns} ...
2
votes
1answer
205 views

How remove empty line between two subsections?

I am going to insert an image between two subsections. When the image is big, it shifts to next page and remain an empty line between subsections. how can i remove this empty line? and, also i put an ...
1
vote
1answer
5k 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} ...
1
vote
0answers
108 views

Figure goes to the end of the section [closed]

I am writing a paper using TeX, and I want to make this; bla bla.... page of text but talking about Fig.1 bla bla New page with only the Fig. No text New page with text bla bla I ...
2
votes
0answers
79 views

Controlling the rotation direction of the sideways figure environment [duplicate]

Possible Duplicate: Inconsistent rotations with \sidewaysfigure Using the sideways figure environment how can one control whether the rotation is clockwise or counter-clockwise? I ...
5
votes
0answers
651 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 ...
1
vote
0answers
93 views

Why is there a large gap between imported png and caption? [duplicate]

Why the spacing between the caption and image is large and why it is not where I wanted it but somewhere else? How to make it next to it as I would normally expect a caption to be? I placed the png ...
0
votes
0answers
72 views

Mistakes in the figure numeration [duplicate]

Possible Duplicate: Figure numbers using the section number Why does an environment’s label have to appear after the caption? I have two figures in my document. Figure 1 is correctly ...
5
votes
2answers
140 views

How to get a picture with text to the right of it

what I want is to have a quote like this: I returned and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of ...
4
votes
2answers
4k 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 ...
2
votes
1answer
736 views

error float.sty line99

Well, here is my problem. My friends can compile this document. I can't, and I don't know why. The error is: File: "C:\Program Files\MikTex\tex\latex\float\float.sty Type: Error Line: Line99 ...
1
vote
1answer
193 views

Setting a new Float at the exact place in the code

I am using the following code for reporting algorithms. \usepackage{caption} \floatstyle{ruled} \newfloat{Algorithm}{thp}{lop} \floatname{Algorithm}{Algorithm} ...
7
votes
1answer
723 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 ...
2
votes
1answer
692 views

Aligning Images in a grid style

I am trying to align my images in a grid like format within LaTeX and have done so like this: \documentclass[a4paper,11pt,fleqn,titlepage]{article} \usepackage[margin=2.5cm]{geometry} ...
2
votes
2answers
900 views

Bad font using \psfrag

I'm trying to include a figure that I made in MATLAB. I want to change the font using \psfrag, however there seems to be a problem when scaling the figure down. It keeps the font the same size as the ...
3
votes
1answer
171 views

How to split text around pages?

I have one input which has text and image. Here text is quite lengthy which may occupy 2-3 pages. I want output like some text on 1st page then image on 2nd page then rest of text on 3rd page. ...
1
vote
0answers
3k views

Placing two figures side by side [duplicate]

Possible Duplicate: Two figures side by side Subfigures placed horizontally I want to place two figures side by side in my document. I am using the subcaption package and my code is as ...
5
votes
2answers
2k views

How to align two diagrams on the same line [duplicate]

I would like to know how can I put two diagrams on the same like rather than one of the top and one at the bottom. which consumed too much space on the paper. Here are the codes for the figure which I ...
1
vote
0answers
207 views

Rotating sidewaystable [duplicate]

I use memoir to typeset a book. I've got a couple of one-page, horizontal tables. To typeset them I use the following draft code: \begin{sidewaystable} \caption{ } \label{ } \vspace{-0.5mm} ...
16
votes
3answers
2k views

Image inside another image

I currently have some LaTeX code to have multiple images side by side: \begin{figure*} \begin{center} \includegraphics[height=2cm]{foo11.jpg} \includegraphics[height=2cm]{foo12.jpg}\\ ...
6
votes
2answers
191 views

Wide figures to spill out into the outer, not inner, margin in double-sided documents

I'm writing a text where I have some figures that need to be wider than the text width, and I want then to spill out into the outer (in my text, rather wide) margin. I have tried a solution which I ...