Is there a way to change the headers in XeLaTeX? Basically I just want my headers (pagenumber, author and title) to be bold, but none of the solutions suggested for LaTeX seems to have any effect on the headers. Is it because I'm using XeLaTeX? Here's my code:
\documentclass[twoside,12pt]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\begin{document}
\fancyhead{}
\fancyhead[LE,RO]{\bfseries \thepage}
\fancyhead[CO]{Titleoftext \bfseries}
\fancyhead[CE]{\bfseries Authoroftext}
\end{document}
\fancyhead[CO]{Titleoftext \bfseries}. You should write\fancyhead[CO]{\bfseries Titleoftext}. Otherwise\bfserieshas no effect. – Thorsten Jan 13 '12 at 11:00\pagestyle{fancy}you need to issue\thispagestyle{fancy}after\maketitleand every chapter. See also this question. – rdhs Jan 13 '12 at 12:51