1
0
Fork 0

conditionally load pkgs, use portable check

This commit is contained in:
surtur 2023-08-23 17:30:04 +02:00
parent 70ee8df6fe
commit 531bb7a1ff
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

View File

@ -13,17 +13,17 @@
% \usepackage{draftwatermark}
\usepackage{iftex}
% \iflualatex \OR \ifxetex
\usepackage{fontspec}
% \fi
% \usepackage{lmodern}
% \setmainfont{Latin Modern Roman}
% \ifpdflatex \OR \ifpdftex
% \usepackage[T1]{fontenc}% definice vnitřního kódování
% \usepackage[utf8]{inputenc} % slouží pro definici kódování (při problémech zkusit zaměnit utf8x za utf8)
% \fi
\ifdefined\directlua
\usepackage{fontspec}
\else
\usepackage{lmodern}
\setmainfont{Latin Modern Roman}
\usepackage[T1]{fontenc}% definice vnitřního kódování
% If you are using the 2018 version of LaTeX, you can remove
% \usepackage[utf8]{inputenc} because UTF-8 is now the standard encoding.
% ref: https://tex.stackexchange.com/a/453036
% \usepackage[utf8]{inputenc} % slouží pro definici kódování (při problémech zkusit zaměnit utf8x za utf8)
\fi
% \usepackage[usenames,dvipsnames]{color} % umožňuje použití barev
\usepackage[usenames,dvipsnames,rgb]{xcolor} % better support for ICC profiles.