【发布时间】:2009-10-27 19:09:13
【问题描述】:
我目前陷入困境,有两个单独的词汇表:main 和 acronyms。 Acronyms 词汇表在文本中首次使用时会打印脚注,但 main 词汇表不会。除了acronyms,还有什么方法可以在第一次使用该术语时打印脚注?我不知道该怎么做。
这是使用 TeXnic Center 和 MiKTeX 2.7 编译的代码示例:
\documentclass{article}
\usepackage{index}
\usepackage[toc,style=long3colheaderborder,footnote,acronym]{glossaries}
\makeindex
\makeglossaries
\newglossaryentry{appdomain}{name={application domain}, description={app Domain Description...}}
\newglossaryentry{sample}{name={[has been inserted aaa]},description={testing testing 123}}
\newacronym{aca}{aca}{a contrived acronym}
\begin{document}
\section{this is a test section}
This is the test line... a \gls{sample} \gls{appdomain}
\index{entry} and \gls{aca}
\thispagestyle{empty}\cleardoublepage
\printglossary[type=main,title={Glossary},toctitle={Glossary}]
\thispagestyle{empty}\cleardoublepage
\printglossary[type=\acronymtype,title={List of Abbreviations},toctitle={List of Abbreviations}]
\printindex
\thispagestyle{empty}\cleardoublepage
\end{document}
我希望 sample 和 appdomain 包含带有描述的脚注或脚注说明:请参阅词汇表
非常感谢,
风向标
【问题讨论】:
-
你能发一个sn-p来说明你的问题吗?
-
您使用的是标准的
\glossary命令还是tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=glossaries 之类的包? -
我使用的是\glossaries包,它是\glossary的进一步发展。我会尝试做一个 sn-p,但我不确定它是否真的需要,因为当导入包时: \usepackage[toc,style=long3colheaderborder,footnote,acronym]{glossaries} 声明首字母缩略词在单独的词汇表。在文本中第一次出现首字母缩略词后,我得到一个脚注,但如果出现正常的词汇表短语,我看不到它。 Doc 声明 \acronym 是 smth。就像对 \newglossaryentry 的前向声明。如何使正常的词汇表条目第一次出现脚注?
-
你可以在tex.stackexchange.com找到整个TeX用户社区
标签: latex footnotes glossaries