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

9
votes
1answer
406 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
264 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
470 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
430 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
356 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
510 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
601 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
744 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
3k views

How can I change figure caption label?

I am using revtex4-1 for a Physical Review Letter. Typically when a figure is made, the caption starts out FIG. 1. <text>. I am creating a supplementary file and I would like it to say FIG. S1. ...
7
votes
1answer
529 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
4k views

Why will my table not come after a section with \FloatBarrier?

I have been trying this method to get a table to go after a section heading, but for some reason I am not able to get it to visualize that way. \section{blah} %\hlabel{sec:blah} mytexthere (which is ...
6
votes
2answers
909 views

Make all figures and tables framed by default? [duplicate]

Possible Duplicate: Rounded corner colored box around figure I'm interested in having all of my \begin{figure} and \begin{table} environments automatically get framed. Is there any way to ...
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 ...
5
votes
2answers
74 views

Float right aligned text around a text snippet in first line of a paragraph

I have right-aligned paragraphs and want to float text around a little text snipped, which should be placed in the first line of the paragraph at the right side. How can I achieve this? The LaTeX ...
5
votes
2answers
224 views

How to insert an image inside a paragraph?

I'd like to insert a small image inside a paragraph, aligning it with the text. The following snapshot depicts what I have in mind. Notice the image at the end of the last line.
5
votes
1answer
4k views

Subfloat with subcaption package: Missing number, treated as zero

I want to make a figure consisting of two subfigures. Having read the Wikipedia subentry on subfloats, I tried to follow it exactly, so I did not use the subfig or subfigure package, only the caption ...
5
votes
1answer
194 views

Getting floating objects in multicol environments

I am using multicol with 2 columns, and I would love to have my figures and tables to float, so that I don't have to manually mess around with the positioning anymore. I am aware of figure*, but I ...
5
votes
2answers
453 views

Centered, wide float [duplicate]

Possible Duplicate: Balancing figure that is wider than document's width I have a table which is just too wide for the page. I'd like to be able to float it, centered across the text, ...
5
votes
1answer
2k views

Undefined reference: autoref points to section instead of figure or table

Here is a minimum working example (an image 'test.png' needs to be in the working directory. I used this one.) % Created 2011-05-23 Mon 15:21 \documentclass[11pt]{article} \usepackage{graphicx} ...
4
votes
2answers
4k views

Changing the subfigure caption by removing brackets & font of the subcaption

Note that by using \usepackage[bf]{subfigure} I'm able to change the label of the subfigure to be boldface. However, the label appears with brackets, e.g., "(a)". How could I get a subfigure label ...
4
votes
2answers
2k views

Hypcap not working with custom figure environment

I'm trying to use caption with hypcap=true so that cross-reference hyperlinks will go to the figure instead of the figure caption. However, I'm using a multicol environment with a custom figure ...
4
votes
2answers
899 views

How to make equations, figures and theorems use the same numbering scheme

It was asked a while ago how to make equation use the same counter as a theorem for example and one solution was to make the theorem counter use the equation instead by using ...
4
votes
1answer
412 views

Want figure height to ignore side caption height

I use beside captions placed in a large margin area. Sometimes, the caption text is taller than the figure and this causes too much vertical space around the figure. I'd like the effective height of ...
3
votes
2answers
85 views

How to set the default float position, e.g., set it to be H? [duplicate]

Is there a way to set the default position option for floats? I want all float to by default to use the option H. Then I only need to set position parameter for those floats that I do not want to use ...
3
votes
2answers
2k views

Why do eps images overlap the captions in subfigures?

I'm using the package subcaption within an scrreprt compiling with XeTeX/XeLaTeX. When using subfigures for 4 images in a grid view, the images are not centered and overlap the middle subcaptions. It ...
3
votes
1answer
2k views

Adding figure in framed or shaded environment

I am currently using the shaded environment from the framed package for large calculation digressions in my papers. \usepackage{framed} \newenvironment{digression}[1]{\begin{shaded} ...
3
votes
2answers
634 views

Tables as PDF images

Due to time constraints I'm considering cheating a little and importing some tables I've created in Excel into my latex document. I realise I can do this quite nicely as a 'figure' using something ...
3
votes
1answer
221 views

Figure refs stop working after I added a new counter

I was using the amspset document class for generating exam practice problems. I had wanted to add some referencing to the problems so I started a new counter like this (adapted from some Tex Exchange ...
3
votes
2answers
1k views

Make tikz picture floating

I'm inserting a tikz picture in my section headings with \titleformat (see this question) and I would like it to not affect the spaces in the headings. Right now, what I do is that I compensate the ...
3
votes
1answer
1k views

Table, Figure, and Listing prefixes

Background Using LyX and KOMA Script to author a technical manual. Problem The documents are strewn with the following references: \ref{fig:Example-Database-Type} When converted to PDF, this ...
2
votes
1answer
61 views

Prevent a part of the caption from appearing in the list of figures

I am using the 'article' class, 'figure' environment. My captions are divided in two parts: the information about the figure the credits of the figure (for which I use \textfff{}) In my list of ...
2
votes
1answer
69 views

How to have a figure with caption in multicol environment?

I am having the following problem with adding a figure inside the multicol environment: \documentclass[10pt, twoside]{book} \usepackage{graphicx} \usepackage{subfig} \begin{document} ...
2
votes
1answer
233 views

Automatically set the figure width depending on whether the layout is one or two column

I am wondering how do you usually deal with figure width when you are writing a paper. (use \linewidth, \textwidth ? others?) Maybe we can just define a "switch" and use it with ifelse package? ...
2
votes
0answers
179 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
1answer
2k views

Put figure text under images?

In LyX, how can I set a float that contain figure so that the caption is under the figure? By default the caption is always on the left side of figure.
2
votes
1answer
268 views

How to prevent figures from floating 'into' listings [closed]

I have a problem with floats and listings. Sometimes it happens that a listing is split over two pages and when a figure is near the listing it happens that the listing starts on the first page, on ...
2
votes
1answer
10k views

Table in LaTeX appearing in middle of next page

I've inserted a table in my LaTeX document and have used \center to horizontally align it to the centre of the page. However, it's appearing a page after where it should, is both horizontally and ...
1
vote
1answer
99 views

references to floats without ever using figure numbers (possbily using lua or python)

Stephen Wolfram's 'A New Kind of Science' states in its colophon that it has 973 illustrations spread out over 1280 pages. Remarkably, he accomplishes this without ever using figure numbers. No figure ...
1
vote
0answers
95 views

Single column figure leaves a blank in the other column?

I am writing in a double-column template (IEEE Conference Template). What has been bothering me is that once I have a figure/pseudocode/tikz in one column, sometimes it pushes the contents in the ...
1
vote
1answer
2k views

How to change figure caption to Fig. 1. in stead of Fig. 1: [duplicate]

My Figure caption is now like this: (Fig. 1:Caption of figure) and I want to change it to (Fig. 1. Caption of figure). Also in the Table caption I want to get it like this: (Table II. Title of ...
1
vote
1answer
175 views

EPS Figures in LaTeX Documents [closed]

I found some problems when inserting EPS images to my LaTeX document. There is no problem with the figure, the main problem is that on the left corner there is an "SS" that I have not written and I ...
1
vote
1answer
11k views

How to remove space after image caption? [duplicate]

I am writing one article in which i need to write one image and its caption. I found space after caption seems to be more than normal. \begin{figure}[!ht] \centering ...
1
vote
1answer
4k views

Subfigures placed horizontally

I want to place two or more figures on top of the two-column page next to each other (horizontally). However, for some reason I can't do this. This is the code that I use, it puts the second figure in ...
0
votes
1answer
77 views

wrapfig how to designate where the figure should come and of what size exactly

This is a general question. I find that the wrapfigure environment is very tricky. It depends on where you put it and if you add things to the top part you can make a good wrapfig bad. I would like ...
43
votes
1answer
54k views

Why is \newpage ignored sometimes ?

I have the following towards the end of an article. The bibliography is short (4 entries). What's happening is that on the very last page of document I get the chart and immediately afterwards the ...
26
votes
2answers
16k views

multicol and figures

I have a two column document (using multicol) and want to insert figures so that they do NOT span columns. I have searched around and the only thing I can find says that only figure* is supported ...
15
votes
2answers
31k views

Image from \includegraphics showing up in wrong location?

I have the following situation: \subsection{Some subsection} Some text here... \\ \begin{figure} \caption{Raw} \includegraphics[scale=0.25]{raw.png} \end{figure} \begin{figure} ...
19
votes
2answers
941 views

How to reference the page of a figure?

Is it possible to make a reference to the page where a figure is rendered? I would like to write something like see figure~\ref{figure-xyz} on page NN where NN will automatically be maintained by ...
17
votes
3answers
15k views

How to rotate landscape table page in PDF?

Currently I am using \usepackage{rotating} \begin{sidewaystable} \begin{tabular}...\end{tabular} \end{sidewaystable} to typeset landscape tables, which works great. But I want to rotate that page ...