From 008606cdcad4f377e33b0ec436c15906b8f727a5 Mon Sep 17 00:00:00 2001 From: Simeon Wallrath Date: Mon, 12 Aug 2024 18:11:25 +0200 Subject: [PATCH] Added missing commands to prevent break after Toprule --- VerticalTimeline/VerticalTimeline.pdf | 4 ++-- VerticalTimeline/VerticalTimeline.tex | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/VerticalTimeline/VerticalTimeline.pdf b/VerticalTimeline/VerticalTimeline.pdf index d3c5c0f..2c02975 100644 --- a/VerticalTimeline/VerticalTimeline.pdf +++ b/VerticalTimeline/VerticalTimeline.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c0f28818ae53825c62ee34d205c857bd4a24603acfceb58c36f53a64a11a510d -size 42011 +oid sha256:f5da006cfacf26b7637e29ac68e63d3c5c1a92d2301f2b4b6576623145d9d7c5 +size 42027 diff --git a/VerticalTimeline/VerticalTimeline.tex b/VerticalTimeline/VerticalTimeline.tex index 9781d7a..3141351 100644 --- a/VerticalTimeline/VerticalTimeline.tex +++ b/VerticalTimeline/VerticalTimeline.tex @@ -20,14 +20,19 @@ \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 \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}} \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.\\ @@ -57,7 +62,7 @@ Here is an example of a long table. You can see the table in \autoref{table:exam \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 \listoftables