Como colocar uma linha horizontal acima das notas usando ThreePartTable?

Como colocar uma linha horizontal acima das notas usando ThreePartTable?

Graças a esta postagemLongtable com três partes(mas aquele que não posso comentar porque sou muito novo aqui) Descobri que posso usar notas de rodapé com longtable, se usar o pacote threeparttable.

No entanto, gostaria de ter uma linha acima das minhas anotações. Alguém sabe como fazer? (Eu quero algo assim)

insira a descrição da imagem aqui

Aqui está um exemplo do meu código. A tabela 1 (longtable) é aquela que possui notas de rodapé com o pacote ThreePartTable. Não tem linha acima das notas. A tabela 2 (com ambiente de minipágina) possui linha acima das notas. Quero uma linha semelhante na tabela 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}

Desde já, obrigado!

Responder1

Problema resolvido graças ao Bernard!

A maneira de colocar uma linha horizontal acima das notas de rodapé usando ThreePartTable (e seria semelhante às notas de rodapé do ambiente de minipágina) é:

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

informação relacionada