summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-08-24 18:08:00 +0000
committerAlexander Levin <al.le@rockbox.org>2009-08-24 18:08:00 +0000
commit4acf5d35fe4061d6f88e49c59f1e74216f2558fe (patch)
tree8de6012f274a219e5877e0a2dc9520f2b4c0d7f3
parent400cd026f3267cff8b67d0bf0ab5f4645732cc5e (diff)
downloadrockbox-4acf5d35fe4061d6f88e49c59f1e74216f2558fe.tar.gz
rockbox-4acf5d35fe4061d6f88e49c59f1e74216f2558fe.zip
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.tex2
-rw-r--r--manual/appendix/file_formats.tex4
-rw-r--r--manual/configure_rockbox/file_view.tex2
-rw-r--r--manual/configure_rockbox/sound_settings.tex4
-rw-r--r--manual/plugins/brickmania.tex2
-rw-r--r--manual/plugins/goban.tex2
-rw-r--r--manual/plugins/pacbox.tex2
-rw-r--r--manual/preamble.tex8
-rw-r--r--manual/rockbox_interface/tagcache.tex2
9 files changed, 16 insertions, 12 deletions
diff --git a/manual/appendix/config_file_options.tex b/manual/appendix/config_file_options.tex
index 01f098ee4c..d7ee75c1e8 100644
--- a/manual/appendix/config_file_options.tex
+++ b/manual/appendix/config_file_options.tex
@@ -6,7 +6,7 @@
6% for the html output. 6% for the html output.
7\ifpdfoutput{\newcommand{\localendhead}{\endhead}}% 7\ifpdfoutput{\newcommand{\localendhead}{\endhead}}%
8 {\newcommand{\localendhead}{}} 8 {\newcommand{\localendhead}{}}
9 \rowcolors{1}{}{gray!30} 9 \rowcolors{1}{}{tblrowbgcolor}
10 \begin{longtable}{@{}>{\raggedright}p{.35\textwidth}@{}>{\raggedright}p{.4\textwidth}@{}p{.25\textwidth}@{}} 10 \begin{longtable}{@{}>{\raggedright}p{.35\textwidth}@{}>{\raggedright}p{.4\textwidth}@{}p{.25\textwidth}@{}}
11 \toprule 11 \toprule
12 \rowcolor{white} \textbf{Setting} & \textbf{Allowed Values} & \textbf{Unit}\\ 12 \rowcolor{white} \textbf{Setting} & \textbf{Allowed Values} & \textbf{Unit}\\
diff --git a/manual/appendix/file_formats.tex b/manual/appendix/file_formats.tex
index 87eed696a2..e0f5161883 100644
--- a/manual/appendix/file_formats.tex
+++ b/manual/appendix/file_formats.tex
@@ -3,7 +3,7 @@
3\section{\label{ref:Supportedfileformats}Supported file formats} 3\section{\label{ref:Supportedfileformats}Supported file formats}
4\begin{table} 4\begin{table}
5\begin{center} 5\begin{center}
6\rowcolors{1}{}{gray!30} 6\rowcolors{1}{}{tblrowbgcolor}
7\begin{tabularx}{\textwidth}{clp{7em}X}\toprule 7\begin{tabularx}{\textwidth}{clp{7em}X}\toprule
8\textbf{Icon} & \textbf{File Type} & \textbf{Extension} 8\textbf{Icon} & \textbf{File Type} & \textbf{Extension}
9 & \textbf{Action when selected} \\\midrule% 9 & \textbf{Action when selected} \\\midrule%
@@ -83,7 +83,7 @@
83 \section{\label{ref:Supportedaudioformats}Supported audio formats} 83 \section{\label{ref:Supportedaudioformats}Supported audio formats}
84 \begin{table} 84 \begin{table}
85 \begin{center} 85 \begin{center}
86 \rowcolors{1}{}{gray!30} 86 \rowcolors{1}{}{tblrowbgcolor}
87 \begin{tabularx}{\textwidth}{lp{6em}X}\toprule 87 \begin{tabularx}{\textwidth}{lp{6em}X}\toprule
88 \textbf{Format} & \textbf{Extension} & \textbf{Notes} \\\midrule 88 \textbf{Format} & \textbf{Extension} & \textbf{Notes} \\\midrule
89 \multicolumn{2}{c}{\textbf{Lossy codecs}}\\ 89 \multicolumn{2}{c}{\textbf{Lossy codecs}}\\
diff --git a/manual/configure_rockbox/file_view.tex b/manual/configure_rockbox/file_view.tex
index e1349343e3..3bf7c07faf 100644
--- a/manual/configure_rockbox/file_view.tex
+++ b/manual/configure_rockbox/file_view.tex
@@ -30,7 +30,7 @@ displays files.
30 be compared separately. The following table demonstrates the two sortings. 30 be compared separately. The following table demonstrates the two sortings.
31 \begin{table} 31 \begin{table}
32 \begin{center} 32 \begin{center}
33 \rowcolors{1}{}{gray!30} 33 \rowcolors{1}{}{tblrowbgcolor}
34 \begin{tabularx}{.8\textwidth}{XX} 34 \begin{tabularx}{.8\textwidth}{XX}
35 \toprule 35 \toprule
36 \textbf{As whole numbers} & \textbf{As digits}\\ 36 \textbf{As whole numbers} & \textbf{As digits}\\
diff --git a/manual/configure_rockbox/sound_settings.tex b/manual/configure_rockbox/sound_settings.tex
index dcf543a3d4..c3ce1f4dcb 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.
81 % 81 %
82 \begin{table} 82 \begin{table}
83 \begin{center} 83 \begin{center}
84 \rowcolors{1}{}{gray!30} 84 \rowcolors{1}{}{tblrowbgcolor}
85 \begin{tabularx}{\textwidth}{lX}\toprule 85 \begin{tabularx}{\textwidth}{lX}\toprule
86 \textbf{Setting} & \textbf{Description} \\\midrule 86 \textbf{Setting} & \textbf{Description} \\\midrule
87 Stereo 87 Stereo
@@ -199,7 +199,7 @@ change to customise your listening experience.
199 % 199 %
200 \begin{table}[h!] 200 \begin{table}[h!]
201 \begin{center} 201 \begin{center}
202 \rowcolors{1}{}{gray!30} 202 \rowcolors{1}{}{tblrowbgcolor}
203 \begin{tabular}{@{}lc@{}}\toprule 203 \begin{tabular}{@{}lc@{}}\toprule
204 Setting & Value \\\midrule 204 Setting & Value \\\midrule
205 MDB Strength & 50dB \\ 205 MDB Strength & 50dB \\
diff --git a/manual/plugins/brickmania.tex b/manual/plugins/brickmania.tex
index 039134f761..536c4a1007 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.\\
9\subsubsection{Special items} 9\subsubsection{Special items}
10\begin{table} 10\begin{table}
11 \begin{center} 11 \begin{center}
12 \rowcolors{1}{}{gray!30} 12 \rowcolors{1}{}{tblrowbgcolor}
13 \begin{tabularx}{.75\textwidth}{clX}\toprule 13 \begin{tabularx}{.75\textwidth}{clX}\toprule
14 \textbf{Displayed} & \textbf{Name} & \textbf{Description}\\\midrule 14 \textbf{Displayed} & \textbf{Name} & \textbf{Description}\\\midrule
15 N & Normal & Returns paddle to normal.\\ 15 N & Normal & Returns paddle to normal.\\
diff --git a/manual/plugins/goban.tex b/manual/plugins/goban.tex
index f4cf09013f..fe343b02c3 100644
--- a/manual/plugins/goban.tex
+++ b/manual/plugins/goban.tex
@@ -35,7 +35,7 @@ these markers: \\
35 35
36\begin{table} 36\begin{table}
37 \begin{center} 37 \begin{center}
38 \rowcolors{1}{}{gray!30} 38 \rowcolors{1}{}{tblrowbgcolor}
39 \begin{tabularx}{\textwidth}{lX}\toprule 39 \begin{tabularx}{\textwidth}{lX}\toprule
40 \textbf{Mark} & \textbf{Meaning} \\ \midrule 40 \textbf{Mark} & \textbf{Meaning} \\ \midrule
41 \emph{+ } & There are nodes after the current node in the SGF tree. \\ 41 \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 289ab95916..96979b801d 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
11``Midway Pacman''. 11``Midway Pacman''.
12\begin{table} 12\begin{table}
13\begin{center} 13\begin{center}
14 \rowcolors{1}{}{gray!30} 14 \rowcolors{1}{}{tblrowbgcolor}
15 \begin{tabular}{ll}\toprule 15 \begin{tabular}{ll}\toprule
16 \textbf{Filename} & \textbf{MD5 checksum}\\\midrule 16 \textbf{Filename} & \textbf{MD5 checksum}\\\midrule
17 pacman.5e & 2791455babaf26e0b396c78d2b45f8f6\\ 17 pacman.5e & 2791455babaf26e0b396c78d2b45f8f6\\
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 2495f13b88..8bbce066bd 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -60,6 +60,10 @@
60 60
61\newcommand{\fixme}[1]{\textbf{\textcolor{red}{#1}}} 61\newcommand{\fixme}[1]{\textbf{\textcolor{red}{#1}}}
62 62
63% Colors used to typeset table headers and alternating table rows
64\colorlet{tblhdrbgcolor}{gray!60} % Background color for headers
65\colorlet{tblrowbgcolor}{gray!30} % Background color for rows
66
63\usepackage{fancyhdr} 67\usepackage{fancyhdr}
64\usepackage{graphicx} 68\usepackage{graphicx}
65\usepackage{verbatim} 69\usepackage{verbatim}
@@ -210,7 +214,7 @@
210% Note: you still need to enclose this with \begin{table} / \end{table} 214% Note: you still need to enclose this with \begin{table} / \end{table}
211% Cheers for the usenet helping me building this up :) 215% Cheers for the usenet helping me building this up :)
212\newenvironment{tagmap}[2]{% 216\newenvironment{tagmap}[2]{%
213\rowcolors{1}{}{gray!30} 217\rowcolors{1}{}{tblrowbgcolor}
214 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname 218 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
215 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% 219 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
216 \bottomrule 220 \bottomrule
@@ -320,7 +324,7 @@
320% Main Unit Key & Remote Key & Description \\ 324% Main Unit Key & Remote Key & Description \\
321 325
322\newenvironment{btnmap}[2]{% 326\newenvironment{btnmap}[2]{%
323 \rowcolors{1}{}{gray!30} 327 \rowcolors{1}{}{tblrowbgcolor}
324 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname 328 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
325 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% 329 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
326 \bottomrule 330 \bottomrule
diff --git a/manual/rockbox_interface/tagcache.tex b/manual/rockbox_interface/tagcache.tex
index e9d0c3ef30..09a7199499 100644
--- a/manual/rockbox_interface/tagcache.tex
+++ b/manual/rockbox_interface/tagcache.tex
@@ -114,7 +114,7 @@ to RAM.}%
114 114
115\begin{table} 115\begin{table}
116\begin{center} 116\begin{center}
117\rowcolors{1}{}{gray!30} 117\rowcolors{1}{}{tblrowbgcolor}
118 \begin{tabularx}{.75\textwidth}{XXX}% 118 \begin{tabularx}{.75\textwidth}{XXX}%
119 \toprule% 119 \toprule%
120 \textbf{Tag} & \textbf{Type} & \textbf{Origin} \\ 120 \textbf{Tag} & \textbf{Type} & \textbf{Origin} \\