{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
77 views

Code listing in subfigure using lstlisting

I am trying to use the subfigure package of LaTeX to display a piece of SQL code. The purpose is similar to Code listing in subfigure, but I'd like syntax highlighting using lstlisting environment ...
2
votes
1answer
35 views

Removing artifact from PDF figure in LaTeX, compiled with pdflatex [duplicate]

I am working on a document in LaTeX, and when inserting pdf figures I get a weird black line down the right side. This is not present in the original pdfs (I've checked). I thought it might be some ...
2
votes
1answer
144 views

Is possible to make LaTeX automatically choose the image size to minimize white space?

I'm working with a lot of images and not much text. When I compile the LaTeX document usually I have an image in every page and a lot of white space between them. These are pages from my LaTeX ...
1
vote
1answer
31 views

Figure location in the bottom of the document

In my paper the last page should contain reference only, but my figures keep popping in the last page. How can I force them not to appear in the last page / force the last page to consist of reference ...
3
votes
2answers
56 views

Change numbering system for margin figures in tufte-handout document class

I'm using the tufte-handout document class to provide margin comments on a third-party text for teaching purposes. I therefore want to preserve the numbering of the main text figures (figure and ...
4
votes
2answers
66 views

Table inside description list

I'm trying to put a table inside a list environment but without success. I'd like to have the table inside the item (matching \linewidth) and not floating in the next page. \begin{description} ...
0
votes
0answers
62 views

How to place a figure in Latex while the [htbp] doesnt work?

I insert a figure in to my document using code like below, right after 2 tables in a page. \begin{figure}[htbp] \centering \includegraphics[with=350mm, bb=0 0 1350 743]{path/to/figure.png} ...
3
votes
1answer
62 views

latex figure figure* order

I am writing a journal which has two column. I am using {figure} as well as {figure*} to place the figures in one column as well as stretch across two columns. My problem is the order of the figures ...
1
vote
0answers
24 views

Caption: How to get 'Figure 3.2: xxx' [duplicate]

Right now my figure captions are simply incrementing from 1 to about 15 now, I prefer the figure caption to reflect which section of the report it is in. So I was just wondering how to get the figure ...
2
votes
1answer
81 views

Latex: How to apply smaller size to all Figures/Tables contained in a Tex document

Figures/Tables do not fit into the page, so that some tables get cut by their right side (imagine that I cannot see the end of the table on its right side). Here is the complicated part: My ...
4
votes
1answer
58 views

How to retain caption without the “Figure” being mentioned?

I'm writing a document and I want to keep it simple. Probably there won't be any ToC or any List of figures so below each figure I just want the name of the figure to be mentioned and nothing else. ...
4
votes
2answers
37 views

Combine showing multiple figure labels

I have two sub-figures in a figure (say Figure M) called a and b. How can I combine showing multiple figure labels like this? Figure Ma and b P.S. I can easily get the following figure labels by ...
3
votes
1answer
40 views

subfigure counters not resetting

My subfigure counter isn't working properly for 2 figures. In the first figure there is an a) and then b) -which is fine, (that I both mark with a begin and end command) but for the second figure, ...
0
votes
0answers
24 views

Increase algorithm distance to margin

I've been using \vspace to increase or decrease the vertical distance of figures to the margin, but I found out it doesn't work inside and algorithm evironment. Is there an alternative or workaround ...
4
votes
2answers
103 views

How to refer to figures, tables, equations and sections [closed]

What is the correct way to refer to figures, tables, equations and sections? For example, should I write In Figure 1.1 we notice that.... or In fig. 1.1 we notice that.... or In figure 1.1 we notice ...
0
votes
0answers
30 views

inserting two column image in desired place

I am creating an IJCA article.I have a situation where I have to insert a two column image at some place.After that normal text follow.I used the package float.I am attaching the code below. ...
6
votes
1answer
71 views

Is it possible to let captions wrap a bit around includegraphics within figures? [duplicate]

Is it possible to place the caption a bit around includegraphics within the figure (to save some space?). As it may be misunderstood what I want, I try to explain it exemplary: Currently the minimal ...
5
votes
2answers
125 views

How to give a label to nodes which already contain a tikzpicture with nodes.

I am a beginner at TikZ and LaTeX. This is what I currently have: I would like to label each of these rectangles (i.e. graphs) with a single letter, i.e. G. This is the code for a single graph in ...
0
votes
1answer
43 views

How can I set two figures in landscape on a two-page spread? [duplicate]

I'm trying to use dpfloat to set two figures on a two-page spread. Because the figures are rather wide, I would like to use pdflscape to set these pages in landscape. However, the following fails when ...
3
votes
1answer
54 views

Correct arabic chapter-section numbering with Endfloat

The first table in the second chapter of this MWE is marked as 'Table 2.2 About here'. The chapter-section numbering is not set up correctly, as Endfloat usually just numbers the tables sequentially ...
0
votes
1answer
60 views

Change typeface in caption figure [duplicate]

It is possible to make the caption of a figure in CAPS (versalitas) typeface format? Like as image below. But I want to change only the 'FIGURE 1.1'. Descriptive text label that is invariant. That ...
3
votes
1answer
88 views

How to footnote two subfigures in one figure

I have some trouble with footnotes. Here is, what i wanted to do: \begin{figure}[H] \subfigure[WSML Varianten\protect\footnotemark] {\includegraphics[width=0.5\textwidth]{wsml-space.pdf} ...
1
vote
0answers
27 views

Compile images, controlling their location [duplicate]

In my tex file, I have images that are spaced between paragraphs. However, when I compile the file, the images come out almost all on the same page. Is there a command I can put so that the images are ...
4
votes
1answer
95 views

How to handle listings, fancyvrb, newfloat and caption?

I am planning a "small thesis" for university which will need to display lots of code (C, C++, gnuplot, LaTeX, ...) - thus I spent this evening reading about listings and fancyvrb. The latter I've ...
2
votes
1answer
52 views

How to create floats (for listings) that span multiple pages in memoir

For my document I need to create several 'listof' pages that all must be formatted in a uniform way. So the standard feature support from lets say the listings package is insufficient. Therefore I use ...
1
vote
0answers
78 views

Problem to include flowchart [closed]

I am trying to include a flow chart as figure in my document but I think I am doing something wrong. After compile I get blank page in my PDF document. I am using MiKTeX 2.9 and Windows 7. Here is ...
2
votes
1answer
42 views

subfigure placement incorrect with 4 figures

I am having an issue with latex placing my figures incorrectly. I have 4 related plots that I want to appear together as a single figure (with a,b,c,d sub-references). \begin{center} ...
3
votes
1answer
64 views

How to wrap a fig close to a description/itemize list?

I want to make a description list with a figure in the right side. I prefer wrapping the fig, but It´s good in any other kind of wrapping I code this, but I have no good results, It´s strange, place ...
1
vote
1answer
87 views

81 figures in a Latex document

I have 81 figures saved as .png files . I want to display them all on a Latex document . I can plot about 10 of them before Latex starts complaining . Here is my Latex code : ...
11
votes
2answers
224 views

Splitting verbatim inside figure across pages

I want to include a long section of verbatim text, which is too long for a single page, inside a figure with a caption. Unfortunately, when the verbatim environment is put into a figure, it does not ...
0
votes
0answers
29 views

Image appears before paragraph [duplicate]

A part of my document looks like this: \paragraph{blah} \begin{figure}[ht!] \centering \includegraphics[width=4.5in]{3a.jpg} \caption{(a)} \end{figure} \begin{figure}[ht!] \centering ...
2
votes
1answer
67 views

floatflt - removing extra white space on top

When I include a figure via floatfigure into my text, I can't get it to stick to the top margin of the text body. There is always some white space left. I even tried to look in the package code, but ...
2
votes
1answer
86 views

How can I make my caption span both columns in a twocolumn revtex document?

I'm using revtex with twocolumn. I have a wide figure, and I put it in the widetext environment to allow it to span both columns. The figure itself looks fine, but the caption seems to be stuck in one ...
5
votes
1answer
62 views

Set certain fontsize for a certain part of my document

I'm embedding a figure into my document which contains several \put{}-commands to place texts and formulas over the PDF-figure. The code looks of BLA.pdf_tex looks like this: %% Creator: Inkscape ...
2
votes
0answers
71 views

Figures much clearer in the internal PDF-Viewer

I have a problem: In my thesis I added some figures via: \begin{figure}[H] \begin{center} \includegraphics[width=\textwidth]{figure.png} \caption{blablabla} \label{Abb.1} \end{center} ...
4
votes
1answer
40 views

Arrays inside a subfigure

I'd like to know how to put an array inside a subfigure (if it can be done). I have no problem putting the following code inside a figure statement but in subfigure it fails miserably and I cannot ...
2
votes
1answer
119 views

Young diagram as float in tufte-book

I am trying to place Young diagrams (using youngtab) in the margin, as in the tufte-book document class. I have tried the obvious \begin{figure} \centering ...
3
votes
1answer
106 views

Alignment of several pgfplots of different widths inside subfigures

I try to fit six pgfplots created with matlab2tikz onto a page by placing them inside subfigures. So my document looks something like this: \documentclass[a4paper,11pt, BCOR=12mm, ...
4
votes
1answer
63 views

How to locally reduce the vertical space around a figure?

How can I reduce the space below and above a figure? I found the following answer, describing how I can reduce the vertical spacing for floats globally. How can I achieve this locally (on a single ...
2
votes
1answer
93 views

Eliminate reference to chapter in table caption (memoir class)

I'm editing a book using the memoir class. Each chapter has a different author, and I restart numbering of all elements at the start of each chapter. So far, so good. However, I want to eliminate the ...
2
votes
0answers
47 views

Incompatibility between fixltx2e, subfigure and figure* [closed]

This minimal example: \documentclass[twocolumn]{article} \usepackage{subfigure} \usepackage{fixltx2e} \begin{document} \begin{figure*} asdf \end{figure*} \end{document} gives the error: Extra }, ...
3
votes
1answer
69 views

Floatable centered and non-splittable lstlisting

I've been looking around and tried various setups but have yet to found the solution. I'm trying to define a lstlisting environment that is a float, is centered in the page, and cannot be broken ...
4
votes
2answers
58 views

Change figure caption name only in one figure, not all

I saw here Change caption name of figures , by \renewcommand{\figurename}{Fig.} but if you do that, it changes all of the figures captions. How to change only some of them? but I have 3 figures, I ...
2
votes
0answers
446 views

A float is stuck (cannot be placed)

I am writing an article using revtex4-1, and I am facing the following warning: MnBi.bbl|1 warning| LaTeX Warning: A float is stuck (cannot be placed) on input line 1. (As from vim's quickfix ...
0
votes
0answers
26 views

Cannot get my figure placed at the right spot [duplicate]

Although I use the option [H] or small case analogue of it [h], my figure is placed separately from the text how can I solve this issue? I tried to provide a minimal working example but this may not ...
4
votes
1answer
37 views

Figure caption line breaking after first letter

For all of my figures I am getting a line break after the first letter, so for example my PDF looks like Figure 1: V arying negative h values are plotted All of the text is centered because I am ...
2
votes
1answer
91 views

How can I set the width of a landscape figure to the textwidth?

I would like to have a figure in landscape format to fill the whole page, i.e. I would like the width to be the textheight of a portrait page or the textwidth of a landscape page, respectively. Here ...
1
vote
0answers
38 views

Figure in a letter

Is there any way to include a figure in a letter \documentclass{letter}? I am trying to include a signature eps: \begin{figure}[!ht] \includegraphics[width=4 cm]{Signature.eps} \end{figure} I ...
4
votes
1answer
55 views

How to solve the issue between side-by-side floats (tables) and floatrow package?

I came from here where this issue was raised but could not find a straightforward solution. I have now side-by-side tables and I want to avoid the errors thrown once floatrow package is added to the ...
1
vote
0answers
45 views

Adding the figures to a `draft` pdf

Suppose you have a draft pdf, and the only difference with a desired final version of it is the lack of figures. And suppose too you have the original figures, but not the source code of the document. ...