conditionally load pkgs, use portable check
This commit is contained in:
parent
70ee8df6fe
commit
531bb7a1ff
22
tex/UTB.tex
22
tex/UTB.tex
|
@ -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.
|
||||
|
|
Reference in New Issue