ThreePartTable을 사용하여 노트 위에 수평선을 넣는 방법은 무엇입니까?

ThreePartTable을 사용하여 노트 위에 수평선을 넣는 방법은 무엇입니까?

이 게시물 덕분에3분할 테이블이 있는 롱테이블(하지만 내가 여기에 처음 왔기 때문에 언급할 수 없는 것) threeparttable 패키지를 사용하면 longtable에서 각주를 사용할 수 있다는 것을 알았습니다.

하지만 메모 위에 줄을 하나 두고 싶습니다. 어떻게 하는지 아는 사람 있나요? (이런 걸 원해요)

여기에 이미지 설명을 입력하세요

여기 내 코드의 예가 있습니다. 테이블 1(longtable)은 ThreePartTable 패키지에 각주가 있는 테이블이다. 메모 위에 줄이 없습니다. 표 2(미니페이지 환경 포함)에는 메모 위에 선이 있습니다. 나는 표 1에 비슷한 줄을 원합니다.

\documentclass[a4paper]{article}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{lipsum}  
\usepackage{booktabs,threeparttablex}
\usepackage{etoolbox}
\appto\TPTnoteSettings{\footnotesize}
\usepackage{caption}
\usepackage[labelfont=bf,labelsep=period]{caption} 


\begin{document}

\lipsum[2-3]

\begin{ThreePartTable}
\renewcommand\TPTminimum{\textwidth}
\setlength\LTleft{0pt}
\begin{TableNotes}
  \item[*] A note adsfasdf
  \item[] Another note asdfasfasd
  
\end{TableNotes}

\begin{longtable}{|l|l|l|l|l|l|}
\caption{\textit{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}} \\
\hline
\textbf{Col1} & \textbf{Col2} & \textbf{Col3\tnote{*}} & \textbf{Col4} & \textbf{Col5} & \textbf{Col6\tnote{}} \\ 
\hline
\endfirsthead
\multicolumn{6}{l}{\tablename\ \thetable:
\textit{AAAAAAAAAAAAAAA}(Cont\ldots)}\\
\hline
\textbf{Col1} & \textbf{Col2} & \textbf{Col3} & \textbf{Col4} & \textbf{Col5} & \textbf{Col6} \\ 
\hline
\endhead
\hline \multicolumn{6}{l}{}\\
\endfoot
\insertTableNotes  
\endlastfoot
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline
\multirow{3}{*}{23412} & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
                       & AAAA & A & AAAAAAA & AAAAAAA & A \\ 
\hline

\end{longtable}
\end{ThreePartTable}

\begin{table}[!ht]
\centering
\caption{AAAAAAAAAAAAAAAAAAAA}

\begin{minipage}{\textwidth} 
\renewcommand*{\thempfootnote}{\fnsymbol{mpfootnote}}

\begin{tabular}{|l|l|l|l|l|l|} 
\hline 
\textbf{Col1} & \textbf{Col2} & \textbf{Col3\footnote[1]{A note adsfasdf}} & \textbf{Col4} & \textbf{Col5} & \textbf{Col6\footnote[0]{Another note asdfasfasd}} \\ 
\hline
AAAAAA & AAAAAA & A & AAAAAA & AAAAAA & A \\
\hline
AAAAAA & AAAAAA & A & AAAAAA & AAAAAA & A  \\
\hline
AAAAAA & AAAAAA & A & AAAAAA & AAAAAA & A  \\
\hline
AAAAAA & AAAAAA & A & AAAAAA & AAAAAA & A \\
\hline
\end{tabular}
\end{minipage}
\end{table}
\end{document}

미리 감사드립니다!

답변1

Bernard 덕분에 문제가 해결되었습니다!

ThreePartTable을 사용하여 각주 위에 수평선을 놓는 방법(미니페이지 환경의 각주와 비슷함)은 다음과 같습니다.

\noalign {\rule [-1.4ex]{6.7cm}{0.4pt}}

관련 정보