Generalglossaries \printglossary Title

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tomhennigan
Posts: 3
Joined: Sun Nov 28, 2010 1:54 pm

glossaries \printglossary Title

Post by tomhennigan »

Hey guys/girls, I've just started using the glossaries package and I'm having an issue where the glossaries is printing a second title (other than the one I've put in using \subsection{}. I've uploaded a screenshot:
GlossaryTitle.png
GlossaryTitle.png (33.32 KiB) Viewed 9187 times
I'm keen to do this 'the right way', and I've heard the glossaries package can print \section instead.. Can anyone point me in the right direction to sort this out? I've spent a few hours googling around and reading the docs and can't find a way to do this.. I've tried to nuke the title using the following (but it didn't work :cry:):

Code: Select all

\renewcommand{\glossaryheader}
\renewcommand{\glossarypreamble}
Thanks in advance!


Edit by localghost: Preferably no external links (see Board Rules). Attachments go onto the forum server where possible.
Last edited by tomhennigan on Tue Nov 30, 2010 7:57 pm, edited 1 time in total.

Recommended reading 2024:

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

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

tomhennigan
Posts: 3
Joined: Sun Nov 28, 2010 1:54 pm

glossaries \printglossary Title

Post by tomhennigan »

Think I've managed to answer my own question, but I've taken a different approach. Rather than not print the \header, I've found the option in glossaries to change from to a \section, and then the corresponding code to change from \section to \subsection, here goes:

Code: Select all

% Changes from \section{<title>} to \subsection{<title>}
\setglossarysection{subsection}

% The subsection header is printed my printglossary
% \subsection{Glossary}
\printglossary[numberedsection]

% The subsection header is printed my printglossary
% \subsubsection{Acronyms}
\printglossary[numberedsection, type=acronym]
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

glossaries \printglossary Title

Post by localghost »

Now that the problem seems to be solved, please be so kind and mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules. Otherwise please tell us what is missing. Please keep that in mind for the future so that further reminders will not be necessary.


Best regards and welcome to the board
Thorsten
tomhennigan
Posts: 3
Joined: Sun Nov 28, 2010 1:54 pm

glossaries \printglossary Title

Post by tomhennigan »

localghost wrote:Now that the problem seems to be solved, please be so kind and mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules. Otherwise please tell us what is missing. Please keep that in mind for the future so that further reminders will not be necessary.


Best regards and welcome to the board
Thorsten
Hey Thorsten, sorry about that, all resolved!
Post Reply