1 \documentclass{article}
4 \setmainfont[Ligatures=TeX]{ITC Souvenir Std Light}
6 \newcommand{\showfont}{encoding: \f@encoding{},
12 \newcommand{\iffont}[3]{\ifthenelse{\equal{\f@family}{#1}}{#2}{#3}}
15 We are using this font: \showfont
19 \em{This is emphasised text}
21 \bf{This is bold text}
23 We switch to Helvetica now:
25 \renewcommand{\familydefault}{\sfdefault} \normalfont
27 We are using this font: \showfont
31 \em{This is emphasised text}
33 \bf{This is bold text}