You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
178 lines
6.4 KiB
178 lines
6.4 KiB
9 years ago
|
%%
|
||
|
%% This is file `nomencl.sty',
|
||
|
%% generated with the docstrip utility.
|
||
|
%%
|
||
|
%% The original source files were:
|
||
|
%%
|
||
|
%% nomencl.dtx (with options: `package')
|
||
|
%%
|
||
|
%% Copyright 1996 Boris Veytsman
|
||
|
%% Copyright 1999-2000 Bernd Schandl
|
||
|
%% email schandl@gmx.net
|
||
|
%% www http://members.nbci.com/schandl/nomencl
|
||
|
%%
|
||
|
%% This file can be redistributed and/or modified under the terms
|
||
|
%% of the LaTeX Project Public License distributed from CTAN
|
||
|
%% archives in the directory macros/latex/base/lppl.txt; either
|
||
|
%% version 1.2 of the license, or (at your option) any later version.
|
||
|
%%
|
||
|
%% \CharacterTable
|
||
|
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
|
||
|
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
|
||
|
%% Digits \0\1\2\3\4\5\6\7\8\9
|
||
|
%% Exclamation \! Double quote \" Hash (number) \#
|
||
|
%% Dollar \$ Percent \% Ampersand \&
|
||
|
%% Acute accent \' Left paren \( Right paren \)
|
||
|
%% Asterisk \* Plus \+ Comma \,
|
||
|
%% Minus \- Point \. Solidus \/
|
||
|
%% Colon \: Semicolon \; Less than \<
|
||
|
%% Equals \= Greater than \> Question mark \?
|
||
|
%% Commercial at \@ Left bracket \[ Backslash \\
|
||
|
%% Right bracket \] Circumflex \^ Underscore \_
|
||
|
%% Grave accent \` Left brace \{ Vertical bar \|
|
||
|
%% Right brace \} Tilde \~}
|
||
|
%%
|
||
|
\ProvidesPackage{nomencl}%
|
||
|
[2000/12/03 v3.1a Nomenclature package (BS)]
|
||
|
\NeedsTeXFormat{LaTeX2e}
|
||
|
\newif\if@printeqref
|
||
|
\newif\if@printpageref
|
||
|
\DeclareOption{refeq}{\@printeqreftrue}
|
||
|
\DeclareOption{norefeq}{\@printeqreffalse}
|
||
|
\DeclareOption{refpage}{\@printpagereftrue}
|
||
|
\DeclareOption{norefpage}{\@printpagereffalse}
|
||
|
\DeclareOption{prefix}{\def\nomprefix{a}}
|
||
|
\DeclareOption{noprefix}{\def\nomprefix{}}
|
||
|
\newif\if@loadcfg
|
||
|
\DeclareOption{cfg}{\@loadcfgtrue}
|
||
|
\DeclareOption{nocfg}{\@loadcfgfalse}
|
||
|
\DeclareOption{croatian}{%
|
||
|
\def\eqdeclaration#1{, vidi jednad\v{z}bu\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, stranica\nobreakspace#1}%
|
||
|
\def\nomname{Popis simbola}}
|
||
|
\DeclareOption{danish}{%
|
||
|
\def\eqdeclaration#1{, se ligning\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, side\nobreakspace#1}%
|
||
|
\def\nomname{Symbolliste}}
|
||
|
\DeclareOption{english}{%
|
||
|
\def\eqdeclaration#1{, see equation\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, page\nobreakspace#1}%
|
||
|
\def\nomname{List of Symbols and Abbreviations}}
|
||
|
% \def\nomname{Nomenclature}}
|
||
|
\DeclareOption{french}{%
|
||
|
\def\eqdeclaration#1{, voir \'equation\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, page\nobreakspace#1}%
|
||
|
\def\nomname{Liste des symboles}}
|
||
|
\DeclareOption{german}{%
|
||
|
\def\eqdeclaration#1{, siehe Gleichung\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, Seite\nobreakspace#1}%
|
||
|
\def\nomname{Symbolverzeichnis}}
|
||
|
\DeclareOption{italian}{%
|
||
|
\def\eqdeclaration#1{, equazione\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, pagina\nobreakspace#1}%
|
||
|
\def\nomname{Elenco dei Simboli}}
|
||
|
\DeclareOption{polish}{%
|
||
|
\def\eqdeclaration#1{, porownaj rownanie\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, strona\nobreakspace#1}%
|
||
|
\def\nomname{Lista symboli}}
|
||
|
\DeclareOption{portuguese}{%
|
||
|
\def\eqdeclaration#1{, veja equa\c{c}\~ao\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, p\'agina\nobreakspace#1}%
|
||
|
\def\nomname{Nomenclatura}}
|
||
|
\DeclareOption{russian}{%
|
||
|
\def\eqdeclaration#1{, \cyrs\cyrm.\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, \cyrs\cyrt\cyrr.\nobreakspace#1}%
|
||
|
\def\nomname{\CYRS\cyrp\cyri\cyrs\cyro\cyrk%
|
||
|
\ \cyro\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri%
|
||
|
\cyrishrt}}
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
\DeclareOption{slovak}{%
|
||
|
\def\eqdeclaration#1{, pozri rovnicu\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, strana\nobreakspace#1}%
|
||
|
\def\nomname{Zoznam symbolov a skratiek}}
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
\DeclareOption{spanish}{%
|
||
|
\def\eqdeclaration#1{, v\'ease la ecuaci\'on\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, p\'agina\nobreakspace#1}%
|
||
|
\def\nomname{Nomenclatura}}
|
||
|
\DeclareOption{ukrainian}{%
|
||
|
\def\eqdeclaration#1{, \cyrd\cyri\cyrv.\nobreakspace(#1)}%
|
||
|
\def\pagedeclaration#1{, \cyrs\cyrt\cyro\cyrr.\nobreakspace#1}%
|
||
|
\def\nomname{\CYRP\cyre\cyrr\cyre\cyrl\cyrii\cyrk%
|
||
|
\ \cyrp\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrsftsn}}
|
||
|
\ExecuteOptions{norefeq,norefpage,prefix,cfg,english}
|
||
|
\ProcessOptions\relax
|
||
|
\def\makeglossary{%
|
||
|
\newwrite\@glossaryfile
|
||
|
\immediate\openout\@glossaryfile=\jobname.glo
|
||
|
\def\@nomenclature{%
|
||
|
\@bsphack
|
||
|
\begingroup
|
||
|
\@sanitize
|
||
|
\@ifnextchar[%
|
||
|
{\@@@nomenclature}{\@@@nomenclature[\nomprefix]}}%
|
||
|
\typeout{Writing glossary file \jobname.glo}%
|
||
|
\let\makeglossary\@empty}
|
||
|
\def\nom@verb{\expandafter\strip@prefix\meaning}
|
||
|
\def\nomenclature{\protect\@nomenclature}
|
||
|
\def\@nomenclature{%
|
||
|
\@bsphack
|
||
|
\begingroup
|
||
|
\@sanitize
|
||
|
\@ifnextchar[%
|
||
|
{\@@nomenclature}{\@@nomenclature[\nomprefix]}}
|
||
|
\def\@@nomenclature[#1]#2#3{\endgroup\@esphack}
|
||
|
\def\@@@nomenclature[#1]#2#3{%
|
||
|
\def\@tempa{#2}\def\@tempb{#3}%
|
||
|
\protected@write\@glossaryfile{}%
|
||
|
{\string\glossaryentry{#1\nom@verb\@tempa @[{\nom@verb\@tempa}]%
|
||
|
\begingroup\nom@verb\@tempb\protect\nomeqref{\theequation}%
|
||
|
|nompageref}{\thepage}}%
|
||
|
\endgroup
|
||
|
\@esphack}
|
||
|
\def\nomgroup#1{}
|
||
|
\newdimen\nomlabelwidth
|
||
|
\nomlabelwidth1cm\relax
|
||
|
\newdimen\nom@tempdim
|
||
|
\def\printglossary{%
|
||
|
\@ifnextchar[%
|
||
|
{\@printglossary}{\@printglossary[\nomlabelwidth]}}
|
||
|
\def\@printglossary[#1]{%
|
||
|
\nom@tempdim#1\relax
|
||
|
\@input@{\jobname.gls}}
|
||
|
\def\nomlabel#1{#1\hfil}
|
||
|
\def\nompreamble{}
|
||
|
\def\nompostamble{}
|
||
|
\def\nomentryend{}
|
||
|
\newskip\nomitemsep
|
||
|
\nomitemsep\itemsep
|
||
|
\def\theglossary{%
|
||
|
\@ifundefined{chapter}{\section*}{\chapter*}{\nomname}%
|
||
|
\nompreamble
|
||
|
\list{}{%
|
||
|
\labelwidth\nom@tempdim
|
||
|
\leftmargin\labelwidth
|
||
|
\advance\leftmargin\labelsep
|
||
|
\itemsep\nomitemsep
|
||
|
\let\makelabel\nomlabel}}
|
||
|
\def\endtheglossary{%
|
||
|
\endlist
|
||
|
\nompostamble}
|
||
|
\def\refeq{\@printeqreftrue}
|
||
|
\def\refpage{\@printpagereftrue}
|
||
|
\def\refeqpage{\@printeqreftrue\@printpagereftrue}
|
||
|
\def\norefeq{\@printeqreffalse}
|
||
|
\def\norefpage{\@printpagereffalse}
|
||
|
\def\norefeqpage{\@printeqreffalse\@printpagereffalse}
|
||
|
\def\nomeqref#1{\if@printeqref\eqdeclaration{#1}\fi\ignorespaces}
|
||
|
\def\nompageref#1{\if@printpageref\pagedeclaration{#1}\fi%
|
||
|
\nomentryend\endgroup}
|
||
|
\if@loadcfg
|
||
|
\InputIfFileExists{nomencl.cfg}{%
|
||
|
\typeout{Using the configuration file nomencl.cfg}}{}
|
||
|
\fi
|
||
|
|
||
|
\endinput
|
||
|
%%
|
||
|
%% End of file `nomencl.sty'.
|