add new command to set a local new font

This commit is contained in:
Jeff Lance 2016-08-14 21:59:16 +02:00
parent e2ea691182
commit 568931e4fd

View File

@ -116,6 +116,13 @@
% \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{#2}}}} {#3} % \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{#2}}}} {#3}
% } % }
% changer de police
\NewDocumentCommand \setFont { O{\familydefault} O{\encodingdefault} }{%
\fontencoding{#2}%
\fontfamily{#1}%
\selectfont
}
%--% %--%