Add a new logo for aide environment using fontawesome font
This commit is contained in:
parent
7dfe4bebef
commit
d937ddb3e7
@ -294,6 +294,7 @@
|
||||
\newcommand\bcexemple{\centering \normalsize \faPaperclip}
|
||||
\newcommand\bcremarque{\centering \normalsize \faExclamationTriangle}
|
||||
\newcommand\bclivre{\centering \normalsize \faBook}
|
||||
\newcommand\bcaide{\centering \normalsize \faInfoCircle}
|
||||
%--
|
||||
|
||||
|
||||
|
@ -333,6 +333,19 @@
|
||||
\end{bclogo}
|
||||
}
|
||||
|
||||
% aide
|
||||
\NewDocumentEnvironment{aide}{ o }{
|
||||
\IfNoValueTF {#1} {
|
||||
\begin{bclogo}[logo=\bcaide, noborder=true, barre=motif, motifBarre=$ $]{ }
|
||||
\vspace{-1.1em}\em
|
||||
}{
|
||||
\begin{bclogo}[logo=\bcaide, noborder=true, barre=motif, motifBarre=$ $]{\textnormal{\em #1}}
|
||||
\em
|
||||
}
|
||||
}{
|
||||
\end{bclogo}
|
||||
}
|
||||
|
||||
% objectif
|
||||
% Tentative d'environnement utilisant bclogo
|
||||
\NewDocumentEnvironment{objectif}{ }{
|
||||
|
Loading…
Reference in New Issue
Block a user