- call to varwidth package

- define command to call a font (Comic Sans MS)
This commit is contained in:
Jeff Lance 2016-08-16 17:17:16 +02:00
parent 174c07e3ce
commit eb81c99e20

View File

@ -69,8 +69,8 @@
\RequirePackage{tabularx} \RequirePackage{tabularx}
\RequirePackage{multicol} \RequirePackage{multicol}
% liste % mise en page
%\RequirePackage{enumitem} \RequirePackage{varwidth}
%-- % %-- %
@ -118,12 +118,14 @@
% } % }
% changer de police % polices
\NewDocumentCommand \setFont { O{\familydefault} O{\encodingdefault} }{% \newfontfamily\Comic[Ligatures=TeX]{comicsansms}
\fontencoding{#2}% % tentative pour une commande généraliste
\fontfamily{#1}% % \NewDocumentCommand \setFont { O{\familydefault} O{\encodingdefault} }{%
\selectfont % \fontencoding{#2}%
} % \fontfamily{#1}%
% \selectfont
% }
%--% %--%