Text FormattingUsing Glossary

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
gkl
Posts: 28
Joined: Sat Jan 17, 2009 12:21 am

Using Glossary

Post by gkl »

Dear All,

I want to make a glossary of a number of terms I use in my PhD thesis. I am using the glossary package and it all works very well, except one thing: the spacing between the entries in the glossary!

In my source files I use the \glossary command for adding entries, i.e.

Code: Select all

test \glossary{name={Test}, description={Test}}
.

The glossary generates okay (four entries in total) with double spacing between the first and the second and the third and the fourth entries. The second and the third are separated by single line spacing.

How can I fix this?

Thanks,
George

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Using Glossary

Post by Stefan Kottwitz »

Hi George,
gkl wrote:I am using the glossary package and it all works very well, except one thing: the spacing between the entries in the glossary!
the glossary package is obsolete, the successor by the same author is the glossaries package. So, instead of fixing problems with an older package I suggest to solve it using the newer one. If the problem persist, I guess solving is more meaningful with the newer one.

Stefan
LaTeX.org admin
gkl
Posts: 28
Joined: Sat Jan 17, 2009 12:21 am

Using Glossary

Post by gkl »

Hi Stefan,

Many thanks for your prompt reply. It turns out that the problem was not with the package, but with me forgetting to set gloskip to null by running

Code: Select all

\setglossary{gloskip={}}
What was happening was that the entries for each letter were spaced as I wanted but they were separated by gloskip space. Setting it to null did the trick.

Regards,
George
Post Reply