diff options
Diffstat (limited to 'resources/preamble.tex')
-rw-r--r-- | resources/preamble.tex | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/resources/preamble.tex b/resources/preamble.tex index b524b89..52a6adc 100644 --- a/resources/preamble.tex +++ b/resources/preamble.tex @@ -26,26 +26,28 @@ } \usepackage{longtable} -\usepackage{tabu} -% alternate rowcolors for all long-tables +%\usepackage{tabu} +%% alternate rowcolors for all long-tables \newenvironment{mytable}[2][c]% -{\longtabu to \linewidth [#1]{#2}\tableHeaderStyle}% -{\endlongtabu} - - -% This red commes from a triad on the blue -\colorlet{tableHeader}{redColor} -\definecolor{tableLineOne}{RGB}{245, 245, 245} -\definecolor{tableLineTwo}{RGB}{224, 224, 224} - -\newcommand{\tableHeaderStyle}{ - \rowfont{\leavevmode\color{white}\bfseries} - \rowcolor{tableHeader} -} - -\taburowcolors[2] 2{tableLineOne .. tableLineTwo} -\tabulinesep = ^4mm_3mm -\everyrow{\tabucline[.4mm white]{}} +{\longtable[#1]{#2}}% +{\endlongtable} +% +% +%% This red commes from a triad on the blue +%\colorlet{tableHeader}{redColor} +%\definecolor{tableLineOne}{RGB}{245, 245, 245} +%\definecolor{tableLineTwo}{RGB}{224, 224, 224} +% +%\newcommand{\tableHeaderStyle}{ +% \rowfont{\leavevmode\color{black}\bfseries} +% \rowcolor{tableHeader} +%} +% +%\taburowcolors[2] 2{tableLineOne .. tableLineTwo} +%\tabulinesep = ^4mm_3mm +%\everyrow{\tabucline[.4mm white]{}} \usepackage{etoolbox} \patchcmd{\quote}{\rightmargin}{\leftmargin 0em \rightmargin}{}{} + +\makeindex |