私の論文には、3 ページを占める非常に長い表があります。ABNT の形式 (ブラジルのもの) によれば、表が多数のページを占める場合、キャプションには次の指示が含まれている必要があります。つまり、最初のページは"<name of the bale> to be continued"
、残りのページは"<name of the bale> continuation"
、最後のページは です"<name of the bale> conclusion"
。私は パッケージを使用していますxltabular
が、 と を使用した 2 つの異なる見出しのみが可能であること\endfirsthead
、\endhead
そのため\endhead
の後にキャプションが繰り返されている\endfirsthead
ことに気付きました。この問題を解決することは可能でしょうか。
のクラスOverleaf からのもので、memoir をロードします。heads コードは、ここで説明されているとおりです。
\documentclass[
% -- memoir class options --
12pt,
openright,
twoside,
a4paper,
% -- opções da classe abntex2 --
chapter=TITLE, % títulos de capítulos convertidos em letras maiúsculas
% -- opções do pacote babel --
english, % idioma adicional para hifenização
french, % idioma adicional para hifenização
spanish, % idioma adicional para hifenização
brazil % o último idioma é o principal do documento
]{USPSC-classe/USPSC}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{booktabs}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{threeparttablex}
\usepackage{array}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\usepackage{xltabular}
\usepackage{caption}
\captionsetup[table]{justification=raggedright, singlelinecheck=off, width=0.99\linewidth}
\usepackage[version=4]{mhchem}
\begin{document}
\begin{TableNotes}[flushleft, para]
\footnotesize
Fonte: Elaborado pelo autor.
\end{TableNotes}
{\ABNTEXfontereduzida
\noindent
\begin{xltabular}{\linewidth}{@{} >{\hsize=0.75\hsize\linewidth=\hsize}X >{\hsize=1\hsize\linewidth=\hsize}X >{\hsize=1.5\hsize\linewidth=\hsize}X >{\hsize=.75\hsize\linewidth=\hsize}X @{}}
\caption{Lista de microrganismos.}\label{tab-linhagens} \\
\multicolumn{4}{r}{\raggedleft\arraybackslash (continua)} \\
\toprule
\multicolumn{1}{c}{\textbf{Nome}} & \multicolumn{1}{c}{\textbf{Gen\'otipo}} & \multicolumn{1}{c}{\textbf{Descri\c{c}\~ao}} & \multicolumn{1}{c}{\textbf{Fonte}} \\
\toprule
\endfirsthead
\caption[]{Lista de microrganismos.}\\
\multicolumn{4}{r}{\raggedleft\arraybslash (continua\c{c}\~ao)} \\
\toprule
\multicolumn{1}{c}{\textbf{Nome}} & \multicolumn{1}{c}{\textbf{Gen\'otipo}} & \multicolumn{1}{c}{\textbf{Descri\c{c}\~ao}} & \multicolumn{1}{c}{\textbf{Fonte}} \\
\toprule
\endhead
\caption[]{Lista de microrganismos.} \\
\multicolumn{4}{r}{\raggedleft\arraybslash (conclus\~ao)} \\
\toprule
\multicolumn{1}{c}{\textbf{Nome}} & \multicolumn{1}{c}{\textbf{Gen\'otipo}} & \multicolumn{1}{c}{\textbf{Descri\c{c}\~ao}} & \multicolumn{1}{c}{\textbf{Fonte}} \\
\toprule
\endhead
\insertTableNotes
\endlastfoot
\blindtext & \blindtext & \blindtext & \blindtext & \\ %the same text until fulfill the third page
\bottomrule
\end{xltabular}
}
\end{document}