2024-08-05 21:02:37 +00:00
\documentclass { article}
\usepackage { graphicx}
\usepackage { subcaption}
\usepackage { hyperref}
\setlength { \parindent } { 0pt}
\hypersetup {
colorlinks=true,
linkcolor=blue,
citecolor=blue,
filecolor=magenta,
urlcolor=blue,
}
\begin { document}
% Insert Image at specified Position
The following \autoref { image0} is inserted at the specified position.
\begin { figure} [h]
\centering
2024-08-06 19:24:36 +00:00
\includegraphics [width=0.7\textwidth] { dependency_ 2x.png}
2024-08-05 21:02:37 +00:00
\caption { This is xkcd 2347}
\label { image0}
\end { figure}
This Reference to \autoref { image0} was inserted below the figure at the specified position.
% Insert an Array of Images
\newpage
The following \autoref { all_ images} is inserted at the specified position. It contains six images, see \autoref { image1} , \autoref { image2} , \autoref { image3} , \autoref { image4} , \autoref { image5} and \autoref { image6} .
\begin { figure} [h]
\centering
\begin { subfigure} [b]{ 0.3\textwidth }
\centering
2024-08-06 19:24:36 +00:00
\includegraphics [width=\textwidth] { dependency_ 2x.png}
2024-08-05 21:02:37 +00:00
\caption { image}
\label { image1}
\end { subfigure}
\hfill
\begin { subfigure} [b]{ 0.3\textwidth }
\centering
2024-08-06 19:24:36 +00:00
\includegraphics [width=\textwidth] { dependency_ 2x.png}
2024-08-05 21:02:37 +00:00
\caption { image}
\label { image2}
\end { subfigure}
\hfill
\begin { subfigure} [b]{ 0.3\textwidth }
\centering
2024-08-06 19:24:36 +00:00
\includegraphics [width=\textwidth] { dependency_ 2x.png}
2024-08-05 21:02:37 +00:00
\caption { image}
\label { image3}
\end { subfigure}
\vspace { 0.2cm}
\begin { subfigure} [b]{ 0.3\textwidth }
\centering
2024-08-06 19:24:36 +00:00
\includegraphics [width=\textwidth] { dependency_ 2x.png}
2024-08-05 21:02:37 +00:00
\caption { image}
\label { image4}
\end { subfigure}
\hfill
\begin { subfigure} [b]{ 0.3\textwidth }
\centering
2024-08-06 19:24:36 +00:00
\includegraphics [width=\textwidth] { dependency_ 2x.png}
2024-08-05 21:02:37 +00:00
\caption { image}
\label { image5}
\end { subfigure}
\hfill
\begin { subfigure} [b]{ 0.3\textwidth }
\centering
2024-08-06 19:24:36 +00:00
\includegraphics [width=\textwidth] { dependency_ 2x.png}
2024-08-05 21:02:37 +00:00
\caption { image}
\label { image6}
\end { subfigure}
\caption { All images}
\label { all_ images}
\end { figure}
This Reference to \autoref { all_ images} was inserted below the figure at the specified position.
\pagebreak
\listoffigures
\end { document}