Page Layout ⇒ Making two columns - figure + equation
Making two columns - figure + equation
I wish to put a figure next to an equation, and the "easiest" way would be to make two columns - how do I do that ? I know how to do it for a figure and a text segment, but how do I do it for a figure and an equation (!) ?
Thanks for any help.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Making two columns - figure + equation
one possibility would be to use minipage environments; take a look at the following example:
Code: Select all
\documentclass{article}
\usepackage{caption}
\usepackage{amsmath}
\begin{document}
\noindent\begin{minipage}{.45\textwidth}
\centering
\rule{4cm}{3cm}
\captionof{figure}{Test figure.}
\label{fig:figure}
\end{minipage}
\begin{minipage}{.45\textwidth}
\begin{align}
a &= b\\
&= c\\
&= d
\end{align}
\end{minipage}
\end{document}
Re: Making two columns - figure + equation
Thanks for the help !