In glossaries, using the option listhypergroup, there is a problem when the list of letters is too long and the page too narrow: as it does not fold, it goes over the page width to give
Is there a fix for this issue ?
\documentclass{article}
\usepackage[left = 8cm, right = 8cm, showframe]{geometry}
\usepackage{hyperref}
\usepackage[nogroupskip]{glossaries}
\newglossaryentry{Almond}{ name=Almond, description={A fruit},
sort={Almond} }
\newglossaryentry{Berry}{ name=Berry, description={Another fruit},
sort={Berry} }
\newglossaryentry{Cherry}{ name={Cherry}, description={Yet another fruit},
sort={Cherry} }
\newglossaryentry{Date}{ name={Date}, description={Yet another fruit},
sort={Date} }
\newglossaryentry{Elderberry}{ name={Elderberry}, description={Yet another fruit},
sort={Elderberry} }
\newglossaryentry{Flour}{ name={Flour}, description={Not a fruit but useful for cakes}, sort={Flour}}
\newglossaryentry{Grenade}{ name={Grenade}, description={Only the one that does not blow up is a fruit}, sort={Grenade} }
\newglossaryentry{Hammer}{ name={Hammer}, description={Definitely not a fruit}, sort={Hammer} }
\newglossaryentry{Tomato}{ name={Tomato}, description={Again another fruit},
sort={Tomato} }
\newglossaryentry{Strawberry}{ name={Strawberry}, description={Not a fruit},
sort={Strawberry} }
\newglossaryentry{Walnut}{ name={Walnut}, description={Shell fruit},
sort={Walnut} }
\makenoidxglossaries
\begin{document}
\gls{Almond}, \gls{Berry}, \gls{Cherry}, \gls{Elderberry}, \gls{Grenade}, \gls{Walnut} and \gls{Tomato} are fruits, unlike \gls{Strawberry}, \gls{Hammer} and \gls{Flour}.
%\renewcommand{\glssymbolsgroupname}{Non-fruits}
\printnoidxglossary[sort=standard,style=listhypergroup]
\end{document}


\altnewglossary{symbolsroman}{cnt}{Symbols (latin)}, still using thelisthypergroupstyle. Is it the same\glossaryheaderfunction in this case ? If it is, I think I will stick to thelistgroupstyle until I find out the reason for this. – HcN Feb 27 '16 at 15:36\glossaryheadergets redefined whenever you change style. Perhaps try redefining\glossaryheaderjust before your\printglossarycommand? – JP-Ellis Feb 27 '16 at 15:38Illegal parameter number in definition of \GetTitleStringResult.) if I remove thestyle=listhypergroupoption from\printglossary, even if I define it globally when loading the package. I do not understand what is going on, so I am obliged to keep it this way, and is certainly the reason why It does not work in my case. – HcN Feb 27 '16 at 15:49listhypergroupand not others (though I have not tested this). – JP-Ellis Feb 27 '16 at 15:58