• No results found

The makeglos package Thomas Henlich (thenlich at arcor dot de) March 2, 2005

N/A
N/A
Protected

Academic year: 2021

Share "The makeglos package Thomas Henlich (thenlich at arcor dot de) March 2, 2005"

Copied!
3
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

The makeglos package

Thomas Henlich (thenlich at arcor dot de)

March 2, 2005

Contents

Glossary 1 1 Introduction 1 2 Features 2 3 Commands 2 4 Notes 2

Glossary

Now follows a very short glossary:

glossary A list of words with explanations of these words

index processor a software product to prepare an index for inclusion into a LATEX

document

xindy an index processor, can also be used to process glossaries; see index processor;

see also glossary

1

Introduction

A glossary is a list of words (concepts, terms) together with their explanations. In a glossary you should explain those terms which are necessary for the understanding of your document, but which some of your readers might not know. The advantages of using a glossary vs. writing definitions in the middle of a sentence are:

• improved text flow: the explanations don’t clutter up the logical structure of the

text

• reader-friendliness: people who already know the meaning of terms (e. g. people

who come from the same professional background as you) don’t need to read their definitions. That helps them understand the text faster.

(2)

Very often a glossary is sorted alphabetically. An example for a glossary in a tech-nical or scientific document is a list of mathematical symbols together with their mean-ings.

makeglosis a LATEX package to include a glossary into a document. The glossary

must be prepared by an external program, likexindyormakeindex.

2

Features

• Can be easily configured: various aspects of the appearance of the glossary can

be changed by a simple\renewcommand.

• Multi-language capability: certain keywords, like the name of the glossary, can

be made language-dependent.

• Flexible: works equally well for document classes with a book- or report-like

structure (divided into\chapters) and for article-like documents, like the one you are reading now (based on\sections)

• Equivalent:makeglosis to glossaries whatmakeidxis to indices.

3

Commands

\printglossary Inserts the glossary file (*.gls) here.

\glossaryname The name of the glossary. Defaults to “Glossary”.

\glossaryintro Something to print before the actual glossary. Defaults to empty.

\gsee The cross-reference introduction phrase. Defaults to

\emph{\seename} #1.

\galso The secondary cross-reference introduction phrase. Defaults to\emph{\alsoname} #1.

\seename The cross-reference introduction phrase. Defaults to “see”. Redefined bybabelpackage.

\alsoname The secondary cross-reference introduction phrase. Defaults to “see also”. Redefined bybabelpackage.

4

Notes

The glossary environment is by default defined to be a chapter (or section) which does not appear in the table of contents. If you want the glossary to appear there (just like I did when I wrote this), just add

\addcontentsline{toc}{section}{\glossaryname}.

The glossary’s environment definition for document classes in which the\chapter

command is undefined (article-like documents) is

\newenvironment{theglossary}%

{\section*{\glossaryname}\glossaryintro% \begin{description}}%

{\end{description}}%

(3)

The glossary’s environment definition for document classes in which the\chapter

command is defined (report-/book-like documents) is

\newenvironment{theglossary}%

{\chapter*{\glossaryname}\glossaryintro% \begin{description}}%

{\end{description}}%

If you want to change this,\renewenvironmentis your friend! The glossary for this document was prepared withxindy, version 2.0d:

xindy -o makeglos.gls -f tex2xindy makeglos.xdy makeglos.glo

Referenties

GERELATEERDE DOCUMENTEN

“An analysis of employee characteristics” 23 H3c: When employees have high levels of knowledge and share this knowledge with the customer, it will have a positive influence

Results are non-confirmatory with regard to the pre-set expectations that in high involvement product situations the usage of non-humor in an ad for utilitarian

Radio and TV already made instant information possible, but the internet has changed the expectation of a news-junkie to the point that news needs to be published within

Mainly based on the changes that the first wave of the coronavirus pandemic brought about for student life, it is expected that the results will show that social networks,

Since the MB dealership network encompasses 315 dealerships that in some cases have different characteristics, it was determined, in cooperation with the management of

You will need to set the output file so that it creates a .gls file instead of an .ind file, and change the name of the log file so that it doesn’t overwrite the index log file (if

Bij partijen wordt de juridische keuze meestal bepaald door het eigen belang, terwijl de onpartijdige rechter terug moet vallen op andere onbewuste factoren om een knoop door

freedom to change his religion or belief, and freedom, either alone or in community with others and in public or private, to manifest his religion or belief in teaching,