I am writing my thesis and I am including a glossary. I am trying to nest some definitions under a "parent" definition. For example, I first define a mass and then define categorical mass whose parent is mass.
I have two problems with the output. First, it glues the definition of categorical mass to that of mass without leaving a space (See the red circle in the image)... Second, there is no explicit mention of categorical mass in the definition.
How can I solve this two problems?
\documentclass[a4paper,12pt]{scrreprt}
\usepackage[acronym,toc]{glossaries}
\makeglossaries
\newglossaryentry{mass}
{
name={mass function},
description={A basic belief assingnment (BBA)},
}
\newglossaryentry{categorical}
{
name={categorical mass function},
description={A mass function with only one focal set},
parent=mass
}
\begin{document}
\chapter{something}
we use a \gls{categorical} which is a special case of \gls{mass}
\printglossary[type=main]
\end{document}

