From fb87e8947340e183e0c9c55345f0f2917d03ef1c Mon Sep 17 00:00:00 2001 From: Alexander Levin 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/config_file_options.tex | 2 +- manual/appendix/file_formats.tex | 22 +++++++--------------- 2 files changed, 8 insertions(+), 16 deletions(-) (limited to 'manual/appendix') 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 @@ % for the html output. \ifpdfoutput{\newcommand{\localendhead}{\endhead}}% {\newcommand{\localendhead}{}} - \rowcolors{1}{}{tblrowbgcolor} + \rowcolors{1}{tblevenrowbgcolor}{tbloddrowbgcolor} \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 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