Hallo liebe Community,
ich habe das Problem, dass einer meiner Einträge in Glossaries falsch sortiert wird, was wohl daran liegt, dass die Abkürzung mit \textit{} beginnt.
Was kann ich tun, damit es an der richtigen Stelle einsortiert wird?
Vielen Dank im Voraus.
\documentclass[ngerman, twoside, chapterprefix=false, listof=totoc, index=totoc,bibliography=totoc]{scrreprt} \usepackage[ngerman]{babel} \usepackage{blindtext} %%%% Abkürzungsverzeichnis einbinden \usepackage[acronym, toc, nonumberlist, nogroupskip, nopostdot]{glossaries} \usepackage{enumitem} \makeglossaries \newglossarystyle{compact}{% Neuen Stil definieren, \glossarystyle{list}% basierend auf list \renewenvironment{theglossary}{% und theglossary anpassen \begin{description}[nolistsep]}{% \end{description}}% \renewenvironment{theglossary} {\begin{longtable}{lp{12cm}}}% {\end{longtable}}% \renewcommand*{\glossaryheader}{}% \renewcommand*{\glossaryentryfield}[5]{% \glstarget{##1}{##2} & ##3\\ } } \newacronym{Abk.}{Abk.}{Abkürzung} \newacronym{S.Tm}{\textit{S.}\,Tm}{\textit{Salmonella}\,Typhimurium} \newacronym{PlacUV5}{P\textsubscript{\textit{lac}UV5}}{Mutante des \textit{lac}-Promotors} \title{Minimalbeispiel Kopfzeile} \author{Marjanne Musterbeispiel} \date{August 2020} \begin{document} \maketitle %%%% füge inhaltsverzeichnis ein \tableofcontents %%%% füge Abkürzungsverzeichnis ein \glsaddall \printglossary[type=\acronymtype, style=compact, title=Abkürzungsverzeichnis] \chapter{Kapitel 1} \blindtext \end{document}