Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

# Tag Info

### 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....
• 11.2k

### 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}% \...
• 69.6k
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 ...
• 24.8k
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{...
• 986k
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 ...
• 7,921

### 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:: \...
• 251k
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 ...
• 24.8k
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 ...
• 5,521
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]{...
• 251k
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]...
• 11

Only top scored, non community-wiki answers of a minimum length are eligible