我可以\glsentrylong
使用长格式。但这不会生成词汇表部分中该部分的超引用。
我如何将长格式与超链接一起使用?就像\gls
可以做的那样。
例子:
\documentclass{article}
\usepackage{hyperref}
\usepackage{glossaries}
\newacronym[
description={\Glsentrylong{nn}. Statistical model.}
]{nn}{NN}{neural network}
\makeglossaries
\begin{document}
\Gls{nn}. % this has a hyperref. and also is backlinked in glossaries later.
\Gls{nn}. % this as well
\Glsentrylong{nn}. % this does not have a hyperref
\printglossary[title={Glossary}]
\end{document}
答案1
您正在使用首字母缩略词,然后使用 \Acrlong 获得长格式:
\documentclass{article}
\usepackage{hyperref}
\usepackage{glossaries}
\newacronym[
description={\Glsentrylong{nn}. Statistical model.}
]{nn}{NN}{neural network}
\makeglossaries
\begin{document}
\Gls{nn}. % this has a hyperref. and also is backlinked in glossaries later.
\Gls{nn}. % this as well
\Glsentrylong{nn}. % this does not have a hyperref
\Acrlong{nn}
\printglossary[title={Glossary}]
\end{document}