Math & ScienceHow to realize such two columns (one column text and the other figure)?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
yaozhao
Posts: 57
Joined: Sat Oct 27, 2018 10:38 pm

How to realize such two columns (one column text and the other figure)?

Post by yaozhao »

How to realize such two columns (one column text and the other figure)?

Please see the attached photo.
Attachments
Screen Shot 2019-09-03 at 7.13.00 PM.png
Screen Shot 2019-09-03 at 7.13.00 PM.png (88.85 KiB) Viewed 4209 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

How to realize such two columns (one column text and the other figure)?

Post by Stefan Kottwitz »

Hi,

this is a way using subfigures:

Code: Select all

\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{subcaption}
\usepackage{blindtext}
\begin{document}
\begin{figure}[!htbp]
\begin{subfigure}{.6\textwidth}
  \blindtext
\end{subfigure}%
\begin{subfigure}{.4\textwidth}
  \hfill
  \includegraphics[width=0.8\linewidth,height=7cm]{figure}
\end{subfigure}
\end{figure}
\end{document}
Stefan
LaTeX.org admin
Post Reply