From 46213aa05cce75625b7107a1a84894c4f2269a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 21 May 2012 15:28:03 +0200 Subject: [PATCH] add a bit of margin to notes --- mal2latex.xsl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mal2latex.xsl b/mal2latex.xsl index 61ab6f6..0f8284e 100644 --- a/mal2latex.xsl +++ b/mal2latex.xsl @@ -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}