Try to fix, not working

Signed-off-by: Adrian C. Hinrichs's avatarAdrian C. Hinrichs <adrian.hinrichs@rwth-aachen.de>
parent 7206b3b9
......@@ -68,9 +68,13 @@
\DeclareBoolOption[true]{twocolumn}
\DeclareComplementaryOption{onecolumn}{twocolumn}
\DeclareStringOption[all]{hlines}
\DeclareBoolOption[true]{unicode-math}
\ifhwa@unicode-math
\Requirepackage{unicode-math}
\ifxetex
\DeclareBoolOption[true]{unicodemath}
\else
\DeclareBoolOption[false]{unicodemath}
\fi
\ifhwa@unicodemath
\RequirePackage{unicode-math}
\AtBeginDocument{\let\QEDSymbol\QED
\renewcommand{\QED}{\hwa@QED}
}
......@@ -191,10 +195,9 @@
\allowdisplaybreaks
\ifthenelse{\boolean{xetex}}{
\RequirePackage{fontspec}
\usepackage{fontspec}
\setsansfont{Gillius ADF}
}{
\RequirePackage{gillius2}
}
\newcommand{\hwa@pointboxsize}{3em}
\newcommand{\hwa@kurs}{?\GetTranslation{subject}?} % To store the value
......
......@@ -184,7 +184,6 @@
\RequirePackage{xparse}
\RequirePackage{ifxetex}
\RequirePackage{wasysym}
\RequirePackage{adjustbox}
% \end{macrocode}
......@@ -259,9 +258,13 @@
% If XeTeX is used, the default option for this is
% \texttt{true}, otherwise it is false.
% \begin{macrocode}
\DeclareBoolOption[true]{unicode-math}
\ifhwa@unicode-math
\Requirepackage{unicode-math}
\ifxetex
\DeclareBoolOption[true]{unicodemath}
\else
\DeclareBoolOption[false]{unicodemath}
\fi
\ifhwa@unicodemath
\RequirePackage{unicode-math}
\AtBeginDocument{\let\QEDSymbol\QED
\renewcommand{\QED}{\hwa@QED}
}
......@@ -446,10 +449,10 @@
% \begin{macrocode}
\ifthenelse{\boolean{xetex}}{
\RequirePackage{fontspec}
\usepackage{fontspec}
\setsansfont{Gillius ADF}
}{
\RequirePackage{gillius2}
% \RequirePackage{gillius2}
}
% \end{macrocode}
% \section{Commands}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment