如果所有首字母缩略词都已分类,则不会显示首字母缩略词标题

如果所有首字母缩略词都已分类,则不会显示首字母缩略词标题

我想在我的文档中包含一个首字母缩略词列表——由于有很多首字母缩略词,我对它们进行了细分。但是,如果我将它们全部细分,则不会出现首字母缩略词标题。以下 MWE 并不完美,但它说明了问题:

\documentclass[pdftex,10pt,b5paper,twoside]{book}

\usepackage[xindy={glsnumbers=false}, nonumberlist, nogroupskip]{glossaries}
\newglossary{countries}{gls1}{glo1}{COUNTRIES}
\newglossary{cities}{gls2}{glo2}{CITIES}
\newglossary{universities}{gls3}{glo3}{UNIVERSITIES}
\newacronym{t}{T}{TEST}
% COUNTRIES
\newacronym[type=countries]{f}{F}{France}
\newacronym[type=countries]{uk}{UK}{United Kingdom}
% CITIES
\newacronym[type=cities]{lon}{LDN}{London}
\newacronym[type=cities]{par}{PAR}{Paris}
% UNIVERSITIES
\newacronym[type=universities]{ens}{ENS}{\'{E}cole Normale Sup\'erieure (Paris)}
\newacronym[type=universities]{icl}{ICL}{Imperial College London}
\makeglossaries

\begin{document}

\printglossary[type=\acronymtype,title=ACRONYMS]
\setglossarysection{section}
\printglossary[type=countries]
\printglossary[type=cities]
\printglossary[type=universities]

%\acrfull{t} $1$: \acrfull{ens} is in \acrfull{par}, \acrfull{f}.
\acrfull{ens} is in \acrfull{par}, \acrfull{f}.

%\acrfull{t} $2$: \acrfull{icl} is in \acrfull{lon}, \acrfull{uk}.
\acrfull{icl} is in \acrfull{lon}, \acrfull{uk}.

\end{document}

\acrfull{t}但是,如果我取消注释包含首字母缩略词标题的两行,则会出现,因为\newacronym{t}{T}{TEST}它没有按类型分类。

我尝试阅读文档,但还是一无所知。为什么会这样?在我的文档中,所有首字母缩略词都已分类,因此我希望标题能够显示出来。这可能吗?

相关内容