0

I'd like to add some small caps to the headers. How could I do that? This is my MWE:

\documentclass[a4paper,12pt,twoside]{book}
\usepackage[utf8]{inputenc}
\usepackage{fontspec}
\setmainfont{Baskerville}
\usepackage{lipsum}
\usepackage{fancyhdr}   
\pagestyle{fancy}
% We don't want chapter and section numbers
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\headrulewidth}{0pt}
\fancyhf{} % sets both header and footer to nothing
\fancyfoot{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[CE]{\textsc{A title}} % even pages: chapter title
\fancyhead[CO]{\textsc{\leftmark}} % odd pages: book title

\begin{document}

\chapter{A title}

\lipsum

\end{document}
steve
  • 2,154
domi
  • 1,473

0 Answers0