如何使用枚举包来枚举 A1、B1、C1 和 A2、B2、C2。
答案1
\documentclass{article}
\usepackage{enumitem}
\newcounter{Ax}
\newcounter{Bx}
\newcommand{\itemA}{%
\addtocounter{Ax}{1}
\item[A\theAx.]}
\newcommand{\itemB}{%
\addtocounter{Bx}{1}
\item[B\theBx.]}
\begin{document}
\noindent \textbf{Case I}
\begin{enumerate}
\itemA Series A
\itemB Series B
\itemA Series A
\itemB Series B
\itemB Series B
\itemB Series B
\itemA Series A
\end{enumerate}
\noindent \textbf{Case II}
\begin{enumerate}[label=A\arabic*., series=A]
\item First item
\end{enumerate}
\begin{enumerate}[label=B\arabic*., series=B]
\item Second item
\end{enumerate}
\begin{enumerate}[resume*=A]
\item Third item
\end{enumerate}
\begin{enumerate}[resume*=B]
\item Fourth item
\end{enumerate}
\end{document}