diff --git a/latex/paquets.tex b/latex/paquets.tex index aeddb6b..73e0e8e 100644 --- a/latex/paquets.tex +++ b/latex/paquets.tex @@ -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 \ No newline at end of file