LaTeX forum ⇒ Fonts & Character Sets ⇒ List of Abbrevations as Chapter Topic is solved

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Matam
Posts: 29
Joined: Thu Jun 07, 2018 12:12 pm

List of Abbrevations as Chapter

Please see the attachment to understand my Problem. I want the List of Abbreviations as Chapter title. Here, it appeared as section heading. Similarly, it appeared as section heading in Contents. Please, see the same attachment for contents list.

Here is the code in Preamble and I entered for List of Abbreviations:

Attachments
Please see the attachment to understand my Problem. I want the List of Abbreviations as Chapter title. Here, it appeared as section heading. Similarly, it appeared as section heading in Contents. Please, see the same attachment for contents list.
listofabbreviationsasChapters.png (280.87 KiB) Viewed 1355 times
Last edited by Stefan Kottwitz on Thu Jun 07, 2018 1:26 pm, edited 1 time in total.
Reason: code marked

Stefan Kottwitz
Posts: 9418
Joined: Mon Mar 10, 2008 9:44 pm
This could help, before \printglossary:

\renewcommand{\glossarysection}[2][]{\chapter*{#1}}

Stefan

Matam
Posts: 29
Joined: Thu Jun 07, 2018 12:12 pm
Thanks a lot. It did solve the issue. But, some other minor issues developed. Please check the attachment.
Attachments
listofabbreviationsasMinorissues.png (162.12 KiB) Viewed 1339 times

Stefan Kottwitz
Posts: 9418
Joined: Mon Mar 10, 2008 9:44 pm
Try

\cleardoublepage\markboth{List of Abbrevations}{List of Abbrevations}\addcontentsline{toc}{chapter}{List of Abbrevations}\printglossary...

Stefan

Matam
Posts: 29
Joined: Thu Jun 07, 2018 12:12 pm
I added the following code given by you and it solved all the issues. Only problem is, twice appearance of List of Abbreviations in Latex. How to remove the second appearance of List of Abbreviations from list of contents. Please, see the PDF screen shot to understand the problem.

The code is:

Attachments
listofabbre.png (84.73 KiB) Viewed 1318 times

Stefan Kottwitz
Posts: 9418
Joined: Mon Mar 10, 2008 9:44 pm
Perhaps simply remove \addcontentsline{toc}{chapter}{List of Abbrevations}. As it's already done (the second time).

Stefan

Matam
Posts: 29
Joined: Thu Jun 07, 2018 12:12 pm
Excellent. Your second reply did work well after running the code for couple of time. I did not delete the code as you mentioned in your third reply. Please, check the PDF screen shot.
Attachments
listofabbSolved.png (64.17 KiB) Viewed 1310 times

nlct
Posts: 275
Joined: Thu Nov 06, 2008 11:15 am
The reason for the list of abbreviations appearing as a section rather than a chapter is because you have explicitly instructed the glossaries package to do this with the section package option:
\usepackage[toc,% add the glossary/list of abbreviations to the table of contents nopostdot,nonumberlist,acronym, section% make the glossary/list of abbreviations use \section ]{glossaries}

The default behaviour is to use \chapter if it has been defined, otherwise it will use \section. (The starred unnumbered form is the default.) So there's no need to redefine \glossarysection if you want to use \chapter*, just remove the section package option:
\usepackage[toc,% add the glossary/list of abbreviations to the table of contents nopostdot,nonumberlist,acronym ]{glossaries}

Regards
Nicola Talbot