diff options
| author | Alexander Levin <al.le@rockbox.org> | 2009-08-24 18:08:00 +0000 |
|---|---|---|
| committer | Alexander Levin <al.le@rockbox.org> | 2009-08-24 18:08:00 +0000 |
| commit | 4acf5d35fe4061d6f88e49c59f1e74216f2558fe (patch) | |
| tree | 8de6012f274a219e5877e0a2dc9520f2b4c0d7f3 | |
| parent | 400cd026f3267cff8b67d0bf0ab5f4645732cc5e (diff) | |
| download | rockbox-4acf5d35fe4061d6f88e49c59f1e74216f2558fe.zip rockbox-4acf5d35fe4061d6f88e49c59f1e74216f2558fe.tar.gz rockbox-4acf5d35fe4061d6f88e49c59f1e74216f2558fe.tar.bz2 rockbox-4acf5d35fe4061d6f88e49c59f1e74216f2558fe.tar.xz | |
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
| -rw-r--r-- | manual/appendix/config_file_options.tex | 2 | ||||
| -rw-r--r-- | manual/appendix/file_formats.tex | 4 | ||||
| -rw-r--r-- | manual/configure_rockbox/file_view.tex | 2 | ||||
| -rw-r--r-- | manual/configure_rockbox/sound_settings.tex | 4 | ||||
| -rw-r--r-- | manual/plugins/brickmania.tex | 2 | ||||
| -rw-r--r-- | manual/plugins/goban.tex | 2 | ||||
| -rw-r--r-- | manual/plugins/pacbox.tex | 2 | ||||
| -rw-r--r-- | manual/preamble.tex | 8 | ||||
| -rw-r--r-- | manual/rockbox_interface/tagcache.tex | 2 |
9 files changed, 16 insertions, 12 deletions
diff --git a/manual/appendix/config_file_options.tex b/manual/appendix/config_file_options.tex index 01f098ee..d7ee75c 100644 --- a/manual/appendix/config_file_options.tex +++ b/manual/appendix/config_file_options.tex @@ -6,7 +6,7 @@ % for the html output. \ifpdfoutput{\newcommand{\localendhead}{\endhead}}% {\newcommand{\localendhead}{}} - \rowcolors{1}{}{gray!30} + \rowcolors{1}{}{tblrowbgcolor} \begin{longtable}{@{}>{\raggedright}p{.35\textwidth}@{}>{\raggedright}p{.4\textwidth}@{}p{.25\textwidth}@{}} \toprule \rowcolor{white} \textbf{Setting} & \textbf{Allowed Values} & \textbf{Unit}\\ diff --git a/manual/appendix/file_formats.tex b/manual/appendix/file_formats.tex index 87eed69..e0f5161 100644 --- a/manual/appendix/file_formats.tex +++ b/manual/appendix/file_formats.tex @@ -3,7 +3,7 @@ \section{\label{ref:Supportedfileformats}Supported file formats} \begin{table} \begin{center} -\rowcolors{1}{}{gray!30} +\rowcolors{1}{}{tblrowbgcolor} \begin{tabularx}{\textwidth}{clp{7em}X}\toprule \textbf{Icon} & \textbf{File Type} & \textbf{Extension} & \textbf{Action when selected} \\\midrule% @@ -83,7 +83,7 @@ \section{\label{ref:Supportedaudioformats}Supported audio formats} \begin{table} \begin{center} - \rowcolors{1}{}{gray!30} + \rowcolors{1}{}{tblrowbgcolor} \begin{tabularx}{\textwidth}{lp{6em}X}\toprule \textbf{Format} & \textbf{Extension} & \textbf{Notes} \\\midrule \multicolumn{2}{c}{\textbf{Lossy codecs}}\\ diff --git a/manual/configure_rockbox/file_view.tex b/manual/configure_rockbox/file_view.tex index e134934..3bf7c07 100644 --- a/manual/configure_rockbox/file_view.tex +++ b/manual/configure_rockbox/file_view.tex @@ -30,7 +30,7 @@ displays files. be compared separately. The following table demonstrates the two sortings. \begin{table} \begin{center} - \rowcolors{1}{}{gray!30} + \rowcolors{1}{}{tblrowbgcolor} \begin{tabularx}{.8\textwidth}{XX} \toprule \textbf{As whole numbers} & \textbf{As digits}\\ diff --git a/manual/configure_rockbox/sound_settings.tex b/manual/configure_rockbox/sound_settings.tex index dcf543a..c3ce1f4 100644 --- a/manual/configure_rockbox/sound_settings.tex +++ b/manual/configure_rockbox/sound_settings.tex @@ -81,7 +81,7 @@ change to customise your listening experience. % \begin{table} \begin{center} - \rowcolors{1}{}{gray!30} + \rowcolors{1}{}{tblrowbgcolor} \begin{tabularx}{\textwidth}{lX}\toprule \textbf{Setting} & \textbf{Description} \\\midrule Stereo @@ -199,7 +199,7 @@ change to customise your listening experience. % \begin{table}[h!] \begin{center} - \rowcolors{1}{}{gray!30} + \rowcolors{1}{}{tblrowbgcolor} \begin{tabular}{@{}lc@{}}\toprule Setting & Value \\\midrule MDB Strength & 50dB \\ diff --git a/manual/plugins/brickmania.tex b/manual/plugins/brickmania.tex index 039134f..536c4a1 100644 --- a/manual/plugins/brickmania.tex +++ b/manual/plugins/brickmania.tex @@ -9,7 +9,7 @@ effect, you must catch it with the paddle. Look out for the bad ones.\\ \subsubsection{Special items} \begin{table} \begin{center} - \rowcolors{1}{}{gray!30} + \rowcolors{1}{}{tblrowbgcolor} \begin{tabularx}{.75\textwidth}{clX}\toprule \textbf{Displayed} & \textbf{Name} & \textbf{Description}\\\midrule N & Normal & Returns paddle to normal.\\ diff --git a/manual/plugins/goban.tex b/manual/plugins/goban.tex index f4cf090..fe343b0 100644 --- a/manual/plugins/goban.tex +++ b/manual/plugins/goban.tex @@ -35,7 +35,7 @@ these markers: \\ \begin{table} \begin{center} - \rowcolors{1}{}{gray!30} + \rowcolors{1}{}{tblrowbgcolor} \begin{tabularx}{\textwidth}{lX}\toprule \textbf{Mark} & \textbf{Meaning} \\ \midrule \emph{+ } & There are nodes after the current node in the SGF tree. \\ diff --git a/manual/plugins/pacbox.tex b/manual/plugins/pacbox.tex index 289ab95..96979b8 100644 --- a/manual/plugins/pacbox.tex +++ b/manual/plugins/pacbox.tex @@ -11,7 +11,7 @@ To use the emulator to play Pacman, you need a copy of ROMs for ``Midway Pacman''. \begin{table} \begin{center} - \rowcolors{1}{}{gray!30} + \rowcolors{1}{}{tblrowbgcolor} \begin{tabular}{ll}\toprule \textbf{Filename} & \textbf{MD5 checksum}\\\midrule pacman.5e & 2791455babaf26e0b396c78d2b45f8f6\\ diff --git a/manual/preamble.tex b/manual/preamble.tex index 2495f13..8bbce06 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex @@ -60,6 +60,10 @@ \newcommand{\fixme}[1]{\textbf{\textcolor{red}{#1}}} +% Colors used to typeset table headers and alternating table rows +\colorlet{tblhdrbgcolor}{gray!60} % Background color for headers +\colorlet{tblrowbgcolor}{gray!30} % Background color for rows + \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{verbatim} @@ -210,7 +214,7 @@ % Note: you still need to enclose this with \begin{table} / \end{table} % Cheers for the usenet helping me building this up :) \newenvironment{tagmap}[2]{% -\rowcolors{1}{}{gray!30} +\rowcolors{1}{}{tblrowbgcolor} \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% \bottomrule @@ -320,7 +324,7 @@ % Main Unit Key & Remote Key & Description \\ \newenvironment{btnmap}[2]{% - \rowcolors{1}{}{gray!30} + \rowcolors{1}{}{tblrowbgcolor} \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% \bottomrule diff --git a/manual/rockbox_interface/tagcache.tex b/manual/rockbox_interface/tagcache.tex index e9d0c3e..09a7199 100644 --- a/manual/rockbox_interface/tagcache.tex +++ b/manual/rockbox_interface/tagcache.tex @@ -114,7 +114,7 @@ to RAM.}% \begin{table} \begin{center} -\rowcolors{1}{}{gray!30} +\rowcolors{1}{}{tblrowbgcolor} \begin{tabularx}{.75\textwidth}{XXX}% \toprule% \textbf{Tag} & \textbf{Type} & \textbf{Origin} \\ |