Graphics, Figures & TablesGraphics

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Super
Posts: 5
Joined: Wed Jun 11, 2014 11:07 pm

Graphics

Post by Super »

I have two images that I want to be side be side, under a single caption called "figure 1" Right now, I have one that is on top of a page, and one that is below. How do you get it to be side to side? Thanks!

Code: Select all

\begin{figure}
\vspace*{-3cm}
\includegraphics[scale=0.76]{Figure1.png}
\end{figure}
\begin{figure}
\hspace{5em}\includegraphics[scale=1]{Figures1.png}
\vspace*{5cm}
\caption{}

\end{figure}

Recommended reading 2024:

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

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

tom
Posts: 73
Joined: Thu Apr 18, 2013 4:02 am

Graphics

Post by tom »

Use {minipage} or the subfigure, subfig or subcaption package.

See here for a code example.
Post Reply