cheers
Code: Select all
\documentclass[a4paper]{article}
\usepackage{titletoc}
\begin{document}
\begin{center}
\tableofcontents
\end{center}
\section{Introduction}\label{intro}
\subsection{Background}
\end{document}
Code: Select all
\documentclass[a4paper]{article}
\usepackage{titletoc}
\begin{document}
\begin{center}
\tableofcontents
\end{center}
\section{Introduction}\label{intro}
\subsection{Background}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\renewcommand{\contentsname}{Table of Contents}
When using the babel, renaming works slightly different.LineEB wrote:I have a similar problem. But I can't get the \renewcommand{\contentsname}{Indholdsfortegnelse} to work. I am using [danish]{babel}. [...]
Code: Select all
\addto{\captionsdanish}{%
\renewcommand{\contentsname}{Indholdsfortegnelse}
}
It is necessary to know the way you create your glossary. If you do that with the glossaries package, there is an important hint in Section 8 (Multilingual support, p. 122ff) of its manual. For the second issue it would be good to have a minimal working example (MWE) because it seems that you set the headers manually at this point. A solution could be to use the \markboth command.LineEB wrote:I have the same problem with the glossary.
In the glossary I have a problem with the header, I get the word 'gloseliste' in the header of the first page of the glossary and on all the following pages. I simply want it to disappear.
Code: Select all
\usepackage{glossary
\makeglossary
\begin{document}
\tableofcontents
\newpage
\input{forord.tex}
\input{indledning.tex}
\newpage
\printglossary
\addcontentsline{toc}{section}{Ordliste}
\end{document}
Code: Select all
\documentclass[12pt,twoside]{article}
\usepackage[danish]{babel}
\usepackage{glossary}
\makeglossary
\addto{\captionsdanish}{%
\renewcommand{\glossaryname}{Ordliste}
}
\pagestyle{myheadings}
\begin{document}
An example of something written bla bla bla \glossary{name={test}, description={test}}
\newpage
\printglossary
\addcontentsline{toc}{section}{Ordliste}
\newpage
And even more... bla bla
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.