From 4b2142f3b11c2c92e58b183d6982abdad7dbb0cc Mon Sep 17 00:00:00 2001 From: teridax Date: Tue, 5 Mar 2024 09:32:37 +0100 Subject: [PATCH 1/4] added options for acro package --- config/acro.tex | 8 ++++++++ main.tex | 1 + pages/page-08-indices.tex | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 config/acro.tex diff --git a/config/acro.tex b/config/acro.tex new file mode 100644 index 0000000..29afb7e --- /dev/null +++ b/config/acro.tex @@ -0,0 +1,8 @@ +\DeclareBoolOption[false]{sort} % wether to sort acronym list alphabetically or not + +\acsetup +{ + make-links = true, % generate links + case-sensitive = true, % when calling \ac{ID} ID is case sensetive i.e ABC won't match AbC + use-id-as-short = true, % id of acronym is used as short form +} \ No newline at end of file diff --git a/main.tex b/main.tex index 5ce7f8e..4a343bf 100644 --- a/main.tex +++ b/main.tex @@ -55,6 +55,7 @@ \input{config/author} % meta information about author \input{config/pages} % set page configuration \input{config/minted} % set minted configuration + \input{config/acro} % setup acronyms \input{extra/utils} % some utility stuff diff --git a/pages/page-08-indices.tex b/pages/page-08-indices.tex index 9921646..6c5eef9 100644 --- a/pages/page-08-indices.tex +++ b/pages/page-08-indices.tex @@ -50,5 +50,5 @@ \cleardoublepage \def\listacronymname{Abkürzungsverzeichnis} \addcontentsline{toc}{section}{\listacronymname} -\printacronyms +\printacronyms[sort] \newpage \ No newline at end of file From bea2321bf768bb5ac54081893837a6187d958652 Mon Sep 17 00:00:00 2001 From: teridax Date: Tue, 5 Mar 2024 10:06:24 +0100 Subject: [PATCH 2/4] refined acro package configuration --- config/acro.tex | 7 +++++-- main.tex | 4 ++-- pages/page-08-indices.tex | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/config/acro.tex b/config/acro.tex index 29afb7e..b892c45 100644 --- a/config/acro.tex +++ b/config/acro.tex @@ -1,8 +1,11 @@ -\DeclareBoolOption[false]{sort} % wether to sort acronym list alphabetically or not - \acsetup { make-links = true, % generate links case-sensitive = true, % when calling \ac{ID} ID is case sensetive i.e ABC won't match AbC use-id-as-short = true, % id of acronym is used as short form + list/display = used, + list/sort = true, + link-only-first = false, + pages/display = none, + pages/fill = {, } } \ No newline at end of file diff --git a/main.tex b/main.tex index 4a343bf..7fda9dd 100644 --- a/main.tex +++ b/main.tex @@ -7,7 +7,7 @@ \usepackage{setspace} % for more spacing control \usepackage{geometry} % for margin control \usepackage{tabularx} % extension of tabular environment that allows dynamic widths -\usepackage{hyperref} % for referecing stuff +\usepackage[]{hyperref} % for referecing stuff \usepackage{fancyhdr} % fancy headers \usepackage{import} % advanced document import \usepackage{pdfpages} % include multipage pdf documents @@ -47,6 +47,7 @@ \input{extra/fixes} % article page geometry configuration \input{config/geomerty} +\input{config/acro} % setup acronyms \begin{document} @@ -55,7 +56,6 @@ \input{config/author} % meta information about author \input{config/pages} % set page configuration \input{config/minted} % set minted configuration - \input{config/acro} % setup acronyms \input{extra/utils} % some utility stuff diff --git a/pages/page-08-indices.tex b/pages/page-08-indices.tex index 6c5eef9..9921646 100644 --- a/pages/page-08-indices.tex +++ b/pages/page-08-indices.tex @@ -50,5 +50,5 @@ \cleardoublepage \def\listacronymname{Abkürzungsverzeichnis} \addcontentsline{toc}{section}{\listacronymname} -\printacronyms[sort] +\printacronyms \newpage \ No newline at end of file From 2de7ddd182c0a75361097b88dee54d6c06e562d0 Mon Sep 17 00:00:00 2001 From: teridax Date: Wed, 6 Mar 2024 10:56:37 +0100 Subject: [PATCH 3/4] added packages natbib and footmisc --- main.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tex b/main.tex index 7fda9dd..8e1eecf 100644 --- a/main.tex +++ b/main.tex @@ -31,6 +31,8 @@ \usepackage{float} % extra option to place tables, figures etc. \usepackage{amsmath} % better layout strategies for compliacted/larger equations \usepackage{multicol} % multi column page layouts +\usepackage[bottom]{footmisc} % footnotes +\usepackage{natbib} \makeindex \makenomenclature From fbad3c5efe09319578e2949ad0465d66317c9ce3 Mon Sep 17 00:00:00 2001 From: teridax Date: Wed, 6 Mar 2024 11:01:51 +0100 Subject: [PATCH 4/4] revert unecessary options tag --- main.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tex b/main.tex index 8e1eecf..7a3b54c 100644 --- a/main.tex +++ b/main.tex @@ -7,7 +7,7 @@ \usepackage{setspace} % for more spacing control \usepackage{geometry} % for margin control \usepackage{tabularx} % extension of tabular environment that allows dynamic widths -\usepackage[]{hyperref} % for referecing stuff +\usepackage{hyperref} % for referecing stuff \usepackage{fancyhdr} % fancy headers \usepackage{import} % advanced document import \usepackage{pdfpages} % include multipage pdf documents