add new command to set a local new font
This commit is contained in:
parent
e2ea691182
commit
568931e4fd
@ -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
|
||||||
|
}
|
||||||
%--%
|
%--%
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user