Hello,
I received a very intricate latex template and don't know how to address the following (probably minor) issue.
The main document uses the book document class. For every chapter, on the "header" of each even page appears a line of text indicating the number of the page, the unchanging word "Chapter" and the title of the current Chapter.
How can I change the word "Chapter" to "Chocolate" for instance? I searched through all the .tex files I got, can't find where "Chapter" is set.
Thanks.
General ⇒ book | Redefine Chapter Name
-
- Posts: 35
- Joined: Thu Oct 27, 2011 5:31 pm
book | Redefine Chapter Name
Last edited by laailalalaa on Sun Jan 29, 2012 6:40 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
book | Redefine Chapter Name
Hi,
you could redefine \chaptername. For example:
Stefan
you could redefine \chaptername. For example:
Code: Select all
\documentclass{book}
\renewcommand*{\chaptername}{Chocolate}
\begin{document}
\chapter{Hazelnut}
\end{document}
LaTeX.org admin
-
- Posts: 35
- Joined: Thu Oct 27, 2011 5:31 pm
Re: book | Redefine Chapter Name
This did the trick.
Thanks
Thanks