相同的三个头像,但有三个不同的标题:xltabular

相同的三个头像,但有三个不同的标题:xltabular

在我的论文中,有一个很长的表格,占据了三页。根据 ABNT 的格式(巴西格式),如果一个表格占用很多页,则标题必须包含下一个指示:第一页带有"<name of the bale> to be continued",其余页面"<name of the bale> continuation"和最后一页"<name of the bale> conclusion"。我正在使用该xltabular软件包,我注意到只能使用\endfirsthead和来有两个不同的标题\endhead,因此\endhead标题在 之后仍然重复\endfirsthead。我想知道是否有可能克服这个问题。

班级来自 Overleaf,可加载回忆录。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}

相关内容