我似乎无法让表格延伸到下一页,并且“--继续上一页”位于第二页的顶部。
有人能帮我按照多列代码将这个长表格放到多个页面上并具有固定宽度的列吗?
谢谢,艾德
\usepackage{tabularx}%,ltablex}
\usepackage{xltabular}
\usepackage{threeparttable}
\usepackage{dcolumn}
\usepackage{longtable}
\usepackage{threeparttablex}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{b}{>{\centering\arraybackslash}X}
\newcolumntype{s}{>{\centering\arraybackslash\hsize=.3\hsize}X}
\newcolumntype{L}{>{\centering\arraybackslash}m{3cm}}
\newcommand{\heading}[1]{\multicolumn{1}{c}{#1}}
\begin{table}[!ht]
\centering
\small
\label{table_pd_idxfut}
\caption{This table outlines the literature around price discovery in Index Futures markets}
\begin{threeparttable}
\begin{xltabular}{\linewidth}{s|s|s|b}
\toprule
\heading{Study} & \heading{Th./Emp.} & \heading{Metric} & \heading{Key Findings}\\
\midrule\midrule
\endfirsthead
\multicolumn{4}{c}{\tablename\ \thetable{} -- continued from previous page} \\\hline
\heading{Study} & \heading{Th./Emp.} & \heading{Metric} & \heading{Key Findings}\\\endhead
\bottomrule
\begin{tablenotes}
\footnotesize
\item \textit{CS} represents \cite{RN124}'s \textit{Component Share}, \textit{IS} represents \cite{RN27}'s \textit{Information Share}, while \textit{ILS} represents \cite{Putni__2013,RN16}'s \textit{Information Leadership Share} metric for measuring price discovery.
\end{tablenotes}
\endfoot
\hline
\endlastfoot
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Martin_1989}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{CHUNG_1991}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Antoniou_1993}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Gr_nbichler_1994}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Martikainen_1996}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Antoniou_1996}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Turkington_1999}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chu_1999}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Tse_1999}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Booth_1999}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Roope_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chen_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chan_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Visvikis_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Lin_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Frino_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Karagiannis_2003}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Frino_2003}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chng_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Cheng_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Zhong_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Kurov_2003}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{So_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chng_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Hsieh_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Ates_2005}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Spyrou_2005}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Zhu_2006}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Nam_2006}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{M__2007}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Kavussanos_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Kurov_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Kurov_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Floros_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Hsieh_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Debasish_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Swaroop_Debasish_2009}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chen_2009}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Schlusche_2009}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Tao_2009}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Varma_2010}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Wang_2010}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Jie_Wei_2010}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Mukthar_2011}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Ruan_2011}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Bohl_2011}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\bottomrule
\end{xltabular}
\begin{tablenotes}
\footnotesize
\item \textit{CS} represents \cite{RN124}'s \textit{Component Share}, \textit{IS} represents \cite{RN27}'s \textit{Information Share}, while \textit{ILS} represents \cite{Putni__2013,RN16}'s \textit{Information Leadership Share} metric for measuring price discovery.
\end{tablenotes}
\end{threeparttable}
\end{table}
答案1
threeparttablex
我建议使用、Xltabular
和进行以下布局booktabs
:
\documentclass{article}
\usepackage{xltabular}
\usepackage{threeparttablex}
\usepackage{booktabs, caption}
\newcommand{\heading}[1]{\multicolumn{1}{c}{#1}}
\begin{document}
\begin{ThreePartTable}
\begin{TableNotes}[flushleft, para]
\footnotesize
\textit{CS} represents \cite{RN124}'s \textit{Component Share}, \textit{IS} represents \cite{RN27}'s \textit{Information Share}, while \textit{ILS} represents \cite{Putni__2013,RN16}'s \textit{Information Leadership Share} metric for measuring price discovery.
\end{TableNotes}
\centering
\small
\begin{xltabular}{\linewidth}{ll>{\itshape}lX}
\caption{This table outlines the literature around price discovery in Index Futures markets}\label{table_pd_idxfut}\\
\toprule
Study & Th./Emp. & Metric & Key Findings\\
\midrule
\endfirsthead
\caption[]{(continued from previous page)} \\
\toprule
Study & Th./Emp. & Metric & Key Findings\\
\midrule
\endhead
\bottomrule
\multicolumn{4}{r}{\footnotesize to be continued on the next page}
\endfoot
\bottomrule
\insertTableNotes
\endlastfoot
\cite{Martin_1989} & Empirical & IS & BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH \\
\cite{CHUNG_1991} & Empirical & IS & BLAH \\
\cite{Antoniou_1993} & Empirical & IS & BLAH \\
\cite{Gr_nbichler_1994} & Empirical & IS & BLAH \\
\cite{Martikainen_1996} & Empirical & IS & BLAH \\
\addlinespace
\cite{Antoniou_1996} & Empirical & IS & BLAH \\
\cite{Turkington_1999} & Empirical & IS & BLAH \\
\cite{Chu_1999} & Empirical & IS & BLAH \\
\cite{Tse_1999} & Empirical & IS & BLAH \\
\cite{Booth_1999} & Empirical & IS & BLAH \\
\addlinespace
\cite{Roope_2002} & Empirical & IS & BLAH \\
\cite{Chen_2002} & Empirical & IS & BLAH \\
\cite{Chan_2002} & Empirical & IS & BLAH \\
\cite{Visvikis_2002} & Empirical & IS & BLAH \\
\cite{Lin_2002} & Empirical & IS & BLAH \\
\addlinespace
\cite{Frino_2002} & Empirical & IS & BLAH \\
\cite{Karagiannis_2003} & Empirical & IS & BLAH \\
\cite{Frino_2003} & Empirical & IS & BLAH \\
\cite{Chng_2004} & Empirical & IS & BLAH \\
\cite{Cheng_2004} & Empirical & IS & BLAH \\
\addlinespace
\cite{Zhong_2004} & Empirical & IS & BLAH \\
\cite{Kurov_2003} & Empirical & IS & BLAH \\
\cite{So_2004} & Empirical & IS & BLAH \\
\cite{Chng_2004} & Empirical & IS & BLAH \\
\cite{Hsieh_2004} & Empirical & IS & BLAH \\
\addlinespace
\cite{Ates_2005} & Empirical & IS & BLAH \\
\cite{Spyrou_2005} & Empirical & IS & BLAH \\
\cite{Zhu_2006} & Empirical & IS & BLAH \\
\cite{Nam_2006} & Empirical & IS & BLAH \\
\cite{M__2007} & Empirical & IS & BLAH \\
\addlinespace
\cite{Kavussanos_2008} & Empirical & IS & BLAH \\
\cite{Kurov_2008} & Empirical & IS & BLAH \\
\cite{Kurov_2008} & Empirical & IS & BLAH \\
\cite{Floros_2008} & Empirical & IS & BLAH \\
\cite{Hsieh_2008} & Empirical & IS & BLAH \\
\addlinespace
\cite{Debasish_2008} & Empirical & IS & BLAH \\
\cite{Swaroop_Debasish_2009} & Empirical & IS & BLAH \\
\cite{Chen_2009} & Empirical & IS & BLAH \\
\cite{Schlusche_2009} & Empirical & IS & BLAH \\
\cite{Tao_2009} & Empirical & IS & BLAH \\
\addlinespace
\cite{Varma_2010} & Empirical & IS & BLAH \\
\cite{Wang_2010} & Empirical & IS & BLAH \\
\cite{Jie_Wei_2010} & Empirical & IS & BLAH \\
\cite{Mukthar_2011} & Empirical & IS & BLAH \\
\cite{Ruan_2011} & Empirical & IS & BLAH \\
\addlinespace
\cite{Bohl_2011} & Empirical & IS & BLAH
\end{xltabular}
\end{ThreePartTable}
\end{document}
对于横向表格,请将pdflscape
包添加到您的序言中,并将整个ThreePartTable
环境放置在环境内landscape
。表格的宽度会自动调整到可用空间。
由于 overleaf 使用的是旧版本的xltabular
,因此第二页的标题将显示错误的数字。为了解决这个问题,您可以添加\addtocounter{table}{-1}
以下示例所示的内容。使用最新安装和最新版本的xltabular
,此行不再是必需的:
\documentclass{article}
\usepackage{xltabular}
\usepackage{threeparttablex}
\usepackage{booktabs, caption}
\usepackage{pdflscape}
\newcommand{\heading}[1]{\multicolumn{1}{c}{#1}}
\begin{document}
\begin{landscape}
\begin{ThreePartTable}
\begin{TableNotes}[flushleft, para]
\footnotesize
\textit{CS} represents \cite{RN124}'s \textit{Component Share}, \textit{IS} represents \cite{RN27}'s \textit{Information Share}, while \textit{ILS} represents \cite{Putni__2013,RN16}'s \textit{Information Leadership Share} metric for measuring price discovery.
\end{TableNotes}
\centering
\small
\begin{xltabular}{\linewidth}{ll>{\itshape}lX}
\caption{This table outlines the literature around price discovery in Index Futures markets}\label{table_pd_idxfut}\addtocounter{table}{-1}\\
\toprule
Study & Th./Emp. & Metric & Key Findings\\
\midrule
\endfirsthead
\caption[]{(continued from previous page)} \\
\toprule
Study & Th./Emp. & Metric & Key Findings\\
\midrule
\endhead
\bottomrule
\multicolumn{4}{r}{\footnotesize to be continued on the next page}
\endfoot
\bottomrule
\insertTableNotes
\endlastfoot
\cite{Martin_1989} & Empirical & IS & BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH \\
\cite{CHUNG_1991} & Empirical & IS & BLAH \\
\cite{Antoniou_1993} & Empirical & IS & BLAH \\
\cite{Gr_nbichler_1994} & Empirical & IS & BLAH \\
\cite{Martikainen_1996} & Empirical & IS & BLAH \\
\addlinespace
\cite{Antoniou_1996} & Empirical & IS & BLAH \\
\cite{Turkington_1999} & Empirical & IS & BLAH \\
\cite{Chu_1999} & Empirical & IS & BLAH \\
\cite{Tse_1999} & Empirical & IS & BLAH \\
\cite{Booth_1999} & Empirical & IS & BLAH \\
\addlinespace
\cite{Roope_2002} & Empirical & IS & BLAH \\
\cite{Chen_2002} & Empirical & IS & BLAH \\
\cite{Chan_2002} & Empirical & IS & BLAH \\
\cite{Visvikis_2002} & Empirical & IS & BLAH \\
\cite{Lin_2002} & Empirical & IS & BLAH \\
\addlinespace
\cite{Frino_2002} & Empirical & IS & BLAH \\
\cite{Karagiannis_2003} & Empirical & IS & BLAH \\
\cite{Frino_2003} & Empirical & IS & BLAH \\
\cite{Chng_2004} & Empirical & IS & BLAH \\
\cite{Cheng_2004} & Empirical & IS & BLAH \\
\addlinespace
\cite{Zhong_2004} & Empirical & IS & BLAH \\
\cite{Kurov_2003} & Empirical & IS & BLAH \\
\cite{So_2004} & Empirical & IS & BLAH \\
\cite{Chng_2004} & Empirical & IS & BLAH \\
\cite{Hsieh_2004} & Empirical & IS & BLAH \\
\addlinespace
\cite{Ates_2005} & Empirical & IS & BLAH \\
\cite{Spyrou_2005} & Empirical & IS & BLAH \\
\cite{Zhu_2006} & Empirical & IS & BLAH \\
\cite{Nam_2006} & Empirical & IS & BLAH \\
\cite{M__2007} & Empirical & IS & BLAH \\
\addlinespace
\cite{Kavussanos_2008} & Empirical & IS & BLAH \\
\cite{Kurov_2008} & Empirical & IS & BLAH \\
\cite{Kurov_2008} & Empirical & IS & BLAH \\
\cite{Floros_2008} & Empirical & IS & BLAH \\
\cite{Hsieh_2008} & Empirical & IS & BLAH \\
\addlinespace
\cite{Debasish_2008} & Empirical & IS & BLAH \\
\cite{Swaroop_Debasish_2009} & Empirical & IS & BLAH \\
\cite{Chen_2009} & Empirical & IS & BLAH \\
\cite{Schlusche_2009} & Empirical & IS & BLAH \\
\cite{Tao_2009} & Empirical & IS & BLAH \\
\addlinespace
\cite{Varma_2010} & Empirical & IS & BLAH \\
\cite{Wang_2010} & Empirical & IS & BLAH \\
\cite{Jie_Wei_2010} & Empirical & IS & BLAH \\
\cite{Mukthar_2011} & Empirical & IS & BLAH \\
\cite{Ruan_2011} & Empirical & IS & BLAH \\
\addlinespace
\cite{Bohl_2011} & Empirical & IS & BLAH
\end{xltabular}
\end{ThreePartTable}
\end{landscape}
\end{document}
答案2
只要尊重 的语法就足够了threeparttablex
,它并不完全是 的语法threeparttable
:
- 环境是
ThreePartTable
(3个大写字母); - 表格注释如下已声明在
TableNotes
ThreePartTable 的最开始处,然后使用命令将其插入到 longtable(或 xltabular)中\insertTableNotes
。在下面的代码中,我将其插入到表格的最末尾,即部分中\endlastfoot
。
话虽如此,我不明白为什么要声明固定宽度的列,这些列在每个单元格中,系统地使用\multicolumn{1}{m{some length}}{...}
。
无论如何,这里有一个有效的代码:
\documentclass{article}
\usepackage{xltabular}
\usepackage{dcolumn}
\usepackage{threeparttablex}
\usepackage{booktabs, caption}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{b}{>{\centering\arraybackslash}X}
\newcolumntype{s}{>{\centering\arraybackslash\hsize=.3\hsize}X}
\newcolumntype{L}{>{\centering\arraybackslash}m{3cm}}
\newcommand{\heading}[1]{\multicolumn{1}{c}{#1}}
\begin{document}
\begin{ThreePartTable}
\begin{TableNotes}[flushleft, para]
\footnotesize
\textit{CS} represents \cite{RN124}'s \textit{Component Share}, \textit{IS} represents \cite{RN27}'s \textit{Information Share}, while \textit{ILS} represents \cite{Putni__2013,RN16}'s \textit{Information Leadership Share} metric for measuring price discovery.
\end{TableNotes}
\centering
\small
\begin{xltabular}{\linewidth}{s|s|s|b}
\caption{This table outlines the literature around price discovery in Index Futures markets}\label{table_pd_idxfut}\\
\toprule
\heading{Study} & \heading{Th./Emp.} & \heading{Metric} & \heading{Key Findings}\\
\midrule\midrule
\endfirsthead
%
\multicolumn{4}{r}{\footnotesize to be continued}
\endfoot
\captionsetup{labelsep=space}
\caption[]{(continued from previous page)} \\\hline
\heading{Study} & \heading{Th./Emp.} & \heading{Metric} & \heading{Key Findings}\\
\endhead
%
\bottomrule
\insertTableNotes
\endlastfoot
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Martin_1989}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{CHUNG_1991}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Antoniou_1993}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Gr_nbichler_1994}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Martikainen_1996}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Antoniou_1996}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Turkington_1999}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chu_1999}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Tse_1999}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Booth_1999}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Roope_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chen_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chan_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Visvikis_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Lin_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Frino_2002}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Karagiannis_2003}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Frino_2003}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chng_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Cheng_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Zhong_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Kurov_2003}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{So_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chng_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Hsieh_2004}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
% \multicolumn{1}{>{\centering}m{3cm}|}{\cite{Ates_2005}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Spyrou_2005}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Zhu_2006}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Nam_2006}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{M__2007}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Kavussanos_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Kurov_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Kurov_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Floros_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Hsieh_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Debasish_2008}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Swaroop_Debasish_2009}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Chen_2009}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Schlusche_2009}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Tao_2009}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Varma_2010}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Wang_2010}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Jie_Wei_2010}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Mukthar_2011}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Ruan_2011}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH \\ \hline
%
\multicolumn{1}{>{\centering}m{3cm}|}{\cite{Bohl_2011}}&\multicolumn{1}{>{\centering}m{2cm}|}{Empirical}&\multicolumn{1}{>{\centering}m{1cm}|}{\textit{IS}}& BLAH
\end{xltabular}
\end{ThreePartTable}
\end{document}
附录:如果您想要 3 个标准 X 列和宽度小 3 倍的第 4 个 X 列,则必须使用表格序言中的语法:
*{3}{>{\hsize=1.2\hsize}X}>{\hsize=0.4\hsize}X
(即,系数必须与相对列宽成比例,并且它们的总和必须等于 X 列的数量)。