我可以使用表格排版类似的内容:
\documentclass{scrartcl}
\usepackage{graphicx}
\usepackage{tabularray}
\begin{document}
\begin{tblr}{Q[r, m]rl}
& \textbf{Code} & \textbf{Explanation} \\
\SetCell[r = 5]{r, m} \rotatebox[origin = c]{90}{\bfseries Group 1}
& 01 & Code 01 \\
& 02 & Code 02 \\
& 03 & Code 03 \\
& 04 & Code 04 \\
& 05 & Code 05 \\
\hline
\SetCell[r = 5]{r, m} \rotatebox[origin = c]{90}{\bfseries Group 2}
& 06 & Code 06 \\
& 07 & Code 07 \\
& 09 & Code 09 \\
& 10 & Code 10 \\
& 11 & Code 11 \\
\hline
\SetCell[r = 5]{r, m} \rotatebox[origin = c]{90}{\bfseries Group 3}
& 12 & Code 12 \\
& 13 & Code 13 \\
& 14 & Code 14 \\
& 15 & Code 15 \\
& 16 & Code 16
\end{tblr}
\end{document}
不幸的是,有些条目还需要有脚注,而表格不支持脚注。有没有办法用列表实现类似的效果?description
嵌套的列表itemize
看起来不太好看:
\documentclass[paper = a6, fontsize = 9pt]{scrartcl}
\usepackage{graphicx}
\begin{document}
\begin{description}
\item[\protect{\rotatebox[origin = c]{90}{\bfseries Group 1}}] \begin{itemize}
\item[01] Code 01\footnote{Ugly, but with footnotes}
\item[02] Code 02
\item[03] Code 03
\item[04] Code 04
\item[05] Code 05
\end{itemize}
\hrule
\item[\protect{\rotatebox[origin = c]{90}{\bfseries Group 2}}] \begin{itemize}
\item[06] Code 06
\item[07] Code 07
\item[09] Code 09
\item[10] Code 10
\item[11] Code 11
\end{itemize}
\hrule
\item[\protect{\rotatebox[origin = c]{90}{\bfseries Group 3}}] \begin{itemize}
\item[12] Code 12
\item[13] Code 13
\item[14] Code 14
\item[15] Code 15
\item[16] Code 16
\end{itemize}
\end{description}
\end{document}