Questions tagged [floats]

{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}.

Filter by
Sorted by
Tagged with
1
vote
3answers
48 views

Label on the side (margin) of the figure

I need to strictly use the format of the paper since it was given from the University. The margin of the text is 12.5cm and the one of the figures too. I need to put the label of the figure on its ...
0
votes
1answer
27 views

I want to wrap text only above and below a figure inside of a column

So, I have created a two-column latex document using the multicol package. For the main body of the text, the code looks something like this: \documentclass[11pt, A4]{article} \usepackage{wrapfig} \...
0
votes
2answers
60 views

LaTeX figure insert problem

I am a beginner in LaTeX, when I wanted to insert a graph into the document, it shows several errors, could anyone help me with this, what should I do to fix the error? \documentclass[10pt]{article} \...
1
vote
0answers
27 views

Output size is gradually decreased in EPS to PDF conversion

I am including .eps files in a LaTeX document into a 3x3 array, and they are converted to .pdf automatically. \begin{figure}[!t] \centering \includegraphics[width=0.32\textwidth]{f1.eps} \...
0
votes
0answers
17 views

How to specify figure position in latex [duplicate]

I need to place the figure under a specific paragraph but it appears at a randome position. Can you please modify my code using the appropriate command? Thanks \begin{figure} \centering \...
1
vote
1answer
42 views

How to make a caption of a figure (a), (b) split into 2 lines in a conference paper?

I am using the conference paper format, and my title caption is a bit long, I want to have the line go to the second line. Not sure how can I do that? I used caption{} in my other template, it ...
1
vote
1answer
40 views

Draw figure using LatexDraw

I have drawn a figure using Latexdraw. My code is as follows: \documentclass{article} \usepackage[usenames,dvipsnames]{pstricks} \usepackage{epsfig} \usepackage{pst-grad} % For gradients \...
2
votes
1answer
67 views

Why does the order of usage of \captionof matter?

It seems that the \captionof command not only changes the current caption but also all following captions. That means one cannot easily swap captions around in a figure but has to remember what type ...
2
votes
2answers
47 views

How can place 7 images across 2 rows in a 'figure'?

Here is my code: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure}[htbp] \subfloat[Distribution of herring in 2018]{ \begin{minipage}[c][1\...
6
votes
2answers
454 views

How do I create a 3x3 matrix of Images with a letter at the beginning of each line?

While getting back into Latex for my Master thesis, I have a repetitive pattern of microscopy images that need to be arranged in 3 lines (with designated sample "names") and 3 columns, which I thought ...
1
vote
2answers
60 views

How can I compute the total space used by figures?

I'm finishing my Ph. D. thesis, and I need to specify some technical characteristics of the thesis including the cumulative space used by all figures (measured in pages). Is there any magic function ...
0
votes
1answer
104 views

`tikzpicture` is not working parallel with `\begin{table}… \end{table}`

I am using tikz to draw a tikzpicture and it works properly. However, if I try to insert a table using the syntax \begin{table} ...\end{table} I get the error Too many }'s. \end{table} \begin{...
0
votes
0answers
21 views

Caption outside paper bounds

I created a Gantt chart and to fit it on one page I rotated it sideways. But now the caption falls outside the pages its bounds. I also tried placing the \ganttchart inside a figure and use \...
0
votes
1answer
79 views

Gaussian Pulse? [closed]

I need to build Gaussian pulse in time and frequency domain, as depicted in the figure. I tried tikz library but could not.
0
votes
0answers
22 views

LaTeX giving me error for picture caption but output looks right [duplicate]

I entered the following code: \documentclass[12pt]{article} \usepackage{amssymb} \usepackage{graphicx} \usepackage{amsmath} \usepackage{amsthm} \usepackage{float} \usepackage{enumitem} \usepackage{...
1
vote
1answer
34 views

Adding figure and text in a cell of a table

I am making a table which has some figures in it. Two of the cells need to have some text as well on the bottom of the figure (It's not caption, so does not need to have fig. number).The text is ...
0
votes
1answer
23 views

Appreciate figure to Fig. and table to Tab. with \usepackage{caption}

I did some modifications on captions using the \usepackage{caption}. Tho I can't figure out how to modify figure to Fig. and table to Tab.. The way I did it, both are change to Fig.. Here's my code: ...
3
votes
1answer
82 views

Simple example of using \newinsert and friends?

I'm trying to learn how \newinsert and its related macros work for inserting things like footnotes. I've been looking through latex.ltx and some other classes which use custom inserts (like memoir.cls)...
0
votes
1answer
24 views

Longtable: Text appears where it should not appear

I am using the longtableenvironment for printing my large table on a landscape-page. Problem: I have to use some multirowsand this seems to corrupt the tabular-enironment After breaking the page, ...
0
votes
1answer
60 views

Figures go past margin, do not obey margins

Figures go over the margins, how can I make them obey the A4 paper margins and if there's no space available make them move to next page? MWE: \usepackage[main=english]{babel} \usepackage[margin=3cm,...
0
votes
0answers
39 views

Source code and figure each with individual labels side by side and aligned to the bottom

I am no latex expert and am trying to get get the following to work using the minipage package. I have a source code section and an image and want to place them side by side. Each of them should have ...
1
vote
2answers
43 views

Captioning `qtree` trees

I want to have two trees aligned side by side within a footnote, both captioned and labeled. The following reports an error and produces misalignment. \documentclass{article} \usepackage[utf8]{...
1
vote
0answers
44 views

Floatrow distorts algorithm caption

This is the template for a conference: https://media.icml.cc/Conferences/ICML2020/Styles/icml2020_style.zip. I'm using that template for my paper. However, when I do \usepackage{floatrow}, it distorts ...
1
vote
0answers
43 views

idea/query for a package (unless it alread exists)

Imagine you're a silly person (like me), who has arm-twisted LaTeX into working as a DTP environment, for long (500-1200 page monstrographs) with lots of figures (which can't break across pages, ...
0
votes
2answers
59 views

Annoying ghost column after parbox

So I've previously asked a question regarding figures and tikzpictures inside boxes from the TeX macro package insbox. I got a working MWE, but implementing it in my full document made me realise ...
0
votes
1answer
26 views

Subfigures in triangle with the subfigure package

I am trying to get three images as subfigures in this shape: I want to do it with the package subfigures bacause the rest of my document is with that package and it seems to be incompatible with the ...
0
votes
0answers
29 views

Figures and table caption .:

I have an issue with figures and tables caption as latex generates .: in caption like Figure1.2.: Writing data I would be grateful if somebody can supports me.
0
votes
1answer
53 views

list of figures and tables

I am writing my thesis in LaTex and the thesis formatting requires the word "Figure" to be present and bold in each line and left justified caption means caption should be aligned in next line i.e. ...
2
votes
1answer
25 views

Figures in opposite order than they're placed

I'm attempting to place two feynman diagrams using feynmp in the figure environment so they can have a caption and their numbering is the same as other figures. However doing so they come out in the ...
0
votes
0answers
28 views

renewcommand with begin{…} [duplicate]

I'm trying to center all figures, but renewcommand does not work the way I expected. \renewcommand{\begin{figure}}{\begin{figure}\centering} This code has an error. Why doesn't it work and how can ...
0
votes
1answer
26 views

Graphic going to next page regardless of what I do

I'm brand new to LaTeX, it's required for my Data Science class and I'm working on my first assignment. No matter what I try, I can't seem to get the graphic to go to the top of the first page. It ...
0
votes
0answers
32 views

Two column float with [b] using the cas-dc template

I am using the cas-dc template for Elsevier. When trying to use \begin{figure*}[pos=b] content \end{figure*} the illustration is not shown at the bottom of the page, but still at the top. I have ...
1
vote
1answer
67 views

I am having trouble formating a homework assignment

I think TexStudio is trying to optimize space but I don't know how to stop it.The proof is supposed to be at the end of the document, but it ends up being placed near the beginning. \documentclass{...
0
votes
0answers
35 views

Text next to images [duplicate]

I am trying to wrap text next to images. I am doing something like this: \begin{wrapfigure}{l}{0.5\textwidth} \centering \includegraphics[width=0.45\textwidth]{2018-01-26.png} \caption{\...
0
votes
1answer
61 views

Define a custom floating environment in page margins?

I am using fancyhdr and tikz to create custom sidebars on the left-even and right-odd sides of my pages (for a book, so documentstyle book). Is there a way to make a new "floating area" and ...
0
votes
0answers
26 views

Numbering error in Figure Credits with figure*

I'm using TeXShop 3.96 under Mac OS 10.12.6 Sierra and tufte-book style. I include figure credits for many (but not all) of my figures. In the preamble I include: \makeatletter \newcommand{\...
2
votes
0answers
22 views

Figures attribution index

I am creating a document with photographs taken from others, so I have to include the attributions. I would like to have a "figures bibliography" similar to the one generated by \printbibliography ...
0
votes
1answer
28 views

In BEAMER, Bring Front Formula over a Figure

I am totally new in beamer. I have a question about positioning formulas over a Figure in beamer. Previously, I was preparing my presentations with Power Point. In Power Point I could write a formula ...
1
vote
1answer
39 views

Add code before/after H type floats only

I would like to patch my [H] floats with some vertical space as it appears inconsistent with [h] and other type floats. I am using KOMAscript Is there a good way to put code before/after the ...
0
votes
1answer
38 views

Consistent space between text for figures, tables, etc. (floats)

Assuming I am using an [H] float, I'd like to create equal space above the caption, and below the table (for a table with caption above), and that same space above a figure, and below the caption (for ...
0
votes
1answer
33 views

How to adjust the figure to the cell height?

I have a table as follows ''' \begin{table*} \centering \caption{******} \label{my-label} \begin{tabular}{ m{3cm} m{4cm} m{5cm} } \toprule \textbf{Behavior} & \multicolumn{1}{c}{...
0
votes
1answer
39 views

How to make subfigure letter (a, b, c, …) colorful in the text as referenced figures?

The figures appear colorful when I refer them in the text: See: However, the subfigures a & b are not real/automated subfigures. They are belong to 1 figure, I type a and be manually. I want ...
0
votes
1answer
31 views

Report class in latex generates error for subfigures when compiled? Still generates error

\documentclass[12pt, a4paper]{report} % Report class in 11 points \usepackage[left=1.5in,right=1.5in,top=1.7in,bottom=1.7in]{geometry} %\usepackage{setspace} \usepackage[titles]{tocloft} \usepackage{...
2
votes
1answer
59 views

How does tex4ebook work with images (png, jpg)?

After finish writing a book in LaTeX, I learned the many online books are published in the ePub format. Then I decided to learn a little bit of how to convert .tex (or .pdf) into .epub. The book has ...
3
votes
1answer
37 views

Can I use a cross reference in the caption figures?

I tried to find solutions, but I was unable to find I need to report in chapter 11, a figure contained in chapter 7 and I want them to have the same image number. I tried using the \tag{\ref{}} but I ...
0
votes
0answers
72 views

Create fascinating Math Homework Assignments

while I'm writing the following sheet of exercises of Brownian motion I can't get rid of the space that between the \sec and the \exercise which looks like this Update: Since I use the comment of @...
1
vote
1answer
38 views

Latex generate error in IEEE ACCESS template in Figure, Algorithm, and Table

\documentclass{ieeeaccess} \usepackage{cite} \usepackage{amsmath,amssymb,amsfonts} \usepackage{algorithmic} \usepackage{graphicx} \usepackage{textcomp} \begin{document} \begin{table}[h!] \centering ...
1
vote
1answer
22 views

How to adjust spacing between words in caption of sub-figures?

I used subfig package to position multiple images within a figure. As you can see the captions are weirdly spaced. How can I fix the spacing of the captions? The code I used is the following: \begin{...
0
votes
2answers
77 views

Stranges lines in my table

I have a basic example of my template that return me an error. I create a new float that's call "quadro". But when I use "\begin{quadro}" appears some strange lines \documentclass[ article, % indica ...
2
votes
0answers
32 views

How to get \marginnote to appear in middle margin in two column mode with multicol package?

I've tried messing around with How to trigger the marginal note in two column layout kind of thing. But still haven't got the marginnotes appearing in the middle column. I would like them aligned ...

1 2 3 4 5 96