From 256eb139b67a273521bd29f842216cce78f4c319 Mon Sep 17 00:00:00 2001
From: Florian Siebertz <florian.siebertz@smail.inf.h-brs.de>
Date: Wed, 3 Aug 2016 15:45:16 +0200
Subject: [PATCH] Small improvements to the code.

---
 thesis/acronym.tex | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/thesis/acronym.tex b/thesis/acronym.tex
index 6374c99..c1fdc9f 100644
--- a/thesis/acronym.tex
+++ b/thesis/acronym.tex
@@ -1,16 +1,17 @@
-\begin{acronym}[]
 \iftoggle{german}{
-\addcontentsline{toc}{section}{Abkürzungsverzeichnis}
-\sectionmark{Abkürzungsverzeichnis}
+\def\AbbrvName{Abkürzungsverzeichnis}
 }{
-\addcontentsline{toc}{section}{List of Abbreviations}
-\sectionmark{List of Abbreviations}
+\def\AbbrvName{List of Abbreviations}
 }
+\section*{\AbbrvName}
+\addcontentsline{toc}{section}{\AbbrvName}
+\sectionmark{\AbbrvName}
 
+\def\LongestAcro{wmSDN}
 
-%\section*{List of abbreviations}
+\begin{acronym}[\LongestAcro] % Pass the longest acronym here to align them correctly
+\setlength{\itemsep}{-\parsep} % reduce the space between acronyms
 
-\setlength{\itemsep}{-\parsep}
 \acro{3GPP}{3rd Generation Partnership Project}
 \acro{AC}{Access Category}
 \acro{ACK}{acknowledgement}
-- 
GitLab