From 3466344bb077c6f51b898e6bc231773d8de36310 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 20 Jan 2021 15:52:18 +0100 Subject: [PATCH] improved acronyms --- Acronyms.tex | 6 +++--- Packages.tex | 5 ++--- Preface.tex | 6 ++++-- Template_Summary.tex | 2 -- chapters/ExampleChapter.tex | 2 +- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Acronyms.tex b/Acronyms.tex index d5ddd66..e1941c4 100644 --- a/Acronyms.tex +++ b/Acronyms.tex @@ -1,6 +1,6 @@ %% % list of acronyms %% -\makeglossaries - -\newacronym{empl}{EXMPL}{example} \ No newline at end of file +\begin{acronym} + \acro{example}[EXMPL]{example of an acronym} +\end{acronym} \ No newline at end of file diff --git a/Packages.tex b/Packages.tex index d0a907e..68b1835 100644 --- a/Packages.tex +++ b/Packages.tex @@ -24,9 +24,8 @@ rightsub = \grq% %for code snippets \usepackage{xcolor} \usepackage{listings} -%glossary -\usepackage{datatool} -\usepackage[automake,acronym]{glossaries} +%acronyms +\usepackage{acronym} %header and footer \usepackage{fancyhdr} %custom font sizes diff --git a/Preface.tex b/Preface.tex index 8a3b640..633768f 100644 --- a/Preface.tex +++ b/Preface.tex @@ -5,5 +5,7 @@ \tableofcontents \clearpage -%abbreviations -\printglossaries \ No newline at end of file +\chapter*{Abkürzungsverzeichnis} +\input{Acronyms.tex} + +%acronyms \ No newline at end of file diff --git a/Template_Summary.tex b/Template_Summary.tex index b887fa5..314c8c3 100644 --- a/Template_Summary.tex +++ b/Template_Summary.tex @@ -15,10 +15,8 @@ \def \AUTHORCOMPACT{Example Author} \def \DATE{Example Date} -\input{Acronyms.tex} \begin{document} - \input{TitlePage.tex} \clearpage diff --git a/chapters/ExampleChapter.tex b/chapters/ExampleChapter.tex index 2701c1f..82f3050 100644 --- a/chapters/ExampleChapter.tex +++ b/chapters/ExampleChapter.tex @@ -1,5 +1,5 @@ \chapter{Example Chapter} -Example Text using \acrshort{empl}. +Example Text using \acs{example} \clearpage \section{Example Section} Example Page 2 \ No newline at end of file