Viele Unterfiguren in einer Figur

Viele Unterfiguren in einer Figur

Ich möchte 81 Unterabbildungen in einer Abbildung mit einer Bildunterschrift unterbringen und jede Unterabbildung mit einer Nummer kennzeichnen. Jede Unterabbildung hat die gleiche Größe (also brauche ich tabularxdas wahrscheinlich nicht). Ich hätte gerne 4 Unterabbildungen in einer Reihe, wie folgt:

SUBFIG1 & SUBFIG2 & SUBFIG3 & SUBFIG4

..

SUBFIG77 & SUBFIG78 & SUBFIG79 & SUBFIG80

SUBFIG81

Bildunterschrift: XXX

Unter jeder Unterabbildung hätte ich gerne eine eingeklammerte Zahl, z. B. hätte ich unter SUBFIG1 gerne (1) usw.

Wie kann ich das am besten in Latex machen? Ich habe die tabularUmgebung ausprobiert

\documentclass{report}
\usepackage{subcaption}
\begin{figure}
\begin{tabular}{cccc}
\subfloat[(1)]{\includegraphics[width=2cm]{SUBFIG1.eps}} 
    & \subfloat[(2)]{\includegraphics[width=2cm]{SUBFIG2.eps}}
    &  \subfloat[(3)]{\includegraphics[width=2cm]{SUBFIG3.eps}} 
    & \subfloat[(4)]{\includegraphics[width=2cm]{SUBFIG4.eps}} \\
\subfloat[(5)]{\includegraphics[width=2cm]{SUBFIG5.eps}} 
    & \subfloat[(6)]{\includegraphics[width=2cm]{SUBFIG6.eps}}
 ...
\end{tabular}
\caption{XXX}
\label{xxx}
\end{figure}

aber hier subfloathat es a-z als Zähltrennzeichen und sobald ich 24 Unterabbildungen erreiche, verschwindet es von der Seite (d. h. es beginnt nicht mit Unterabbildung 25 auf einer neuen Seite). Danke!

Antwort1

Da alle Bilder die gleiche Breite haben, ist kein tabellarischer Ansatz erforderlich. Verwenden Sie einfach \subfloatAnweisungen, um sie zu platzieren, vier pro Zeile.

subcaptionDa Sie die Überschrift (und damit auch das Paket) laden caption, können Sie \ContinuedFloatam Anfang jeder nachfolgenden figureUmgebung Anweisungen verwenden.

Der folgende Screenshot zeigt die letzte der figuredurch den folgenden Code erstellten Umgebungen.

Bildbeschreibung hier eingeben

\documentclass{report}
\usepackage[margin=2.5cm]{geometry} % set page parameters suitably
\usepackage[demo]{graphicx} % remove 'demo' option in real document

\usepackage{subcaption}
\renewcommand\thesubfigure{\arabic{subfigure}} % arabic numerals
\captionsetup[figure]{skip=0.5\baselineskip}
\captionsetup[subfigure]{skip=0.25\baselineskip,position=below}

\begin{document}

\begin{figure}[p]
\setkeys{Gin}{width=0.22\textwidth,height=0.125\textheight,keepaspectratio}
\caption{XXX}\label{fig:xxx}

\subfloat[]{\includegraphics{SUBFIG01}}\hfill
\subfloat[]{\includegraphics{SUBFIG02}}\hfill
\subfloat[]{\includegraphics{SUBFIG03}}\hfill
\subfloat[]{\includegraphics{SUBFIG04}}

\medskip
\subfloat[]{\includegraphics{SUBFIG05}}\hfill
\subfloat[]{\includegraphics{SUBFIG06}}\hfill
\subfloat[]{\includegraphics{SUBFIG07}}\hfill
\subfloat[]{\includegraphics{SUBFIG08}}

\medskip
\subfloat[]{\includegraphics{SUBFIG09}}\hfill
\subfloat[]{\includegraphics{SUBFIG10}}\hfill
\subfloat[]{\includegraphics{SUBFIG11}}\hfill
\subfloat[]{\includegraphics{SUBFIG12}}

\medskip
\subfloat[]{\includegraphics{SUBFIG13}}\hfill
\subfloat[]{\includegraphics{SUBFIG14}}\hfill
\subfloat[]{\includegraphics{SUBFIG15}}\hfill
\subfloat[]{\includegraphics{SUBFIG16}}

\medskip
\subfloat[]{\includegraphics{SUBFIG17}}\hfill
\subfloat[]{\includegraphics{SUBFIG18}}\hfill
\subfloat[]{\includegraphics{SUBFIG19}}\hfill
\subfloat[]{\includegraphics{SUBFIG20}}

\medskip
\subfloat[]{\includegraphics{SUBFIG21}}\hfill
\subfloat[]{\includegraphics{SUBFIG22}}\hfill
\subfloat[]{\includegraphics{SUBFIG23}}\hfill
\subfloat[]{\includegraphics{SUBFIG24}}

\end{figure}

\begin{figure}[p]
\setkeys{Gin}{width=0.22\textwidth,height=0.125\textheight,keepaspectratio}
\ContinuedFloat
\caption{XXX, continued}

\subfloat[]{\includegraphics{SUBFIG25}}\hfill
\subfloat[]{\includegraphics{SUBFIG26}}\hfill
\subfloat[]{\includegraphics{SUBFIG27}}\hfill
\subfloat[]{\includegraphics{SUBFIG28}}

\medskip
\subfloat[]{\includegraphics{SUBFIG29}}\hfill
\subfloat[]{\includegraphics{SUBFIG30}}\hfill
\subfloat[]{\includegraphics{SUBFIG31}}\hfill
\subfloat[]{\includegraphics{SUBFIG32}}

\medskip
\subfloat[]{\includegraphics{SUBFIG33}}\hfill
\subfloat[]{\includegraphics{SUBFIG34}}\hfill
\subfloat[]{\includegraphics{SUBFIG35}}\hfill
\subfloat[]{\includegraphics{SUBFIG36}}

\medskip
\subfloat[]{\includegraphics{SUBFIG37}}\hfill
\subfloat[]{\includegraphics{SUBFIG38}}\hfill
\subfloat[]{\includegraphics{SUBFIG39}}\hfill
\subfloat[]{\includegraphics{SUBFIG40}}

\medskip
\subfloat[]{\includegraphics{SUBFIG41}}\hfill
\subfloat[]{\includegraphics{SUBFIG42}}\hfill
\subfloat[]{\includegraphics{SUBFIG43}}\hfill
\subfloat[]{\includegraphics{SUBFIG44}}

\medskip
\subfloat[]{\includegraphics{SUBFIG45}}\hfill
\subfloat[]{\includegraphics{SUBFIG46}}\hfill
\subfloat[]{\includegraphics{SUBFIG47}}\hfill
\subfloat[]{\includegraphics{SUBFIG48}}

\end{figure}

\begin{figure}[p]
\setkeys{Gin}{width=0.22\textwidth,height=0.125\textheight,keepaspectratio}
\ContinuedFloat
\caption{XXX, continued}

\subfloat[]{\includegraphics{SUBFIG49}}\hfill
\subfloat[]{\includegraphics{SUBFIG50}}\hfill
\subfloat[]{\includegraphics{SUBFIG51}}\hfill
\subfloat[]{\includegraphics{SUBFIG52}}

\medskip
\subfloat[]{\includegraphics{SUBFIG53}}\hfill
\subfloat[]{\includegraphics{SUBFIG54}}\hfill
\subfloat[]{\includegraphics{SUBFIG55}}\hfill
\subfloat[]{\includegraphics{SUBFIG56}}

\medskip
\subfloat[]{\includegraphics{SUBFIG57}}\hfill
\subfloat[]{\includegraphics{SUBFIG58}}\hfill
\subfloat[]{\includegraphics{SUBFIG59}}\hfill
\subfloat[]{\includegraphics{SUBFIG60}}

\medskip
\subfloat[]{\includegraphics{SUBFIG61}}\hfill
\subfloat[]{\includegraphics{SUBFIG62}}\hfill
\subfloat[]{\includegraphics{SUBFIG63}}\hfill
\subfloat[]{\includegraphics{SUBFIG64}}

\medskip
\subfloat[]{\includegraphics{SUBFIG65}}\hfill
\subfloat[]{\includegraphics{SUBFIG66}}\hfill
\subfloat[]{\includegraphics{SUBFIG67}}\hfill
\subfloat[]{\includegraphics{SUBFIG68}}

\medskip
\subfloat[]{\includegraphics{SUBFIG69}}\hfill
\subfloat[]{\includegraphics{SUBFIG70}}\hfill
\subfloat[]{\includegraphics{SUBFIG71}}\hfill
\subfloat[]{\includegraphics{SUBFIG72}}

\end{figure}

\begin{figure}[ht!]
\setkeys{Gin}{width=0.22\textwidth,height=0.125\textheight,keepaspectratio}
\ContinuedFloat
\caption{XXX, continued}

\subfloat[]{\includegraphics{SUBFIG73}}\hfill
\subfloat[]{\includegraphics{SUBFIG74}}\hfill
\subfloat[]{\includegraphics{SUBFIG75}}\hfill
\subfloat[]{\includegraphics{SUBFIG76}}

\medskip
\subfloat[]{\includegraphics{SUBFIG77}}\hfill
\subfloat[]{\includegraphics{SUBFIG78}}\hfill
\subfloat[]{\includegraphics{SUBFIG79}}\hfill
\subfloat[]{\includegraphics{SUBFIG80}}

\medskip
\subfloat[]{\includegraphics{SUBFIG81}}\hfill

\end{figure}


\end{document} 

Antwort2

Vielleicht, wenn Sie die Zahlen in eine Tabelle einfügen und sie dann mithilfe eines auf die Seiten aufteilen \ContinuedFloat. Allerdings müssten Sie bei diesem Ansatz die Zahlen manuell aufteilen, was natürlich nicht sehr elegant ist.

\documentclass{scrreprt}
\usepackage{graphicx}
\usepackage{subcaption}

\DeclareCaptionSubType*{figure}\renewcommand\thesubfigure{\arabic{subfigure}}
\newcommand{\sub}[1]{\begin{minipage}{.2\linewidth}\includegraphics[width=\linewidth]{#1}\subcaption{}\end{minipage}}
\newcommand{\tabfig}[4]{\sub{#1} & \sub{#2} & \sub{#3} & \sub{#4}\\}

\begin{document}
\begin{figure}[ht]
   \begin{tabular}{cccc}
       \tabfig{example}{example}{example}{example}
       \tabfig{example}{example}{example}{example}
       \tabfig{example}{example}{example}{example}
       \tabfig{example}{example}{example}{example}
       \tabfig{example}{example}{example}{example}
   \end{tabular}
\end{figure}
\begin{figure}[ht]\ContinuedFloat
   \begin{tabular}{cccc}
       \tabfig{example}{example}{example}{example}
       \tabfig{example}{example}{example}{example}
       \tabfig{example}{example}{example}{example}
       \tabfig{example}{example}{example}{example}
       \tabfig{example}{example}{example}{example}
   \end{tabular}
\end{figure}
\end{document}

verwandte Informationen