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
|
% 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}
|
\newcounter{afaire}
|
||||||
\newcommand{\afaire}[2][]{%
|
\newcommand{\afaire}[2][]{%
|
||||||
% initials of the author (optional) + note in the margin
|
% initials of the author (optional) + note in the margin
|
||||||
\refstepcounter{afaire}%
|
\refstepcounter{afaire}%
|
||||||
{%
|
\begin{mdframed}[style=highlight,frametitle={\textbf{À faire au crayon à papier}}]
|
||||||
%\setstretch{0.7}% spacing
|
#2%
|
||||||
\todo[inline,#1]{%
|
\end{mdframed}
|
||||||
\textbf{À faire au crayon à papier:}~#2}%
|
}
|
||||||
}}
|
|
||||||
\newcounter{envideo}
|
\newcounter{envideo}
|
||||||
\newcommand{\envideo}[3][]{%
|
\newcommand{\envideo}[3][]{%
|
||||||
% initials of the author (optional) + note in the margin
|
|
||||||
\refstepcounter{envideo}%
|
\refstepcounter{envideo}%
|
||||||
{%
|
{%
|
||||||
%\setstretch{0.7}% spacing
|
\begin{mdframed}[style=highlight,
|
||||||
\todo[inline,backgroundcolor=green,#1]{%
|
linecolor=green, backgroundcolor=green!10,
|
||||||
\textbf{Voir la vidéo}~ #3
|
frametitle={\textbf{Voir la vidéo}}
|
||||||
|
]
|
||||||
|
#3
|
||||||
|
|
||||||
\begin{minipage}{0.2\linewidth}
|
\begin{minipage}{0.2\linewidth}
|
||||||
\qrcode{#2}
|
\qrcode{#2}
|
||||||
@ -27,26 +34,24 @@
|
|||||||
\begin{minipage}{0.8\linewidth}
|
\begin{minipage}{0.8\linewidth}
|
||||||
\url{#2}
|
\url{#2}
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
|
\end{mdframed}
|
||||||
}%
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
\newcounter{enclasse}
|
\newcounter{enclasse}
|
||||||
\newcommand{\enclasse}[2][]{%
|
\newcommand{\enclasse}[2][]{%
|
||||||
% initials of the author (optional) + note in the margin
|
|
||||||
\refstepcounter{enclasse}%
|
\refstepcounter{enclasse}%
|
||||||
{%
|
\begin{mdframed}[style=highlight]
|
||||||
%\setstretch{0.7}% spacing
|
\textbf{Sera complété en classe}~#2%
|
||||||
\todo[inline,backgroundcolor=green,#1]{%
|
\end{mdframed}
|
||||||
\textbf{Sera complété en classe}~#2}%
|
}
|
||||||
}}
|
|
||||||
\newcounter{arediger}
|
\newcounter{arediger}
|
||||||
\newcommand{\arediger}[2][]{%
|
\newcommand{\arediger}[2][]{%
|
||||||
% initials of the author (optional) + note in the margin
|
|
||||||
\refstepcounter{afaire}%
|
\refstepcounter{afaire}%
|
||||||
{%
|
{%
|
||||||
%\setstretch{0.7}% spacing
|
\begin{mdframed}[style=highlight]
|
||||||
\todo[inline,#1]{%
|
\textbf{À rédiger et m'envoyer par mail:}~#2%
|
||||||
\textbf{À rédiger et m'envoyer par mail:}~#2}%
|
\end{mdframed}
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user