From fb87e8947340e183e0c9c55345f0f2917d03ef1c Mon Sep 17 00:00:00 2001
From: Alexander Levin <al.le@rockbox.org>
Date: Mon, 24 Aug 2009 21:22:18 +0000
Subject: 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
---
 manual/appendix/file_formats.tex | 22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

(limited to 'manual/appendix/file_formats.tex')

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 @@
 \chapter{File formats}
 \section{\label{ref:Supportedfileformats}Supported file formats}
 \begin{table}
-\begin{center}
-\rowcolors{1}{}{tblrowbgcolor}
-\begin{tabularx}{\textwidth}{clp{7em}X}\toprule
-\textbf{Icon} & \textbf{File Type} & \textbf{Extension} 
-  & \textbf{Action when selected} \\\midrule%
+\begin{rbtabular}{\textwidth}{clp{7em}X}%
+{\textbf{Icon} & \textbf{File Type} & \textbf{Extension} 
+  & \textbf{Action when selected}}{}{}
 \includegraphics[width=0.37cm]{appendix/images/icon-directory.png} 
   & Directory & \emph{none} & Enter the directory \\
 \includegraphics[width=0.37cm]{appendix/images/icon-audio-file.png} 
@@ -74,18 +72,14 @@
   & Game of Life & \fname{.cells} & Show the configuration with the
      ``Rocklife'' plugin\\}
 
-\bottomrule
-\end{tabularx}
-\end{center}
+\end{rbtabular}
 \end{table}
 
 \opt{swcodec}{
   \section{\label{ref:Supportedaudioformats}Supported audio formats}
   \begin{table}
-  \begin{center}
-  \rowcolors{1}{}{tblrowbgcolor}
-  \begin{tabularx}{\textwidth}{lp{6em}X}\toprule
-  \textbf{Format} & \textbf{Extension} & \textbf{Notes} \\\midrule
+  \begin{rbtabular}{\textwidth}{lp{6em}X}%
+  {\textbf{Format} & \textbf{Extension} & \textbf{Notes}}{}{}
     \multicolumn{2}{c}{\textbf{Lossy codecs}}\\
     \midrule
     MPEG audio & \fname{.mp1, .mpa, .mp2, .mp3} & \\
@@ -127,8 +121,6 @@
     NES Sound Format & \fname{.nsf, .nsfe} & \\
     SPC700 & \fname{.spc} & \\
     Atari SAP & \fname{.sap} & \\
-  \bottomrule
-  \end{tabularx}
-  \end{center}
+  \end{rbtabular}
   \end{table}
 }
-- 
cgit v1.2.3

