¿Cómo colocar varias imágenes una encima de otra y centrarlas en la página?

¿Cómo colocar varias imágenes una encima de otra y centrarlas en la página?

No sé cómo centrar las imágenes. El objetivo es centrar las imágenes y hacerlas lo suficientemente grandes como para estirarse sobre la línea de recorte.

Opcionalmente: ¿Es posible controlar qué tan cerca están las imágenes (en otras palabras, qué tan grande es el espacio entre el borde inferior de una imagen y el borde superior de otra imagen)?

\documentclass[12pt]{extbook}
% ############################## geometry
\usepackage%[showframe]
           {geometry}
\geometry
  { hmarginratio =  1:1
  , vmarginratio = 1:1
  , bindingoffset = 0cm
  , onecolumn
  , a4paper
  , layoutwidth = 50 mm
  , layoutheight = 180 mm
  , layouthoffset=\dimexpr(\paperwidth-\csname Gm@layoutwidth\endcsname)/2\relax
   , layoutvoffset=\dimexpr(\paperheight-\csname Gm@layoutheight\endcsname)/2\relax
  , showcrop
  }
\usepackage{fancyhdr}
\usepackage{mwe}
\usepackage{graphicx}
% ############################### Document
\begin{document}
\pagenumbering{gobble}
\begin{figure}
\centering
\begin{minipage}[c]{\textwidth}
\centering
\noindent\includegraphics[width=5cm]{example-image}
\end{minipage}
\begin{minipage}[c]{\textwidth}
\centering
\noindent\includegraphics[width=5cm]{example-image}
\end{minipage}
\begin{minipage}[c]{\textwidth}
\centering
\noindent\includegraphics[width=5cm]{example-image}
\end{minipage}
\begin{minipage}[c]{\textwidth}
\centering
\noindent\includegraphics[width=5cm]{example-image}
\end{minipage}
\begin{minipage}[c]{\textwidth}
\centering
\noindent\includegraphics[width=5cm]{example-image}
\end{minipage}
\end{figure}
\end{document}

Respuesta1

El planteamiento del problema no es muy claro, pero quizás esto sea lo que quieres.

\documentclass[12pt]{extbook}

% ############################## geometry
\usepackage{geometry}
\geometry{
  hmarginratio =  1:1,
  vmarginratio = 1:1,
  bindingoffset = 0cm,
  onecolumn,
  a4paper,
  layoutwidth = 50 mm,
  layoutheight = 180 mm,
  layouthoffset=\dimexpr(\paperwidth-\csname Gm@layoutwidth\endcsname)/2\relax,
  layoutvoffset=\dimexpr(\paperheight-\csname Gm@layoutheight\endcsname)/2\relax,
  showcrop
}

\usepackage{graphicx}

% ############################### Document

\begin{document}
\thispagestyle{empty}

{\parindent=0pt
 \newcommand{\shiftleft}{\hspace*{-0.5\dimexpr\csname Gm@layoutwidth\endcsname-\textwidth\relax}}

\shiftleft\includegraphics[width=5cm]{example-image}\shiftleft\vfill

\shiftleft\includegraphics[width=5cm]{example-image}\shiftleft\vfill

\shiftleft\includegraphics[width=5cm]{example-image}\shiftleft

}
\end{document}

ingrese la descripción de la imagen aquí

información relacionada