2

I'm using the glossaries package to manage the acronyms in my thesis.

Everything works fine except that there is some extra space between the glossaries heading and other section headings.

I stripped my code down, but the problem persists:

\documentclass[12pt,a4paper]{article}

\usepackage[left=3.0cm,top=2.0cm,right=2.0cm,bottom=2.0cm]{geometry}

\usepackage[
nonumberlist,
nopostdot,
nogroupskip,
acronym,
toc,
section]
{glossaries}

\makeglossaries

\begin{document}

\newacronym{usd}{US-\$}{United States Dollar}

\glsaddall\printglossary[type=\acronymtype,title={List of Abbreviations},toctitle={List of Abbreviations}]

\pagebreak

\section{Introduction}

\end{document}

I am using TeXShop on Mac and am compiling with pdflatexmk.

Thank you very much in advance!

Best Patrick

3

\glsaddall is adding the vertical space. If you use this command on a different page, the section headings come out correctly:

\documentclass[12pt,a4paper]{article}

\usepackage[left=3.0cm,top=2.0cm,right=2.0cm,bottom=2.0cm]{geometry}

\usepackage[
nonumberlist,
nopostdot,
nogroupskip,
acronym,
toc,
nomain,
section]
{glossaries}

\makeglossaries
\newacronym{usd}{US-\$}{United States Dollar}

\begin{document}

  something
  \glsaddall\clearpage

  \printglossary[type=\acronymtype,title={List of Abbreviations},toctitle={List of Abbreviations}]

  \clearpage
  \section{Introduction}

\end{document}

correctly positioned section headings

  • Damn, you were quicker! ;-) – user31729 Jun 22 '15 at 13:34
  • @ChristianHupfer :( ? – cfr Jun 22 '15 at 13:44
  • I wanted to answer it as well and I was just preparing the paste when your answer appeared. Basically the same as I've done. – user31729 Jun 22 '15 at 18:12
  • @ChristianHupfer Sorry :(. I didn't actually know what the problem was when I saw the question and I was just curious to find out, since I use this package, too. – cfr Jun 22 '15 at 18:17
  • @NFX: Yes, of course it works, it's the correct solution. Please consider to accept cfr's answer then – user31729 Jun 22 '15 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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