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

3
votes
1answer
510 views

How can you place a figure caption inside a table using LyX?

I have 3 graphs I would like to use in a LyX document. In order to save space I have placed the 3 graphs into a 2x2 table and in the final box I have inserted the figure caption. When I try and ...
0
votes
1answer
174 views

float a wide ctabular in two columns

I have a very long table (slightly more than 2 pages) and so, am using the ctabular environment of the memoir class. I understand how a float defeats the purpose of a continuous tabular but I would ...
1
vote
2answers
623 views

Create an exceptional A3 page within an A4-based report

I created a picture within a tool that fits exactly in an A3 page. However I need to place this picture within an report that has A4 pages by default. The picture contains lots of information so I ...
1
vote
0answers
39 views

How to implement a floating text box? [duplicate]

I'm trying to write an environment that creates a new float type for text boxes. These are used for example in some books to provide interesting tidbits that aren't really part of the main line of ...
1
vote
1answer
3k views

Adding a photo on top corner of a two column CV template

How can I add a photo on the top right/left corners to this CV Template ? http://www.latextemplates.com/template/two-column-one-page-cv I tried to use variants of the following code to insert the ...
0
votes
1answer
164 views

Formatting in LaTeX (positioning of longtable)

I am new in LaTeX and I am in the learning phase. I am making a document on it, but the problem is that its formatting is incorrect as I compile the source code of the LaTeX. Like I am making a table ...
2
votes
1answer
1k views

Put a vertical line to separate 2 subgraphs

I have one figure which contains 2 figures: \begin{figure*} \begin{center} \subfigure[A]{ \begin{tikzpicture} .... \end{tikzpicture} } \quad \subfigure[B]{ ...
4
votes
1answer
1k views

Package hypcap Error: You have forgotten to use \caption

I get the following error: <use myfile.jpg> Package hyperref Info: bookmark level for unknown myfig defaults to 0 on input ! Package hypcap Error: You have forgotten to use \caption. for ...
1
vote
0answers
335 views

Display PDF page with sidewaysfigure in landscape [closed]

I want to have a landscape figure with the same portrait page geometry as the rest of the document. Additionally, I want only that page to be displayed in landscape in the PDF and the figure to float ...
1
vote
1answer
322 views

How can I change the counters of tables in the appendices? [duplicate]

I have multiple appendices and in some appendices I have tables. What I want is that each appendix itself has a letter as a number (e.g. Appendix A: title). A second thing that I want to achieve is ...
9
votes
2answers
622 views

Subfigure labelling for a single figure

I have a single figure containing two plots. The two plots are already labelled within the figure using (a), (b). So far I have been referencing the figures using the cleveref package as ...
2
votes
1answer
364 views

How to scale a dirtree inside a figure?

I drew a tree structure with \dirtree. This tree is located in a {figure} environment. It is possible to adjust the size of the figure? With \includegraphics one can do it with scale. Is there a ...
2
votes
1answer
649 views

Tikzpicture in a two column way using a one column .cls template

I'm using a .cls IEEEtran from IEEE available here http://www.ieee.org/conferences_events/conferences/publishing/templates.html; and all document is in two columns. I'm ploting using pgfplots a ...
2
votes
1answer
104 views

Where to place images and tables for a good layout?

I use KOMA Script which always places images in the top of the page. I don't think that this always looks nicely, but if I change the place of my images it doesn't seem much better. Unfortunately I ...
5
votes
1answer
2k views

How to add a caption to a LyX table (with table numbering) using the menus?

I know nothing about TEX/LaTeX so I use LyX. I created a table using the LyX menu: Insert > Table..., changed the Rows and Columns values, hit the OK button, and here it is there. However, I can't ...
0
votes
0answers
18 views

Figure environment help [duplicate]

I have added an pdf image using the figure environment, but I have noticed that the figure is located automatically by LaTeX, at the beginning of the page, so if I change the text it can be out of ...
7
votes
1answer
411 views

Block quote in figure caption

I need to put a multi-line quote in a figure caption. I've put code together that does this correctly if I override several errors, but I'd like the document to compile without errors. The code: ...
1
vote
1answer
461 views

error in \ref-numbering for figures in tufte-latex [closed]

please run this mini-example: \documentclass[]{tufte-book} \begin{document} \begin{figure*} \rule{1in}{1in} \caption{Figure 1} \label{fig:f1} \end{figure*} \begin{marginfigure} ...
5
votes
1answer
672 views

What would cause LaTeX to put text and tables on separate pages?

My document is being generated with many pages with a short paragraph of text on one page, a short table on the next page, another short paragraph of text on the following page, etc. There is plenty ...
7
votes
1answer
6k 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 ...
4
votes
2answers
282 views

Table of 2x2 tikzpictures

I'm attempting to condense 4 tikzpictures into a smaller space in my document. The solution I have is as follows: \documentclass{article} \usepackage[paperwidth=6in, paperheight=4in]{geometry} ...
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 ...
0
votes
0answers
48 views

Create a footnote in a node in a tikzpicture [duplicate]

Is it possible to create a footnote in a node of a tikzpicture? Preferably the tikzpicture it should also be possible to put that tikzpicture inside a figure environment.
3
votes
1answer
44 views

Float location differ between full doc compile vs partial doc compile

I locate chapters in separate files, as shown below (a book of 500 pages, 14 chapters). The document class is based on the book class: \LoadClass[11pt,letterpaper,twoside]{book}[1994/12/09] ...
9
votes
1answer
359 views

How to spread floats automatically over a whole chapter?

In a chapter with many figures, I'm having trouble to get the floats to be interlaced with the text. To quote http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions: Authors sometimes ...
4
votes
3answers
1k views

Can listoffigures use the long caption instead?

Throughout my document I have figures with captions set like this example: \caption[Surface elevation change for Antarctica and Greenland]{Rate of change of surface elevation for Antarctica and ...
2
votes
0answers
49 views

Is it possible to check if I am inside a float environment? [duplicate]

I have a class file that I am writing (it's my first one and I am new to LaTeX). I have a situation where I'd like to know if I am inside a float so that I can prevent attempting to create a nested ...
2
votes
2answers
5k views

Shift a figure element more to the left corner

How can I put the image more to the left page side to have more space for it? \begin{figure}[!htb] \centering \includegraphics[width=0.9\textwidth]{timetable} \caption{Zeitplan} \label{fig:timetable} ...
10
votes
1answer
1k views

Box or sidebar for additional text

I'm not sure of the name of what I need. I would like to set some text in a box or sidebar, as I've seen in some textbooks. The main text will refer the reader to the sidebar for more details. I would ...
1
vote
1answer
327 views

Figures and tables do not fit on page

I am using the elsarticle class and the standard template provided by them (see below). My problem is that all the figures are being put on the last page of my paper all tables are not being shrinked. ...
2
votes
1answer
1k views

About figure in minipage

How to hide "Figure 3:" and "Figure 4:", and let "Figure 5" shows as "Figure 3"? (i.e. subfigure not taking the figure number) \begin{figure}[htbp] \hspace{-4mm} \begin{minipage}{0.5\linewidth}] ...
3
votes
1answer
425 views

Landscape figure float obscuring text

I am trying to insert a figure float in landscape orientation within an otherwise portrait-oriented document. The figure is inserting as it should, but for some reason it is obscuring a page of text ...
3
votes
1answer
3k views

One table/figure per page in LaTeX

I am struggling with figure/table positioning in LaTeX. Basically, I'd like to have one figure/table per page. I found how to, but the problem is that LaTeX puts the table/figure in a single page, but ...
2
votes
1answer
270 views

Customize the position of a figure [duplicate]

Hello although this question has been asked several times, I still can't position my figures at the right place. I have installed the float and the here packages. and the code is as follow: ...
5
votes
1answer
144 views

color an entry in the list of figures

I have a command that prints an image and will be used inside a certain environment. First I run a test if the file exists and is a valid image file (see this question for the definition of ...
3
votes
1answer
166 views

Does pdfpages break the floating mechanism?

I have the problem, that I need to insert some external pates in my thesis. After that I start a new section and want to add a (floating) figure. The problem is that the figure is not set here as I ...
0
votes
0answers
38 views

Why is the figure moving to a next page? [duplicate]

The first page of chapter is left blank, while the figure is drawn on the next page? \chapter{Diagrams} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \tikzset{user/.style={circle, ...
3
votes
2answers
234 views

strange figure floats [duplicate]

I don't understand why my figure floats to the "wrong places". For example: \documentclass[12pt,a4paper,oneside]{book} \usepackage{graphicx} \begin{document} \section{My section} ...
4
votes
2answers
424 views

Over wide figure with caption of the same width that both spill out of the right margin and are aligned flush left

This question is similar to that question, but instead I want to place a figure caption flush left aligned to an overwide figure so that it spills out of the right margin. MWE ...
1
vote
0answers
211 views

The text 'figure' being printed under captions in IEEEtran [closed]

Under \documentclass[conference]{IEEEtran}, whenever I include a caption under a figure, right below the caption, the text 'figure' is printed. This does not happen under \documentclass{article}. ...
1
vote
2answers
335 views

Custom geometry for a first chapter page?

On normal pages I have header and no footer. On first chapter page -- I have footer (with page number) and no header. Hence I need: \newgeometry{top=2cm, bottom=1.2cm, left=1.5cm, right=1.7cm} for ...
5
votes
1answer
2k views

Ruled Algorithms in columns/minipages

I'm using Benoit Guillon's algo styles for Lyx (at http://bgu.perso.libertysurf.fr/) in 2.0 to get nice algorithms ruled with line numbers. This is just a wrapper for the algorithm and algorithmic ...
3
votes
1answer
622 views

Beamer: Positioning of images using framebreaks

I have three pictures that build upon each other, much like a gif (and no I don't want a gif). I have one frame where I want to show the three pictures one after the other using \framebreak. The ...
7
votes
1answer
340 views

General question on floating and non-floating objects in LaTeX

I am wondering when you place a non-floating object such as a minipage into a floating environment such as a table or figure if this construction as a whole is then a floating or a non-floating ...
1
vote
1answer
364 views

Problem with side by side figures and captions

I want to have 4 figures side by side and centered in my paper. I am using this code. The problem is that captions and figures are not aligned. It seems captions are in correct position, but figures ...
5
votes
1answer
505 views

Figure with ganttchart above section title [duplicate]

I'm fairly new to using LaTeX, so don't blame me for asking obvious questions. The ganttchart in the code below will be placed above the section title, and I have no clue why. Any help would be ...
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
15k 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
824 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 ...