Home > LaTeX > Figures

LaTeX 8.4 Side-by-Side Subfigures

LaTeX Index
Document 1

Side-by-Side Subfigures

.tex
LaTeX Source Ready

Rendered Output Preview

Click "Compile Online PDF" to generate and view full PDF.

Formulation Guide

  • Include subcaption package: \usepackage{subcaption}
  • Nest \begin{subfigure}[b]{0.48\textwidth} ... \end{subfigure} within figure
  • Insert horizontal spacing: \hfill
  • Label individual panels: \label{subfig:flux} for sub-references

The modern subcaption package provides the subfigure environment. Multiple subfigures are placed horizontally using width fractions (e.g., 0.48\textwidth) and separated by \hfill. Each subfigure receives an automatic letter index (a, b) and its own caption.

Document 2

Side-by-Side Subfigures

.tex
LaTeX Source Ready

Rendered Output Preview

Click "Compile Online PDF" to generate and view full PDF.

Formulation Guide

  • Decompose multi-degree-of-freedom vibrations into eigenmodes
  • Present mode shapes in adjacent subfigures with independent labels
  • Cross-reference specific vibration modes in technical prose

Subfigures allow clear scientific comparisons between paired states, such as normal modes, phase-portrait bifurcations, or before/after experimental measurements.