From eab6714fe0e67b38be0cf56cabae76d54364ca0f Mon Sep 17 00:00:00 2001 From: servostar Date: Tue, 21 Nov 2023 18:25:03 +0100 Subject: [PATCH] added groups to nomenclature --- main.tex | 1 + nomencl.tex | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/main.tex b/main.tex index 78b4b5e..19d84aa 100644 --- a/main.tex +++ b/main.tex @@ -26,6 +26,7 @@ \usepackage{tikz} % painting \usepackage{tikz-imagelabels} % overlay labels for images \usepackage{cite} % citation for bibliography +\usepackage{amssymb} % provides enhancements for mathematical formulas \makeindex \makenomenclature diff --git a/nomencl.tex b/nomencl.tex index a65331d..dc3c723 100644 --- a/nomencl.tex +++ b/nomencl.tex @@ -1 +1,16 @@ -\nomenclature{\(c\)}{Speed of light in a vacuum} \ No newline at end of file +% For more verbose examples see: https://www.overleaf.com/learn/latex/Nomenclatures + +% Create groups for different nomenclature sections +\renewcommand\nomgroup[1]{% + \item[\bfseries + \ifstrequal{#1}{P}{Physikalische Konstanten}{ + \ifstrequal{#1}{E}{Chemische Elemente}{ + \ifstrequal{#1}{Z}{Zahlenreihen}{ + \ifstrequal{#1}{O}{Andere Symbole}}}} +]} + +% Quick examples: +% \nomenclature[P]{\(c\)}{Speed of light in a vacuum} +% \nomenclature[Z]{\(\mathbb{C}\)}{Complex numbers} +% ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ +% Gruppe Darstellung Beschreibung \ No newline at end of file