# headers set in caps with \titleps

For some reason I cannot set the headers in capital letters with the following code:

\documentclass[11pt,twoside]{book}
\usepackage{titleps}
\newpagestyle{Brill}[]{
{}{\chaptertitle}{\thepage}

\pagestyle{Brill}

\begin{document}

\chapter{chapter 1}

I'm the fairest of them all.
\newpage
I'm the fairest of them all.
\newpage
I'm the fairest of them all.
\end{document}

• \MakeUppercase\chaptertitle? – user11232 Aug 10 '15 at 13:24
• Doesn't seem to work. – Guillaume Coatalen Aug 10 '15 at 13:50
• It is not enough feedback ;-). It works for me though. – user11232 Aug 10 '15 at 13:51
• Where do you put this in the code? – Guillaume Coatalen Aug 10 '15 at 13:54
• \sethead[\thepage][\MakeUppercase\chaptertitle][] {}{\MakeUppercase\chaptertitle}{\thepage} – user11232 Aug 10 '15 at 13:57

Although you could use \MakeUppercase, as suggested in comments, it's safer to load the textcase package and use \MakeTextUppercase instead (in case, eventual math contents or \refs or \cites go in the title):

\documentclass[11pt,twoside]{book}
\usepackage{titleps}
\usepackage{textcase}

\newpagestyle{Brill}[]{%
{}{\MakeTextUppercase{\chaptertitle}}{\thepage}%
}

\pagestyle{Brill}

\begin{document}

\chapter{A test chapter}
I'm the fairest of them all.
\newpage
I'm the fairest of them all.
\newpage
I'm the fairest of them all.

\end{document}


An image of the result, showing the header: