Document ClassesHeader will not shown in glossary

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
peterd86
Posts: 5
Joined: Fri May 02, 2008 11:33 am

Header will not shown in glossary

Post by peterd86 »

Hello,

i have a custom header in my latex document.
when i use the glossaries-package and create a glossary than the header will not shown at the beginning of the glossary-chapter. how can i modify my code that my header will be also at the beginning of the glossary-chapter shown?

thats the code i use:
\usepackage[
nonumberlist, %keine Seitenzahlen anzeigen
%acronym, %ein Abkürzungsverzeichnis erstellen
toc, %Einträge im Inhaltsverzeichnis
numberedsection=autolabel % label für das Glossarverzeichnis vergeben
]{glossaries}
....

\begin{document}
...
\begin{appendix} % Hier beginnt der Anhang
\printglossary[title=Glossar, toctitle=Glossar] %style=altlist,
\thispagestyle{fancy}
\end{appendix}
\end{document}

as you can see on the code: even the "\thispagestyle{fancy}"-statement does not solve my problem.
i am looking forward for you help.
greetings.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Header will not shown in glossary

Post by Stefan Kottwitz »

Hi Peter,

try this order:

Code: Select all

\cleardoublepage
\thispagestyle{fancy}
\printglossary[title=Glossar, toctitle=Glossar]
Stefan
LaTeX.org admin
peterd86
Posts: 5
Joined: Fri May 02, 2008 11:33 am

Re: Header will not shown in glossary

Post by peterd86 »

thanks for your try but it doesnt work ;-)
maybe you or sb else has some other ideas?

Greetings, peter
User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Header will not shown in glossary

Post by Stefan Kottwitz »

Hi Peter,

then try this line inside your preamble:

Code: Select all

\renewcommand*\glossarypreamble{\thispagestyle{fancy}}
Stefan
LaTeX.org admin
peterd86
Posts: 5
Joined: Fri May 02, 2008 11:33 am

Re: Header will not shown in glossary

Post by peterd86 »

great, it works.
thanks alot for your help.

greetings, peter
Post Reply