diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-01-07 17:10:44 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-01-07 17:10:44 +0000 |
commit | 6ea22829c90de82cbed62f7a656506c4f8294149 (patch) | |
tree | aef81b33c6bc9a36dc3fdfa56ad039715f464564 | |
parent | 2f428871ea2ad279b5c2327fdf3add487c09a942 (diff) | |
download | rockbox-6ea22829c90de82cbed62f7a656506c4f8294149.tar.gz 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
-rw-r--r-- | manual/preamble.tex | 7 |
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 @@ | |||
71 | \urlstyle{sf} | 71 | \urlstyle{sf} |
72 | \usepackage{marvosym} | 72 | \usepackage{marvosym} |
73 | \usepackage{ifthen} | 73 | \usepackage{ifthen} |
74 | \usepackage{rotating} | ||
74 | 75 | ||
75 | % mark this ad draft version (only for pdflatex) -- comment this out at release | 76 | % mark this ad draft version (only for pdflatex) -- comment this out at release |
76 | \ifpdfoutput{ | 77 | \ifpdfoutput{ |
@@ -262,8 +263,8 @@ | |||
262 | % This is intended to make the LaTeX sources more readable. | 263 | % This is intended to make the LaTeX sources more readable. |
263 | % Note: when using the code environment you need to use optv instead of opt! | 264 | % Note: when using the code environment you need to use optv instead of opt! |
264 | \DefineVerbatimEnvironment{code}{Verbatim}% | 265 | \DefineVerbatimEnvironment{code}{Verbatim}% |
265 | {framerule=0.4pt, framesep=1ex,numbers=left,frame=lines,%stepnumber=5,% | 266 | {framerule=0.4pt, framesep=1ex,frame=lines,%numbers=left,stepnumber=5,% |
266 | gobble=4,fontsize=\footnotesize,xleftmargin=10pt,% | 267 | gobble=4,fontsize=\footnotesize,xleftmargin=10pt,xrightmargin=10pt,% |
267 | label=\textnormal{\textsc{Code}},% | 268 | label=\textnormal{\textsc{Code}},% |
268 | commandchars=\\\{\}% | 269 | commandchars=\\\{\}% |
269 | } | 270 | } |
@@ -276,7 +277,7 @@ | |||
276 | % Note: when using the example environment you need to use optv instead of opt! | 277 | % Note: when using the example environment you need to use optv instead of opt! |
277 | \DefineVerbatimEnvironment{example}{Verbatim}% | 278 | \DefineVerbatimEnvironment{example}{Verbatim}% |
278 | {commentchar=!,framerule=0.4pt, framesep=1ex,frame=lines,% | 279 | {commentchar=!,framerule=0.4pt, framesep=1ex,frame=lines,% |
279 | gobble=4,fontsize=\footnotesize,xleftmargin=10pt,% | 280 | gobble=4,fontsize=\footnotesize,xleftmargin=10pt,xrightmargin=10pt,% |
280 | label=\textnormal{\textsc{Example}},% | 281 | label=\textnormal{\textsc{Example}},% |
281 | commandchars=\\\{\}% | 282 | commandchars=\\\{\}% |
282 | } | 283 | } |