From 7dfec97c5d0c0295403bb97570a5f524b2cb26b4 Mon Sep 17 00:00:00 2001 From: Alex Parker Date: Sun, 23 Aug 2009 22:23:33 +0000 Subject: [PATCH] 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 --- manual/preamble.tex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ \usepackage{optional} +\usepackage[table]{xcolor} + \input{platform/\platform.tex} \input{features.tex} @@ -317,6 +319,7 @@ % Main Unit Key & Remote Key & Description \\ \newenvironment{btnmap}[2]{% + \rowcolors{1}{}{gray!30} \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% \bottomrule @@ -328,7 +331,7 @@ \center \opt{HAVEREMOTEKEYMAP}{ % here is the table width defined for 3 columns - \tabularx{.9\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule + \tabularx{.95\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule } \nopt{HAVEREMOTEKEYMAP}{ % here is the table width defined for 2 columns -- 2.11.4.GIT