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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

\@onlypremakeg Adds the specified control sequence <strong>to</strong> the list of commands that must be disabled<br />

after \make<strong>glossaries</strong>.<br />

395 \newcommand*{\@onlypremakeg}[1]{%<br />

396 \ifx\@gls@onlypremakeg\@empty<br />

397 \def\@gls@onlypremakeg{#1}%<br />

398 \else<br />

399 \expandafter\<strong>to</strong>ks@\expandafter{\@gls@onlypremakeg}%<br />

400 \edef\@gls@onlypremakeg{\the\<strong>to</strong>ks@,\noexpand#1}%<br />

401 \fi}<br />

sable@onlypremakeg Disable all commands listed in \@gls@onlypremakeg<br />

402 \newcommand*{\@disable@onlypremakeg}{%<br />

403 \@for\@thiscs:=\@gls@onlypremakeg\do{%<br />

404 \expandafter\@disable@premakecs\@thiscs%<br />

405 }}<br />

@disable@premakecs Disables the given command.<br />

\glossaryname<br />

\acronymname<br />

406 \newcommand*{\@disable@premakecs}[1]{%<br />

407 \def#1{\<strong>Package</strong>Error{<strong>glossaries</strong>}{\string#1\space may only be<br />

408 used before \string\make<strong>glossaries</strong>}{You can’t use<br />

409 \string#1\space after \string\make<strong>glossaries</strong>}}%<br />

410 }<br />

1.3 Default values<br />

This section sets up default values that are used by this package. Some of the<br />

names may already be defined (e.g. by ) so \providecommand is used.<br />

Main glossary title:<br />

411 \providecommand*{\glossaryname}{Glossary}<br />

The title for the acronym glossary type (which is defined if acronym package<br />

option is used) is given by \acronymname. If the acronym package option is not<br />

used, \acronymname won’t be used.<br />

412 \providecommand*{\acronymname}{Acronyms}<br />

\glsset<strong>to</strong>ctitle Sets the TOC title for the given glossary.<br />

\entryname<br />

413 \newcommand*{\glsset<strong>to</strong>ctitle}[1]{%<br />

414 \def\glossary<strong>to</strong>ctitle{\csname @glotype@#1@title\endcsname}}<br />

The following commands provide text for the headers used by some of the<br />

tabular-like glossary <strong>sty</strong>les. Whether or not they get used in the glossary depends<br />

on the glossary <strong>sty</strong>le.<br />

415 \providecommand*{\entryname}{Notation}<br />

20

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

Saved successfully!

Ooh no, something went wrong!