diff --git a/mal2latex-inline.xsl b/mal2latex-inline.xsl index d6d93d4..84046e8 100644 --- a/mal2latex-inline.xsl +++ b/mal2latex-inline.xsl @@ -119,6 +119,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + (page \pageref{}) diff --git a/mal2latex.xsl b/mal2latex.xsl index 6922607..61ab6f6 100644 --- a/mal2latex.xsl +++ b/mal2latex.xsl @@ -137,7 +137,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA \usepackage{fullpage} \usepackage{float} \usepackage[french]{babel} -\PrerenderUnicode{éàê} +\PrerenderUnicode{éàêë} \usepackage[utf8x]{inputenc} \usepackage{graphicx} \usepackage{bookman} @@ -148,6 +148,10 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA \definecolor{grayback}{RGB}{} \definecolor{yellowback}{RGB}{} \definecolor{yellowborder}{RGB}{} + +\definecolor{eopink}{rgb}{0.92,0.0,0.55} +\definecolor{eoblue}{rgb}{0.22,0.65,0.86} + \setlength{\parindent}{0in} \setlength{\parskip}{1em} \newenvironment{malexample}% @@ -194,13 +198,13 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA \reset@font \null\vfil \begin{flushleft} - \huge \@title + \color{eopink} \huge\bfseries \@title \end{flushleft} \par \hrule height 1pt \par \begin{flushright} - \LARGE \@author \par + \color{eopink} \LARGE \@author \par \end{flushright} \vskip 60\p@ \vfil\null @@ -220,6 +224,22 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA \ifthenelse{\equal{#1}{}}{\marginpar{\vskip 3pt \includegraphics{note}}}{} } +\usepackage{titlesec} +\usepackage{fancyhdr} +\usepackage{lastpage} + +\pagestyle{fancy} +\addtocontents{toc}{\protect\thispagestyle{fancy}} +\fancyhead{} +\fancyfoot{} +\fancyfoot[RO, LE] {Page \thepage sur \pageref*{LastPage}} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footrulewidth}{0pt} + +\titleformat{\section}[block]{\color{eopink}\Large\bfseries\filcenter}{}{1em}{} +\titleformat{\subsection}[hang]{\color{eopink}\Large\bfseries}{\thesubsection}{1em}{} +\titleformat{\subsubsection}[hang]{\color{eopink}\large\bfseries}{XX: \thesubsubsection}{1em}{} +\newcommand{\sectionbreak}{\clearpage} \makeatother @@ -246,7 +266,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA \documentclass[a4paper,11pt]{article} - \usepackage[colorlinks=true,linkcolor=blue,pdftitle={ + \usepackage[colorlinks=true,linkcolor=eoblue,pdftitle={ },pdfauthor={ @@ -276,25 +296,31 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA } + \label{ + + } - + + + + -1 - - \subsection*{ - - - \subsubsection*{ - + \subsection*{ + \subsubsection*{ + \paragraph{ + \textsc{ } - + + +