I'm trying to make a single-spaced glossary using the glossaries package but it seems as though the package has a default level of spacing in between entries even in single-spaced mode for the document. I'm using the ut-thesis style, which is based on report.cls. Examples below. Double-spaced text:
\documentclass[11pt]{ut-thesis}
…
\usepackage[nonumberlist]{glossaries}
\makeglossaries
…
\begin{document}
\printglossaries
…
\end{document}
Single-spaced text:
\documentclass[11pt,singlespaced]{ut-thesis}
…
\usepackage[nonumberlist]{glossaries}
\makeglossaries
…
\begin{document}
\printglossaries
…
\end{document}
This is simply not single-spaced enough for my purposes. I checked the documentation for glossaries and I hope I didn't miss anything there but nothing for \printglossaries
or otherwise seemed to indicate that spacing could be altered. I tried using the leading package to help my case. This is the best that I could come up with:
\documentclass[11pt,singlespaced]{ut-thesis}
…
\usepackage{leading}
\usepackage[nonumberlist]{glossaries}
\makeglossaries
…
\begin{document}
\leading{10pt}
\printglossaries
…
\end{document}
It works okay and it's what I'm using right now but I'm not sure why I can't get it to be any better. Any ideas?
Also, I'm a bit new here so if someone feels like correcting my taxonomy with respect to tagging this question, please feel free.
Best Answer
Given the default glossary entry "style" isn't what you want, why not select another one via the
\printglossary
style options (e.g.,\printglossary[style=altlist]
)? The manual sets out quite a few styles that might work for you.Out of these, I expect that
\printglossary[style=long]
will work best. However, since this style relies on thelongtable
package, you'll need to be sure thatglossary
can access it.Also, you might notice that the
style=long
option doesn't set glossary entry names in bold font as before. If you still want that, just add\renewcommand{\glsnamefont}[1]{\textbf{#1}}
to your document preamble to get it back again.