使用以下代码,我无法在附录中打印出词汇表:
\documentclass[a4paper, 11pt]{article}
\renewcommand{\baselinestretch}{1.2}
\usepackage[titletoc,title]{appendix}
\usepackage{fancyhdr}
\usepackage[hidelinks]{hyperref}%
\usepackage[section,numberedsection, acronym, toc]{glossaries}
\newacronym{eu}{EU}{European Union}
\makeglossaries
\begin{document}
It follows that the European Economic Integration denotes the elimination of economic frontiers in Europe, referring to the integration process following the second world war, concerning mainly the \acrfull{eu}.
\begin{appendices}
\chead{{\footnotesize Appendix A}}
\fancypagestyle{FooBar}
\afterpage{\cfoot{\thepage}}
\section{} \label{Appendix1}
\printglossary[title={Custom Title}]
\end{appendices}
\end{document}
缩写在文档正文中有效,但在附录中无效。哪里出了问题?
编辑
在谷歌搜索并阅读词汇表文档后,很可能要打印词汇表,我需要使用 Windows 提示符并键入 makeindex 命令。命令。但是,我是第一次使用 Windows 提示符,所以有人能为傻瓜提供一些解释,说明在那里到底要输入什么以及如何将包含我的论文的文件夹链接到那里吗?
答案1
尝试使用\printacronyms
而不是\printglossary
或\printglossary[type=acronym]
(+一些附加选项)
\documentclass[a4paper, 11pt]{article}
\renewcommand{\baselinestretch}{1.2}
\usepackage{fancyhdr}
\usepackage[titletoc,title]{appendix}
\usepackage[hidelinks]{hyperref}%
\usepackage[section,numberedsection, acronym, toc]{glossaries}
\newacronym{eu}{EU}{European Union}
\makeglossaries
\begin{document}
It follows that the European Economic Integration denotes the elimination of economic frontiers in Europe, referring to the integration process following the second world war, concerning mainly the \acrfull{eu}.
\begin{appendices}
\chead{{\footnotesize Appendix A}}
\fancypagestyle{FooBar}
\afterpage{\cfoot{\thepage}}
\section{} \label{Appendix1}
% \printglossary[title={Custom Title}]
\printacronyms[title={Custom Title}]
\end{appendices}
\end{document}