Como colocar várias imagens umas sobre as outras e centralizá-las na página?

Como colocar várias imagens umas sobre as outras e centralizá-las na página?

Não consigo descobrir como centralizar as imagens. O objetivo é centralizar as imagens e torná-las grandes o suficiente para ultrapassarem a linha de corte.

Opcionalmente: É possível controlar o quão próximas as imagens estão (em outras palavras, quão grande é o espaço entre a borda inferior de uma imagem e a borda superior de outra imagem).

\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}

Responder1

A formulação do problema não é muito clara, mas talvez seja isso que você deseja.

\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}

insira a descrição da imagem aqui

informação relacionada