我有个问题:
(1)我希望表格内的表格适合边框
(2)我想将源放入表的末尾。
如何制作?
\documentclass{article}
\usepackage{cellspace}
\usepackage{makecell}
\usepackage{longtable}
\usepackage{amssymb,amsmath}
\usepackage{tabularx}
\usepackage{pifont,lipsum}
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\usepackage{enumerate,enumitem}
\usepackage{multirow}
\begin{document}
\begingroup
\setcellgapes{5pt}
\makegapedcells
\begin{longtable}{|>{\raggedright\arraybackslash}p{3.5cm}|>{\raggedright\arraybackslash}p{4.5cm}|p{0.4\textwidth}|}
\caption{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\label{papan} \\
\hline
\textbf{ABCDE}&\textbf{FGHIJKLMNOP}&\textbf{QRSTUV} \\
\hline
\endfirsthead
\caption[]{ABABABAB (Continuous)} \\
\hline
\textbf{TEXT}&\textbf{TEXT}&\textbf{TEXT} \\
\hline
\endhead
\multicolumn{3}{r @{}}{\small\emph{to be continued}} \\*
\multicolumn{3}{@{} l}{\small Source: ABCDE} \\
\endfoot
\hline
\endlastfoot
%%%% table nody
\textbf{12345}&909090&TEXT \\
\hline
\textbf{67890}&TEXT&TEXT\\
\hline
\textbf{13579}&TEXT &TEXT \\
\hline
\textbf{24680}&TEXT &TEXT \\
\hline
\textbf{14832}&TEXT&TEXT \\
\hline
TEXT&TEXT&TEXT \\
\hline
TEXT&TEXT&TEXT \\
\hline
TEXT&TEXT&
\begin{minipage}[t]{0.4\textwidth}
\begin{itemize}[noitemsep,leftmargin=*,topsep=0cm]
\item A
\item B
\item C
\end{itemize}
\end{minipage} \\
\hline
A&B&C \\
\hline
& \begin{tabular}[t]{@{}l|l@{}}
TEXT & TEXT\\
\hline
TEXT & TEXT\\
\hline
TEXT & TEXT \\
\hline
TEXT&TEXT \\
\end{tabular} & \begin{tabular}[t]{@{}l|l@{}}
A&B\\
\hline
TEXT&TEXT\\
\hline
TEXT&TEXT \\
\hline
TEXT&TEXT \\
\end{tabular} \\
\hline
\textbf{TEXT}&\lipsum[1]&$1234$ \\
\hline
\end{longtable}
\endgroup
\end{document}