% 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