Added missing commands to prevent break after Toprule
This commit is contained in:
parent
ec8fdae091
commit
008606cdca
2 changed files with 10 additions and 5 deletions
BIN
VerticalTimeline/VerticalTimeline.pdf
(Stored with Git LFS)
BIN
VerticalTimeline/VerticalTimeline.pdf
(Stored with Git LFS)
Binary file not shown.
|
@ -20,14 +20,19 @@
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
Here is an example of a long table. You can see the table in \autoref{table:example}.
|
Here is an example of a timeline. You can see the table in \autoref{table:example}.
|
||||||
|
|
||||||
\renewcommand{\arraystretch}{3} % Increase row height to a more typical value
|
\renewcommand{\arraystretch}{3} % Increase row height to a more typical value
|
||||||
\setlength{\tabcolsep}{10pt} % Increase column padding slightly for better readability
|
\setlength{\tabcolsep}{10pt} % Increase column padding slightly for better readability
|
||||||
|
|
||||||
\begin{longtable}{@{\,}r <{\hskip 2pt} !{\foo} >{\raggedright\arraybackslash} p{0.5\textwidth} p{0.5\textwidth}}
|
\begin{longtable}{@{\,}r <{\hskip 2pt} !{\foo} >{\raggedright\arraybackslash} p{0.5\textwidth} p{0.5\textwidth}}
|
||||||
\caption{Dates}\label{table:example} \\
|
\caption{Dates}\label{table:example} \\
|
||||||
\toprule \\
|
\toprule
|
||||||
|
\endfirsthead
|
||||||
|
\toprule
|
||||||
|
\endfoot
|
||||||
|
\bottomrule
|
||||||
|
\endlastfoot
|
||||||
|
|
||||||
|
|
||||||
1875 & Cats officially declared the best napping partners after a rigorous study by the Feline Sleep Institute.\\
|
1875 & Cats officially declared the best napping partners after a rigorous study by the Feline Sleep Institute.\\
|
||||||
|
@ -57,7 +62,7 @@ Here is an example of a long table. You can see the table in \autoref{table:exam
|
||||||
|
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
|
|
||||||
This was an example of a long table. You were able to see the table in \autoref{table:example}.
|
This was an example of a timeline. You were able to see the table in \autoref{table:example}.
|
||||||
|
|
||||||
\pagebreak
|
\pagebreak
|
||||||
\listoftables
|
\listoftables
|
||||||
|
|
Loading…
Reference in a new issue