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

17
votes
1answer
159 views

Floats shortly after they have been \ref-erenced; Warn otherwise

In my thesis I have a many floating figures which I then reference using \ref. I use flafter to ensure that they do not appear before they are defined in the source code (See Force floats to be ...
1
vote
1answer
247 views

Problem in referring to figures

I'm preparing a paper for submission to a journal. The journal submission system (Elsevier) requires me to load the EPS files (I convert my figures to EPS using gnuplot) separately. But if I do not ...
12
votes
1answer
1k views

change caption in tufte class full-page figure

I've tried to change the caption in a full-width float with tufte-book, but to no avail. I want the caption in this figure to be like more common LaTeX classes. Here is a MWE and the result: \...
4
votes
1answer
584 views

Reference a table by caption created by ctable

Fixed in the new version of ctable ctan-ann: CTAN Update: ctable 26 May 2012 Might be a stupid question, but is there a way to reference, that means print, the caption of a ctable? hyperref has ...
2
votes
1answer
213 views

How to ensure table is on a certain page [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I have a doc that has several tables in it. Each section of my end document is in a separate .tex file. In some ...
2
votes
1answer
2k views

How to center the caption in onecolumn space?

I used the commands \onecolumn and \twocolumn to have some images in one column, but now the images' captions are not centered. How can I solve this problem? My code is like below: \one column \...
1
vote
0answers
603 views

figures and tables in appendix [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned How to influence the position of float environments like figure and table in LaTeX? I have an appendix in my ...
2
votes
2answers
986 views

How to create protocol flows inside a centred box?

Could you please give some directions how to create the following figure in latex? It is the situation of describing a two parties protocol centered in a box. It is like a 3X4 table but i have ...
2
votes
1answer
3k views

Changing figure position in a two-column presentation slide

I am trying to make a presentation with the beamer package. One of the slides requires me to have an image change with every new line of text I open. I do this by splitting the slide in columns with ...
13
votes
2answers
363 views

Can I detect whether LaTeX is in vertical mode?

I am writing a command that creates a margin paragraph. This requires that this command is only used in vertical mode, which is fine. If the command is used in a float, LaTeX gives a "not in outer par ...
15
votes
2answers
258 views

Is there a way to determine if there is a float on a page?

I am busy developing some code to draw layouts. Part of the code overlays the layout as shown in the images below: The black arrows to the side of the images, denote the \topfraction and \...
6
votes
1answer
271 views

How to insert custom text in place of figure

I would like to replace some figures in a document with a black frame of the same size as the figure, such as that which you get when using \includegraphics in draft mode. However, this places the ...
3
votes
2answers
971 views

Numbering figures

How do I get figure numbers to run in the same sequence as equation numbers, eg (1.2.3) equation .... figure 1.2.4? For the environments I define I use \newtheorem{thm}[equation]{THM}, but I don't ...
17
votes
4answers
31k views

Note below figure

I have a figure and include it in LaTeX using \includegraphics in a \figure floating environment. The caption is at the top. Basically I would like to have a note below the figure too. I see some ...
4
votes
1answer
281 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 ...
9
votes
2answers
4k views

Align by the top borders of figures when using subcaption

I'm using the subcaptionpackage to have figures side-by-side. The problem is that the package aligns the figures to their subcaptions (should I be taking a hint for the package name?) rather than the ...
7
votes
1answer
2k 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 ...
3
votes
1answer
641 views

Numbering new environment with chapter/section

If I have a new environment defined (with, say, trivfloat), is it possible to get that section to number with chapter/section? I use \numberwithin for equations, figures, and tables. For example, my ...
6
votes
2answers
1k 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 ...
13
votes
1answer
263 views

Formatting floats differently based on placement

I'm interested in changing how floats are formatted depending on whether they are placed at the top, bottom, or middle of a page, or on a float page. One package I am aware of that does something like ...
4
votes
2answers
156 views

How do I put a table (float) two spaces away from the left margin?

I need to align the left edges of my tables such that they are two spaces off of the left margin (i.e. just like the first letter of an indented paragraph). Any ideas?
9
votes
2answers
489 views

How to detect if in an exercise environment?

I found in How to use figure inside a exercise environment? that I can't use begin{figure} ... \end{figure} in an exercise environment. I also found situations where avoiding the use of such floats ...
6
votes
2answers
2k views

Input a figure between title and body in twocolumn form

I'm using a LaTeX to write a small paper using CVPR template. I'd like to put a figure between my title+name and body(which consists with two columns) like many CVPR papers do, but I don't find the ...
16
votes
1answer
2k views

Placing figure on an even/odd page [duplicate]

I'm writing a two sided document (it will be printed as a book) and I've got two figures which takes up a whole page each. These two figures are related so I want them to be side by side in the ...
2
votes
1answer
2k views

Wrapping text around figures in poster headerboxes

I am working on a poster with headerbox elements. In one of the boxes I try to have an image on the right side and have the text left of it. I tried different minipage and wrapfigure examples but the ...
7
votes
3answers
3k views

Count number of figures, tables and citations in report class

I'm using report documentclass and trying to use totcount for counting figures, tables and references, but there are two problems: Figures and tables counters are reset for each chapter, so \total{...
2
votes
1answer
1k views

How to modify the Table of Contents to add the words Chapter, Appendix, Figure, Table

I am trying to get the words Chapter, Appendix, Figure and Table into the table of contents. The thesis requirements can be found here http://www.usc.edu/schools/GraduateSchool/documents/Thesis/...
7
votes
1answer
793 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} \begin{...
41
votes
2answers
131k views

How to use figure inside a minipage?

I'm trying to include an image, and keep it centered, and prevent from wrapping from the next page. The following code works for that: \begin{minipage}{\textwidth} \begin{center} Caption ...
1
vote
1answer
153 views

References into the tables in different style of the text

I would like to do one question concerning to references into the tables. So, I am writing my Phd thesis and I have so many tables with theoretical and experimental values. For the experimental values ...
7
votes
1answer
8k 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" ...
3
votes
1answer
110 views

different caption format when on float pages

I have seen the possibilities of formatting captions with caption, but I can't find a variable indicating whether the float is on a floatpage of a textpage. Is it possible to use automatically ...
0
votes
0answers
21 views

Add figure after paragraph with no text interruption [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned How to influence the position of float environments like figure and table in LaTeX? Is it possible to add picture ...
3
votes
1answer
178 views

setting \@fpsep only impacts empty pages

I want LaTeX to place each figure of my document on a separate page, but not on an empty page. On several places on the net I found that \makeatletter \setlength\@fpsep{\textheight} \makeatother ...
9
votes
1answer
6k views

IEEE-Template: Algorithm over both columns

I'm currently working on a paper using the IEEEtran template. I do have a pseudocode I would like to put into this paper. In a former paper I saw that it is possible to put this algorithm in a box ...
0
votes
1answer
2k views

Figures in llncs class

I would like to display the figure in my LaTeX file. I use the class \documentclass{llncs} and downloaded psfig.sty and add to /miktex 2.9/tex/latex/base and then from Setting -> Refresh FNDB. I ...
1
vote
0answers
4k views

Placing the text in a new page after figures [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they're associated with? Keeping tables/figures close to where they are mentioned I am a new user of LaTeX. I am ...
1
vote
1answer
1k views

Position of a figure [duplicate]

Possible Duplicate: Force figure placement in text Keeping tables/figures close to where they are mentioned How to influence the position of float environments like figure and table in LaTeX? ...
10
votes
1answer
34k views

centering caption of a figure

I want to put the caption of my figure in the center but I can't do that. when I put my figure in the center the caption is also in the center but when the caption is too long and there is a return to ...
10
votes
1answer
12k views

Figure with caption within an itemize list not indenting correctly

I'm trying to put an image with a caption on it within an itemize environment (within another itemize environment). When I had the image with no caption, simply using \includegraphics, it indented to ...
1
vote
1answer
995 views

\twocolumn undefined control sequence }] [closed]

I am trying to add a figure (a center environment) two a \twocolumn command. I tried this: \documentclass[10pt,twocolumn]{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \...
0
votes
0answers
142 views

Issues with images in latex [duplicate]

Possible Duplicate: How to influence the position of float environments like figure and table in LaTeX? Keeping tables/figures close to where they are mentioned I want to to show three plots ...
5
votes
3answers
2k views

Position of figures

I have a question: can I put 3 pictures one beside the other in the same line? Actually I put them one after the other and I would like to put them in the same line if is possible. This is my code \...
4
votes
1answer
1k views

How to put auto width to floatingfigure?

I'm trying to wrap an generated graphic with text. But I cannot find what I have to put instead of 6cm in \begin{floatingfigure}[l]{6cm} to let LaTeX designate correct width like it does with height. ...
7
votes
3answers
845 views

Move figure away from the first page

In my LaTeX document, I don't want any figures on the first page. Is there a way to enforce this requirement?
49
votes
1answer
2k views

Unusual graphics and caption placement

Here is a picture from an Oxford University Press publication, showing two images a small one at the left and a larger one at the right. The unusual part is that the caption of the right image is also ...
10
votes
1answer
1k views

Placing graphics inside figure captions

Similar to putting a tikzpicture inside a \caption{}, I would like to insert an external icon inside figure captions, something like: \begin{figure} \caption{text with \includegraphics{icon} ...
0
votes
0answers
37 views

Table showing on new page [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I have the following problem, I started a new section with appendix and I put a few tables there. But tables are ...
2
votes
1answer
198 views

tkz-linknodes, subfig problems of alignment

I don't succeed in managing the alignment among the various figures. How can I do? thanks \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[upright]{fourier} ...
0
votes
1answer
493 views

How to place a “banner image” at the top of a paper

When using this class: http://daviddoria.com/Uploads/acmtog.cls I am trying to place a figure* right under the title/authors. I tried this: \documentclass{acmtog} \pdfminorversion=5 \usepackage{...