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
3
votes
3answers
107 views

How can I get my figure list to only show the first sentence/title of my figure caption?

I have figure captions like this: \documentclass{book} \usepackage{graphicx} \begin{document} \listoffigures \begin{figure} \centering \includegraphics[width=12cm]{...
0
votes
1answer
52 views

wrapping text around an image on top of the page

For my university report, i have to create this in latex. I tried it on latex using wragfig with this code \documentclass[10pt,a4paper]{report} \usepackage[a4paper,vmargin={25mm,25mm},hmargin={25mm,...
0
votes
0answers
12 views

Cannot Position Figures Correctly [duplicate]

I am writing my senior thesis on latex. I've been using latex for a few years but I always have issues positioning the figures. Sometimes, I can place them whereever I want with use of !h, p, t ...
-1
votes
2answers
42 views

generating a table of Figures with labels below the figures

I would like to generate a table of Figures. An excellent example is How to generate a table of figures. Which I have accomplished, however now I would like to add labels below each figure (a), (b).......
0
votes
1answer
22 views

How to Arrange Figures as follows for a Journal Paper

I want to add 3 pictures to a journal paper as shown in the image below. I have used the following code: \begin{figure*}[!h] \begin{tabular}{cc} \multirow{3}{*}{} & \includegraphics[...
-2
votes
1answer
35 views

Define text blocks on a static page

I am looking for a way to write own static pages with latex. For this I am mixing environments and commands. Right now I have a very easy Title page which is not working out really good. It should ...
0
votes
0answers
32 views

Problem with figures, captions and the main font in TexStudio

everybody! I have a problem with the "figure" environment. I have inserted several images one after the other \ begin {figure}[htbp!] \ caption {...} \ centering \ includegraphics [...] {...
0
votes
0answers
31 views

Cite caption and figure

I want to cite a figure and directly cite the caption of the text. That means that I copy the figure and the original caption of the figure. Is the following solution correct because someone can think ...
0
votes
1answer
46 views

Overleaf is not recognizing [b] figure placement

I want to get figures to be placed on the bottom of the page, but Overleaf isn't recognizing the [b] for any figures. Here is the figure's code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{figure}[b] % ...
1
vote
1answer
35 views

\listoftables (and figures) STILL won't work (I have tried all I could read about this)

I have been using latex for a few months but still very new to some things, I have read EVERY PLACE and post regarding this issue and tried a lot but still no answer. I used the \listoftables and \...
0
votes
1answer
13 views

Add htbp to all float environments [duplicate]

In short: How can I add the optional parameters [htbp] to all float environments? Ideally, I don't want to define a custom new environment, but add these options "with a hack" like \g@addto@...
-1
votes
3answers
41 views

How to make 1 figure on the left and 2x2 figures on the right?

I have five figures. I want to put 1 figure on the left and the rest of the four figures on the right in the format of 2x2. Can anyone help me to figure this out?
1
vote
2answers
59 views

Table position: does [p] enable a forced new-page mode?

In my document, I made the first table to place on the special page. But all the following tables are also going to this page ignoring any positioning arguments I use. \documentclass{article} \begin{...
1
vote
1answer
41 views

New command: Arithmetic-based image width

Theoretically, I think this command should create an environment which is slightly wider than the image it is meant to house: \newcommand{\ListedFig}[3]{ \piccaption{\small #1} \parpic(#2cm,0pt){\...
1
vote
2answers
37 views

Full-page graphic within multicol

A full-page graphic can be included in an ordinary single-column document using \begin{figure*}[t!] ... \end{figure*} (regardless of overfull boxes which can be avoided). But that obviously fails ...
1
vote
1answer
59 views

Center figures by default

Currently all of my figures look like this: \begin{figure} \centering \includegraphics[width=0.5\columnwidth]{my-figure} \end{figure} I would like to avoid specifying \centering in each figure, ...
0
votes
0answers
45 views

How can I have a second figure in one chapter instead of commas?

While writing my thesis i encountered this annoying problem/bug. When I place two figures each with a tikzpicture in one chapter, I get commas (,, ,,,,) in the pdf, spread over two pages instead of ...
0
votes
1answer
50 views

Numbering of floats in \chapter*

MWE: \documentclass[oneside,listof=leveldown]{scrbook} \usepackage[newfloat]{minted} \begin{document} \listoflistings \listoffigures \listoftables \chapter*{Introduction} % \begin{listing} \...
3
votes
1answer
56 views

Label doesn't get recognized inside float environment by cleveref package

Cleveref package doesn't find the label inside the float environment. Instead, it shows ??? Do I need to add additional properties to float? \documentclass{article} \usepackage[utf8]{inputenc} \...
0
votes
0answers
21 views

Axis with 4 columns

I would like to create something like this picture: but on the axis XY like this: How can I build such a figure divided into 4 parts? And how to place these additional fields on them, in this ...
2
votes
1answer
62 views

Align figures in a row using latex

hi i am using ieee 2 column format .. i am placing 4 figures in a row but why its not aligning properly as you can see right side two figures are slightly above the left ones here is my code \...
0
votes
1answer
34 views

place 3 figures in a row in two column format [duplicate]

Hi i am usng two column format and i want to place three figures i a row like this figure and every figure should have separate caption \documentclass[conference]{IEEEtran} \...
0
votes
0answers
18 views

How can I adjust the positions of figure in Tex studio? [duplicate]

I put my figures where I want them to be, but after I run them, the places of the pictures in the pdf are changed. How do I solve this problem?
0
votes
0answers
19 views

How to set spacing for a single chapter/section/subsection?

I have the problem that I get a huge space under the section title for some sections when importing a figure. I use the scrreprt document class. Is there a possibility to change the spacing under a ...
1
vote
0answers
18 views

latex code didnt print images of equal size

i am working on ieee 2 column template .. i am placing 4 figures in a row but i am really wondering that the code didnt show them equal size even they sare of equal size can any one tell me why here ...
1
vote
0answers
16 views

Caption of figures and tables not centered in AMS classes [duplicate]

According to AMS Author Handbook the caption of tables and figures should be automatically centered, but for some reason they are moved to the right side. This is a screenshot of the Handbook: This ...
3
votes
1answer
24 views

How to have a title ABOVE AND more details BELOW a minted figure or listing?

I would love to be able to give a minted figure a title on top, and more details at the bottom, as the incorrect pseudocode below encapsulates - Is that possible? \begin{figure}[thp] \caption{title ...
0
votes
0answers
18 views

Weird Chapter, Section, and Subsection Spacing When Using [H] for Figures and Tables

When I insert figures into my document that need to be at that exact place (using [H]), then sometimes huge spaces appear under the chapter, section, or subsection headings: Is there a way to set a ...
3
votes
2answers
77 views

how to fix space before and after algorithm

I am working on IEEE 2 column format and I wrote algorithm but the algorithm is not able to fix in the column as it has free space above and below the algorithm as shown in figure how to solve this ...
0
votes
0answers
21 views

Continue figure caption onto next page

I have been trying to get my figure caption to start on the same page as my figure but obey the margins and continue on the next page after. I have tried everything I have come across and the only ...
1
vote
1answer
42 views

how to increase the image size

I have images of 586 X 444 but it looks so small. Can I increase the size to some extent through code? If any one can help, here is my code: \documentclass[conference]{IEEEtran} \...
1
vote
1answer
25 views

File ended while scanning use of \@writefile. <inserted text> \par l.53 \begin{document}

I just got this error with my Latex code : Runaway argument? {\contentsline {section}{\numberline {4.3}Température d'équilibre d\ETC ./TM écrit .tex:53 : File ended while scanning use of \@writefile. &...
3
votes
2answers
72 views

How to place 4 figures side by side in latex

I want to place 4 figures side by side in latex such that two are in row one and other are in row 2. I have written the following code, but not getting it correctly. \begin{figure}[hbt!] \centering \...
1
vote
1answer
33 views

how to reduce horizontal space between figures in tabular

I'm using this code \begin{figure}[ht] \begin{tabular}{ll} % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ... \includegraphics[trim = {3.32cm 10.61cm 3.32cm 10.61cm},clip,width=...
1
vote
1answer
35 views

Cite multiple figure parts in latex

I am working on ieee template on overleaf. I have figures with (a) and (b) part but how can I cite fig. 1(a) and (b) in document. For simple ref we use \ref{figurelabel} but for a and b part how to ...
1
vote
1answer
46 views

Wrap automatically into figure if not enough space to place it Here

In many cases, I prefer to have a picture directly after the text, without caption... like that: However, when there is no space for the picture (end of page...), I prefer to create a figure ...
0
votes
0answers
17 views

Extract image from RMarkDown HTML

I often generate reports using RMarkDown. These include images based on analyses which are encoded in the knitted HTML file in URI scheme format. The following RMarkDown can be knitted to such a file. ...
1
vote
1answer
27 views

Including macros in texcount by regular expression

I would like to include all macros (or \newcommand's) that start with \figure and count them as floats in texcount. For context, have a look in here. It works if I tell texcount to increment the float ...
7
votes
3answers
993 views

How to draw the internal circuits of an operational amplifier?

I'm trying to do the next schematics about the 741 opamp: but I don't know where to anchor the first transistor or even which should be done first, and how to do the transistor with double emitter. ...
2
votes
1answer
36 views

How to correct the figure numbering? [duplicate]

Im doing an article but the reference made to the figure isn't matching with the figure number in the caption. (the figure says 1, but in the text referenced says 1.1 not 1). How can be corrected? ...
1
vote
1answer
30 views

qrcode wont work inside a caption

i'd like to use a \qrcode inside of a \caption, like: % !TeX program = lualatex \documentclass{scrartcl} \usepackage{polyglossia}\setdefaultlanguage{german} \usepackage{graphicx, qrcode} \begin{...
0
votes
0answers
21 views

Moving table to the top [duplicate]

I would like to add a table with a caption to my document. (Somewhere in the middle of my article) However, every time I add a caption, it moves the table to the very beginning (top) of the document. ...
1
vote
1answer
53 views

Environment figure undefined

I am using latex to write a letter, but when I tried to insert a picture into the letter, latex it said that the figure environment undefined. I have already imported corresponding packages: \...
2
votes
1answer
39 views

Number all lines including figures, empty lines ,title and authors

I need to number all lines for paper submission but no available answer until now covers this. the closest one is this one How to number all lines in a draft? but there is no available code. Lineno as ...
1
vote
2answers
55 views

Is it possible to make Latex restart the figure counter whenever a section is used? [duplicate]

I know i can use \setcounter{figure}{0} to achieve want i want but this would mean i have to add this command after every section. I was wondering if its possible to write a command such that every ...
0
votes
0answers
33 views

tcolorbox with title on top left and caption at bottom

I'm trying to get a tcolorbox that is floating, has an arbitrary title (e.g. Algorithm Test) inside a rounded box in the top left corner, and has a caption below (outside) the box. Exactly like the ...
0
votes
0answers
24 views

Creating a newenvironment with an optional second argument

everyone. I'm trying to create an environment that works like figure, but in a minipage environment. This environment is going to receive the figure position arguments in addition of the minipage ...
1
vote
1answer
92 views

Subfigures in MDPI template Overleaf

I've been trying to deploy subfigures in the MDPI article template using the subcaption package , however every time I attempt to deploy it , the figures overlap with the caption Here is my tex file \...
0
votes
0answers
13 views

How to make 2 subfigures to take up whole width in 2 column document without minipage, float

I would like to put a figure with 2 subfigures at the top of the same page that they are included in the code. The document is in 2 column format, but I want the figure to take up both columns (placed ...
4
votes
1answer
52 views

Two tables side by side in two column document

I need two tables to be placed on top of the page and side by side in a two-column document. Each table should have its own caption, in its own column, and needs to be nicely centered to its column. ...

1
2 3 4 5
111