Skip to main content

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
0 answers
316 views

! Argument of \caption@@@withoptargs has an extra }. error. aip-cp doc class using miktex. It compiles in overleaf

\documentclass{aip-cp} \usepackage[numbers]{natbib} \usepackage{placeins} \usepackage{caption} %Added my self \usepackage{bm} \usepackage{multirow} \usepackage{bigstrut} \usepackage{epsfig} \...
Rui Gonçalves's user avatar
-1 votes
1 answer
82 views

Insert pdf between text

I want to insert figure below into my document to a specified scale of 0.7 between text and I also want it captioned. If I use the figure environment it creates a whole page for itself(even after ...
Megamind's user avatar
0 votes
1 answer
706 views

Subfigure and \textwidth not working correctly

I want to use subfigure to put one image next to the other in my document. I literally copy-pasted the code from Overleaf and modified it to have 2 instead of 3 images. I am working on Overleaf ...
nico_so's user avatar
0 votes
0 answers
14 views

Figure credits misnumbering in tuftebook with {figure*}

I'm writing a large book in tuftebook (TeXShop, MacOS) with a "home" .tex file (PaP.tex) that includes calls for individual chapters (\include{PaPCh1}, \include{PaPCh2}...). (This likely ...
David G. Stork's user avatar
1 vote
1 answer
67 views

Place Bottom Floats over Footnote without Footmisc Package

I'm redefining the footnote layout and want to have them displayed always at the bottom of the page. For pure text it was easy by putting an \vfill at the beginning of the \footseprule definition; ...
lukeflo's user avatar
  • 1,597
0 votes
1 answer
59 views

Automatically establishing new floattype

Inside a macro I would like to establish a new type of float. One of the parameters to be set during that process is \ftype@TYPE, where TYPE is the float type: figure, table, and so on. I know, that \...
ThorstenL's user avatar
  • 161
3 votes
1 answer
51 views

Spacing above and below a figure in wrapfigure mystery

In a simple setup that is \documentclass{report} \usepackage{amsmath,caption,wrapfig} \usepackage{lipsum,blindtext} \usepackage[demo]{graphicx} \begin{document} \lipsum[2] \section{A Small Section} \...
aminitindas's user avatar
0 votes
1 answer
44 views

Figure float is sticking in the middle of the page instead of top

I am trying to set up the figure float in such a way that if there in not enough space after the text in that page, it goes to the top of the next page. Then the text after that float is written in ...
aminitindas's user avatar
1 vote
0 answers
24 views

Force figure to be on the first page of chapter even if too big [duplicate]

Given the minimal working example below: How would I force the figure to be on the same page as the chapter headline "The End", without making it smaller? \documentclass[12pt]{report} \...
JoeGlas's user avatar
  • 29
0 votes
1 answer
68 views

Allow text to sit over out-of-bounds graphic

I have a feathered graphic which extends beyond its bounding box. It blends into the background, and is not supposed to interfere with main text setting. Unfortunately, text set before the graphic is ...
Liam's user avatar
  • 3
0 votes
0 answers
53 views

Reuse a counter for numbering floats

I can’t find how to number floats created with \newfloat using an existing counter (like sibling=theorem but for \newfloat). Any idea? MWE: \documentclass[options]{article} \usepackage{amsmath} \...
tobiasBora's user avatar
  • 8,954
2 votes
2 answers
81 views

Problem with Figure counter in the 0th chapter in book class

I have a 0th chapter in my book to recollect the prerequisites. The figure environment is supposed to follow the default numbering scheme: \thechapter.\thefigure. However, this scheme is violated in ...
Subhajit Paul's user avatar
1 vote
2 answers
51 views

How to control subfigures through pages?

I am trying to place multiple subfigures into 3 columns. I have large no. of figures to display. Naturally, keeping the figures visible for readers in an article, I am trying to fit 9 or 12 figures in ...
aminitindas's user avatar
0 votes
1 answer
74 views

In classicthesis, is it possible to have lists of figures, listings etc. without leading "figure", "listing", etc?

In classicthesis, how can I remove the leading "Figure", "Listing", or "Table" before the actual figure/listing/table number? In other words, what I have is: Figure 1.1 ...
inmyutopia's user avatar
4 votes
3 answers
219 views

How to let a figure appear exactly on page 16?

My MWE \documentclass[twoside]{book}% % 2 Packages only for demonstration purposes: \usepackage{tikzducks}% Delivers figures for testing purposes \usepackage{lipsum}% Delivers blind text \begin{...
ThorstenL's user avatar
  • 161
0 votes
0 answers
21 views

How to put multiple figures (with partial regular name) into Latex with section ranking number and picture name [duplicate]

I want to put multiple figures (with partial regular name) into Latex with section ranking number and picture name, could you teach me how to do that? The picture's format is .jpg, please find the ...
Sean Yen's user avatar
0 votes
0 answers
22 views

Image moving to next page and text is not. Why? how to fix it [duplicate]

I am writing a thesis. I have big figures, about a page long. I want them to come after certain text/paragraph, but they are moving way ahead from that text and going to several pages. Figure is in ...
EY RC's user avatar
  • 1
2 votes
1 answer
111 views

How to do individual float placement?

My MWE: \documentclass[twoside]{book}% \usepackage{tikzducks}% Delivers figures for testing purposes \usepackage{lipsum}% Delivers blind text \newcounter{totalnumberold} \newcounter{topnumberold} \...
ThorstenL's user avatar
  • 161
0 votes
0 answers
20 views

Referencing the third and fourth pictures in a single figure [duplicate]

I have the following Latex code: \begin{figure} [H] \centering \label{3.1_Gravity} \includegraphics[height=.3\textwidth,width=.45\textwidth]{3.1_Gravity_1D_phi} \includegraphics[...
Mjoseph's user avatar
  • 133
0 votes
1 answer
24 views

Insert Figure caption in a table element

I have a table with an odd number of pictures that I dispose two per row. The bottom-right corner is then figure-less, and I would like that the caption of the figure appears there to save some ...
G. Gare's user avatar
  • 707
0 votes
1 answer
40 views

How to transport code, not material, with a float?

My MWE: \documentclass[twoside]{book}% \usepackage{graphicx}% \usepackage{tikzducks}% \usepackage{lipsum}% \usepackage{color}% \begin{document} \color{red} \begin{figure} \...
ThorstenL's user avatar
  • 161
1 vote
1 answer
73 views

No indent inside tcb theorem

How would I disable the indents inside my theorem and example boxes which are made by tcbtheorem? Any help would be greatly appreciated. \documentclass{book} \RequirePackage[dvipsnames]{xcolor} \...
xyz04's user avatar
  • 137
0 votes
0 answers
15 views

Document putting all figures at the end, despite specifying figure placement [duplicate]

For some strange reason, all the figures in a LaTeX document that I'm preparing are being put right at the end. This is despite me specifying precisely the figure placement in the figure arguments (...
OGBond's user avatar
  • 75
1 vote
1 answer
24 views

Prevent environments table and figure to change default colour

When environment table is invoked, everything within it becomes black. Similarly, the caption of figure is also black. In the MWE below, capital letters and caption are both black: \documentclass{...
Pygmalion's user avatar
  • 6,329
0 votes
1 answer
20 views

Aligning 2 images/adding space below one

I have this figure: I want them to be at the same height i.e. their centers are at the same y coordinate. This is what I have: \begin{figure}[h] \centering \includegraphics[scale=0.4]{images/...
Makogan's user avatar
  • 885
2 votes
3 answers
133 views

Two page panorama without \afterpage -- tables as well as figures

About one and a half decades ago I tried printing a panorama with LaTeX and found a version with several calls to \afterpage, that worked for me. Meanwhile, I found a much more elegant, shorter, and ...
ThorstenL's user avatar
  • 161
2 votes
1 answer
248 views

tcolorbox failing to float to bottom of page

I want to float a tcolorbox to the bottom of a page of text, but it doesn't reliably work. This question is very closely related to How to place tcolorbox at bottom of page, but not a complete ...
richard's user avatar
  • 719
1 vote
1 answer
65 views

Footnotetext jumps to next page and back again

I have tried to describe my problem before (Footnotetext jumps back to Forepage for the second paragraph). There for delivering a "MWE" Ulrike Fischer gave me the valuable tip, that normally ...
ThorstenL's user avatar
  • 161
0 votes
1 answer
69 views

Is it possible to format a table filled with pictures in latex like in this picture?

Picture I want to reproduce. Specifically, I would like the cells with the pictures colored, and the pictures centered in the cells. The $\tau_{coal}$ underneath the moment of contact would also be ...
JohnMcSwag's user avatar
0 votes
2 answers
62 views

Even spacing when placing three tikz pictures side-by-side with single y axis

I am attempting to place three figures side-by-side. The figures can then make use of the same y-axis label to save on space. The problem that I am having is that I have to manually place the space ...
Philip's user avatar
  • 13
2 votes
1 answer
67 views

Transfer from two columns to one column then to two column in text with "twocolumn" parameter on one page

It is feasible to transfer from two columns to one column or from one column to two columns in text or with figures or tables based on the twocolumn parameters on one page. But Transfer from two ...
Y. zeng's user avatar
  • 2,105
3 votes
3 answers
49 views

Arrangement of two unequal-sized images next to each other

I would like to display two pictures of different sizes next to each other, the pictures should be centered in relation to each other. But I also want the captions to be at the same height. So the ...
Simon's user avatar
  • 33
0 votes
1 answer
36 views

Custom figure counter: links jump to the wrong figure

As external software generates figures without labels similar to the figures included in the example, I am unable to reference them. However, I need to reference them in my text using e.g. \ref{fig:1}....
joffdd's user avatar
  • 3
0 votes
1 answer
94 views

Tabular inside combination of adjustbox, minipage, and figure

Context I want to put 4 tabulars horinzontally aligned with each other, and I'm currently using a janky setup of an adjustbox (for each tabular) inside a minipage (for each tabular) all inside one ...
BrightBulb123's user avatar
2 votes
1 answer
49 views

Center only the axis (not the spy) (pgfplots/tikz)

Context I have the following image being produced with the following code: Image Code \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{pgfplots} \...
BrightBulb123's user avatar
0 votes
2 answers
74 views

Landscape (tcolorbox) floats

I'd like to have landscape (tcolorbox) floats, and the naive way of doing them with afterpage and pdflscape does not really work. While I did get the result I wanted for print, I would also like to ...
xavierm02's user avatar
  • 787
0 votes
0 answers
49 views

figure within paragraph, not moving figure to the next page

I am trying to place a figure within a paragraph. I would like LaTeX to break the paragraph as if it was end of the page, but just before the figure. I have tried using package float with \begin{...
Daniela's user avatar
  • 107
1 vote
1 answer
56 views

Wide table, pictures and text issues, multicolumn, etc

I am currently writing an internship report, and trying to sum up some information in a wide table. So far, I got this (table is wider in my doc, but width is not an issue here) : \documentclass[11pt,...
Marck's user avatar
  • 167
0 votes
0 answers
90 views

Numbering of Tables and Figure in Latex without chapter numbers (continuous) and separate from each other

In the document class report the standard way of numbering tables and figures is with the chapter number in front so 1.1, 1.2, 2.1 etc. I managed to remove the chapter number to get a continuous ...
Katharina's user avatar
0 votes
0 answers
37 views

How to use \FIG to cite a figure in text and change the name of the citation

Currently my code looks like \FIG{fig.my_label} %to cite a picture in the text The text shows like But I want to change the citation name like this And in my article, the figure is a single picture ...
bibos hxxh's user avatar
2 votes
2 answers
46 views

Format figure caption when using minipage

I am using minipage within figure environment, and I want to maintain only the figure name, and sort of "sub caption" to the minipage. MWE: Currently, this is how I plot the figure: \...
arilwan's user avatar
  • 399
0 votes
1 answer
17 views

When using \part, unwanted full stop/period appears after float numbers in scrbook [duplicate]

I'm writing a document using the scrbook class, and I'm having some strange behavior when combing floats with the \part macro. For the following document: \documentclass{scrbook} \begin{document} \...
Ben Zelnick's user avatar
3 votes
1 answer
182 views

I have modified figure environment to create plate environment, when I use "\listofplates" it is not working

To write my Ph.D. thesis. I have utilized the figure environment to create an environment called a "plate". However, when I use the \listoffigures command, it includes both figures and ...
vinoth kumar's user avatar
3 votes
3 answers
230 views

How to center caption in a figure that is flushright?

When I flushright a figure in a beamer with two columns, the caption isn't centered in the figure, which creates an odd misalignment. \documentclass{beamer} \usepackage{graphicx} \usepackage{...
Tiago Prazeres's user avatar
1 vote
1 answer
44 views

create a new environment by modifiying figure environment so that title will have the name Plate instead of Figure

I am currently working on my Ph.D. thesis and require assistance in creating an environment where I can insert a figure. However, I need the title of the figure to be named "Plate" instead. ...
vinoth kumar's user avatar
0 votes
0 answers
532 views

What causes the difference between "\begin{figure}[hbt]" and "\begin{figure}" in LaTeX?

When the figure is inserted in LaTeX, we will use float environment by \begin{figure}, in which the specifiers could be h, b, t and ! or their combinations. As explained in How to influence the ...
Y. zeng's user avatar
  • 2,105
1 vote
3 answers
365 views

Change Figure numbering from 0.1, 0.2 to 1, 2

I would like the figures in this document to simply be numbered as "Figure 1", "Figure 2" etc. Right now, they are numbered as "Figure 0.1", "Figure 0.2" etc, ...
Nereus's user avatar
  • 303
4 votes
0 answers
137 views

Specifying positions of floats exactly (e.g. top of right hand column of page 2)

Short version: how can I disable LaTeX's automatic figure placement and instead specify their positions manually, relative to the page layout rather than their position in the text? Long version: Once ...
N. Virgo's user avatar
  • 4,289
0 votes
1 answer
67 views

How to make a plot with 6 subfigures ( 2 figures in each row*3 rows)?

I am trying to make a plot that would ideally have 3 rows and 2 columns such that the layout is Row Description(A) |fig(a) |fig(b)| Row Description(B) |fig(a) |fig(b)| Row Description(C) |fig(a) ...
Samira's user avatar
  • 3
3 votes
2 answers
179 views

How to combine a top figure* with a figure and a bottom figure* on the same page in a twocolumn document?

This question is related to this question, but a different case is considered. Consider you have a blue text with a figure* and a figure, followed by a red text with another figure*. Because Latex ...
Karlo's user avatar
  • 3,257

1
3 4
5
6 7
125