[Tugindia] Customising leftmark

Sasi Kumar sasi.fsf at gmail.com
Thu Dec 27 17:21:35 CET 2012


Sorry for the trouble, but I accidentally found the answer while searching.
The solution is to just give the following after the command
\pagestyle{fancy}:

\renewcommand{\chaptermark}[1]{\markboth{#1}{}}

Thanks anyway and regards.

Sasi





On 27 December 2012 21:24, Sasi Kumar <sasi.fsf at gmail.com> wrote:

> When one uses \leftmark in a header or footer in the book class, one gets
> the chapter number followed by the chapter title like: "chapter 3. This is
> chapter 3" in the corresponding location. Now, I want to modify this so
> that the chapter number does not appear, so that I get "This is chapter 3"
> only instead. How can I do this?
>
> Thanks in advance.
>
> Happy 2013 and beyond.
>
> Regards,
> Sasi
>
> --
> V. Sasi Kumar
> Free Software Foundation of India
> Please see: http://swatantryam.blogspot.com/
>



-- 
V. Sasi Kumar
Free Software Foundation of India
Please see: http://swatantryam.blogspot.com/


More information about the tugindia mailing list