Skip to content

Glossary in LaTeX

As I was Finishing my MSc thesis today I wanted to create a glossary with LaTex, but it was very difficult to find a tutorial or even basic steps to create one, without having to change something, so I decided to create a small “tutorial” on how to create a glossary with LaTeX.

The first step is to include the package :

As you may see, I also added the option [nonumberlist]. When this option is not enabled the glossary contains a list of page numbers where the entry was used. 
The second step is to use the package :

This package will allow you the use of acronyms. Now that the right packages were included, you can insert the following command in the body :

You may  now create the acronyms and entries that you want in your glossary. These entries have to follow this layout :

Finally you can put the following commands where the glossary should be printed

The first command list all the entries in the glossary, while the second prints the glossary out. In your text you may now use it such as following :

and this should appear :

Compile your LaTeX document a first time and then open a shell an type the following command:

Compile your document with LaTeX a second time, and your glossary should appear right there.

 

and that’s it !

 

Below is a basic example of a LaTeX file with glossary :

Have Fun with LaTeX.

{ 2 } Comments

  1. rizqiya | 25 April 2017 at 3 h 59 min | Permalink

    thanks… your tutorial is working good for me

  2. rizqiya | 25 April 2017 at 5 h 23 min | Permalink

    whats happen with the document… I tried at first and working, and then I am continue trying with some modifications and its not working, at last I try to write it back as same as your tutorial and the glossary is not printed… hopefully you can help

Post a Comment

Your email is never published nor shared. Required fields are marked *