Acronym show long/short

glossary 1.0
Jeff Moe 2022-09-06 03:57:45 -06:00
parent 13f48d8610
commit da7dcec037
1 changed files with 4 additions and 3 deletions

View File

@ -247,9 +247,11 @@ leftmargin=1cm,rightmargin=1cm
{\glsletentryfield{#1}{#2}{sort}}%
}
% OK, shows description, then origin. Show origin first better
% OK, ACRONYM shows description, then short.
% Show short first better.
% Shows both when long=short, only one needed...
\renewcommand*{\glsxtrpostdescacronym}{%
\space(\textsc{origin:} \glsentrylong{\glscurrententrylabel})%
\space(\glsentrylong{\glscurrententrylabel})%
}
% crossref for see:
@ -259,7 +261,6 @@ leftmargin=1cm,rightmargin=1cm
{}%
}
% Index glossary, abbreviations, acronyms
\glssetcategoryattribute{general}{dualindex}{hyperpage}
\glssetcategoryattribute{abbreviation}{dualindex}{hyperpage}