Langfassung zu Glossar-Akronymen hinzufügen

Langfassung zu Glossar-Akronymen hinzufügen

Ist es möglich, in der Glossaranzeige die Langform eines Akronyms anzuzeigen?

Ich habe viele Akronyme und am Ende der Dokumentanzeige wird nur die Kurzversion angezeigt.

MWE:

\documentclass[12pt, twoside, a4paper]{report}

%Packages utilisés

\usepackage[utf8]{inputenc}
\usepackage{glossaries}
\usepackage{glossaries-extra}

\setglossarystyle{altlist}
\setabbreviationstyle[acronym]{long-short}

\newacronym
    [description={riggity raggity}]
    {bop}{BOP}{Breathing Out Parents}    
 
\newacronym
    [description={music style}]
    {rnb}{RNB}{Rythm N' Blues}   
    
\makenoidxglossaries

\begin{document}

Blabla \gls{bop} and \gls{rnb}. But \gls{rnb} is better.

\printnoidxglossaries
\end{document}    

Gibt: MWE-Bild

Ich möchte, dass die Einträge auch im Langformat angezeigt werden. Ist das möglich?

Antwort1

Nun, ein bisschen zu spät, aber vielleicht kann das hier irgendjemandem als Inspiration für eine Möglichkeit dienen:

\documentclass{article}
\usepackage[acronym]{glossaries}

\newacronym[description={riggity raggity}]{bop}{BOP}{Breathing Out Parents}    
\newacronym[description={music style}]{rnb}{RNB}{Rythm N' Blues}   

\newglossarystyle{yourStyle}{%
    \renewenvironment{theglossary}%
    {\begin{longtable}{p{.15\textwidth}p{.3\textwidth}p{.5\textwidth}}}%
        {\end{longtable}}%
    \renewcommand*{\glossaryheader}{%                   setting the table's header
        \bfseries  & \bfseries Meaning & \bfseries Description
        \\\tabularnewline\endhead}%
    \renewcommand*{\glsgroupheading}[1]{}%              no heading between groups
    \renewcommand*{\glossentry}[2]{%                    main entries displayed 
        \textbf{\glstarget{##1}{\glossentryname{##1}}}% name
        & \glsentrylong{##1}%                           meaning
        & \glossentrydesc{##1}%                         description
        \tabularnewline%                                end of row
    }%
    \renewcommand*{\glsgroupskip}{}%                    no distance between groups
}

\makeglossaries
\begin{document}
    Blabla \gls{bop} and \gls{rnb}. But \gls{rnb} is better.
    
    \printglossary[type=\acronymtype,style=yourStyle]
\end{document}  

Bildbeschreibung hier eingeben

verwandte Informationen