From 6ea22829c90de82cbed62f7a656506c4f8294149 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 7 Jan 2007 17:10:44 +0000 Subject: Remove line numbers from code blocks and make margins for code and example blocks identical. Add rotating package. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11938 a1c6a512-1295-4272-9138-f99709370657 --- manual/preamble.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'manual') diff --git a/manual/preamble.tex b/manual/preamble.tex index 999bcbf2f9..cb24cbbab9 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex @@ -71,6 +71,7 @@ \urlstyle{sf} \usepackage{marvosym} \usepackage{ifthen} +\usepackage{rotating} % mark this ad draft version (only for pdflatex) -- comment this out at release \ifpdfoutput{ @@ -262,8 +263,8 @@ % This is intended to make the LaTeX sources more readable. % Note: when using the code environment you need to use optv instead of opt! \DefineVerbatimEnvironment{code}{Verbatim}% - {framerule=0.4pt, framesep=1ex,numbers=left,frame=lines,%stepnumber=5,% - gobble=4,fontsize=\footnotesize,xleftmargin=10pt,% + {framerule=0.4pt, framesep=1ex,frame=lines,%numbers=left,stepnumber=5,% + gobble=4,fontsize=\footnotesize,xleftmargin=10pt,xrightmargin=10pt,% label=\textnormal{\textsc{Code}},% commandchars=\\\{\}% } @@ -276,7 +277,7 @@ % Note: when using the example environment you need to use optv instead of opt! \DefineVerbatimEnvironment{example}{Verbatim}% {commentchar=!,framerule=0.4pt, framesep=1ex,frame=lines,% - gobble=4,fontsize=\footnotesize,xleftmargin=10pt,% + gobble=4,fontsize=\footnotesize,xleftmargin=10pt,xrightmargin=10pt,% label=\textnormal{\textsc{Example}},% commandchars=\\\{\}% } -- cgit v1.2.3