词汇表:页码周围的括号

词汇表:页码周围的括号

我有一份词汇表。我们可以这样说:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[acronym]{glossaries}

\newacronym{gcd}{GCD}{Greatest Common Divisor}
\newacronym{lcm}{LCM}{Least Common Multiple}
\makeglossaries

\begin{document}
Given a set of numbers, there are elementary methods to compute 
its \acrlong{gcd}, which is abbreviated \acrshort{gcd}. This process 
is similar to that used for the \acrfull{lcm}.

\printglossary[type=\acronymtype]

\end{document}

乳胶词汇表

我喜欢在条目后面加上页码。但是我怎样才能将它们括在括号中,或者在它们前面加上一些文字,例如“Page(s): 1”?

答案1

我能够找到方法:

\renewcommand{\glossaryentrynumbers}[1]{(#1)}

受此问题的启发:更改乳胶词汇表页码颜色

相关内容