summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/makeglos/makeglos.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/makeglos/makeglos.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/makeglos/makeglos.sty')
-rw-r--r--macros/latex/contrib/makeglos/makeglos.sty22
1 files changed, 22 insertions, 0 deletions
diff --git a/macros/latex/contrib/makeglos/makeglos.sty b/macros/latex/contrib/makeglos/makeglos.sty
new file mode 100644
index 0000000000..d0d2d33bda
--- /dev/null
+++ b/macros/latex/contrib/makeglos/makeglos.sty
@@ -0,0 +1,22 @@
+\ProvidesPackage{makeglos}[2000/02/24 v0.1 Glossary package]
+\newcommand*\gsee[2]{\emph{\seename} #1}
+\newcommand*\galso[2]{\emph{\alsoname} #1}
+\newcommand\printglossary{\@input@{\jobname.gls}}
+\providecommand\seename{see}
+\providecommand\alsoname{see also}
+\providecommand\glossaryname{Glossary}
+\providecommand\glossaryintro{}
+\ifx\@undefined\chapter
+\newenvironment{theglossary}% for article-like documents
+{\section*{\glossaryname}\glossaryintro%
+\begin{description}}%
+{\end{description}}
+\else
+\newenvironment{theglossary}% for report-/book-like documents
+{\chapter*{\glossaryname}\glossaryintro%
+\begin{description}}%
+{\end{description}}
+\fi
+\endinput
+%%
+%% End of file `makeglos.sty'.