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{draftwatermark}
|
||||||
\usepackage{iftex}
|
\usepackage{iftex}
|
||||||
|
|
||||||
% \iflualatex \OR \ifxetex
|
\ifdefined\directlua
|
||||||
\usepackage{fontspec}
|
\usepackage{fontspec}
|
||||||
% \fi
|
\else
|
||||||
|
\usepackage{lmodern}
|
||||||
% \usepackage{lmodern}
|
\setmainfont{Latin Modern Roman}
|
||||||
% \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
|
||||||
% \ifpdflatex \OR \ifpdftex
|
% \usepackage[utf8]{inputenc} because UTF-8 is now the standard encoding.
|
||||||
% \usepackage[T1]{fontenc}% definice vnitřního kódování
|
% 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)
|
% \usepackage[utf8]{inputenc} % slouží pro definici kódování (při problémech zkusit zaměnit utf8x za utf8)
|
||||||
% \fi
|
\fi
|
||||||
|
|
||||||
% \usepackage[usenames,dvipsnames]{color} % umožňuje použití barev
|
% \usepackage[usenames,dvipsnames]{color} % umožňuje použití barev
|
||||||
\usepackage[usenames,dvipsnames,rgb]{xcolor} % better support for ICC profiles.
|
\usepackage[usenames,dvipsnames,rgb]{xcolor} % better support for ICC profiles.
|
||||||
|
|
Reference in New Issue