diff --git a/commun/commun.sty b/commun/commun.sty index ffd7473..63f5c46 100644 --- a/commun/commun.sty +++ b/commun/commun.sty @@ -116,6 +116,13 @@ % \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{#2}}}} {#3} % } + +% changer de police +\NewDocumentCommand \setFont { O{\familydefault} O{\encodingdefault} }{% + \fontencoding{#2}% + \fontfamily{#1}% + \selectfont +} %--%