Hi,
I'm looking for a way to suppress printing the glossary title. I've seen the workaround that changes the glossary section type into the desired one to fit in the right layer of the document hierarchy, but I want to print a glossary as part of a section with some regular text, so suppressing the title is necessary. I've tried setting title empty, but that leaves a big gap that I don't desire.
Any ideas?
Kind regards,
General ⇒ glossaries | Suppress Output of Glossary Title
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
glossaries | Suppress Output of Glossary Title
Perhaps not what you're looking for, but it might work:
Put your glossary command between the renewcommand and the \let\section\oldsection lines and you may have what you're looking for.
Code: Select all
\documentclass{article}
\begin{document}
Hello, this is a test.
\section*{Hello}
This is the rest of the chapter.
\let\oldsection\section
\renewcommand{\section}[2]{}%
Hello, this is a test.
\section*{Hello}
This is the rest of the chapter.
\let\section\oldsection
Hello, this is a test.
\section*{Hello}
This is the rest of the chapter.
\end{document}
Re: glossaries | Suppress Output of Glossary Title
Hi,
Thanks for this. Unfortunately, it has not suppressed the title of the glossary.
Regards,
Thanks for this. Unfortunately, it has not suppressed the title of the glossary.
Regards,
glossaries | Suppress Output of Glossary Title
Redefining \glossarysection to do nothing should do what you want:
Regards
Nicola Talbot
Code: Select all
\renewcommand{\glossarysection}[2][]{}
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: glossaries | Suppress Output of Glossary Title
Again, thank you very much Nicola - this works perfectly.
Kind regards,
Yaqub
Kind regards,
Yaqub