summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/symbolindex/symbolindex.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/symbolindex/symbolindex.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/symbolindex/symbolindex.sty')
-rw-r--r--macros/latex/contrib/symbolindex/symbolindex.sty42
1 files changed, 42 insertions, 0 deletions
diff --git a/macros/latex/contrib/symbolindex/symbolindex.sty b/macros/latex/contrib/symbolindex/symbolindex.sty
new file mode 100644
index 0000000000..cc485be8a6
--- /dev/null
+++ b/macros/latex/contrib/symbolindex/symbolindex.sty
@@ -0,0 +1,42 @@
+% List of Symbols
+% for LaTeX-2e
+% Copyright -- 2005 Frederic Holzmann
+%
+% E-mail holzmann.frederic@gmx.net
+%
+% This style file is free software; you can redistribute it and/or
+% modify it under the terms of the GNU Lesser General Public
+% License as published by the Free Software Foundation; either
+% version 2 of the License, or (at your option) any later version.
+%
+% This style file is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+% Lesser General Public License for more details.
+%
+% You should have received a copy of the GNU Lesser General Public
+% License along with this style file; if not, write to the
+% Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+% Boston, MA 02111-1307, USA.
+%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{symbolindex}
+\typeout{Creation of a list of symbols}
+\RequirePackage{ifthen}
+%\RequirePackage{minipage}
+\RequirePackage{textcase}
+
+% Setting a symbol
+% \addymbol [group]{symbol}{description}
+\newcommand{\addsymbol}[3][voidgroup]{\addtocontents{los}{#1 / #2 / #3 / \thepage /}}
+
+% Generation of the list of symbols
+% Need a call to the makesym software for the transcription of the los file to a loc file
+\def\losymbolsname{List of Symbols}\def\listofsymbols{
+ \chapter*{\losymbolsname}
+ \@starttoc{los}
+ \newline
+ }
+
+% Generation of a symbol into the list