15.07.2013 Views

glossaries.sty: LaTeX2e Package to Assist Generating ... - CTAN

glossaries.sty: LaTeX2e Package to Assist Generating ... - CTAN

glossaries.sty: LaTeX2e Package to Assist Generating ... - CTAN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

\@@glossarysecstar<br />

@@glossaryseclabel<br />

56 \newcommand*{\@@glossarysecstar}{*}<br />

57 \newcommand*{\@@glossaryseclabel}{}<br />

\glsau<strong>to</strong>prefix Prefix <strong>to</strong> add before label if au<strong>to</strong>matically generated:<br />

numberedsection<br />

sary@default@<strong>sty</strong>le<br />

ossaryentrynumbers<br />

58 \newcommand*{\glsau<strong>to</strong>prefix}{}<br />

59 \define@choicekey{<strong>glossaries</strong>.<strong>sty</strong>}{numberedsection}[\val\nr]{%<br />

60 false,nolabel,au<strong>to</strong>label}[nolabel]{%<br />

61 \ifcase\nr\relax<br />

62 \renewcommand*{\@@glossarysecstar}{*}%<br />

63 \renewcommand*{\@@glossaryseclabel}{}%<br />

64 \or<br />

65 \renewcommand*{\@@glossarysecstar}{}%<br />

66 \renewcommand*{\@@glossaryseclabel}{}%<br />

67 \or<br />

68 \renewcommand*{\@@glossarysecstar}{}%<br />

69 \renewcommand*{\@@glossaryseclabel}{%<br />

70 \label{\glsau<strong>to</strong>prefix\@glo@type}}%<br />

71 \fi<br />

72 }<br />

The default glossary <strong>sty</strong>le is s<strong>to</strong>red in \@glossary@default@<strong>sty</strong>le. This is<br />

initialised <strong>to</strong> list. (The list <strong>sty</strong>le is defined in the accompanying package described<br />

in subsection 1.18.)<br />

73 \newcommand*{\@glossary@default@<strong>sty</strong>le}{list}<br />

<strong>sty</strong>le The default glossary <strong>sty</strong>le can be changed using the <strong>sty</strong>le package option. The<br />

value can be the name of any defined glossary <strong>sty</strong>le. The glossary <strong>sty</strong>le is set at<br />

the beginning of the document, so you can still use the <strong>sty</strong>le key <strong>to</strong> set a <strong>sty</strong>le<br />

that is defined in another package. This package comes with some predefined<br />

<strong>sty</strong>les that are defined in subsection 1.18.<br />

74 \define@key{<strong>glossaries</strong>.<strong>sty</strong>}{<strong>sty</strong>le}{%<br />

75 \renewcommand*{\@glossary@default@<strong>sty</strong>le}{#1}}<br />

Each entry within a given glossary will have an associated number list. By<br />

default, this refers <strong>to</strong> the page numbers on which that entry has been used, but<br />

it can also refer <strong>to</strong> any counter used in the document (such as the section or<br />

equation counters). The default number list format displays the number list<br />

“as is”:<br />

76 \newcommand*{\glossaryentrynumbers}[1]{#1\gls@save@numberlist{#1}}<br />

6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!