I want to use faked small caps when doing a list of abbreviations using the glossaries
package. I am using another font but for reproducibility purposes in this example I have used Linux Libertine O
. To make things clearer I have also exaggerated the scaling factor in this example. For some reason it seems sometimes my \smallCaps
command works fine but in this case it doesn't go back again. What am I doing wrong?
\documentclass{memoir}
\usepackage{glossaries}
\usepackage{fontspec}
\newcommand{\smallCaps}[1]{%
{\fontspec[Scale=0.5]{Linux Libertine O} #1}%
}
\setacronymstyle{long-short}
\begin{document}
%ABBREVIATIONS
\newacronym{ADR}{\smallCaps{ADR}}{adverse drug reaction}
\setmainfont{Linux Libertine O}
Works \smallCaps{FOO} does not work: \gls{ADR}). A more specific definition
for the term \gls{ADR} is
\end{document}