Tuesday, June 17, 2008

LaTeX: Change the chapter name

How to change the chapter name to something else? For example to have it in other language, such as Malay. In order to do it, put the code below in the preamble of your LaTeX document.

\documentclass{report}
\renewcommand{chaptername}{Bab}
\begin{document}
\chapter{Introduction}
Testing
\end{document}