summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-08-24 21:22:18 +0000
committerAlexander Levin <al.le@rockbox.org>2009-08-24 21:22:18 +0000
commitfb87e8947340e183e0c9c55345f0f2917d03ef1c (patch)
treeee59e1119e6eb0b7fb2e7450ea7e567d1c40b138 /manual
parent873d266199f02cf619ff0c56f645cb674ed996cf (diff)
downloadrockbox-fb87e8947340e183e0c9c55345f0f2917d03ef1c.tar.gz
rockbox-fb87e8947340e183e0c9c55345f0f2917d03ef1c.zip
Introduce a new environment 'rbtabular' to make all the tables look the same. See comments in preable.tex. Next step will be to define btnmap and tagmap via this environment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22503 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r--manual/appendix/config_file_options.tex2
-rw-r--r--manual/appendix/file_formats.tex22
-rw-r--r--manual/configure_rockbox/file_view.tex12
-rw-r--r--manual/configure_rockbox/recording_settings.tex10
-rw-r--r--manual/configure_rockbox/sound_settings.tex20
-rw-r--r--manual/getting_started/archos_choice.tex12
-rw-r--r--manual/plugins/brickmania.tex11
-rw-r--r--manual/plugins/goban.tex10
-rw-r--r--manual/plugins/pacbox.tex10
-rw-r--r--manual/plugins/wormlet.tex8
-rw-r--r--manual/preamble.tex44
-rw-r--r--manual/rockbox_interface/tagcache.tex12
12 files changed, 84 insertions, 89 deletions
diff --git a/manual/appendix/config_file_options.tex b/manual/appendix/config_file_options.tex
index d7ee75c1e8..d0fa073635 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}{}{tblrowbgcolor} 9 \rowcolors{1}{tblevenrowbgcolor}{tbloddrowbgcolor}
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 e0f5161883..cbf1ab2c07 100644
--- a/manual/appendix/file_formats.tex
+++ b/manual/appendix/file_formats.tex
@@ -2,11 +2,9 @@
2\chapter{File formats} 2\chapter{File formats}
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{rbtabular}{\textwidth}{clp{7em}X}%
6\rowcolors{1}{}{tblrowbgcolor} 6{\textbf{Icon} & \textbf{File Type} & \textbf{Extension}
7\begin{tabularx}{\textwidth}{clp{7em}X}\toprule 7 & \textbf{Action when selected}}{}{}
8\textbf{Icon} & \textbf{File Type} & \textbf{Extension}
9 & \textbf{Action when selected} \\\midrule%
10\includegraphics[width=0.37cm]{appendix/images/icon-directory.png} 8\includegraphics[width=0.37cm]{appendix/images/icon-directory.png}
11 & Directory & \emph{none} & Enter the directory \\ 9 & Directory & \emph{none} & Enter the directory \\
12\includegraphics[width=0.37cm]{appendix/images/icon-audio-file.png} 10\includegraphics[width=0.37cm]{appendix/images/icon-audio-file.png}
@@ -74,18 +72,14 @@
74 & Game of Life & \fname{.cells} & Show the configuration with the 72 & Game of Life & \fname{.cells} & Show the configuration with the
75 ``Rocklife'' plugin\\} 73 ``Rocklife'' plugin\\}
76 74
77\bottomrule 75\end{rbtabular}
78\end{tabularx}
79\end{center}
80\end{table} 76\end{table}
81 77
82\opt{swcodec}{ 78\opt{swcodec}{
83 \section{\label{ref:Supportedaudioformats}Supported audio formats} 79 \section{\label{ref:Supportedaudioformats}Supported audio formats}
84 \begin{table} 80 \begin{table}
85 \begin{center} 81 \begin{rbtabular}{\textwidth}{lp{6em}X}%
86 \rowcolors{1}{}{tblrowbgcolor} 82 {\textbf{Format} & \textbf{Extension} & \textbf{Notes}}{}{}
87 \begin{tabularx}{\textwidth}{lp{6em}X}\toprule
88 \textbf{Format} & \textbf{Extension} & \textbf{Notes} \\\midrule
89 \multicolumn{2}{c}{\textbf{Lossy codecs}}\\ 83 \multicolumn{2}{c}{\textbf{Lossy codecs}}\\
90 \midrule 84 \midrule
91 MPEG audio & \fname{.mp1, .mpa, .mp2, .mp3} & \\ 85 MPEG audio & \fname{.mp1, .mpa, .mp2, .mp3} & \\
@@ -127,8 +121,6 @@
127 NES Sound Format & \fname{.nsf, .nsfe} & \\ 121 NES Sound Format & \fname{.nsf, .nsfe} & \\
128 SPC700 & \fname{.spc} & \\ 122 SPC700 & \fname{.spc} & \\
129 Atari SAP & \fname{.sap} & \\ 123 Atari SAP & \fname{.sap} & \\
130 \bottomrule 124 \end{rbtabular}
131 \end{tabularx}
132 \end{center}
133 \end{table} 125 \end{table}
134} 126}
diff --git a/manual/configure_rockbox/file_view.tex b/manual/configure_rockbox/file_view.tex
index 3bf7c07faf..21dbe4042f 100644
--- a/manual/configure_rockbox/file_view.tex
+++ b/manual/configure_rockbox/file_view.tex
@@ -29,12 +29,8 @@ displays files.
29 \newline\setting{As digits} disables this algorithm, and causes every digit to 29 \newline\setting{As digits} disables this algorithm, and causes every digit to
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{rbtabular}{.8\textwidth}{XX}%
33 \rowcolors{1}{}{tblrowbgcolor} 33 {\textbf{As whole numbers} & \textbf{As digits}}{}{}
34 \begin{tabularx}{.8\textwidth}{XX}
35 \toprule
36 \textbf{As whole numbers} & \textbf{As digits}\\
37 \midrule
38 03 Jackson.mp3 & 03 Jackson.mp3\\ 34 03 Jackson.mp3 & 03 Jackson.mp3\\
39 1 Ring Of Fire.mp3 & 1 Ring Of Fire.mp3\\ 35 1 Ring Of Fire.mp3 & 1 Ring Of Fire.mp3\\
40 2 I Walk The Line.mp3 & 10 A Thing Called Love.mp3\\ 36 2 I Walk The Line.mp3 & 10 A Thing Called Love.mp3\\
@@ -42,9 +38,7 @@ displays files.
42 Episode 1.ogg & Episode 1.ogg\\ 38 Episode 1.ogg & Episode 1.ogg\\
43 Episode 57.ogg & Episode 233.ogg\\ 39 Episode 57.ogg & Episode 233.ogg\\
44 Episode 233.ogg & Episode 57.ogg\\ 40 Episode 233.ogg & Episode 57.ogg\\
45 \bottomrule 41 \end{rbtabular}
46 \end{tabularx}
47 \end{center}
48 \end{table} 42 \end{table}
49 43
50 44
diff --git a/manual/configure_rockbox/recording_settings.tex b/manual/configure_rockbox/recording_settings.tex
index f7b17d524f..27db3e86ce 100644
--- a/manual/configure_rockbox/recording_settings.tex
+++ b/manual/configure_rockbox/recording_settings.tex
@@ -19,15 +19,13 @@
19 and the average bitrate changes as follows. 19 and the average bitrate changes as follows.
20 20
21 \begin{table}[h!] 21 \begin{table}[h!]
22 \begin{center} 22 \begin{rbtabular}{0.75\textwidth}{lX}%
23 \begin{tabularx}{0.75\textwidth}{lX}\toprule 23 {\emph{Frequency} & \emph{Bitrate} (Kbit/s) -- quality 0$\rightarrow$7}{}{}
24 \emph{Frequency} & \emph{Bitrate} (Kbit/s) -- quality 0$\rightarrow$7 \\\midrule
25 44100Hz stereo & 75, 80, 90, 100, 120, 140, 160, 170 \\ 24 44100Hz stereo & 75, 80, 90, 100, 120, 140, 160, 170 \\
26 22050Hz stereo & 39, 41, 45, 50, 60, 80, 110, 130 \\ 25 22050Hz stereo & 39, 41, 45, 50, 60, 80, 110, 130 \\
27 44100Hz mono & 65, 68, 73, 80, 90, 105, 125, 140 \\ 26 44100Hz mono & 65, 68, 73, 80, 90, 105, 125, 140 \\
28 22050Hz mono & 35, 38, 40, 45, 50, 60, 75, 90 \\\bottomrule 27 22050Hz mono & 35, 38, 40, 45, 50, 60, 75, 90 \\
29 \end{tabularx} 28 \end{rbtabular}
30 \end{center}
31 \end{table} 29 \end{table}
32} 30}
33 31
diff --git a/manual/configure_rockbox/sound_settings.tex b/manual/configure_rockbox/sound_settings.tex
index c3ce1f4dcb..e8e4f8aeee 100644
--- a/manual/configure_rockbox/sound_settings.tex
+++ b/manual/configure_rockbox/sound_settings.tex
@@ -80,10 +80,8 @@ change to customise your listening experience.
80 Available options are: 80 Available options are:
81 % 81 %
82 \begin{table} 82 \begin{table}
83 \begin{center} 83 \begin{rbtabular}{\textwidth}{lX}%
84 \rowcolors{1}{}{tblrowbgcolor} 84 {\textbf{Setting} & \textbf{Description}}{}{}
85 \begin{tabularx}{\textwidth}{lX}\toprule
86 \textbf{Setting} & \textbf{Description} \\\midrule
87 Stereo 85 Stereo
88 & Leave the audio signal unmodified. \\ 86 & Leave the audio signal unmodified. \\
89 % 87 %
@@ -107,9 +105,7 @@ change to customise your listening experience.
107 to make the singer sound centrally placed, this often (but not 105 to make the singer sound centrally placed, this often (but not
108 always) has the effect of removing the voice track from a song. This 106 always) has the effect of removing the voice track from a song. This
109 setting also very often has other undesirable effects on the sound. \\ 107 setting also very often has other undesirable effects on the sound. \\
110 \bottomrule 108 \end{rbtabular}
111 \end{tabularx}
112 \end{center}
113 \end{table} 109 \end{table}
114 110
115\section{Stereo Width} 111\section{Stereo Width}
@@ -198,16 +194,12 @@ change to customise your listening experience.
198 Rockbox uses are: 194 Rockbox uses are:
199 % 195 %
200 \begin{table}[h!] 196 \begin{table}[h!]
201 \begin{center} 197 \begin{rbtabular}{0.5\textwidth}{Xc}{Setting & Value}{}{}
202 \rowcolors{1}{}{tblrowbgcolor}
203 \begin{tabular}{@{}lc@{}}\toprule
204 Setting & Value \\\midrule
205 MDB Strength & 50dB \\ 198 MDB Strength & 50dB \\
206 MDB Harmonics & 48\% \\ 199 MDB Harmonics & 48\% \\
207 MDB Centre Frequency & 60Hz \\ 200 MDB Centre Frequency & 60Hz \\
208 MDB Shape & 90Hz \\\bottomrule 201 MDB Shape & 90Hz \\
209 \end{tabular} 202 \end{rbtabular}
210 \end{center}
211 \end{table} 203 \end{table}
212 204
213 \end{description} 205 \end{description}
diff --git a/manual/getting_started/archos_choice.tex b/manual/getting_started/archos_choice.tex
index d05532bf45..96b773d776 100644
--- a/manual/getting_started/archos_choice.tex
+++ b/manual/getting_started/archos_choice.tex
@@ -8,10 +8,9 @@ identify which version of the software you need.
8The model name is printed on the case. The hard drive size is listed on the 8The model name is printed on the case. The hard drive size is listed on the
9serial number sticker on the back of the unit. 9serial number sticker on the back of the unit.
10 10
11\begin{center} 11\begin{rbtabular}{\textwidth}{llXl}%
12 \begin{tabularx}{\textwidth}{llXl}\toprule 12 {\textbf{Picture} & \textbf{Disk size} & \textbf{Model Name} & \textbf{Version Name}}%
13 \label{ref:Jukeboxtypetable} 13 {}{ref:Jukeboxtypetable}
14 \textbf{Picture} & \textbf{Disk size} & \textbf{Model Name} & \textbf{Version Name} \\\midrule
15 \begin{minipage}{2.2cm} 14 \begin{minipage}{2.2cm}
16 \includegraphics[width=2cm]{getting_started/images/archos-studio-small.png} 15 \includegraphics[width=2cm]{getting_started/images/archos-studio-small.png}
17 \end{minipage} 16 \end{minipage}
@@ -48,8 +47,7 @@ serial number sticker on the back of the unit.
48 \begin{minipage}{2.2cm} 47 \begin{minipage}{2.2cm}
49 \includegraphics[width=2cm]{getting_started/images/archos-ondiofm-small.png} 48 \includegraphics[width=2cm]{getting_started/images/archos-ondiofm-small.png}
50 \end{minipage} 49 \end{minipage}
51 & 128MB (flash) & Ondio 128 FM & ondiofm \\\bottomrule 50 & 128MB (flash) & Ondio 128 FM & ondiofm \\
52 \end{tabularx} 51\end{rbtabular}
53\end{center}
54\note{Rockbox does not run on the Archos Jukebox Multimedia or any 52\note{Rockbox does not run on the Archos Jukebox Multimedia or any
55Archos products other than those mentioned here.} 53Archos products other than those mentioned here.}
diff --git a/manual/plugins/brickmania.tex b/manual/plugins/brickmania.tex
index 536c4a1007..ecfd38183b 100644
--- a/manual/plugins/brickmania.tex
+++ b/manual/plugins/brickmania.tex
@@ -8,19 +8,16 @@ effect, you must catch it with the paddle. Look out for the bad ones.\\
8 8
9\subsubsection{Special items} 9\subsubsection{Special items}
10\begin{table} 10\begin{table}
11 \begin{center} 11 \begin{rbtabular}{.75\textwidth}{clX}%
12 \rowcolors{1}{}{tblrowbgcolor} 12 {\textbf{Displayed} & \textbf{Name} & \textbf{Description}}{}{}
13 \begin{tabularx}{.75\textwidth}{clX}\toprule
14 \textbf{Displayed} & \textbf{Name} & \textbf{Description}\\\midrule
15 N & Normal & Returns paddle to normal.\\ 13 N & Normal & Returns paddle to normal.\\
16 D & Die & Ball dies; lose a life.\\ 14 D & Die & Ball dies; lose a life.\\
17 L & Life & Gain a life.\\ 15 L & Life & Gain a life.\\
18 F & Fire & Allows you to shoot bricks with paddle.\\ 16 F & Fire & Allows you to shoot bricks with paddle.\\
19 G & Glue & Ball sticks to paddle each time it hits.\\ 17 G & Glue & Ball sticks to paddle each time it hits.\\
20 B & Ball & Immediately fires another ball.\\ 18 B & Ball & Immediately fires another ball.\\
21 FL & Flip & Flip left / right movement.\\\bottomrule 19 FL & Flip & Flip left / right movement.\\
22 \end{tabularx} 20 \end{rbtabular}
23 \end{center}
24\end{table} 21\end{table}
25 22
26\begin{table} 23\begin{table}
diff --git a/manual/plugins/goban.tex b/manual/plugins/goban.tex
index fe343b02c3..815eec559f 100644
--- a/manual/plugins/goban.tex
+++ b/manual/plugins/goban.tex
@@ -34,10 +34,8 @@ The information panel which displays the current move number may also contain
34these markers: \\ 34these markers: \\
35 35
36\begin{table} 36\begin{table}
37 \begin{center} 37 \begin{rbtabular}{\textwidth}{lX}%
38 \rowcolors{1}{}{tblrowbgcolor} 38 {\textbf{Mark} & \textbf{Meaning}}{}{}
39 \begin{tabularx}{\textwidth}{lX}\toprule
40 \textbf{Mark} & \textbf{Meaning} \\ \midrule
41 \emph{+ } & There are nodes after the current node in the SGF tree. \\ 39 \emph{+ } & There are nodes after the current node in the SGF tree. \\
42 \emph{* } & There are sibling variations which can be navigated to using the % 40 \emph{* } & There are sibling variations which can be navigated to using the %
43 \emph{Next Variation} menu option of the \emph{Context Menu}% 41 \emph{Next Variation} menu option of the \emph{Context Menu}%
@@ -53,9 +51,7 @@ these markers: \\
53 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonRec} button}. \\ 51 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonRec} button}. \\
54 \emph{C } & There is a comment at the current node. It can be viewed/edited using 52 \emph{C } & There is a comment at the current node. It can be viewed/edited using
55 the \emph{Add/Edit Comment} menu option of the \emph{Context Menu}. \\ 53 the \emph{Add/Edit Comment} menu option of the \emph{Context Menu}. \\
56 \bottomrule 54 \end{rbtabular}
57 \end{tabularx}
58 \end{center}
59\end{table} 55\end{table}
60 56
61\subsubsection{Controls} 57\subsubsection{Controls}
diff --git a/manual/plugins/pacbox.tex b/manual/plugins/pacbox.tex
index 96979b801d..8c40ef9d14 100644
--- a/manual/plugins/pacbox.tex
+++ b/manual/plugins/pacbox.tex
@@ -10,18 +10,14 @@ Pacbox is an emulator of the Pacman arcade machine hardware. It is a port of
10To use the emulator to play Pacman, you need a copy of ROMs for 10To 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{rbtabular}{0.8\textwidth}{lX}{\textbf{Filename} & \textbf{MD5 checksum}}{}{}
14 \rowcolors{1}{}{tblrowbgcolor}
15 \begin{tabular}{ll}\toprule
16 \textbf{Filename} & \textbf{MD5 checksum}\\\midrule
17 pacman.5e & 2791455babaf26e0b396c78d2b45f8f6\\ 14 pacman.5e & 2791455babaf26e0b396c78d2b45f8f6\\
18 pacman.5f & 9240f35d1d2beee0ff17195653b5e405\\ 15 pacman.5f & 9240f35d1d2beee0ff17195653b5e405\\
19 pacman.6e & 290aa5eae9e2f63587b5dd5a7da932da\\ 16 pacman.6e & 290aa5eae9e2f63587b5dd5a7da932da\\
20 pacman.6f & 19a886fcd8b5e88b0ed1b97f9d8659c0\\ 17 pacman.6f & 19a886fcd8b5e88b0ed1b97f9d8659c0\\
21 pacman.6h & d7cce8bffd9563b133ec17ebbb6373d4\\ 18 pacman.6h & d7cce8bffd9563b133ec17ebbb6373d4\\
22 pacman.6j & 33c0e197be4c787142af6c3be0d8f6b0\\\bottomrule 19 pacman.6j & 33c0e197be4c787142af6c3be0d8f6b0\\
23 \end{tabular} 20 \end{rbtabular}
24\end{center}
25\end{table} 21\end{table}
26 22
27These need to be stored in the \fname{/.rockbox/pacman/} directory on your 23These need to be stored in the \fname{/.rockbox/pacman/} directory on your
diff --git a/manual/plugins/wormlet.tex b/manual/plugins/wormlet.tex
index f8596090fa..53b3f1ffbb 100644
--- a/manual/plugins/wormlet.tex
+++ b/manual/plugins/wormlet.tex
@@ -39,9 +39,9 @@ Game controls:}
39 39
40\opt{RECORDER_PAD}{ 40\opt{RECORDER_PAD}{
41\renewcommand{\arraystretch}{1.8} 41\renewcommand{\arraystretch}{1.8}
42\begin{tabularx}{\textwidth}{c X p{3cm} p{3cm} p{3cm}}\toprule 42\begin{rbtabular}{\textwidth}{c X p{3cm} p{3cm} p{3cm}}%
43\textbf{Players} & \textbf{Modes} & \textbf{Player 1} & \textbf{Player 2} 43{\textbf{Players} & \textbf{Modes} & \textbf{Player 1} & \textbf{Player 2}
44 & \textbf{Player 3}\\\midrule 44 & \textbf{Player 3}}{}{}
45% 45%
460 & Out of control & \multicolumn{3}{p{9cm}}{With no player taking part in the 460 & Out of control & \multicolumn{3}{p{9cm}}{With no player taking part in the
47 game all worms are out of control and steered by artificial stupidity.}\\ 47 game all worms are out of control and steered by artificial stupidity.}\\
@@ -65,7 +65,7 @@ Game controls:}
65 & on remote control VOL DOWN: turn left VOL UP: turn 65 & on remote control VOL DOWN: turn left VOL UP: turn
66 right & on \dap\ \ButtonFTwo: turn left \ButtonFThree: 66 right & on \dap\ \ButtonFTwo: turn left \ButtonFThree:
67 turn right \\ 67 turn right \\
68\end{tabularx} 68\end{rbtabular}
69\renewcommand{\arraystretch}{1.0} 69\renewcommand{\arraystretch}{1.0}
70} 70}
71 71
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 8bbce066bd..4e2ec7ec79 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -62,7 +62,8 @@
62 62
63% Colors used to typeset table headers and alternating table rows 63% Colors used to typeset table headers and alternating table rows
64\colorlet{tblhdrbgcolor}{gray!60} % Background color for headers 64\colorlet{tblhdrbgcolor}{gray!60} % Background color for headers
65\colorlet{tblrowbgcolor}{gray!30} % Background color for rows 65\colorlet{tbloddrowbgcolor}{white} % Background color for odd rows (headers not included)
66\colorlet{tblevenrowbgcolor}{gray!30} % Background color for even rows (headers not included)
66 67
67\usepackage{fancyhdr} 68\usepackage{fancyhdr}
68\usepackage{graphicx} 69\usepackage{graphicx}
@@ -201,6 +202,43 @@
201\setcounter{totalnumber}{5} % default: 3 202\setcounter{totalnumber}{5} % default: 3
202 203
203 204
205% Environment for typesetting tables in a consistent way. The header has
206% a darker background; rows are white and light gray (alternating). Top,
207% middle and bottom rules are automatically set.
208%
209% Params:
210% #1 -- table width
211% #2 -- column specification (as used in the package tabularx)
212% #3 -- contents of the header row. The number of items must
213% match the number of specs in #2
214% #4 -- caption (optional). If used then this must be inside a floating
215% environment, e.g. table
216% #5 -- label (optional)
217%
218% Example:
219% \begin{rbtabular}{0.9\textwidth}{lX}{Col1 & Col2}{}{}
220% A1 & A2\\
221% B1 & B2\\
222% C1 & C2\\
223% \end{rbtabular}
224%
225\newenvironment{rbtabular}[5]{%
226 \rowcolors{2}{tblevenrowbgcolor}{tbloddrowbgcolor}
227 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
228 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
229 \bottomrule
230 \SavedEndTab%
231 \if\given{#4}\caption{#4}\fi%
232 \if\given{#5}\label{#5}\fi%
233 \endcenter%
234 }
235 \center
236 \tabularx{#1}{#2}\toprule\rowcolor{tblhdrbgcolor}
237 #3\\\midrule
238}{%
239 \endtabularx
240}
241
204 242
205 243
206 244
@@ -214,7 +252,7 @@
214% Note: you still need to enclose this with \begin{table} / \end{table} 252% Note: you still need to enclose this with \begin{table} / \end{table}
215% Cheers for the usenet helping me building this up :) 253% Cheers for the usenet helping me building this up :)
216\newenvironment{tagmap}[2]{% 254\newenvironment{tagmap}[2]{%
217\rowcolors{1}{}{tblrowbgcolor} 255\rowcolors{1}{tblevenrowbgcolor}{tbloddrowbgcolor}
218 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname 256 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
219 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% 257 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
220 \bottomrule 258 \bottomrule
@@ -324,7 +362,7 @@
324% Main Unit Key & Remote Key & Description \\ 362% Main Unit Key & Remote Key & Description \\
325 363
326\newenvironment{btnmap}[2]{% 364\newenvironment{btnmap}[2]{%
327 \rowcolors{1}{}{tblrowbgcolor} 365 \rowcolors{1}{tblevenrowbgcolor}{tbloddrowbgcolor}
328 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname 366 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
329 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% 367 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
330 \bottomrule 368 \bottomrule
diff --git a/manual/rockbox_interface/tagcache.tex b/manual/rockbox_interface/tagcache.tex
index 09a7199499..2856c22b3c 100644
--- a/manual/rockbox_interface/tagcache.tex
+++ b/manual/rockbox_interface/tagcache.tex
@@ -113,12 +113,8 @@ to use it just do not do the initial build of the database and do not load it
113to RAM.}% 113to RAM.}%
114 114
115\begin{table} 115\begin{table}
116\begin{center} 116 \begin{rbtabular}{.75\textwidth}{XXX}%
117\rowcolors{1}{}{tblrowbgcolor} 117 {\textbf{Tag} & \textbf{Type} & \textbf{Origin}}{}{}
118 \begin{tabularx}{.75\textwidth}{XXX}%
119 \toprule%
120 \textbf{Tag} & \textbf{Type} & \textbf{Origin} \\
121 \midrule
122 filename & string & system \\ 118 filename & string & system \\
123 album & string & id tag \\ 119 album & string & id tag \\
124 albumartist & string & id tag \\ 120 albumartist & string & id tag \\
@@ -143,7 +139,5 @@ to RAM.}%
143 length & numeric & system \\ 139 length & numeric & system \\
144 Lm (track len - min) & numeric & system \\ 140 Lm (track len - min) & numeric & system \\
145 Ls (track len - sec) & numeric & system \\ 141 Ls (track len - sec) & numeric & system \\
146 \bottomrule 142 \end{rbtabular}
147 \end{tabularx}
148\end{center}
149\end{table} 143\end{table}