Generalglossaries | Glossary output inconsistent line spacing

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
yaxattax
Posts: 7
Joined: Mon Dec 19, 2011 7:15 pm

glossaries | Glossary output inconsistent line spacing

Post by yaxattax »

Hi,

I am having the following problem with the output from \printglossaries (shown in attachment).
Does anybody know how to fix this?

The code I am using to get output:

Code: Select all

\setglossarysection{subsection}
\printglossary[numberedsection,type=\acronymtype,title={Abbreviations}]
And the code I am using to create my glossary:

Code: Select all

\newacronym{pca}{PCA}{Principal Component Analysis}
\newacronym{lda}{LDA}{Linear Discriminant Analysis}
\newacronym{da}{DA}{Discriminant Analysis}
\newacronym{svm}{SVM}{Support Vector Machine}
\newacronym{hmm}{HMM}{Hidden Markov Model}
\newacronym{stft}{STFT}{Short time Fourier transform}
\newacronym{ecg}{ECG}{Electrocardiogram}
% We've defined the acronyms, no need to show long forms...
\glsunsetall[\acronymtype]
Please note, this is also happening with my main glossary as well.

Regards,
Attachments
Illustration of glossary line spacing inconsistency
Illustration of glossary line spacing inconsistency
glossary.png (23.13 KiB) Viewed 6665 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

glossaries | Glossary output inconsistent line spacing

Post by nlct »

Redefine \glsgroupskip to do nothing after the glossary style is set:

Code: Select all

\renewcommand{\glsgroupskip}{}
Regards
Nicola Talbot
yaxattax
Posts: 7
Joined: Mon Dec 19, 2011 7:15 pm

Re: glossaries | Glossary output inconsistent line spacing

Post by yaxattax »

Cheers Nicola, this worked for me.

Regards,

YAqub
Post Reply