控制词汇表字体大小

控制词汇表字体大小

控制\printglossaryfrom打印文本的字体大小最方便的方法是什么glossaries?例如,

\documentclass[12pt]{article}
\usepackage{fontspec}
\usepackage[backend=biber,backref=true]{biblatex}
\begin{filecontents*}{\jobname.bib}
@article{example,
    author  = {Doe, John},
    title   = {Some things I did},
    year    = {2014},
    journal = {J.~Irrep. Res.},
    pages   = {1-10}
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\renewcommand*{\bibfont}{\footnotesize}
\usepackage[xindy,toc]{glossaries}
\makeglossaries
\begin{document}
\newacronym{cmp}{CMP}{Common Mid Point}
\glsaddall
\parencite{example}
\printbibliography
\printglossary
\end{document}

\printbibliography这里,我可以用 来控制 的字体大小\bibfont。如何使用 来做到这一点glossaries?谢谢。

答案1

在你的序言中添加这一行:

\renewcommand{\glossarypreamble}{\footnotesize}

梅威瑟:

\documentclass[12pt]{article}
\usepackage{fontspec}
\usepackage[backend=biber,backref=true]{biblatex}
\begin{filecontents*}{\jobname.bib}
@article{example,
    author  = {Doe, John},
    title   = {Some things I did},
    year    = {2014},
    journal = {J.~Irrep. Res.},
    pages   = {1-10}
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\renewcommand*{\bibfont}{\footnotesize}
\usepackage[xindy,toc]{glossaries}
\renewcommand{\glossarypreamble}{\footnotesize}
\makeglossaries
\begin{document}
\newacronym{cmp}{CMP}{Common Mid Point}
\glsaddall
\parencite{example}
\printbibliography
\printglossary
\end{document} 

输出:

在此处输入图片描述

相关内容