LaTeX/Glossary suggets the following command for combining a glossary entry and an acryonym:
\usepackage{xparse}
\DeclareDocumentCommand{\newdualentry}{ O{} O{} m m m m } {
\newglossaryentry{gls-#3}{name={#5},text={#5\glsadd{#3}},
description={#6},#1
}
\newacronym[see={[Glossary:]{gls-#3}},#2]{#3}{#4}{#5\glsadd{gls-#3}}
}
How can I add the plural to this command, so I can use \glspl{LED}
showing LEDs? I know that appending a 's' is the default plural form, but I need a way to customize the plural. I tried the following with no luck
\usepackage{xparse}
\DeclareDocumentCommand{\newdualentry}{ O{} O{} m m m m m } {
\newglossaryentry{gls-#3}{name={#5},text={#5\glsadd{#3}},
description={#6},plural={#7},#1
}
\newacronym[see={[Glossary:]{gls-#3}},#2]{#3}{#4}{#5\glsadd{gls-#3}}
}
Thanks!