summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manual/preamble.tex14
1 files changed, 8 insertions, 6 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 1a10de713b..138d9830ec 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -103,15 +103,17 @@
103% Usage: \note{text of your note} 103% Usage: \note{text of your note}
104% Note: do NOT use \textbf or similar to emphasize text, use \emph! 104% Note: do NOT use \textbf or similar to emphasize text, use \emph!
105\newcommand{\note}[1]{ 105\newcommand{\note}[1]{
106 \noindent\\% 106 \ifinner\else\par\noindent\fi
107 \textbf{Note:}\marginpar{\raisebox{-6pt}{\Huge\Writinghand}}\ #1% 107 \textbf{Note:}\ %
108 \newline 108 \ifinner#1\else\marginpar{\raisebox{-6pt}{\Huge\Writinghand}}#1\par\fi%
109} 109}
110 110
111% command to display a warning. 111% command to display a warning.
112% Usage: \warn{text of your warning} 112% Usage: \warn{text of your warning}
113% Note: do NOT use \textbf or similar to emphasize text! 113% Note: do NOT use \textbf or similar to emphasize text!
114\newcommand{\warn}[1]{ 114\newcommand{\warn}[1]{
115 \noindent\textbf{Warning:}\marginpar{\raisebox{-6pt}{\Huge\Stopsign}}\ #1% 115 \ifinner\else\par\noindent\fi
116 \newline 116 \textbf{Warning:\ }%
117} \ No newline at end of file 117 \ifinner#1\else\marginpar{\raisebox{-6pt}{\Huge\Stopsign}}#1\par\fi%
118}
119