Feat: ajoute computerMode and paperMode and try qrcode
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
7a82dabd37
commit
19d422aedd
@ -179,6 +179,8 @@
|
|||||||
\newcommand\trainMode{\faIcon{tools}}
|
\newcommand\trainMode{\faIcon{tools}}
|
||||||
\newcommand\projectMode{\faIcon{sitemap}}
|
\newcommand\projectMode{\faIcon{sitemap}}
|
||||||
\newcommand\infoMode{\faIcon{desktop}}
|
\newcommand\infoMode{\faIcon{desktop}}
|
||||||
|
\newcommand\computerMode{\faIcon{desktop}}
|
||||||
|
\newcommand\paperMode{\faIcon{leanpub}}
|
||||||
|
|
||||||
\newcommand\legendMode{%
|
\newcommand\legendMode{%
|
||||||
\textbf{Légende:} \hfill
|
\textbf{Légende:} \hfill
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
|
||||||
|
|
||||||
% Pour gérer les todo
|
% Pour gérer les todo
|
||||||
\RequirePackage[framemethod=tikz]{mdframed}
|
\RequirePackage[framemethod=tikz]{mdframed}
|
||||||
|
|
||||||
@ -39,6 +38,25 @@
|
|||||||
\end{mdframed}
|
\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}
|
\newcounter{enclasse}
|
||||||
\newcommand{\enclasse}[2][]{%
|
\newcommand{\enclasse}[2][]{%
|
||||||
\refstepcounter{enclasse}%
|
\refstepcounter{enclasse}%
|
||||||
|
Loading…
Reference in New Issue
Block a user