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} \...
gz839918's user avatar
  • 1,689
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 ...
egreg's user avatar
  • 1.1m
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]{ ...
CarLaTeX's user avatar
  • 61.1k
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 ...
Celdor's user avatar
  • 8,458
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 \...
Mico's user avatar
  • 490k
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} \...
Werner's user avatar
  • 595k
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 ...
Zarko's user avatar
  • 289k
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} \...
John Kormylo's user avatar
  • 77.4k

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