From 140f9542f3675a5fe8344b295720acaec150d5c2 Mon Sep 17 00:00:00 2001 From: Yann Salmon Date: Sun, 5 Aug 2018 18:53:03 +0200 Subject: [PATCH] =?UTF-8?q?code=20conditionn=C3=A9=20au=20chargement=20des?= =?UTF-8?q?=20paquets=20correspondants=20plut=C3=B4t=20que=20des=20switch?= =?UTF-8?q?=20adhoc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- latex/paquets.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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