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

1
vote
0answers
31 views

Latex Figure Position [duplicate]

In latex, how can we ensure that a figure is placed nearest to the place where it was defined or before? The issue I'm getting is that sometimes many of many figures are getting on the same page ...
4
votes
1answer
1k views

Incompatibility problem of the packages subfig and subcaption [duplicate]

I want have three subfigures in a special order. One on the right, two on the left. Therefor I found a snippet here on StackExchange. Alone the snippet works fine, you can check this by comment out ...
3
votes
1answer
12k views

Minipage with four figures - avoiding too much whitespace

I have hundreds of figures that I have arranged into 2x2 matrices using the \minipage environment like so: \begin{figure}[ht] \label{ fig7} \begin{minipage}[b]{0.5\linewidth} ...
4
votes
1answer
568 views

Layout issues when using `subcaption` together with `sidecap`

I am using the sidecap package for side captions. I also want to have subfigures (for example, three or four subfigures labeled with a), b), c) and d), respectively). When not using the SCfigure ...
1
vote
0answers
22 views

Positioning tables inwithout default latex positioning mechanism [duplicate]

Hi I am querying about some suggestions regarding latex table placement. In m latex document I have an appendix section at the end of the paper. The appendix contains a couple of tables and a figure ...
3
votes
1answer
88 views

How to leave space on the side of a page for figures

I have noticed that a lot of technical books leave room for figures on the left side of the page. The text is on the right, and it is restricted to not take up the entire page width so that there is ...
3
votes
1answer
214 views

Apply floatrow style to align and glossary

I use the booktabs package and the floatrow package with the float style ruled. For consistency I would like to apply this look (example) to the glossary I use as nomenclature and an amsmath ...
1
vote
1answer
197 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 ...
4
votes
1answer
836 views

Table subnumbering 1a, 1b, etc [duplicate]

I have a table that is too big to fit on a page without shrinking the text to unreadable sizes. As a result, I have split it in to two. I can't use longtable to do this automatically as I am also ...
3
votes
1answer
118 views

Group two tables so that they appear on successive pages

I have a table that is too big to fit on a page without shrinking the text to unreadable sizes. As a result, I have split it in to two. I can't use longtable to do this automatically as I am also ...
2
votes
0answers
29 views

Aligning long entries in LOF using tocloft package [duplicate]

I am facing a problem by left aligning long entries in the LOF using the tocloft package. Although my TOC for long entries looks perfect and aligned, the LOF is not :( . I am using the command ...
3
votes
1answer
227 views

Custom algorithm environment enumerated with algorithm2e and appearing in table of contents

I would like to have two environments sharing a counter and appearing in the same list. One of these environments is algorithm2e and the other is a simple frame for holding algorithms I want to ...
4
votes
1answer
674 views

Problem with Lyx PDFPages - no page numbers on inserted PDFs

I have a problem with inserting PDFs into my lyx document. I (perhaps stupidly) have made my figures all into one page each (created using powerpoint, then PDFing them), then inserted them using ...
4
votes
1answer
242 views

Figure + table wider than textwidth

I have a figure and a table placed next to one another, but they are wider than the textwidth. Now I want to center them so they exceed the textwidth margins. Can this be done? Edit: currently I have ...
0
votes
0answers
65 views

How can I insert two pictures on the first page in xelatex? [closed]

My document has one "figure" section, but I don't want to show the title in the section, so I define a new command "nosection" to do this. \newcommand{\nosection}[1]{ \refstepcounter{section}% ...
12
votes
1answer
686 views

Brownian motion with drift

I have a code for the Brownian motion and it indicates three paths which initially started at point 0. My goal is to increase the initial starting point from 0.0 to e.g. 0.6. This is achieved by ...
3
votes
1answer
82 views

Adjust space below figure in a custom document style

In my two column LaTeX document, which uses a custom document class, I want to decrease the spacing that occurs between a figure's caption and the following text. An example of what happens can be ...
5
votes
2answers
150 views

How do I add a box as a prefix to sections or float a box left of sections?

I am working on converting some old documents at work into LaTeX. I realize that some of the things I need to do do not conform to the LaTeX typesetting standards but that is where I am. I have most ...
1
vote
1answer
222 views

`float` package not playing nice with `sidecap` package?

In trying to answer this question, I thought it would be easy to add a new float environment using the float package. However, the labeling of the caption is not getting correctly formatted. ...
6
votes
2answers
445 views

`listings` and `sidecap` - Side captions for listings

I am using the package sidecap for captions which appear left or right of a picture/table, like so: \documentclass[a4paper,twoside,11pt,openright]{scrbook} \usepackage{graphicx} ...
1
vote
1answer
871 views

Indented before caption in a Latex table or figure

I have a problem with the space before my caption. When I run this sintaxis Latex throw a table and a figure. My problem is the position of the caption. The first one (table) is ok; it is at the ...
0
votes
0answers
538 views

Text over figure in the wrapfigure environment

I know this question has been asked before, but I could not find a suitable answer, so please bear with me. I want to put a figure in my document using the wrapfigure environment. It is supposed to ...
3
votes
1answer
280 views

Full width table with caption in refman doc

The refman document class has a big left margin for text. Only the headings are on the normal left margin. Perfect for what I'm doing. But I have a wide table (float) that must be centered on the ...
4
votes
1answer
41 views

Tabular into different rows within the table environment

I have three tabular environments that I would like to put within the same table... The problem is that they are too large to stay in a single row and I don't know how to break a row of tables so that ...
4
votes
1answer
1k views

Manually change caption label in subfig

In the example: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{subfig} \begin{document} \begin{figure}[h] \centering \subfloat[]{\label{first} ...
4
votes
1answer
268 views

Figure order (figure and figure* environments)

I am writing a two-column article and all my figures are included with the figure environment but one using figure* so that it can be displayed page-wide. The problem is that that specific figure is ...
9
votes
3answers
306 views

Is the following layout possible with the subfigure package?

Is it possible to achieve the following layout with the subfigure package (and any other package/command I don't know about): ############# ############## # # # # # pic1 # # ...
0
votes
0answers
38 views

Prevent latex from putting big figure alone on the page [duplicate]

I have a figure which occupies around 75% of the page and Latex keeps putting this figure alone on a page (in the middle of the page). What I want is to have some of the lines of the following ...
3
votes
1answer
55 views

How can I use figure in caption of a figure?

I need to include a small figure at the end of the original figure caption, is there any idea?
4
votes
1answer
84 views

New environment creates table at the top of document

I have the following code: \begin{table}[ht] \centering \rowcolors{2}{smileOrange!25}{white} \begin{tabular}{|c|c|c|} \theader{Importance & Titre du document & Auteur} ...
7
votes
1answer
431 views

Horizontal positioning of sidecap figures

I am using a little variation of the code provided by Gonzalo Medina, \documentclass{article} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage{subcaption} ...
6
votes
1answer
315 views

Ensure figures are placed on an odd page

Is there a way to ensure that figures (or other floats) are always displayed on an odd page? I'm using memoir for writing my thesis, which can be set to automatically place e.g. chapter beginnings on ...
4
votes
1answer
601 views

How to pass two parameters to a \newenvironment?

I have defined this new environment for handling my images in my document I want to pass two parameters: #1 to refer to pathname to the imagefile #2 to refer to the string I want to pass to the label ...
2
votes
0answers
310 views

Defining the position of a tabularx environment [closed]

In my report, I use a tabularx environment within a mdframed environment. I don't know why but I have to delete the table environment surrouding my tabularx environment when I want a table in my ...
8
votes
1answer
334 views

Remove footnote marks from \listoftables

I'm using footnote marks in my table captions like this: \caption{This is title\protect\footnotemark with a foot note} and then I just use a \footnotetext{Closer explanation...} . This works just ...
5
votes
1answer
276 views

\marginpar trick: not considered as float

I've found on the net a useful trick that does exactly what the title says. This is the code: \newcommand{\mymarginpar}[1]{% ...
2
votes
1answer
1k views

Subfigure have problems putting figures in the same line

I am using the IEEEtran template, two columns. When I want to put 4 figures in the same line (spanning two columns) using the \subfigure package, with the width of each figure setting to ...
2
votes
0answers
570 views

LaTeX incorrect figure numbering [closed]

I have several figures and subfigures in a LaTeX file, but only the first few are numbered correctly. Here is the part of the code that is giving me problems: \documentclass[11pt]{article} ...
2
votes
1answer
1k views

Caption package in latex pushing all tables to end of document

I am working on my dissertation and am having a problem with the caption/subcaption package pushing all tables (not figures) to the end of the document. I would like to use the subcaption package to ...
3
votes
1answer
514 views

captionsetup inside floatbox messing up image

I'm trying to include images with custom caption label format defined using \DeclareCaptionLabelFormat from caption package. If I put \captionsetup inside \floatbox environment the caption and image ...
2
votes
1answer
238 views

Referencing figure not working in Gummi

Ok so I'm trying to reference a couple of images from my document. The code is: \begin{figure}[htp] \centering \includegraphics[scale=0.70]{grafico2.jpg} \caption{Aceleramiento con las 4 primeras ...
2
votes
3answers
257 views

wrapfigure inside a tikzpicture

I am trying to place a figure environment inside a tikzpicture as: \begin{tikzpicture} \node [mybox] (box){% \begin{minipage}{0.45\textwidth} % \LHead{ ...
10
votes
3answers
231 views

Automated label tagging in figure? Automated labeling?

Is there a way to set a figure label based on the basename of the eps file used? \begin{figure} \centering \includegraphics[width=.8\textwidth]{figures/MYFIGNAMEXXX.eps} \caption{my caption} ...
5
votes
1answer
265 views

mdframed: unable to reproduce the example environment with figures [duplicate]

I used mdframed but I am unable to reproduce the example environment (?) from this primer. The main problem is with figures (graphics, plots), of course. Any help?
5
votes
1answer
118 views

When do we still need the table and figure environments when we don't want the enclosed objects to float?

The LaTeX Wikibook writes: Please understand: you do not have to use floating tables. It only looks more professional. If you want to place your tables where they lie in your source code, do ...
3
votes
1answer
491 views

figcaps and page breaks

I'm using figcaps to place floats at the end of an article prior to copyediting. The journal asks for each figure/table on a separate page. But figcaps puts as many figures as possible on each page. ...
1
vote
1answer
128 views

How to set identifier “Listing 1” in listing in bold

I use figures and listings in a document. By default, the identifier "Figure 1" is set in bold, while "Listing 1" is normal. For consistent looks I would like to have either everythin bold or normal. ...
2
votes
1answer
323 views

Vertical spacing for two consecutive figure environments

I think I'm not going to solve my problem with the Floats and positioning of figures. I have 4 diagramms and I need to place them on two pages and at the end of the second page the caption for all 4 ...
2
votes
1answer
1k views

Include subfigures in poster

I am trying to write a poster for a conference presentation, so far everything works fine except for 2 figures that I want to include (both should be on the same row with one common caption). I keep ...
3
votes
1answer
134 views

Path for global figures

I know that I can save some styles files to be used for all users simply loading it on preamble. I'd like to know where save some figures to have the same effect, that is, any user could insert the ...