code conditionné au chargement des paquets correspondants plutôt que des switch adhoc

Cette révision appartient à :
Yann Salmon
2018-08-05 18:53:03 +02:00
Parent 3e2196fd82
révision 140f9542f3

Voir le fichier

@@ -38,7 +38,7 @@
\def\tmit#1{\text{\fontspec{texgyrepagella-italic.otf}[Scale = MatchLowercase] #1}}
\let\mtit\tmit
\let\textdef\textit
\@ifundefined{ys@beamer}{
\@ifclassloaded{scrartcl}{
\addtokomafont{disposition}{\rmfamily}
\setkomafont{descriptionlabel}{\bfseries}
}{}
@@ -88,15 +88,15 @@
\usepackage[nolinks]{qrcode}
\def\marginqrcode#1{\marginparsep=2pt\marginparwidth=.9cm\marginpar{\qrcode[height=.9cm,level=L]{#1}}}
\@ifundefined{ys@beamer}{
\@ifpackageloaded{hyperref}{}{
\usepackage{hyperref}
}
\hypersetup{hidelinks, hyperfootnotes=false, hyperindex=false, implicit=false, bookmarks=false, pdfpagelabels=false, breaklinks=true, pdfencoding=unicode}
}{}
\usepackage[os=win]{menukeys}
\renewmenumacro{\keys}{shadowedangularkeys}
\subimport{./}{yssymbols.tex}
\makeatother
\endinput