4
votes
Is there a comprehensive manual regarding floats and their positioning?
Frank Mittelbach has one such TUGboat article: How to influence the position of float environments like figure and table in LaTeX?. And an excellent one at that.
It is also available at https://www....
3
votes
Find out if a figure is positioned h, t, b, or p
Don't forget to run twice.
\documentclass{article}
\usepackage{refcount}
\makeatletter
\newcommand{\savefps}[1]% #1 = label name
{\bgroup
\edef\@currentlabel{\number\@tempcnta}%
\label{#1}%
\...
2
votes
Accepted
Tikz-Feynman diagrams overlapping in subfigure
The diagrams are wider than 0.3\textwidth. A simple approach would be to scale them down using \begin{tikzpicture}[scale=0.75,every node/.style={transform shape}]
The key transform shape applies the ...
2
votes
Accepted
Figure with two graphics and one matrix
You can exploit the fact that a tabular is vertically centered with respect to the baseline (actually, not exactly, but it's not so important).
\documentclass{article}
\usepackage{amsmath}
\usepackage{...
2
votes
Accepted
Latex3 floating point calculations in longtblr (tabularray)
Although I think it would be better to use functional library to do programming inside tabularray tables, you could still use expl3 if you want. You may compare this answer with another answer for a ...
2
votes
Figures with minipage - how to fit it to text width
For sub-images I would use subfigure environment (defined in the subcaption package), delete hfill on the end of images row and remove minipage around minipages in the second figure row::
\...
2
votes
Accepted
Figures with minipage - how to fit it to text width
Try this code.
(1) remove the \hfill after the last figure,
(2) put the minipages inside a figure environment in the second row, instead of the other way around,
(3) put the label after the caption ...
2
votes
Accepted
Unwanted text in the output when renaming and resetting the counter of figures (for supplementary material)
Since \fnum@figure has a @ in it, you need \makeatletter and \makeatother around it. Also, since you already added S in \thefigure, there is no need to add it again in \fnum@figure. Thus your code ...
1
vote
Tabular environment malfunctioning: incorrect order and whitespace
With use of the tabularray and adjustbox package, font size small and without
resizing of table:
\documentclass{article}
\usepackage[margin=25mm]{geometry}
\usepackage{tabularray}
\usepackage[export]{...
1
vote
Putting pictures at a particular place (taking the width of the page)
If I got your question right, you want to force the postion of a figure environment in a specific position on the page.
If you really want to do this, you should load the float package and pass the [H]...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
floats × 5743captions × 829
positioning × 675
graphics × 555
tables × 547
subfloats × 545
tikz-pgf × 251
spacing × 238
two-column × 236
cross-referencing × 217
horizontal-alignment × 207
numbering × 202
minipage × 179
table-of-contents × 163
subcaption × 155
page-breaking × 144
wrapfigure × 125
vertical-alignment × 124
beamer × 107
lyx × 106
rotating × 92
listings × 90
multicol × 90
formatting × 88
margins × 88