The glossaries
package provides the user command \glsclearpage
which is used internally to implement the page break before the glossary. The default behaviour is as follows:
If the package option section=chapter
has been used (default when used with classes that define \chapter
), then \glsclearpage
does \clearpage
if \cleardoublepage
hasn't been defined. If \cleardoublepage
has been defined, then it checks the openright
setting and does \cleardoublepage
if true, otherwise it does \clearpage
. If \if@openright
isn't defined but \cleardoublepage
is defined it does \cleardoublepage
. (Of the top of my head, I can't remember the reason for this last case, but I vaguely remember there was a class that caused this decision. I think most classes that define \cleardoublepage
also define \if@openright
.)
If the package option section
has been set to something other than chapter
, then \glsclearpage
does nothing as no page break is usually required in this instance.
If you want to change the default settings you can redefine \glsclearpage
as required. For example, if you want to use \clearpage
instead of \cleardoublepage
you can do:
\renewcommand*{\glsclearpage}{\clearpage}
or if you want to completely suppress the page break (regardless of the section
setting):
\renewcommand*{\glsclearpage}{}
\clearpage\begingroup\let\newpage\relax\printglossary[title=Glossaire]\endgroup
. This first inserts a regular\clearpage
to get you on the correct page, after which it nullifies\newpage
.\cleardoublepage
calls\clearpage
which, in tern, uses\newpage
.\documentclass{...}
and ending with\end{document}
.\renewcommand{\glsclearpage}{\clearpage}
or\renewcommand{\glsclearpage}{}