From 0eea6ceac4821017192e3dfbeb46fddfd7a8f8e5 Mon Sep 17 00:00:00 2001
From: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Date: Thu, 2 Apr 2009 19:21:15 +0000
Subject: Improve file formats table by fixing more columns.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20607 a1c6a512-1295-4272-9138-f99709370657
---
 manual/appendix/file_formats.tex | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

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

diff --git a/manual/appendix/file_formats.tex b/manual/appendix/file_formats.tex
index 8e10924834..56999b3e96 100644
--- a/manual/appendix/file_formats.tex
+++ b/manual/appendix/file_formats.tex
@@ -3,15 +3,17 @@
 \section{\label{ref:Supportedfileformats}Supported file formats}
 \begin{table}
 \begin{center}
-\begin{tabularx}{\textwidth}{llXX}\toprule
+\begin{tabularx}{\textwidth}{clp{7em}X}\toprule
 \textbf{Icon} & \textbf{File Type} & \textbf{Extension} 
-  & \textbf{Action when selected} \\\midrule
+  & \textbf{Action when selected} \\\midrule%
 \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} 
   & Audio file & 
-  \opt{MASCODEC}{\fname{.mp2, .mp3}}\opt{swcodec}{\emph{various (see
-    \reference{ref:Supportedaudioformats}})}
+  \opt{MASCODEC}{\fname{.mp2, .mp3}}%
+  \opt{swcodec}{\emph{various}\newline%
+  (see \ref{ref:Supportedaudioformats}})%
+  % do NOT use \reference{} here as that will break the table.
   & Start playing the file and show the WPS\\
   \includegraphics[width=0.37cm]{appendix/images/icon-cuesheet.png} 
   & Cuesheet & \fname{.cue} & View the cuesheet file \\
@@ -75,7 +77,7 @@
   \section{\label{ref:Supportedaudioformats}Supported audio formats}
   \begin{table}
   \begin{center}
-  \begin{tabularx}{\textwidth}{lXX}\toprule
+  \begin{tabularx}{\textwidth}{lp{6em}X}\toprule
   \textbf{Format} & \textbf{Extension} & \textbf{Notes} \\\midrule
     \emph{Lossy codecs} \\
     \midrule
-- 
cgit v1.2.3

