I use Italian Garamond to write a document and I'd like to use small caps. The problem is that there is no Italian Garamond small caps to buy. Therefore, how could I get to have at least capital letters on my left and right headers? This is my MWE:
\documentclass[hidelinks,12pt,twoside,openright,a4paper]{book}
\usepackage[french]{babel}
\usepackage{fontspec}
\setmainfont[
SmallCapsFont={ItalianGarmnd BT},
SmallCapsFeatures={Letters=SmallCaps},
]{ItalianGarmnd BT}
\usepackage{lipsum}
\usepackage{fancyhdr}
\pagestyle{fancy}
\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 book}} % even pages: chapter title
\fancyhead[CO]{\textsc\leftmark} % odd pages: book title
\begin{document}
\chapter{A title}
\lipsum
\lipsum
\end{document}
\MakeUppercase
and a smaller size, say\small
or\footnotesize
for the text in the headers if small caps aren't available. Warning --\MakeUppercase
acts on math as well as text, so if math might appear in the headers, something more restrictive is needed. This approach is used inamsbook
.\fancyhead[CO]{\small\MakeUppercase{\leftmark}}
.SmallCapsFont=
.