% !TeX program = xelatex
% !TeX encoding = utf8
% !TeX root = DigDes.tex

%% TODO: publish to CTAN
\documentclass[margin=normal]{tex/hsrzf}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Packages

%% TODO: publish to CTAN
\usepackage{tex/hsrstud}

%% Language configuration
\usepackage{polyglossia}
\setdefaultlanguage{english}

%% Pretty drawings
\usepackage{tikz}

\usetikzlibrary{calc}
\usetikzlibrary{positioning}

\usetikzlibrary{external}
\tikzexternalize[
  mode = graphics if exists,
  figure list = true,
  prefix=build/
]

%% Tweak lists
\usepackage{enumitem}
\setitemize{noitemsep}

%% Nice tables
\usepackage{array}
\usepackage{tabularx}
\usepackage{booktabs}

%% License configuration
\usepackage[
    type={CC},
    modifier={by-nc-sa},
    version={4.0},
    % lang={german},
]{doclicense}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Metadata

\course{Elektrotechnik}
\module{DigDes}
\semester{Spring Semester 2021}

\authoremail{naoki.pross@ost.ch}
\author{\textsl{Naoki Pross} -- \texttt{\theauthoremail}}

\title{\texttt{\themodule}: Digital Design}
\date{\thesemester}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Document

\begin{document}

\maketitle
\tableofcontents

\section{License}
\doclicenseThis

% \newpage
\twocolumn

% \section{Realisierungsformen digitaler Schaltungen}
\input{tex/vhdl}

\end{document}
