diff --git a/tools/style/myXsim.sty b/tools/style/myXsim.sty index bb6b5fa..70746c8 100644 --- a/tools/style/myXsim.sty +++ b/tools/style/myXsim.sty @@ -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 diff --git a/tools/style/notbeamer.sty b/tools/style/notbeamer.sty index caad6b6..1355a32 100755 --- a/tools/style/notbeamer.sty +++ b/tools/style/notbeamer.sty @@ -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}%