summaryrefslogtreecommitdiff
path: root/manual/preamble.tex
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-08-24 18:08:00 +0000
committerAlexander Levin <al.le@rockbox.org>2009-08-24 18:08:00 +0000
commit4acf5d35fe4061d6f88e49c59f1e74216f2558fe (patch)
tree8de6012f274a219e5877e0a2dc9520f2b4c0d7f3 /manual/preamble.tex
parent400cd026f3267cff8b67d0bf0ab5f4645732cc5e (diff)
downloadrockbox-4acf5d35fe4061d6f88e49c59f1e74216f2558fe.tar.gz
rockbox-4acf5d35fe4061d6f88e49c59f1e74216f2558fe.zip
Introduce names for header and row color in the tables so that they are the same throughout the manual and can be changed easily
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22501 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/preamble.tex')
-rw-r--r--manual/preamble.tex8
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