%%
%all content that contains information about the main content (e.g. abbreviations)
%%
\pagenumbering{Roman}

%table of contents
\tableofcontents
\clearpage

%list of figures
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
%list of tables
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
\clearpage
%abbreviations
\printglossary[type=\acronymtype, title=Abkürzungsverzeichnis, nonumberlist]
\clearpage

%nomenclature
%custom style
\newglossarystyle{symbunitlong}{%
    \setglossarystyle{long4col}% base this style on the list style
    \renewcommand{\glsgroupskip}{}%avoids grouping the elements by alphabetical order
    \renewenvironment{theglossary}{% Change the table type --> 4 columns
        \renewcommand*{\arraystretch}{1.5}
    \begin{longtable}{>{\centering}p{.1\textwidth} >{\arraybackslash}p{.225\textwidth} p{.475\textwidth}>{\centering\arraybackslash}p{.1\textwidth}}}%
    {\end{longtable}}%
    %
    \renewcommand*{\glossaryheader}{%  Change the table header
        \bfseries\large Symbol & \bfseries\large Bezeichnung & \large\bfseries Beschreibung & \large\bfseries Einheit\\
    \hline\endhead}%
    \renewcommand*{\glossentry}[2]{%  Change the displayed items
        \boldmath\ensuremath{\glossentrysymbol{##1}}
                               & \glstarget{##1}{\hspace*{0pt}\glossentryname{##1}} %
                               & \glossentrydesc{##1}
                               & \glsentryunit{##1}\tabularnewline
                           }%
                       }
\printglossary[type=nomenclature, nonumberlist, style=symbunitlong]

