Page Layout ⇒ Header Title in my Acronyms is wrong.
Header Title in my Acronyms is wrong.
Hello all,
I am using the glossaries package for my list of Acronyms. I have renamed the Title of Glossary to appear as List of Acronyms in my Contents and also in the actual page where the acronyms appear. However, at the header of the List of Acronyms section, it still reads "Glossary".
How can I change the header from "Glossary" to "List of Acronyms"?
Thanks a lot!
I am using the glossaries package for my list of Acronyms. I have renamed the Title of Glossary to appear as List of Acronyms in my Contents and also in the actual page where the acronyms appear. However, at the header of the List of Acronyms section, it still reads "Glossary".
How can I change the header from "Glossary" to "List of Acronyms"?
Thanks a lot!
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Header Title in my Acronyms is wrong.
Hi ougka,
you could use \markboth right before the glossary, such as
Stefan
you could use \markboth right before the glossary, such as
Code: Select all
Code, edit and compile here:
\clearpage\markboth{List of Acronyms}{List of Acronyms}\printglossaries
LaTeX.org admin
Re: Header Title in my Acronyms is wrong.
Hello Stefan,
thanks a lot for your reply... I am afraid this doesn't work... It builds fine but it seems that \markboth doesn't overwrite the "Glossary" heading to "List of Acronyms"
I'd be grateful if you could have any other ideas..?
thanks a lot for your reply... I am afraid this doesn't work... It builds fine but it seems that \markboth doesn't overwrite the "Glossary" heading to "List of Acronyms"
I'd be grateful if you could have any other ideas..?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Header Title in my Acronyms is wrong.
Hi ougka,
perhaps show with some code how you are doing it. If there's something wrong, we might see it.
Stefan
perhaps show with some code how you are doing it. If there's something wrong, we might see it.
Stefan
LaTeX.org admin
Header Title in my Acronyms is wrong.
Hello Stefan,
Sure, so here is my main file :
and in my 05_TOC_LoF_LoT_Glossary file i have
but it doesn't seem to work... any ideas?
Sure, so here is my main file :
Code: Select all
Code, edit and compile here:
\documentclass[a4paper,oneside,12pt]{book} %twoside,draft,openright]\usepackage{a4}\usepackage{anysize}%{left}{right}{top}{bottom}\marginsize{38mm}{25mm}{25mm}{25mm\input{thesis_format}%%%%%%%% GLOSSARY %%%%%%%%%%\usepackage[style=super,nonumberlist]{glossaries}%Remove the dot at the end of glossary descriptions\renewcommand*{\glspostdescription}{}%Make the description column of the glossary a bit wider%default is 0.6\linewidth\setlength{\glsdescwidth}{0.8\linewidth}%Make the acronym bold in the TOC\renewcommand{\glsnamefont}[1]{\textbf{#1}}\makeglossaries\include{Chapter0-Peripherals/glossaries}\begin{document}%% Front pages of the thesis\input{Chapter0-Peripherals/00_Title_Page}%this is where i declare about glossaries (snippet below)\input{Chapter0-Peripherals/05_TOC_LoF_LoT_Glossary}%% Main text\include{Chapter1-Intro/Chapter1}(snip)\include{Chapter8-Conclusion/Chapter8}\include{Chapter0-Peripherals/10_References}\end{document}
Code: Select all
Code, edit and compile here:
%Add your glossary in the TOC with a different name\newpage\addcontentsline{toc}{chapter}{\numberline{}List of Acronyms}%use List of Acronyms instead of Glossary as a title on the actual page of the Acronyms\renewcommand{\glossaryname}{List of Acronyms}\clearpage%set the heading of the List of Acronyms to "List of Acronyms" instead of Glossary\markboth{List of Acronyms}{List of Acronyms}\printglossaries
Header Title in my Acronyms is wrong.
Try
Regards
Nicola Talbot
Code: Select all
\renewcommand{\glossarytoctitle}{List of Acronyms}
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/
Header Title in my Acronyms is wrong.
nlct wrote:TryCode: Select all
\renewcommand{\glossarytoctitle}{List of Acronyms}
Hi Nicola thanks a lot for your reply.
I get a
!LaTeX Error : \glossarytoctitel undefined
when i try your suggestion.. any other ideas?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Header Title in my Acronyms is wrong.
Hi,
Stefan
check the spelling, it's \glossarytoctitle.ougka wrote:I get anlct wrote:TryCode: Select all
\renewcommand{\glossarytoctitle}{List of Acronyms}when i try your suggestion.. any other ideas?Code: Select all
!LaTeX Error : \glossarytoctitel undefined
Stefan
LaTeX.org admin
Header Title in my Acronyms is wrong.
ha.. I wish it was that Stephan. I wrote it correctly in my tex file, it's just that I didn't copy/paste the error from latex, hence my typo...Stefan_K wrote:Hi,
check the spelling, it's \glossarytoctitle.ougka wrote:I get anlct wrote:TryCode: Select all
\renewcommand{\glossarytoctitle}{List of Acronyms}when i try your suggestion.. any other ideas?Code: Select all
!LaTeX Error : \glossarytoctitel undefined
where can I find all these \glossary-whatever commands so that I can try and find something that would do the job?
Header Title in my Acronyms is wrong.
Hi, I'm having a similar problem.
I'm trying to include a list of acronyms under the title abbreviations and a main glossary. If I include:
Then they appear in the correct order but the chapter title before the main glossary is 'Abbreviations' and the title space before the abbreviations is blank. The header displays the correct label, however.
Previously I had the two the other way around and the problem was reversed.
There is also a regular error on undefined control sequence for \glossarytitle. I tried defining it with
as I wanted to print a chapter heading page anyway but that now gives "! Argument of \glossarytitle has an extra }." followde by a runaway argument and has to be ignored anyway. I have looked at the .sty file but I'm new to LaTeX and unwilling to mess around in there without instruction.
Any help would be much appreciated.
Regards
S
I'm trying to include a list of acronyms under the title abbreviations and a main glossary. If I include:
Code: Select all
\printglossary[type=main,title=Glossary]\printglossary[type=acronym,title=Abbreviations]
Previously I had the two the other way around and the problem was reversed.
There is also a regular error on undefined control sequence for \glossarytitle. I tried defining it with
Code: Select all
\newcommand{\glossarytitle}[1]{\chapter[#1]}
Any help would be much appreciated.
Regards
S
Last edited by Stefan Kottwitz on Fri Jul 29, 2011 11:09 pm, edited 1 time in total.