diff options
Diffstat (limited to 'macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex')
-rw-r--r-- | macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex index eda408e02c..5af8cdb747 100644 --- a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex +++ b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex @@ -4,8 +4,11 @@ % arara: makeglossaries % arara: pdflatex: { synctex: on } % arara: pdflatex: { synctex: on } +% +%http://mirrors.ctan.org/macros/latex/contrib/glossaries/glossaries-user.html#sampleCustomAcr \documentclass[a4paper]{report} +\usepackage[T1]{fontenc}% need support for bold smallcaps \usepackage[colorlinks,plainpages=false]{hyperref} \usepackage[acronym,% create 'acronym' glossary type % The package option "nomain" is used here to suppress the @@ -56,10 +59,6 @@ % Set the name (as displayed in the glossary) to long (short) \renewcommand*{\acronymentry}[1]{% \glsentrylong{##1} (\acronymfont{\glsentryshort{##1}})}% -% Since bold small caps isn't supported with this document's -% fonts, adjust \acronymfont so that it switches to medium -% small caps: - \renewcommand{\acronymfont}[1]{\textmd{\scshape ##1}}% } % Now use this new style: |