Graphics, Figures & Tables5 Figures in a row, 3 rows (15 images total)

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Eisbergsalat
Posts: 1
Joined: Wed Feb 20, 2019 5:20 pm

5 Figures in a row, 3 rows (15 images total)

Post by Eisbergsalat »

Hey Guys,

Im currently struggeling to present some images.
To be exact i cannt set some caption for my minipage figures.
how do i add caption for my images? Currently the caption begin in the center of the pdf.
Like under the 3th Image. If i only use 2 Images with like minipagesize0.5 its working. How do i get it working with 5 images in a row? and how to get multiple rows. I tried /centering (those where were are the empty lines), didnt worked out

Code: Select all

\begin{figure}[H]
		
		\begin{minipage}[t]{0.19\linewidth}
			
			\includegraphics[width=\textwidth]{Image1.png}
			\caption*{a) original}
		\end{minipage}
		\begin{minipage}[t]{0.19\linewidth}
			
			\includegraphics[width=\textwidth]{Image12.png}
			\caption*{b) FW}
		\end{minipage}
		\begin{minipage}[t]{0.19\linewidth}
			
			\includegraphics[width=\textwidth]{Image13.png}
			\caption*{c)  QS}
		\end{minipage}
		\begin{minipage}[t]{0.19\linewidth}
			
			\includegraphics[width=\textwidth]{Image14.png}	
			\caption*{d) SL}
		\end{minipage}
		\begin{minipage}[t]{0.19\linewidth}
			
			\includegraphics[width=\textwidth]{Image5.png}
			\caption*{e) CW}
		\end{minipage}
		\caption{Main 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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

5 Figures in a row, 3 rows (15 images total)

Post by Johannes_B »

Make use of the subcaption package and replace the minipages by subfigures (if i remember correctly).
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply