Rework Fonts

Cloes #32Signed-off-by: Adrian C. Hinrichs's avatarAdrian C. Hinrichs <adrian.hinrichs@rwth-aachen.de>
parent 4009ec24
......@@ -216,12 +216,15 @@
\pagestyle{followingpage}
\renewcommand{\theequation}{\Roman{equation}}
\allowdisplaybreaks
\ifthenelse{\boolean{xetex}}{
\RequirePackage{fontspec}
\setsansfont{Gillius ADF}
\setsansfont{TeX Gyre Adventor}
\setmainfont{TeX Gyre Pagella}
\setmonofont{Fira Mono}
}{
\RequirePackage{gillius2}
\RequirePackage{tgadventor}
\RequirePackage{tgpagella}
\RequirePackage{FiraMono}
}
\newcommand{\hwa@pointboxsize}{3em}
\newcommand{\hwa@kurs}{?\GetTranslation{subject}?} % To store the value
......@@ -530,7 +533,7 @@
\newcommand{\hwa@maketitletext}{
\begin{centering}
\huge{\textsf{\textbf{\hwa@kurs}}}\hwa@hline@LONE \large
\ifthenelse{\equal{\hwa@sheetTitle}{}}{}{\textsf{\hwa@sheetTitle}\\}
\ifthenelse{\equal{\hwa@sheetTitle}{}}{}{\textbf{\hwa@sheetTitle}\\}
\GetTranslation{abgabe}: \hwa@abgabe\\
\hwa@hline@LTWO
\normalsize{\@author}\\
......
......@@ -501,19 +501,27 @@
% \end{macrocode}
% \end{macro}
% \subsection{fonts}
% \subsection{Serife (Default)}
% \subsubsection{San Serife}
% I fancy the Gillius-Font-Family, so that is the default Sans-Serif
% font, when using XeTeX, The template does default to
% \href{https://www.1001fonts.com/gillius-adf-font.html}{Gillius ADF},
% which is available for free, licensed under the GNU License.
% \begin{macrocode}
\ifthenelse{\boolean{xetex}}{
\RequirePackage{fontspec}
\setsansfont{Gillius ADF}
}{
\RequirePackage{gillius2}
\setsansfont{TeX Gyre Adventor}
\setmainfont{TeX Gyre Pagella}
\setmonofont{Fira Mono}
}{
\RequirePackage{tgadventor}
\RequirePackage{tgpagella}
\RequirePackage{FiraMono}
}
% \end{macrocode}
% \subsubsection{Monospace}
% \begin{macrocode}
% \end{macrocode}
% \section{Commands}
% \subsection{Constants}
% Defines some constants
......@@ -1171,7 +1179,7 @@
\newcommand{\hwa@maketitletext}{
\begin{centering}
\huge{\textsf{\textbf{\hwa@kurs}}}\hwa@hline@LONE \large
\ifthenelse{\equal{\hwa@sheetTitle}{}}{}{\textsf{\hwa@sheetTitle}\\}
\ifthenelse{\equal{\hwa@sheetTitle}{}}{}{\textbf{\hwa@sheetTitle}\\}
\GetTranslation{abgabe}: \hwa@abgabe\\
\hwa@hline@LTWO
\normalsize{\@author}\\
......
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