Add a new logo for aide environment using fontawesome font

This commit is contained in:
Jeff Lance 2019-05-19 18:48:54 +02:00
parent 7dfe4bebef
commit d937ddb3e7
2 changed files with 14 additions and 0 deletions

View File

@ -294,6 +294,7 @@
\newcommand\bcexemple{\centering \normalsize \faPaperclip}
\newcommand\bcremarque{\centering \normalsize \faExclamationTriangle}
\newcommand\bclivre{\centering \normalsize \faBook}
\newcommand\bcaide{\centering \normalsize \faInfoCircle}
%--

View File

@ -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}{ }{