我正在尝试进行前后数字比较。我有 10 组,每组有 4 个样本,我想通过将它们排成一行来进行比较。
以下是组 1.1 的代码。每个组有 4 个样本。(1.1.1、1.1.2、1.1.3、1.1.4)我想在每个组内用 1、2、3 和 4 标记每个数字。
样本11.tex
\documentclass[a4paper,12pt,icelandic]{report}
\usepackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.pdf,.jpeg,.jpg,.png,.gif,.PDF,.JPEG,.JPG,.PNG,.GIF}
\graphicspath{{graphics/}{./photo/1/}{./photo/2/}}
\begin{document}
\begin{figure}[H]
\begin{minipage}[H]{0.24\textwidth}
\centering
\includegraphics[width=54mm, angle=270]{photo/1/111.jpg}
\end{minipage}
\begin{minipage}[H]{0.24\textwidth}
\centering
\includegraphics[width=54mm, angle=270]{photo/1/112.jpg}
\end{minipage}
\begin{minipage}[H]{0.24\textwidth}
\centering
\includegraphics[width=54mm, angle=270]{photo/1/113.jpg}
\end{minipage}
\begin{minipage}[H]{0.24\textwidth}
\centering
\includegraphics[width=54mm, angle=270]{photo/1/114.jpg}
\end{minipage}
\caption{Group Samples 1.1 before}
\end{figure}
\begin{figure}[H]
\begin{minipage}[H]{0.24\textwidth}
\centering
\includegraphics[width=54mm, angle=270]{photo/2/111.jpg}
\end{minipage}
\begin{minipage}[H]{0.24\textwidth}
\centering
\includegraphics[width=54mm, angle=270]{photo/2/112.jpg}
\end{minipage}
\begin{minipage}[H]{0.24\textwidth}
\centering
\includegraphics[width=54mm, angle=270]{photo/2/113.jpg}
\end{minipage}
\begin{minipage}[H]{0.24\textwidth}
\centering
\includegraphics[width=54mm, angle=270]{photo/2/114.jpg}
\end{minipage}
\caption{Group Samples 1.1 after}
\end{figure}
\end{document}
答案1
您可以在图片下方(小页面内)手动写下号码:
\begin{minipage}[H]{0.24\textwidth}
\centering
\includegraphics{photo/2/111.jpg}
\vskip2ex \Large 1
\end{minipage}
但也许你应该看看像这样的包subcaption
...