add a bit of margin to notes

This commit is contained in:
Frédéric Péters 2012-05-21 15:28:03 +02:00
parent 51c043d736
commit 46213aa05c
1 changed files with 6 additions and 1 deletions

View File

@ -137,8 +137,8 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
\usepackage{fullpage}
\usepackage{float}
\usepackage[french]{babel}
\PrerenderUnicode{éàêë}
\usepackage[utf8x]{inputenc}
\PrerenderUnicode{éàêë}
\usepackage{graphicx}
\usepackage{bookman}
\usepackage{alltt}
@ -219,9 +219,14 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
\setlength{\marginparwidth}{30pt}
\newenvironment{notice}[1]{
\vspace{0.3cm}
\ifthenelse{\equal{#1}{warning}}{\marginpar{\vskip 3pt \includegraphics{warning}}}{}
\ifthenelse{\equal{#1}{tip}}{\marginpar{\vskip 3pt \includegraphics{tip}}}{}
\ifthenelse{\equal{#1}{}}{\marginpar{\vskip 3pt \includegraphics{note}}}{}
\hspace{0.5cm}\begin{minipage}{0.9\linewidth}
}
{
\end{minipage}
}
\usepackage{titlesec}