Add a horizontal rule automaticaly on partCount and pause

This commit is contained in:
Gregory Trolliet 2021-02-26 09:09:08 +01:00
parent c005c5ddeb
commit 9c2fb6cbec

View file

@ -14,7 +14,6 @@ Gregory Trolliet]
\RequirePackage[dvipsnames,table]{xcolor} \RequirePackage[dvipsnames,table]{xcolor}
\definecolor{light-gray}{HTML}{CCCCCC} \definecolor{light-gray}{HTML}{CCCCCC}
\newcommand{\pause}{\rowcolor{light-gray}}
\newcommand{\groupTitle}[1]{ \newcommand{\groupTitle}[1]{
\pause \pause
@ -73,7 +72,15 @@ not set, please fix this.}
\newcounter{PartCounter} \newcounter{PartCounter}
\newcommand*{\partCount}{% \newcommand{\partCount}{%
\midrule
\stepcounter{PartCounter}%
\arabic{PartCounter}%
}
\newcommand{\pause}{%
\midrule
\rowcolor{light-gray}%
\stepcounter{PartCounter}% \stepcounter{PartCounter}%
\arabic{PartCounter}% \arabic{PartCounter}%
} }
@ -199,6 +206,7 @@ not set, please fix this.}
{ {
\setlength\LTleft{0pt} \setlength\LTleft{0pt}
\setlength\LTright{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}} \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]{ \makecell[l]{
\textbf{N\ensuremath{^\circ}} \textbf{N\ensuremath{^\circ}}