GeneralRename Glossary and Acronyms in ToC

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
iulius
Posts: 2
Joined: Sun May 23, 2010 12:25 pm

Rename Glossary and Acronyms in ToC

Post by iulius »

Hi!
This is my second question. I am using the glossaries package and renamed the Glossary and Acronyms so that they read as "Glossar" and "Abkürzungsverzeichnis". This works well for in the actual document, however in the Table of Contents they are still named "Glossary" and "Acronyms" instead of the names given by me.

here's what I did:

Code: Select all

\documentclass[fontsize=12pt,a4paper,headsepline,titlepage,DIV=calc]{scrartcl}

\usepackage{appendix}
\usepackage[ngerman]{babel}
...
\usepackage[a4paper,left=40mm,right=20mm,top=25mm,bottom=25mm,headsep=5mm,footskip=15mm]{geometry}
...
\usepackage{ngerman} 
...
\usepackage{tocloft} 
...
\usepackage[pdfborder={0 0 0 }]{hyperref}
\usepackage[nonumberlist,acronym,toc]{glossaries}

\KOMAoptions{toc=listof}
\KOMAoptions{footsepline,footnotes=multiple,headings=normal}
\pagestyle{headings}

\addto\captionsngerman{
	\renewcommand{\figurename}{Abbildung}
	\renewcommand{\tablename}{Tabelle}
	\renewcommand{\glossaryname}{Glossar}
	\renewcommand{\acronymname}{Abk\"urzungsverzeichnis}
	\renewcommand{\appendixtocname}{Anhang}
}
\renewcommand{\thefigure}{\arabic{section}.\arabic{figure}}
\renewcommand{\cftfignumwidth}{2.8cm}
\renewcommand{\cftfigpresnum}{Abbildung }
\renewcommand{\cfttabnumwidth}{1.9cm}
\renewcommand{\cfttabpresnum}{Tabelle }
\renewcommand{\glspostdescription}{}

\makeglossaries
\input{glossary}

\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5} 

\onehalfspacing

\begin{document} 
	\input{cover/cover} 

	\input{chapters/0000vorwort}
	\newpage
	
	\renewcommand{\thepage}{\Roman{page}}
	\setcounter{page}{1}
	\tableofcontents
	\newpage
	
	\listoffigures
	\newpage 
	
	\listoftables 
	\newpage
 
...

	\printglossaries
\end{document}
any suggestions on how to fix that?? I appreciate your help!

Iulius

Recommended reading 2024:

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

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

nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Rename Glossary and Acronyms in ToC

Post by nlct »

There is some advice about this in the glossaries faq that might help.

Regards
Nicola Talbot
Post Reply