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

Troubles for fit this floating table to the page

Sorry for the question but I have the following MWE: \documentclass[fontsize=10pt,paper=letter,headings=big,bibliography=totoc,DIV=9,headsepline=true,]{scrbook} ...
0
votes
1answer
20 views

Modify list of figures in .sty file

My .sty file has the following code for \listoffigure: \RequirePackage{ifthen} \RequirePackage{setspace} \RequirePackage{comment} \RequirePackage{epsfig} \usepackage{sectsty} ...
3
votes
1answer
59 views

How to know the *best* figure dimensions

How do I know which dimensions are best for the figures I want to include in my book? I know about \textwidth, \linewidth, etc. but is there an automatic way to adjust the figures in an appropriate ...
0
votes
1answer
17 views

Two figures side by side - caption

I have two figures side by side in my work and I need to add captions to them. However when I add captions they are not in line with the figures. Is anyone able to help me? Thank you very much. This ...
3
votes
1answer
27 views

why subfigure doesn't occupy the full textwidth

I have 5 subfigures with width set to be 0.2 \textwidth, I want them to be in one row, but I have to set their width smaller than 0.2 to do that. Does anyone know the reason? Thank you!
3
votes
2answers
24 views

Two captions, one figure, one line

I have a figure that contains two images side by side. I want the first to be Figure 1 and the second image to be Figure 2. I'd like to have the caption written beneath both of them. ...
3
votes
2answers
35 views

How to create new subfloats?

Using \newfloat, new float environments can be created and as exemplified in this post, I created a new float called suppfig but I want to add subfigures in it. When I simply add subfigures inside it ...
1
vote
1answer
19 views

Global setting of adjustwidth is ignored by figures

I have a long document which format I don't want to break. My aim is to shift the entire content to the right; so basically if I increase the right margin by 1cm I want the left margin to decrease by ...
0
votes
1answer
33 views

Page content turns back to portrait within `landscape` environment

I have some wide tables, so I decided to use landscape orientation to show them. I use the landscape environment from the lscape package to achieve this. Unfortunately, I am experiencing some strange ...
0
votes
3answers
29 views

Using a table inside a figure tag, otherwise changing table caption to figure

I've used a table of figures in order to format their presentation and order. But essentially the whole thing is a figure, so I want it now to get "Figure 5" as a caption. To do that I guess I have to ...
0
votes
1answer
23 views

Adding figures on first page of documentclass article

I'm using the default article documentclass for a document that is just supposed to hold the accompanying figures for a paper. This is what I'm doing: \documentclass{article} \usepackage{graphicx} ...
1
vote
1answer
17 views

One-column figure in a two-column document : top and bottom alignment with text

I have a tall image in a figure float in a two-column document that I want alone in a single column. I would like the top of the image and the bottom of the figure caption to be both vertically ...
0
votes
2answers
33 views

Border of pictures are not coming in longtable

\begin{longtable}{|lllllllll|} % [ht] \caption{Create } \\ %\label{step 3} \hline \multicolumn{3}{|l|}{\textbf{Prefix}} & ...
1
vote
0answers
82 views

Figures generate improper text spacing/breaking with IEEEtran and latexrelease package after MiKTeX update

After updating MiKTeX on 23-April-2015, compilation of my TeX files that use the fixltx2e.sty package was broken. According to the LaTeX News Issue 22 article, the fixltx2e package has become obsolete ...
1
vote
1answer
20 views

Setting margins below and above figures does not have any effect in beamer

For the sake of using captions I'd like to put my graphics into a \begin{figure} ... environment. Doing that a white space is added before and after the picture, table or whatever. This answer is ...
2
votes
1answer
18 views

spanish and lost figure

I want to use \usepackage[spanish]{babel} because I am writing a text in Spanish language. Now, when I make that, the figures get lost!, they cannot be read any more. The changes that I expect are ...
1
vote
0answers
28 views

Keeping tables / figures (floats) on either the current even (left) or odd (right) page

I'm writing a two sided LaTeX document and would like tables / figures (floats) to be depicted ) in the best case, immediately after the end of the sentence in which the float is referred to with ...
2
votes
2answers
90 views

How to center text in a ellipse and to draw circle nodes?

I have spend much time on this figure too and I have tried different types of tikz, pstricks and multido use packages. I would like to create a figure, which look like this: I have wrote following: ...
5
votes
2answers
117 views

How to add text and a more correct zigzag-line to a figure?

I have now spend hours by creating this figure - without luck. I have tried different types of tikz, pstricks and multido usepackages. My biggest problem is to add text, to add a more correct ...
0
votes
0answers
28 views

Chapter without tables/figures appear in LOT/LOF

My "Conclusion" chapter do not have any figures or tables. I'm using the following code in the beginning of each chapter containing a figure/table in order to get a LOT/LOF with chapter headlines: ...
1
vote
1answer
55 views

White space between two figures

I have four figures all of the same size. They are all put under each other but for some reason there is no space between the first two, but for the second two there is a white space which makes the ...
1
vote
0answers
46 views

Choose page for figure

I'm writing a thesis and have a few full-page figures that I've stuffed in the appendix while I write. I'm getting close to finishing and need to get them into the relevant chapter. TeX places ...
0
votes
1answer
22 views

Spacing of notes below a figure

I've trying to adjust the spacing of the text lines of notes I have below a figure. The font size of the note is, for instance, footnotesize, but the space is the same of the regular text I have in ...
1
vote
0answers
22 views

Page break in float pages

I have an appendix section with half a page of text followed by a lot of tables. I want all these tables to go on float pages for the nice distribution on the pages, so placement specified as [p]. ...
0
votes
0answers
32 views

Placing a figure inside a table which needs to be listed in the table of figures

I need to put a figure inside a table and then list it in the table of figures. What I made and failed is this: \begin{longtabu} to \textwidth {..omitted for brevity...} \caption{Table of components} ...
3
votes
1answer
20 views

memoir \setfloatadjustment does not work after loading fixltx2e

Consider the following snippet: \documentclass{memoir} \usepackage{fixltx2e} \setfloatadjustment{figure}{\raggedleft} \begin{document} \begin{figure} ABC \end{figure} \end{document} When you ...
2
votes
2answers
52 views

Vertical Spacing Between Figure Names from Different Chapters in Table of Figures [duplicate]

I'm using the chngcntr package to prevent the figure numbering from restarting, in my scrreprt. Take a look at the following code: \usepackage{chngcntr} \counterwithout{figure}{chapter} ...
2
votes
0answers
26 views

matlab2tikz scales width variable by factor 0.95092

I use global default variables \figwidth for figure width and \figheight for height in my document. These are defined by the following code in my document header: Latex ...
2
votes
3answers
81 views

How we can specify figure page in LaTeX? [duplicate]

How we can specify figure page? For example I want show a figure on top of page 5.
0
votes
0answers
25 views

Image border is too high while the photo itself has narrow border

I am adding two images in a page, the first image is at top and then when placing second image, apparently, the Tex gives a very long border to the second image from both top and bottom. I attached ...
2
votes
1answer
32 views

Subfloats don't have the same size

I have a 3x1 subfloats as shown below and the problem is that there is a slight difference in there size dimensions, and I'm asking how this can be fixed so that they have the same size? If anyone ...
1
vote
1answer
16 views

Add Titles to only Rows using subfloat

Following the answer found in this question , I've tried to use the below code to add titles to only the rows, but what happens is that the title appears in a line then the picture in the line under ...
4
votes
2answers
41 views

Put a caption under a drawn picture

I have the following code that produce a 3x3 grid with an arrow in it. Some of the grid cells have a # in them. \begin{picture}(185,90) \put(0,0){\framebox(30,30)} \put(30,0){\framebox(30,30)} ...
0
votes
1answer
57 views

Caption above figure

How can I set the caption to be above the figure ? It has something to do with package floatrow. If I comment the line which is loading it, all is OK. I dont accept solutions as "disable floatrow ...
1
vote
1answer
41 views

Expansion problem in a grid-like tikz figure

My goal is to automate a process where I have many pictures from a movie sequence and I would like them to be typeset in descending rows. For that, all my images rest in a folder and of course, they ...
0
votes
1answer
36 views

Insert multiple “unique” photos in one page in latex

My attempt is to put multiple photos in a page, which are not related to each other. However, they overlap and making page look ugly. Is there a way to separate these photos? the document class can be ...
3
votes
2answers
41 views

Landscape A3 page in Portrait A4 Document - adds a blank page or reorients previous page - please help!

I've got an landscape A3 page in an A4 document, but the way I've written the code, it requires a blank page, or orients the previous page landscape too. Can anyone advise? Also, is there an easy ...
0
votes
0answers
22 views

Floating figure with transparent pixels

I need to include a floating picture in my document. The included picture represents a circular logo, where pixels outside of the circle are transparent. I'm currently using the following code: ...
1
vote
1answer
14 views

Problem with subfig, ref and renewcommand

I have a problem with using the subfigure package and the corresponding references. I'm wirting my thesis and I want the Figure to be named like this \numberwithin{figure}{part} ...
1
vote
1answer
44 views

Add titles for rows and columns in a subfloat

I have this 6x3 subfloats and I want to add vertical titles to each row of them and horizontal titles to each column.If anyone could please advise how this can be done. I also want to fit this figure ...
4
votes
1answer
27 views

Algorithm environment, defining a custom style

I'm currently using the following mwe \documentclass{article} \usepackage{algpseudocode} \usepackage[plain]{algorithm} \begin{document} \begin{algorithm}[H] \hrule \vspace{0.5em} \caption{Euclide's ...
1
vote
1answer
37 views

Add titles and remove numbering in subfloat

I have this 6x3 subfloats and I want to add vertical titles to each row of them and horizontal titles to each column. I also want to remove these (a) (b) (c) ... labels so that it's only the caption ...
0
votes
1answer
89 views

Draw picture of electric transformer

I would like to draw an electric transformer close to this image Ideally there would be more spires on one side than the other I had learned to do some tree decision with Tikz, so I can do two ...
4
votes
2answers
48 views

Remove white space before landscape

I am inserting a landscape figure. \begin{landscape} \begin{figure} \centering \includegraphics[width=\linewidth]{figures/sensor_diffs.jpg} \caption{Example of a single rep in which sensors are fused ...
1
vote
0answers
36 views

Sharelatex: figure not being rendered when using Springer's monograph template

This Sharelatex project renders a figure with four pdf images correctly. Neither of the ways in which the figure is typeset works when using Springer's Monograph template (link, look at the part.tex ...
2
votes
1answer
74 views

With too many figures, change the page geometry to fit in more figures after the text

My problem is the following: I have a lot of figures to add in my report. These figures are usually about 0.4 of the height of the page. With the caption, the height is more like 0.55 or something. ...
2
votes
1answer
56 views

Graphics file not found [duplicate]

I'm attempting to include image files in my LaTeX document whose code is: \documentclass[a4paper, 11pt]{article} \usepackage{amsmath} \usepackage{graphicx} \usepackage{microtype} \usepackage{siunitx} ...
1
vote
0answers
11 views

Unable to push a figure to the top of an empty page [duplicate]

I am writing a thesis and I have a figure which appears near the end of a chapter. It happens that there is no sufficient space for it at the last page so it is floated to the next new empty page. And ...
4
votes
1answer
45 views

LaTeX places table outside of page margin

I'm using the KOMA class scrbook with the font Tex Gyre Pagella (11pt) and onehalf-spacing. I am placing a table float with the position options "htb", but both pdflatex and lualatex place the table ...
1
vote
1answer
32 views

Compile only floats

When preparing a document, there are useful ways to limit what gets compiled overall. This is the case with the \includeonly command, and the draft option, that in many classes allows one to not ...