How can I forced the Symbol to be printed in capitalized or uppercase form in the glossary only (with non capitalized form declared in the field "symbol") depending on the item level of the entry?
Here a MWE :
\documentclass{article}
\usepackage[style=tree]{glossaries-extra}
\makenoidxglossaries
\newglossaryentry{subsytem}{name={Subssytems},description={\glspar},sort={4}}
\newglossaryentry{compressor}
{
name={Compressor},
text={compressor},
sort={compressor},
description={Air Compressor},
symbol={cp},
parent=subsytem
}
\newglossaryentry{compressor_motor}
{
name={Compressor Motor},
sort={compressor motor},
text={compressor motor},
description={Motor of the \Gls{compressor}},
symbol={cm},
parent=compressor
}
\begin{document}
\gls{compressor_motor}
\printnoidxglossary
\end{document}
I would like something like that (subitem "Compressor (Cp)" instead of "Compressor (cp)" and subsubitem "Compressor Motor (CM)" instead of "Compressor Motor (cm)") :
But I would like the symbol to be declared in lowercase in the symbol field (cp or cm) as shown in the MWE.


