diff options
author | Alex Parker <rockbox@aeparker.com> | 2009-08-23 22:23:33 +0000 |
---|---|---|
committer | Alex Parker <rockbox@aeparker.com> | 2009-08-23 22:23:33 +0000 |
commit | 7dfec97c5d0c0295403bb97570a5f524b2cb26b4 (patch) | |
tree | be7f9acfbac938eaf7ccbc15c8cc567a809e9c1a /manual | |
parent | ccbd73cd8da669673807f936a37032faa31cb25b (diff) | |
download | rockbox-7dfec97c5d0c0295403bb97570a5f524b2cb26b4.tar.gz rockbox-7dfec97c5d0c0295403bb97570a5f524b2cb26b4.zip |
Add alternate line colouring to button map tables to better distinguish
rows. Also increase the width of three column button tables slightly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22483 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r-- | manual/preamble.tex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex index 0d0082e47a..ce5fee2895 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex | |||
@@ -36,6 +36,8 @@ | |||
36 | 36 | ||
37 | \usepackage{optional} | 37 | \usepackage{optional} |
38 | 38 | ||
39 | \usepackage[table]{xcolor} | ||
40 | |||
39 | \input{platform/\platform.tex} | 41 | \input{platform/\platform.tex} |
40 | \input{features.tex} | 42 | \input{features.tex} |
41 | 43 | ||
@@ -317,6 +319,7 @@ | |||
317 | % Main Unit Key & Remote Key & Description \\ | 319 | % Main Unit Key & Remote Key & Description \\ |
318 | 320 | ||
319 | \newenvironment{btnmap}[2]{% | 321 | \newenvironment{btnmap}[2]{% |
322 | \rowcolors{1}{}{gray!30} | ||
320 | \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname | 323 | \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname |
321 | \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% | 324 | \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% |
322 | \bottomrule | 325 | \bottomrule |
@@ -328,7 +331,7 @@ | |||
328 | \center | 331 | \center |
329 | \opt{HAVEREMOTEKEYMAP}{ | 332 | \opt{HAVEREMOTEKEYMAP}{ |
330 | % here is the table width defined for 3 columns | 333 | % here is the table width defined for 3 columns |
331 | \tabularx{.9\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule | 334 | \tabularx{.95\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule |
332 | } | 335 | } |
333 | \nopt{HAVEREMOTEKEYMAP}{ | 336 | \nopt{HAVEREMOTEKEYMAP}{ |
334 | % here is the table width defined for 2 columns | 337 | % here is the table width defined for 2 columns |