当您将一个放在一个caption
下方时longtable
,如何让表格列表显示正确的页码(即表格开始的页面,而不是结束的页面)?
例子
代码
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage[a4paper,margin=1in]{geometry}
\usepackage{booktabs,longtable,array,arydshln,xcolor,enumitem}
\setlength\dashlinedash{0.2pt}
\setlength\dashlinegap{1.5pt}
\setlength\arrayrulewidth{0.3pt}
\newcommand\colbox[2]{\colorbox{#1}{\makebox[60pt]{\rule[-10pt]{0pt}{30pt}%
\textcolor{white}{\large#2}}}}
\definecolor{RED}{HTML}{D43F3A}
\definecolor{ORA}{HTML}{EE9336}
\definecolor{YEL}{HTML}{FDC431}
\definecolor{GRE}{HTML}{3FAE49}
\definecolor{BLU}{HTML}{0071B9}
\title{Title}
\author{Author}
\date{Date}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\tableofcontents
\listoftables
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{First Section}
\subsection{First Subsection - Table Starts Here}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\caption{Table One}
\begingroup
\renewcommand\arraystretch{1.5}
\scriptsize\centering\noindent
\begin{longtable}{crl}
\toprule %%
Column A & Column B & Column C \\
\midrule %%
\endhead
%\caption{Table One}
\toprule %%
Column A & Column B & Column C \\
\midrule %%
%\caption{Table One}
\endfirsthead
\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{RED}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{ORA}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{YEL}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{GRE}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\colorbox{BLU}{\parbox{5em}{\centering\textcolor{white}{AAAAA}}} & BBB & CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \\\hdashline
\bottomrule %%
\caption{Table One}
\end{longtable}
\endgroup
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Second Subsection - Table Ends Here}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%