summaryrefslogtreecommitdiff
path: root/manual/preamble.tex
diff options
context:
space:
mode:
authorAlex Parker <rockbox@aeparker.com>2009-08-24 22:12:45 +0000
committerAlex Parker <rockbox@aeparker.com>2009-08-24 22:12:45 +0000
commitdaede5e8bb4bfe9bfb2df8f74d2554a658779a41 (patch)
tree05616bf8e57668ef1d61b88fa10c844e05493f97 /manual/preamble.tex
parent17e6288e389fc40be425d927d498c93c9d422042 (diff)
downloadrockbox-daede5e8bb4bfe9bfb2df8f74d2554a658779a41.tar.gz
rockbox-daede5e8bb4bfe9bfb2df8f74d2554a658779a41.zip
Add the ability to set the header row colour to button tables and wps tag tables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22507 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/preamble.tex')
-rw-r--r--manual/preamble.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index b8ef1d26c1..2180dc3f88 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -251,7 +251,7 @@
251% Note: you still need to enclose this with \begin{table} / \end{table} 251% Note: you still need to enclose this with \begin{table} / \end{table}
252% Cheers for the usenet helping me building this up :) 252% Cheers for the usenet helping me building this up :)
253\newenvironment{tagmap}[2]{% 253\newenvironment{tagmap}[2]{%
254\rowcolors{1}{tbloddrowbgcolor}{tblevenrowbgcolor} 254\rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor}
255 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname 255 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
256 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% 256 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
257 \bottomrule 257 \bottomrule
@@ -261,7 +261,7 @@
261 \endcenter% 261 \endcenter%
262 } 262 }
263 \center 263 \center
264\tabularx{\textwidth}{lX}\toprule % here is the table width defined 264\tabularx{\textwidth}{lX}\toprule\rowcolor{tblhdrbgcolor} % here is the table width defined
265 \taghead 265 \taghead
266}{% 266}{%
267 \endtabularx 267 \endtabularx
@@ -361,7 +361,7 @@
361% Main Unit Key & Remote Key & Description \\ 361% Main Unit Key & Remote Key & Description \\
362 362
363\newenvironment{btnmap}[2]{% 363\newenvironment{btnmap}[2]{%
364 \rowcolors{1}{tbloddrowbgcolor}{tblevenrowbgcolor} 364 \rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor}
365 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname 365 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
366 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% 366 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
367 \bottomrule 367 \bottomrule
@@ -373,11 +373,11 @@
373 \center 373 \center
374 \opt{HAVEREMOTEKEYMAP}{ 374 \opt{HAVEREMOTEKEYMAP}{
375 % here is the table width defined for 3 columns 375 % here is the table width defined for 3 columns
376 \tabularx{.95\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule 376 \tabularx{.95\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule\rowcolor{tblhdrbgcolor}
377 } 377 }
378 \nopt{HAVEREMOTEKEYMAP}{ 378 \nopt{HAVEREMOTEKEYMAP}{
379 % here is the table width defined for 2 columns 379 % here is the table width defined for 2 columns
380 \tabularx{.75\textwidth}{>{\raggedright\arraybackslash}p{.22\textwidth}X}\toprule 380 \tabularx{.75\textwidth}{>{\raggedright\arraybackslash}p{.22\textwidth}X}\toprule\rowcolor{tblhdrbgcolor}
381 } 381 }
382 \btnhead 382 \btnhead
383}{% 383}{%