Core: remplace le package todo par mdframe
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c678e26475
commit
4392a35c67
@ -2,24 +2,31 @@
|
||||
|
||||
|
||||
% Pour gérer les todo
|
||||
\RequirePackage[french]{todonotes}
|
||||
\RequirePackage[framemethod=tikz]{mdframed}
|
||||
|
||||
|
||||
\global\mdfdefinestyle{highlight}{%
|
||||
linecolor=orange, backgroundcolor=orange!10,
|
||||
linewidth=3pt, roundcorner=5pt,
|
||||
leftmargin=1cm,rightmargin=1cm,
|
||||
}
|
||||
\newcounter{afaire}
|
||||
\newcommand{\afaire}[2][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{afaire}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,#1]{%
|
||||
\textbf{À faire au crayon à papier:}~#2}%
|
||||
}}
|
||||
\begin{mdframed}[style=highlight,frametitle={\textbf{À faire au crayon à papier}}]
|
||||
#2%
|
||||
\end{mdframed}
|
||||
}
|
||||
\newcounter{envideo}
|
||||
\newcommand{\envideo}[3][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{envideo}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,backgroundcolor=green,#1]{%
|
||||
\textbf{Voir la vidéo}~ #3
|
||||
\begin{mdframed}[style=highlight,
|
||||
linecolor=green, backgroundcolor=green!10,
|
||||
frametitle={\textbf{Voir la vidéo}}
|
||||
]
|
||||
#3
|
||||
|
||||
\begin{minipage}{0.2\linewidth}
|
||||
\qrcode{#2}
|
||||
@ -27,26 +34,24 @@
|
||||
\begin{minipage}{0.8\linewidth}
|
||||
\url{#2}
|
||||
\end{minipage}
|
||||
|
||||
}%
|
||||
\end{mdframed}
|
||||
}}
|
||||
|
||||
\newcounter{enclasse}
|
||||
\newcommand{\enclasse}[2][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{enclasse}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,backgroundcolor=green,#1]{%
|
||||
\textbf{Sera complété en classe}~#2}%
|
||||
}}
|
||||
\begin{mdframed}[style=highlight]
|
||||
\textbf{Sera complété en classe}~#2%
|
||||
\end{mdframed}
|
||||
}
|
||||
|
||||
\newcounter{arediger}
|
||||
\newcommand{\arediger}[2][]{%
|
||||
% initials of the author (optional) + note in the margin
|
||||
\refstepcounter{afaire}%
|
||||
{%
|
||||
%\setstretch{0.7}% spacing
|
||||
\todo[inline,#1]{%
|
||||
\textbf{À rédiger et m'envoyer par mail:}~#2}%
|
||||
\begin{mdframed}[style=highlight]
|
||||
\textbf{À rédiger et m'envoyer par mail:}~#2%
|
||||
\end{mdframed}
|
||||
}}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user