diff options
Diffstat (limited to 'manual/preamble.tex')
-rw-r--r-- | manual/preamble.tex | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex index 2495f13b88..8bbce066bd 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex | |||
@@ -60,6 +60,10 @@ | |||
60 | 60 | ||
61 | \newcommand{\fixme}[1]{\textbf{\textcolor{red}{#1}}} | 61 | \newcommand{\fixme}[1]{\textbf{\textcolor{red}{#1}}} |
62 | 62 | ||
63 | % Colors used to typeset table headers and alternating table rows | ||
64 | \colorlet{tblhdrbgcolor}{gray!60} % Background color for headers | ||
65 | \colorlet{tblrowbgcolor}{gray!30} % Background color for rows | ||
66 | |||
63 | \usepackage{fancyhdr} | 67 | \usepackage{fancyhdr} |
64 | \usepackage{graphicx} | 68 | \usepackage{graphicx} |
65 | \usepackage{verbatim} | 69 | \usepackage{verbatim} |
@@ -210,7 +214,7 @@ | |||
210 | % Note: you still need to enclose this with \begin{table} / \end{table} | 214 | % Note: you still need to enclose this with \begin{table} / \end{table} |
211 | % Cheers for the usenet helping me building this up :) | 215 | % Cheers for the usenet helping me building this up :) |
212 | \newenvironment{tagmap}[2]{% | 216 | \newenvironment{tagmap}[2]{% |
213 | \rowcolors{1}{}{gray!30} | 217 | \rowcolors{1}{}{tblrowbgcolor} |
214 | \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname | 218 | \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname |
215 | \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% | 219 | \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% |
216 | \bottomrule | 220 | \bottomrule |
@@ -320,7 +324,7 @@ | |||
320 | % Main Unit Key & Remote Key & Description \\ | 324 | % Main Unit Key & Remote Key & Description \\ |
321 | 325 | ||
322 | \newenvironment{btnmap}[2]{% | 326 | \newenvironment{btnmap}[2]{% |
323 | \rowcolors{1}{}{gray!30} | 327 | \rowcolors{1}{}{tblrowbgcolor} |
324 | \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname | 328 | \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname |
325 | \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% | 329 | \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% |
326 | \bottomrule | 330 | \bottomrule |