note and warnings macro from Dominik Riebeling. (Patch #4974)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9389 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9613fa880e
commit
9be37f35c8
1 changed files with 17 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
\usepackage{longtable}
|
||||
\usepackage{url}
|
||||
\urlstyle{sf}
|
||||
\usepackage{marvosym}
|
||||
|
||||
% fancy header style adjustments
|
||||
%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
|
||||
|
@ -98,3 +99,19 @@
|
|||
\end{figure}
|
||||
}
|
||||
|
||||
% command to display a note.
|
||||
% Usage: \note{text of your note}
|
||||
% Note: do NOT use \textbf or similar to emphasize text, use \emph!
|
||||
\newcommand{\note}[1]{
|
||||
\noindent\\%
|
||||
\textbf{Note:}\marginpar{\raisebox{-6pt}{\Huge\Writinghand}}\ #1%
|
||||
\newline
|
||||
}
|
||||
|
||||
% command to display a warning.
|
||||
% Usage: \warn{text of your warning}
|
||||
% Note: do NOT use \textbf or similar to emphasize text!
|
||||
\newcommand{\warn}[1]{
|
||||
\noindent\textbf{Warning:}\marginpar{\raisebox{-6pt}{\Huge\Stopsign}}\ #1%
|
||||
\newline
|
||||
}
|
Loading…
Reference in a new issue