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
This commit is contained in:
Alex Parker 2009-08-23 22:23:33 +00:00
parent ccbd73cd8d
commit 7dfec97c5d

View file

@ -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