答案1
作为起点,可以提供以下长表骨架。它使用tabularray
、itemize
和etoolbox
包:
\documentclass{article}
\usepackage[margin=25mm]{geometry}
%%%% begin of required preamble
\usepackage{tabularray}
\UseTblrLibrary{varwidth} % <---
\usepackage{enumitem}
\usepackage{etoolbox}
\AtBeginEnvironment{longtblr}%
{
\setlist[itemize]{nosep,
label=\textbullet,
leftmargin=*,
after=\end{minipage},
before=\begin{minipage}[t]{\linewidth}
}
}
\usepackage{lipsum} % for dummy text filler
%%%% end of required preamble
\begin{document}
%%%% begin of the table code
\begin{longtblr}[
caption = caption text,
label = {tab:?}
]{
rowhead = 1,
hlines, vlines,
colspec = {X[0.5,c,m] X[h,j] X[h,j]},
colsep = 4pt,
row{1} = {font=\small\bfseries, c},
measure = vbox,
}
text & text & text \\
%
text
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize}
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize} \\
text
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize}
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize} \\
text
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize}
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize} \\
text
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize}
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize} \\
text
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize}
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize} \\
text
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize}
& \begin{itemize}
\item \lipsum[1][1-3]
\item \lipsum[1][1-3]
\end{itemize} \\
\end{longtblr}
%%%% end of the table code
\end{document}