diff options
author | Martin Arver <martin.arver@gmail.com> | 2006-03-31 13:29:27 +0000 |
---|---|---|
committer | Martin Arver <martin.arver@gmail.com> | 2006-03-31 13:29:27 +0000 |
commit | 9be37f35c8971039c479b5157f9ed886d493005d (patch) | |
tree | 790853f467c89e0cf6a2598955cfa1e3ec564b23 | |
parent | 9613fa880e762137647b85b40b44c2bd475f1fac (diff) | |
download | rockbox-9be37f35c8971039c479b5157f9ed886d493005d.tar.gz rockbox-9be37f35c8971039c479b5157f9ed886d493005d.zip |
note and warnings macro from Dominik Riebeling. (Patch #4974)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9389 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | manual/preamble.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex index c07178fcd7..1a10de713b 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex | |||
@@ -42,6 +42,7 @@ | |||
42 | \usepackage{longtable} | 42 | \usepackage{longtable} |
43 | \usepackage{url} | 43 | \usepackage{url} |
44 | \urlstyle{sf} | 44 | \urlstyle{sf} |
45 | \usepackage{marvosym} | ||
45 | 46 | ||
46 | % fancy header style adjustments | 47 | % fancy header style adjustments |
47 | %\renewcommand{\chaptermark}[1]{\markboth{#1}{}} | 48 | %\renewcommand{\chaptermark}[1]{\markboth{#1}{}} |
@@ -98,3 +99,19 @@ | |||
98 | \end{figure} | 99 | \end{figure} |
99 | } | 100 | } |
100 | 101 | ||
102 | % command to display a note. | ||
103 | % Usage: \note{text of your note} | ||
104 | % Note: do NOT use \textbf or similar to emphasize text, use \emph! | ||
105 | \newcommand{\note}[1]{ | ||
106 | \noindent\\% | ||
107 | \textbf{Note:}\marginpar{\raisebox{-6pt}{\Huge\Writinghand}}\ #1% | ||
108 | \newline | ||
109 | } | ||
110 | |||
111 | % command to display a warning. | ||
112 | % Usage: \warn{text of your warning} | ||
113 | % Note: do NOT use \textbf or similar to emphasize text! | ||
114 | \newcommand{\warn}[1]{ | ||
115 | \noindent\textbf{Warning:}\marginpar{\raisebox{-6pt}{\Huge\Stopsign}}\ #1% | ||
116 | \newline | ||
117 | } \ No newline at end of file | ||