www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

rapport.sty (1836B)


      1 \def\institution#1{\def\@institution{#1}}
      2 \def\blurb#1{\def\@blurb{#1}}
      3 
      4 \def\maketitle{%
      5   \thispagestyle{empty}%
      6   \begin{adjustwidth}{-2.5cm}{-2.5cm}%
      7     \center%
      8     \begin{minipage}[c]{5.5cm}%
      9       \includegraphics[height=2cm]{img/nouveauLogo_UM2.png}%
     10     \end{minipage}%
     11     \hfill%
     12     \begin{minipage}[c]{7cm}%
     13       \center%
     14       \@institution%
     15     \end{minipage}%
     16     \hfill%
     17     \begin{minipage}[c]{5.5cm}%
     18       \raggedleft%
     19       \includegraphics[height=2cm]{img/ufr.png}%
     20     \end{minipage}%
     21  %   
     22     \vskip 1cm%
     23     \begin{minipage}[c]{5.5cm}%
     24     \end{minipage}%
     25     \hfill%
     26     \begin{minipage}[c]{8cm}%
     27       \center%
     28       \@blurb%
     29     \end{minipage}%
     30     \hfill%
     31     \begin{minipage}[c]{5.5cm}%
     32     \end{minipage}%
     33     %
     34     \vfill%
     35     \begin{center}%
     36       \huge\@title\par%
     37     \end{center}%
     38     \vfill%
     39     \center%
     40     \Large\@author%
     41     \vfill%
     42     \begin{center}%
     43       \includegraphics[height=2.5cm]{img/petitlogoUM2.png}%
     44     \end{center}%
     45   \end{adjustwidth}%
     46 }
     47 
     48 
     49 \hypersetup{%
     50   colorlinks,%
     51   linkcolor=black,%
     52   filecolor=black,%
     53   urlcolor=black,%
     54   citecolor=black,%
     55   pdftex%
     56 }
     57 
     58 \let\li\lstinline
     59 
     60 \newlength\attentionlinewidth%
     61 \long\def\attention#1{%
     62 	\def\attentionsignwidth{3em}%
     63 	\attentionlinewidth=\textwidth%
     64 	\advance\attentionlinewidth by -\attentionsignwidth%
     65 	\advance\attentionlinewidth by -2pt%
     66 	{%
     67 	\parindent=0pt%
     68 	\vspace{2pt}%
     69 	\framebox[\textwidth]{%
     70 		\begin{minipage}[c]{\textwidth}%
     71 			\begin{minipage}[c]{\attentionsignwidth}%
     72 				\vspace{2pt}%
     73 				\center%
     74 				\tikz{
     75 					\node[draw=red, thick, regular polygon, regular polygon
     76 					 sides=3, inner sep=.2pt]{\small\bf !};%
     77 				}%
     78 				\vspace{2pt}%
     79 			\end{minipage}%
     80 			\begin{minipage}[c]{\attentionlinewidth}%
     81 				\vspace{2pt}%
     82 				#1%
     83 				\vspace{2pt}%
     84 			\end{minipage}%
     85 		\end{minipage}%
     86 	}%
     87 	\vspace{2pt}%
     88 	}%
     89 }