Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using the glossaries package, and when I issue \printglossaries:


the glossary is waaaaaay too wide:


My package options are




right before the \printglossaries is promptly ignored, and I couldn't find any option in the glossaries documentation to influence the width.

When I use twoside as a scrreprt option, the effect is much more pronounced.

Any ideas why this might happen or how I would fix it?

share|improve this question
Please provide a full minimal example. –  Marco Daniel Aug 10 '11 at 10:36
We'd like to keep answers separate from questions, so you should write a separate answer instead of editing your answer into the question. Self-answers are perfectly admissible, and a well-written answer may earn you additional reputation. –  lockstep Nov 10 '11 at 0:45
Sorry, my bad. Thanks for moving ;-) –  hrehfeld Jan 10 '12 at 12:48

2 Answers 2

up vote 1 down vote accepted

[OPs answer moved from the question]

Just adjusting \glsdescwidth doesn't help, because you will have to readjust when your longest entry changes. So use a custom glossaries style instead:


% put the glossary in the longtable environment:
{p{\glstargetwidth} @{\hspace{\glshspace}}  p{\glsdescwidth}}}%
% have nothing after \begin{theglossary}:
% have nothing between glossary groups:
% set how each entry should appear:
\raggedright\strong{\glstarget{##1}{##2}}% the entry name
##4% the symbol 
&##3,% the description
\space ##5% the number list 
% set how sub-entries appear:


This will fix the width of your entry column, breaking the entry names when necesary.

share|improve this answer

From the glossaries user guide (texdoc glossaries-user.pdf), p82:

The tabular-like styles that allow multi-line descriptions and page lists use the length \glsdescwidth to set the width of the description column and the length \glspagelistwidth to set the width of the page list column. These will need to be changed using \setlength if the glossary is too wide.

share|improve this answer
Thanks a bunch! I was looking at that section specifically, but never saw that... PDF documentation for programming sucks. –  hrehfeld Aug 11 '11 at 11:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.