Page LayoutAlter Chapter Mark

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
statistician
Posts: 2
Joined: Tue Mar 05, 2013 9:44 am

Alter Chapter Mark

Post by statistician »

Hi,

I want to change the displayed chapterstyle in my header. To be specific, now it displays e.g. "1. INTRODUCTION" and I want to increase the space between "1." and "INTRODUCTION" so I know I have to change the \chaptermark right? But how can I do this? My header is defined in the following:

Code: Select all

\renewcommand{\chaptername}{}
\fancyhead[L]{\hspace{4mm}\textcolor{headercolor}{\leftmark}\\ \text{ }\textcolor{headercolor}{\hspace{0.4cm}\rightmark}\hfill\textcolor{headercolor}{}\hspace{2mm}}
\renewcommand{\headrule}{\vspace{-\headheight}\textcolor{headercolor}{\vrule height \headheight width 2pt\relax\rule{\textwidth}{2pt}\vrule height \headheight width 2pt\relax}}
Thanks a lot for your help.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Alter Chapter Mark

Post by localghost »

Please prepare a self-contained and minimal example to give an adequate problem description and prevent others from guesswork.

Reading the fancyhdr manual would be a good starting point.

It would be appreciated if you give feedback on proposed solutions to your other question.


Addendum:
Just for information to other users for awareness of possibly already existing solutions. The question has also been posted to {TeX} SX. Please read what our administrator thinks about that.

We would appreciate if you follow our rules and indicate a crossposting clearly. This is the second time that you do so without.


Thorsten
Post Reply