However, if I type :
Code: Select all
Code, edit and compile here:
\documentclass[12pt,a4paper]{book}\usepackage{polyglossia}\setdefaultlanguage{english}\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}\usepackage{fancyhdr}\pagestyle{fancy}\fancyhead{}\fancyhead[RO,LE]{\thepage}\fancyhead[CE]{Title of the book}\fancyhead[CO]{\chaptermark}\fancyfoot{}\renewcommand{\headrulewidth}{0.4pt}\renewcommand{\footrulewidth}{0pt}\begin{document}\chapter{Title of the chapter}\end{document}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
but nothing changes. What do I wrong?
Thank you!