Download User Manual for glossaries.sty - School of Mathematics, Suranaree
Transcript
19 Troubleshooting
or, if all entries are like this, you may prefer to use the sort=use
or sort=def package options. See Section 2.4 for further details of
the sort option.
3. Q. I’ve used the smallcaps option, but the acronyms are displayed in normal sized upper case letters.
A. The smallcaps package option uses \textsc to typeset the
acronyms. This command converts lower case letters to small
capitals, while upper case letters remain their usual size. Therefore you need to specify the acronym in lower case letters.
4. Q. My acronyms won’t break across a line when they’re expanded.
A. PDFLATEX can break hyperlinks across a line, but LATEX can’t.
If you can’t use PDFLATEX then disable the first use links using
the package option hyperfirst=false.
5. Q. How do I change the font that the acronyms are displayed
in?
A. The easiest way to do this is to specify the smaller package
option and redefine \acronymfont to use the required typesetting command. For example, suppose you would like the
acronyms displayed in a sans-serif font, then you can do:
\usepackage[smaller]{glossaries}
\renewcommand*{\acronymfont}[1]{\textsf{#1}}
6. Q. How do I change the font that the acronyms are displayed in
on first use?
A. The easiest way to do this is to specify the smaller package
option and redefine \firstacronymfont to use the required
command. Note that if you don’t want the acronym on subsequent use to use \textsmaller, you will also need to redefine
\acronymfont, as above. For example to make the acronym
emphasized on first use, but use the surrounding font for subsequent use, you can do:
\usepackage[smaller]{glossaries}
\renewcommand*{\firstacronymfont}[1]{\emph{#1}}
\renewcommand*{\acronymfont}[1]{#1}
7. Q. I don’t have Perl installed, do I have to use makeglossaries?
A. No. Although it is strongly recommended, you don’t have
to use makeglossaries. If you prefer a GUI application
129