我尝试调整页面中的 ThreePartTable 的大小,但总是出错。到目前为止的代码如下:
\documentclass{article}
\usepackage{graphicx}
\usepackage{threeparttablex}
\usepackage{lscape}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{threeparttablex}
\usepackage{lscape}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{listings}
\usepackage{changepage}
\pagenumbering{gobble}
\begin{document}
\begin{ThreePartTable}
\begin{TableNotes}
\small
\item Notes:
\end{TableNotes}
\begin{longtable}{lrrrrrrrr}
\caption{Results}
\label{results}
\\ \toprule
& AAAAA & BBBBB & CCCCC & DDDDD & EEEEE & FFFFF & GGGGGGG & HHHHHHHHH
\\ \midrule
\endfirsthead
\multicolumn{9}{c}{{\bfseries \tablename\ \thetable{} -- continued from previous
page}}\\
\toprule
& AAAAA & BBBBB & CCCCC & DDDDD & EEEEE & FFFFF & GGGGGGG & HHHHHHHHH
\\ \midrule
\endhead
\midrule
\multicolumn{9}{r}{{Continued on next page}} \\
\midrule
\endfoot
\bottomrule
\insertTableNotes %% this added
\endlastfoot
\multicolumn{9}{l}{Panel A: aaaaa} \\
\hline
aa aaa & \textbf{1111**}& \textbf{1111**}& \textbf{1111**}& \textbf{1115**} & \textbf{1111**} & \textbf{1111*} & \textbf{1111**} & \textbf{1111**} \\
bbbbbb & 11111 & \textbf{1111**} & 1111 & \textbf{1111*} & 1111 & \textbf{11111**} & 1111 & \textbf{1111*} \\
\end{longtable}
\end{ThreePartTable}
\end{document}
如果我们运行代码,我们会发现表格稍微靠右对齐,而不是居中对齐。如何将表格对齐到页面中央?
提前致谢。