From 9c2fb6cbec2d845cce340cc0e4965ffd68c596fa Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Fri, 26 Feb 2021 09:09:08 +0100 Subject: [PATCH] Add a horizontal rule automaticaly on partCount and pause --- formationTitle.sty | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/formationTitle.sty b/formationTitle.sty index f597c9d..b167335 100644 --- a/formationTitle.sty +++ b/formationTitle.sty @@ -14,7 +14,6 @@ Gregory Trolliet] \RequirePackage[dvipsnames,table]{xcolor} \definecolor{light-gray}{HTML}{CCCCCC} -\newcommand{\pause}{\rowcolor{light-gray}} \newcommand{\groupTitle}[1]{ \pause @@ -73,7 +72,15 @@ not set, please fix this.} \newcounter{PartCounter} -\newcommand*{\partCount}{% +\newcommand{\partCount}{% + \midrule + \stepcounter{PartCounter}% + \arabic{PartCounter}% +} + +\newcommand{\pause}{% + \midrule + \rowcolor{light-gray}% \stepcounter{PartCounter}% \arabic{PartCounter}% } @@ -199,6 +206,7 @@ not set, please fix this.} { \setlength\LTleft{0pt} \setlength\LTright{0pt} +\setlength{\heavyrulewidth}{0.2em} \begin{longtable}{p{0.01\textwidth}p{0.035\textwidth}|p{.09\textwidth}p{.15\textwidth}p{.26\textwidth}p{.21\textwidth}p{.13\textwidth}} \makecell[l]{ \textbf{N\ensuremath{^\circ}}