-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofNSI.sty
49 lines (47 loc) · 1.26 KB
/
profNSI.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{profNSI}[2019/09/08]
\newcommand{\nsiEntete}[2]{%%
\begin{center}
\begin{mdframed}[%%
roundcorner=20pt,
middlelinecolor=red,
middlelinewidth=4pt,%
backgroundcolor=blue!5,
innertopmargin=-7pt,
innerbottommargin=0pt
]
\begin{tabular}{m{.1\linewidth}m{.75\linewidth}m{.1\linewidth}}
\begin{center}
\begin{minipage}[m]{1.0\linewidth}
\includegraphics[width=.75\linewidth]{logoJM2.png}
\end{minipage}
\end{center}
&
\begin{center}
\begin{minipage}[m]{1.0\linewidth}
%%\vspace*{-5mm}
\begin{minipage}[t]{.9\linewidth}
\begin{center}
\Large\bfseries \textsc{#1}
\end{center}
\end{minipage}
\par\vspace*{-0cm}{\small\sffamily\texttt{\color{red}{\rightarrowfill #2}}}
\end{minipage}
\end{center}
&
\begin{center}
\begin{minipage}[m]{1.0\linewidth}
\begin{center}
\includegraphics[width=.75\linewidth]{logo_base.png}
\end{center}
% \par\vspace*{-8mm}
% \begin{center}
% {\tiny \scshape \color{red}{Première générale}}
% \end{center}
\end{minipage}
\end{center}
\end{tabular}
\end{mdframed}
\end{center}%%
}
\endinput