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

2
votes
1answer
21 views

When referencing a figure, make text and figure name clickable

When referecnging a figure, you write something like: \begin{figure}[here] \includegraphics[width=0.9\textwidth]{images/example.jpg} \caption{A figure} \label{figureExample} \end{figure} and to ...
-1
votes
1answer
52 views

Can't get figures side by side no matter what?

I've been trying to get these figures side by side, but they keep ending up as stacked. I've looked at a bunch of solutions, but none of them have helped me. Here's my code: \begin{figure}[ht] ...
2
votes
1answer
104 views

captions overlap figures in *.pdf file after dvi2pdf (while appearing normal in *.dvi file)

For some reason, figure captions that appear underneath the figure in the *.dvi file, overlap the figure in the *.pdf file generated using div2pdf. Any idea why this happens? Thanks, Ofer.
1
vote
0answers
57 views

Any progress on Knuth-Plass algorithm?

The pagination problem as posed by Donald Knuth and Michael Plasss is an NP-complete problem. At an intuitive level, this problem is related to the packing problem, so quite difficult to solve. ...
0
votes
2answers
29 views

Put text and picture in a same page

I want to put a word and a picture in a same page. word up pic down. code: \documentclass[12pt]{article} \usepackage[flushleft]{threeparttable} \usepackage{caption} \usepackage{geometry} ...
15
votes
2answers
38k views

Insert multiple figures in Latex

I need to insert 10 figures (in two columns- side by side) in LaTeX that will have one global caption, but also I need to name each figure (1a, 1b, 1c, ... ect.). So they will look like: 1a ...
0
votes
1answer
109 views

Tikz drawings side by side

I am trying to draw two figures (three, in fact, but even two is not working) side by side using TikZ. I added two TikZ drawings in matrix.tex using \newcommand and tried to add them in the main ...
2
votes
2answers
58 views

Float placement on

I have 16 images (.jpg) I would like to place one to a (photos only) page in the centre of a book. I have tried the following code which places a photo at the end of the current chapter centred on a ...
1
vote
1answer
37 views

How to avoid (wrap) figures moving out of sight

Using the code below, my figure moves out of the paper borders. As I understand, correction of figure position is best to do when writting is finished. But is it possible to forces figures - a ...
0
votes
1answer
73 views

Can I add 3D objects as subfigures (using movie15)

I have faced one stiff problem that when I try to add four 3D plots (2 rows x 2 columns) in my beamer by using subfigure approach, I fail! This is my minimal example: \begin{frame} \begin{figure}[t] ...
0
votes
0answers
32 views

using figures not working

trying to use this \begin{figure} \centering \includegraphics[scale=.55]{Graph1.pdf} \end{figure} keep getting error forgotten } or missing \endgroup I need to use \begin{figure so that it is ...
1
vote
0answers
85 views

Drawing a TiKz Diagram within a Table [closed]

Any ideas on how to draw a TiKz diagram within a table? I made this example of what I need to typeset in Word: I'd love to hear any suggestions, even if it requires reformatting.
0
votes
1answer
22 views

How can I create standard document?

I like create standard format in my document like: -All the text are justify until I swap this part of text only (center, right, left); -Standard margin of document (top, bottom, left, right); ...
1
vote
1answer
26 views

Figure Placement in twocolumn mode

I have unable to fit the figures are in 2nd Page. It's printing in 3rd Page onwards. How to get the figure should align in top of the 2nd page. \documentclass[twocolumn]{article} ...
0
votes
0answers
12 views

Can a text-wrapping figure span (partially) across two columns without manual intervention?

The answer for Wrap text around wide figure in two column responds that it is possible to use a wrapfigure environment (from the wrapfig package) across multiple columns through manual intervention, ...
0
votes
1answer
17 views

Three subfigures horizontally to each other in one figure

I am having trouble with the subfigures in one main figure. I am using the following preamble and coding for the figures: \documentclass[11pt]{report} \usepackage{geometry} \usepackage{amsmath} ...
2
votes
1answer
50 views

how to control position of figures in LaTeX?

9I have 10 figures. I want to place 8 on one page and rest of the two on next page. I am using the code \begin{figure}[t] \centering \setlength{\unitlength}{0.1\textwidth} ...
2
votes
1answer
28 views

Background color around paperwidth figure

The question could have been subtitled: "how to force a caption to appear always on top of object float". I have a complex set of configurations and commands which I could resume to that MWE. % !TeX ...
1
vote
1answer
25 views

Problem between Sidewaystable and page header

I've a table too large for the regular width page. Using the package rotating, I was able to set it in landscape orientation. Using the package is not the problem, the problem is that I'm using a ...
3
votes
1answer
29 views

Insert two images as subfigures vertically

I'm using Revtex 4.1 and would like to insert two images to appear as subfigures. I would like them to have labels a) and b). I've no idea how to do this in Revtex and the minipage idea below (from an ...
3
votes
2answers
57 views

Figure content does not appear on even pages after introducing changes to the output routine

In a document with wide margins, I want to offer a figure environment which extends into the marginpar-area. Furthermore, I want the caption-text to be placed in this area, too, either above or below ...
1
vote
0answers
24 views

Whitespace beside figures in IEEEtran style [closed]

I'm using IEEEtran style for writing my paper. But, sometimes if a figure floats into the next page of referenced place, latex will put a whitespace beside the figure. This is my sample code: ...
2
votes
2answers
84 views

How to keep tables closer?

I am finding it a bit difficult to keep the tables where I wanted them. I can't seen to make a MWE either. But the document is uploaded here. Basically, say the text (~\ref{}) is on page 70 and the ...
0
votes
0answers
27 views

Forcing a figure to be at the top or bottom of a specified two-column page [closed]

I have a document in two columns that contains two types of figures: one-column figures and two-column figures (figures that span the width of both columns). I'm finding that, for whatever reason ...
1
vote
1answer
160 views

Centering Xcircuit Figure

Hi I am using a program called xcircuit to make circuit diagrams and I cant seem to get the figure centered. I have tried \begin{center}, \centering. I have tried messing with \flushleft but it needs ...
0
votes
1answer
91 views

texmaker bullet in .eps figure equation shows infinity symbol

I am using Texmaker on windows 7 and I'm trying to include a .eps figure which has bullet symbol in it, and for some reason, Texmaker shows an infinity sign instead. I've checked my .eps file, and it ...
3
votes
1answer
44 views

Horizontal spacing between subfloats using floatrow and subfig (with fr-subfig support)

I am trying to arrange two rows of sub-figures using subfig and floatrow. The captions are aligned as I wish and the vertical alignment of the objects is also fine. However, I cannot figure out how to ...
3
votes
2answers
2k views

LaTeX figure problems

I want to include a jpg to a LaTeX document, which I have done many times. Normally, I use put it in a figure environment, the code looks like this: \documentclass[twoside]{article} ...
2
votes
1answer
38 views

Argument of \caption@ydblarg has an extra }

A misleading error message from the following code: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure}[!ht] \centering% \subfloat[]{ ...
5
votes
2answers
3k views

Algorithm tag and page break

I'm starting my experiment with LaTeX, i'm writing an article and all that I want is to embed an algorithm inside normal text, this is my code: \documentclass{article} \usepackage{algorithmic} ...
4
votes
2answers
74 views

Figure caption inside a tinted box

I would like to print the figure caption with a "tinted box" (a box with a background colour). How to achieve this? My MWE is : \documentclass{book} \usepackage{lipsum,graphics} \usepackage{caption} ...
0
votes
1answer
36 views

Why my figure is not appearing? [duplicate]

Could someone please explain to me why the figure in my code is not appearing when I compile the code thanks. MY CODE: \documentclass{article} ...
0
votes
0answers
14 views

Change float content order depending on its position selected by LaTeX's float mechanism [duplicate]

I'm (still) going to develop a class that will use wide margins and put some contents into it. In contrast to tufte-book, which sets the positioning parameters for floats as htbp by default, I would ...
1
vote
1answer
32 views

Figures moving out of order

This the first document I am making in LaTeX and I am having some problems with the images. As you can see, I placed the figure in section "Metologia y Procedimiento" but it goes to the top of that ...
5
votes
2answers
40 views

subfigures: caption for every row and every column

I have three models that I test under different parameter configurations. I created a figure where every column corresponds to a model. I would like to add the value of the parameter at the left of ...
0
votes
1answer
32 views

two column float with same page using multicols

I have using multicol package and not able to fit the figure float in the same Page. My MWE is: \documentclass{book} \usepackage{graphics,lipsum,multicol} \makeatletter ...
1
vote
1answer
86 views

Rotated Text in Table Extending into Rows in Lyx

I'm trying to create a table with some rotated text in it, but the rotated text is extending into the rows below the cell, as shown here: Here is what my screen looks like in Lyx: I've tried ...
1
vote
1answer
31 views

RevTex4-1 caption behaviour for last line changed after customization, how to change it back?

I'm in the \begin{figure*} environment, with a few subfigure objects that have no captions. After \end{subfigure}, I'm currently using \caption[]{\small\justify blah blah blah} which produces the ...
2
votes
1answer
31 views

Placing text between two figures

I am just starting in LaTex and I am trying to create a custom titlepage. In our laboratory reports we are asked to have something similar to the image attached. I am having problems aligning the text ...
63
votes
5answers
23k views

Why should a table caption be placed above the table?

In the papers I read the caption in figure floats is placed below the figure and in table floats the caption is placed above the table. I recognize that this is a common style that a lot of people ...
2
votes
2answers
43 views

How to create a definition shown on the picture?

I need to copy (with small editions) the shown definition in my own document. I don't have the source code of this pdf, so I don't have any idea which environment/package/etc. should be used to create ...
7
votes
1answer
49k views

how to turn latex figure by 90 degrees along with the caption? [duplicate]

The following code rotates the figure as I want to, so now my Y axis is parallel to the shorter edge of my A4 sheet. However, my caption is still parallel to the shorter edge of my sheet. How can I ...
19
votes
2answers
8k views

Beamer Presentation: Figure has no number?

I am giving a presentation and therefore I am using the beamer class. I have included some figures and it works, but there is no number after "Figure". My code: \documentclass{beamer} ...
6
votes
1answer
80 views

Is version control for figures possible in LaTeX?

I have a long document with multiple graphs. All graphs are done using pgfplots and I'm using tables stored as separate text documents. For instance, to plot data from a table big_table_with_data.txt, ...
0
votes
1answer
31 views

Change figure numbering

I have a 6 subfigures in an figure environment and they are currently numbered a),b),c) etc. I would like to number them ai), bi), aii), bii) etc. Basically I'm looking for more control on the ...
1
vote
0answers
24 views

splitting list of figures into parts [closed]

How to create the list of figures as shown below in document class thesis **LIST OF FIGURES** PART I 1.1 figure1. . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
1
vote
1answer
78 views

A figure-like environment that can contain many subfigures and break over pages: How to align double-column starts after the thing properly?

I have a problem similar to post 11059, i.e., I need a figure-like environment that can contain an arbitrary number of sub-figures. These may take so much space that the figure may span over multiple ...
0
votes
0answers
9 views

How to fix contents of a subsection to be inside not outside of it [duplicate]

I do not know whether what I posted as a title was the best question for my problem or not. I have subsequent subsections in which I only put sub floats (no text yet). The problem is that the sub ...
1
vote
1answer
36 views

How do I lay out figures that need to be both regular and sideways?

I'm submitting to a conference with limited page space and need to fit my figures all on one page. The layout needs to look like the following: I've figured out how to turn a figure sideways, but I ...
1
vote
1answer
82 views

Different aspect ratio images, full-width, same-height row layout

Problem Often I have the use case that I want to layout several images in a row inside one figure. These images may have different aspect ratios, but for the layout to look good I want them to have ...