5
votes
Accepted
How to make two tikzpicture's appear one same row
Blank lines are interpreted as paragraph breaks, so removing the blank line between the subfigures puts them on the same row.
\documentclass{article}
\usepackage{tikz}
\usepackage{caption}
\...
5
votes
Accepted
Subfloat figure arrangment
I'm not sure why using figure* for a one-column document, so I add twocolumn. If your document is one-column, use figure.
There are several ways to solve the problem, I like to use \valign (which has ...
4
votes
How to make two tikzpicture's appear one same row
Why are you using TikZ for this?
A simple tabular is enough.
Here I use tabularray:
\documentclass{article}
\usepackage{tabularray}
\usepackage{xcolor}
\NewTblrEnviron{mytab}
\SetTblrInner[mytab]{
...
3
votes
How to make two tikzpicture's appear one same row
LaTeX converts new lines to spaces and empty lines to actually new lines in output documents, or so-to-say new paragraphs. In your case, remove the empty line and you will get images next to each ...
3
votes
Accepted
Align last subfigure on the left side
I would delete all \centering directives, set the widths of the individual graphs to 1\textwidth rather than 0.9\textwidth, insert \hfill directives between adjacent subfigure environments, and issue \...
2
votes
Align last subfigure on the left side
Add a "fake image" in the form of \hspace{0.48\textwidth} after the final (5th) image.
\documentclass{article}
\usepackage[draft]{graphicx}
\usepackage{subcaption}
\begin{document}
\...
1
vote
How can I vertically align four different sized subfigures and their respective captions?
Like this?
One (only possible) way is to move images baseline to their vertical center and insert images in table with one row with images and the next row for captions.
By help of adjustbox is this ...
1
vote
Including two separate figures in latex as a subplot
The trick is to temporarily redefine figure to be subfigure.
\begin{filecontents}{fig1}
\begin{figure}[t]
\begin{tikzpicture}
\node{Hello world!};
\end{tikzpicture}
\caption{caption}
\label{fig1}
\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
subfloats × 1916floats × 580
subcaption × 360
captions × 293
graphics × 196
tikz-pgf × 151
cross-referencing × 113
tables × 109
horizontal-alignment × 106
positioning × 96
vertical-alignment × 95
minipage × 81
subfig × 79
numbering × 70
spacing × 55
pgfplots × 54
memoir × 53
beamer × 36
floatrow × 33
labels × 30
cleveref × 30
hyperref × 29
table-of-contents × 28
ieeetran × 25
two-column × 24