summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-01-07 17:10:44 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-01-07 17:10:44 +0000
commit6ea22829c90de82cbed62f7a656506c4f8294149 (patch)
treeaef81b33c6bc9a36dc3fdfa56ad039715f464564 /manual
parent2f428871ea2ad279b5c2327fdf3add487c09a942 (diff)
downloadrockbox-6ea22829c90de82cbed62f7a656506c4f8294149.tar.gz
rockbox-6ea22829c90de82cbed62f7a656506c4f8294149.tar.bz2
rockbox-6ea22829c90de82cbed62f7a656506c4f8294149.zip
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
Diffstat (limited to 'manual')
-rw-r--r--manual/preamble.tex7
1 files changed, 4 insertions, 3 deletions
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=\\\{\}%
}