Feat: ajoute computerMode and paperMode and try qrcode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bertrand Benjamin 2022-10-29 11:04:25 +02:00
parent 7a82dabd37
commit 19d422aedd
2 changed files with 21 additions and 1 deletions

View File

@ -179,6 +179,8 @@
\newcommand\trainMode{\faIcon{tools}}
\newcommand\projectMode{\faIcon{sitemap}}
\newcommand\infoMode{\faIcon{desktop}}
\newcommand\computerMode{\faIcon{desktop}}
\newcommand\paperMode{\faIcon{leanpub}}
\newcommand\legendMode{%
\textbf{Légende:} \hfill

View File

@ -1,6 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
% Pour gérer les todo
\RequirePackage[framemethod=tikz]{mdframed}
@ -39,6 +38,25 @@
\end{mdframed}
}}
\newcounter{enplus}
\newcommand{\enplus}[3][]{%
\refstepcounter{enplus}%
{%
\begin{mdframed}[style=highlight,
linecolor=green, backgroundcolor=green!10,
frametitle={\textbf{Pour aller plus loin}}
]
#3
\begin{minipage}{0.2\linewidth}
\qrcode{#2}
\end{minipage}
\begin{minipage}{0.8\linewidth}
\url{#2}
\end{minipage}
\end{mdframed}
}}
\newcounter{enclasse}
\newcommand{\enclasse}[2][]{%
\refstepcounter{enclasse}%