# #StackBounty: #page-breaking #glossaries #primitives Multiple glossaries on a single page with a chapter-title

### Bounty: 50

The setting is that I need to have two glossaries. They should be separated just by a `medskip` and not by a `newpage`-break. To stow them properly, I thought of putting them in a single chapter List of symbols.

The manual raises a warning when using the long-table style (e.g. `long3col`), but only for entries with long descriptions as there won’t be a page-break within a cell of a table. However, this does not apply here …

To suppress the page-break, I followed a comment of this post of nullifying the `newpage`-command temporarily (the accepted answer suggested to redefine `glsclearpage`, which didn’t work in my case and apparently for others neither)

``````begingroupletnewpagerelax
printglossary
printglossary
endgroup
``````

The odd thing is that this seems to suppress the appearing of the chapter-title:
The first chapter/glossaries produces six pages with a double page-break between the chapter title, the first glossary and the second glossary.

The second chapter/glossary attempt resulted in a page with both glossaries on but without any chapter-title (left); only if text is added, the chapter-title is printed (right):

``````documentclass{scrbook}

usepackage{glossaries}
% define alternative glossaries
newglossary[ulg]{UppercaseCharacter}{uld}{udn}{List of uppercase characters}
newglossary[llg]{LowercaseCharacter}{lld}{ldn}{List of lowercase characters}

% Term definitions
newglossaryentry{A}{name=A, description={This is an uppercase character}, type=UppercaseCharacter}
newglossaryentry{a}{name=a, description={This is a lowercase character}, type=LowercaseCharacter}

% activateglossaries
makeglossaries
setglossarystyle{long3col}

begin{document}
chapter*{List of symbols}
% Print the glossaries
printglossary[type=UppercaseCharacter] % domain glossary
printglossary[type=LowercaseCharacter] % domain glossary

chapter*{Tight list of symbols}
begingroupletnewpagerelax
printglossary[type=UppercaseCharacter] % domain glossary
bigskip
printglossary[type=LowercaseCharacter] % domain glossary
endgroup

chapter*{Tight list of symbols + Text}
dfgfgjfghj
begingroupletnewpagerelax
printglossary[type=UppercaseCharacter] % domain glossary
printglossary[type=LowercaseCharacter] % domain glossary
endgroup%clearpage

chapter{Content}
UPPERCASE: gls{A} and lowercase: gls{a}

end{document}
``````

It further seems to be impossible to control the vertical spacing within the Tex-primitive group or is this rather because the glossaries are not supposed to be on a single page?

Get this bounty!!!

This site uses Akismet to reduce spam. Learn how your comment data is processed.