Template uses LuaLaTeX and Polyglossia.

This commit is contained in:
2024-05-25 12:56:05 +02:00
parent edf3a6dfb1
commit a6231f8dc1
5 changed files with 17 additions and 15 deletions

View File

@@ -21,7 +21,6 @@
%% Booleans make it easy to enable and disable parts of the template
\newbool{debug}
\newbool{draftbool}
\newbool{IS}
\newbool{proof}
@@ -84,14 +83,6 @@
\RequirePackage{stix2}
% allows UTF encoding, needed for Icelandic and other accented characters
\ifbool{IS}
{\RequirePackage[english,icelandic]{babel}}%%Icelandic main language
{\RequirePackage[icelandic,english]{babel}}%%English main language
%% Babel allows various automatic text to be in selected languages
%% But to use the options, you have to always load it, even for english
%% The languages must be specified in order.
\usepackage[useregional]{datetime2}
%% Smart manipulation of dates
\renewcommand{\date}[3]{\newcommand{\thedate}{\DTMdisplaydate{#1}{#2}{#3}{-1}}}