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.

After each abbreviation there is a paragraph in my glossary except in one row. (see screenshot). There is no separation between the "W3C" and "WHATWG" abbreviation.

enter image description here

Does anyone know what I can do?

This is my code:

% Glossary package
\usepackage{datatool}
\usepackage[ngerman]{translator}
\usepackage[nopostdot,nonumberlist,acronym,toc,section]{glossaries}

\makeglossaries

% Abbreviations
\newacronym{html}{HTML}{Hypertext Markup Language}
\newacronym{cern}{CERN}{Conseil Européen pour la Recherche Nucléaire}
\newacronym{w3c}{W3C}{World Wide Web Consortium}
\newacronym{sgml}{SGML}{Standard Generalized Markup Language}
\newacronym{xml}{XML}{Extensible Markup Language}
\newacronym{ie9}{IE9}{Internet Explorer 9}
\newacronym{xhtml}{XHTML}{Extensible HyperText Markup Language}
\newacronym{dtd}{DTD}{Dokumenttypdefinition}
\newacronym[longplural=Rich Internet Applications]{ria}{RIA}{Rich Internet Application}
\newacronym{ajax}{AJAX}{Asynchronous JavaScript and XML}
\newacronym{whatwg}{WHATWG}{Web Hypertext Application Technology Working Group}
\newacronym{swf}{SWF}{Small Web Format}

% Output
\cleardoublepage{}

\printglossary[style=altlist,title=Glossar]

\deftranslation[to=German]{Acronyms}{Abkürzungsverzeichnis}
\printglossary[type=\acronymtype,style=long]
share|improve this question
3  
I see another pair with no separation: SGML and SWF. Looks like the entries are grouped by their initials. –  egreg Feb 6 '13 at 0:08
1  
as @egreg said, also and XHTML/XML –  David Carlisle Feb 6 '13 at 0:22
add comment

2 Answers

up vote 4 down vote accepted

Your acronym list is based on longtable, and is a grouped style. The groups are separated by an empty row in the longtable. To get rid of that row, we define a new style based on long:

\newglossarystyle{mylong}{%
  \glossarystyle{long}%
  \renewcommand{\glsgroupskip}{}
}

This shall be put in the preamble after loading glossaries. To use it, issue

\printglossary[type=\acronymtype,style=mylong]
share|improve this answer
    
Good suggestion! But unfortunately it does not help. :( I did the following: \usepackage[nopostdot,nonumberlist,acronym,toc,section]{glossaries} \renewcommand*{\glsgroupskip}{} \makeglossaries –  Benny Neugebauer Feb 6 '13 at 0:52
1  
@BennyNeugebauer My bad. I updated the answer, now it should work. This time I even tested it ;-) –  mafp Feb 6 '13 at 1:43
    
Worked like a charm, thank you! –  Benny Neugebauer Feb 6 '13 at 1:55
add comment

If you have a recent version of glossaries you can use the nogroupskip package option to suppress the gap between letter groups.

\usepackage[nogroupskip]{glossaries}
share|improve this answer
add comment

Your Answer

 
discard

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.