So sortieren Sie Abkürzungslisten in LaTeX

So sortieren Sie Abkürzungslisten in LaTeX

Ich habe meine Abschlussarbeit fertig geschrieben und wollte am Ende des Dokuments eine Liste mit Abkürzungen generieren. Das ist mein Code:

\documentclass{article}
\usepackage{acronym}
\begin{document}

\chapter{Abkürzungsverzeichnis}
\begin{acronym}
\acro{gpc}[GPC]{Gel--Permeations--Chromatographie}

\acro{dsc}[DSC]{Dynamische Differenzkalorimetrie}

\acro{ISISI10}[ISISI\_$10\%$]{Polyisopren--b--Polystyrol Pentablockcopolymer mit $10$ Gw.-$\%$ Styrol}

\acro{ISISI20}[ISISI\_$20\%$]{Polyisopren--b--Polystyrol Pentablockcopolymer mit $20$ Gw.-$\%$ Styrol}

\acro{ISISI40}[ISISI\_$40\%$]{Polyisopren--b--Polystyrol Pentablockcopolymer mit $40$ Gw.-$\%$ Styrol}

\acro{SISIS90}[SISIS\_$90\%$]{Polystyrol--b--Polyisopren Pentablockcopolymer mit $90$ Gw.-$\%$ Styrol}

\acro{SIS10}[SIS\_$10\%$]{Polystyrol--b--Polyisopren Triblockcopolymer mit $10$ Gw.-$\%$ Styrol}

\acro{ISISISI10}[ISISISI\_$10\%$]{Polyisopren--b--Polystyrol Heptablockcopolymer mit $10$ Gw.-$\%$ Styrol}

\acro{ISISISI40}[ISISISI\_$40\%$]{Polyisopren--b--Polystyrol Heptablockcopolymer mit $40$ Gw.-$\%$ Styrol}

\acro{SIS90Blend}[SIS\_$90\%$\_Blend]{Polyisopren--b--Polystyrol Triblockcopolymerblend mit $90$ Gw.-$\%$ Styrol}


\end{acronym}

\end{document}

Gibt es eine Möglichkeit, die Akronyme alphabetisch zu sortieren oder muss ich ein anderes Paket verwenden?

Antwort1

acronymunterstützt keine Sortierung, die Einträge erscheinen in der Reihenfolge der Quelle (die Sie mit nicht-TeX-Mitteln sortieren könnten).

nomenclwird eine sortierte Liste für Sie erstellen, es ist wahrscheinlich am einfachsten, einfach eine sortierte Liste zu erstellen,glossariesUndacrokann das auch und noch viel mehr (siehediese Antwortfür ein einfaches Beispiel, obwohl der acroTeil mittlerweile etwas veraltet ist.

FürnomenclSie können Ihren Code ganz einfach anpassen,

\documentclass{article}
\usepackage{nomencl}
\makenomenclature

\begin{document}
\nomenclature{GPC}{Gel--Permeations--Chromatographie}
\nomenclature{DSC}{Dynamische Differenzkalorimetrie}
\nomenclature{ISISI\_$10\%$}{Polyisopren--b--Polystyrol Pentablockcopolymer mit $10$ Gw.-$\%$ Styrol}
\nomenclature{ISISI\_$20\%$}{Polyisopren--b--Polystyrol Pentablockcopolymer mit $20$ Gw.-$\%$ Styrol}
\nomenclature{ISISI\_$40\%$}{Polyisopren--b--Polystyrol Pentablockcopolymer mit $40$ Gw.-$\%$ Styrol}
\nomenclature{SISIS\_$90\%$}{Polystyrol--b--Polyisopren Pentablockcopolymer mit $90$ Gw.-$\%$ Styrol}
\nomenclature{SIS\_$10\%$}{Polystyrol--b--Polyisopren Triblockcopolymer mit $10$ Gw.-$\%$ Styrol}
\nomenclature{ISISISI\_$10\%$}{Polyisopren--b--Polystyrol Heptablockcopolymer mit $10$ Gw.-$\%$ Styrol}
\nomenclature{ISISISI\_$40\%$}{Polyisopren--b--Polystyrol Heptablockcopolymer mit $40$ Gw.-$\%$ Styrol}
\nomenclature{SIS\_$90\%$\_Blend}{Polyisopren--b--Polystyrol Triblockcopolymerblend mit $90$ Gw.-$\%$ Styrol}

\printnomenclature

\end{document}

Zusammengestellte Nomenklaturliste

Beachten Sie jedoch, dass Sie möglicherweise Symbole beachten müssenMachen Sie die Nomenklatur richtig sortiertum manuell eine Zeichenfolge zum Sortieren festzulegen.

verwandte Informationen