Bug Tracker
I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)
ID | 97🔗 |
---|---|
Date: | 2015-09-22 12:44:24 |
Status | Closed (Not a Bug) |
Category | glossaries |
Version | v4.18 |
Summary | Not bold smallcaps even with fonts that support them |
Sign in to subscribe to notifications about this report.
Description
Even with fonts that support bold smallcaps:\setacronymstyle{long-sc-short}leads by default to bold but not in small caps entries' names. AFAIK, this breaks previous glossaries' behavior.
Note that bold smallcaps entries' names are still available if explicitly asked by:
\renewcommand{\glsnamefont}[1]{\textsc{\bfseries #1}}
MWE
Download (311B)
\listfiles \documentclass{article} \usepackage{kpfonts} \usepackage[xindy]{glossaries} % \makeglossaries \newacronym{foo}{foo}{Foo Oof Oof} \setacronymstyle{long-sc-short} % \renewcommand{\glsnamefont}[1]{\textsc{\bfseries #1}} % \begin{document} \textbf{\textsc{foo}}: \gls{foo}. \printglossary \end{document}
Evaluation
This isn't a bug. As stated in the manual (13.1 Changing the Acronym Style) you need to set the style before using \newacronym
. The following works as expected:
\documentclass{article} \usepackage{kpfonts} \usepackage[xindy]{glossaries} % \makeglossaries \setacronymstyle{long-sc-short} \newacronym{foo}{foo}{Foo Oof Oof} % \renewcommand{\glsnamefont}[1]{\textsc{\bfseries #1}} % \begin{document} \textbf{\textsc{foo}}: \gls{foo}. \printglossary \end{document}
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=97