thesis/tex/style/abbr.tex
Marko Korhonen 6b1a928242
Copied template from submodule to this repo
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-16 13:28:22 +02:00

28 lines
827 B
TeX

% Abbreviation and Glossary
% Normally, you don't have to modify this file. Your abbreviations, etc. goes in
% ../chapters/0abbr.tex file.
\begin{singlespacing}
% \gsladdall would add all terms even if not used in your text.
%\glsaddall
\addtocontents{toc}{\cftpagenumbersoff{chapter}}
{
\titleformat{\section}
{\fontsize{13pt}{13pt}\bfseries\linespread{1}}
{\thesection}{.5cm}{}
%Adapt labelwidth (sorry for the ugly hack)
\setlist[description]{leftmargin=!, labelwidth=4em}
\IfLanguageName {finnish} {
\printacronyms[title=Lyhenteet]
}{
\printacronyms[title=List of Abbreviations]
}
\setlist[description]{leftmargin=!, labelwidth=7em}
\printglossary
\setlist[description]{style=standard} % reset settings back to default
}
\addtocontents{toc}{\cftpagenumberson{chapter}}
\end{singlespacing}
\clearpage