改变回忆录中子浮动环境的编号

改变回忆录中子浮动环境的编号

我在 memoir 中使用了 subfloat 环境,我认为它运行得很好。但是,我需要更改浮点数的编号,使其垂直排列,而不是水平排列。

这里是显示默认水平编号的 MWE,我想将其更改为垂直编号(在评论中显示):

\documentclass{memoir}% http://ctan.org/pkg/memoir
\usepackage{graphicx}% http://ctan.org/pkg/graphicx
\newsubfloat{figure}% Allow subfloats in figure environment
\begin{document}

\begin{figure}
  \centering
  \subbottom[Increase]{%
    \includegraphics[width=0.3\linewidth]{example-image-a}} %A
  \subbottom[Increase]{%
    \includegraphics[width=0.3\linewidth]{example-image-b}} %C
  \subbottom[Increase]{%
    \includegraphics[width=0.3\linewidth]{example-image-c}} %E
  \subbottom[Increase]{%
    \includegraphics[width=0.3\linewidth]{example-image-a}} %B
  \subbottom[Increase]{%
    \includegraphics[width=0.3\linewidth]{example-image-b}} %D
  \subbottom[Increase]{%
    \includegraphics[width=0.3\linewidth]{example-image-c}} %F 
  \caption{Round}
\end{figure}

\end{document}

答案1

将它们分组到里面minipages对我来说很有效。

\documentclass{memoir}% http://ctan.org/pkg/memoir
\usepackage{graphicx}% http://ctan.org/pkg/graphicx
\newsubfloat{figure}% Allow subfloats in figure environment
\begin{document}

\begin{figure}
  \centering
  \begin{minipage}{.3\linewidth}
  \subbottom[Increase]{%
    \includegraphics[width=\linewidth]{example-image-a}}\\ %A
  \subbottom[Increase]{%
    \includegraphics[width=\linewidth]{example-image-b}} %C
  \end{minipage}
  \begin{minipage}{.3\linewidth}
  \subbottom[Increase]{%
    \includegraphics[width=\linewidth]{example-image-c}}\\ %E
  \subbottom[Increase]{%
    \includegraphics[width=\linewidth]{example-image-a}} %B
  \end{minipage}
  \begin{minipage}{.3\linewidth}
  \subbottom[Increase]{%
    \includegraphics[width=\linewidth]{example-image-b}}\\ %D
  \subbottom[Increase]{%
    \includegraphics[width=\linewidth]{example-image-c}} %F 
  \end{minipage}
  \caption{Round}
\end{figure}

\end{document}

在此处输入图片描述

相关内容