Enable the use of XeTex or LuaTex

This commit is contained in:
Gergely Meszaros 2021-07-04 22:26:20 +02:00
parent e8d92899be
commit e9aa07c492

View File

@ -53,8 +53,13 @@
% ------------------------------
% Karakterkódolás, nyelv
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{iftex} % XeTex or LuaTex
\iftutex
\RequirePackage{fontspec}
\else % other (PdfTex)
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\fi
\RequirePackage[english,magyar]{babel}
\RequirePackage{indentfirst}
% ------------------------------