I am using the companion
chapterstyle within the memoir
class with XeTeX. To customize the chapter title, I adapted memoir.cls
slightly:
\makechapterstyle{companion}{%
\chapterstyle{default}
\RequirePackage{fontspec}
\renewcommand*{\chapnamefont}{\normalfont\sffamily\bfseries\Large\MakeTextUppercase}
\renewcommand*{\printchaptername}{\raggedleft\chapnamefont \@chapapp}
\renewcommand*{\chapnumfont}{\normalfont\fontsize{30}{30}\sffamily}
\renewcommand*{\chaptitlefont}{\normalfont\fontsize{30}{0}\sffamily}
\setlength{\chapindent}{\marginparsep}
\addtolength{\chapindent}{\marginparwidth}
\renewcommand*{\printchaptertitle}[1]{%
\begin{adjustwidth}{}{-\chapindent}
\raggedleft \chaptitlefont ##1\par\nobreak
\end{adjustwidth}}}
My question is how I can adapt the letterspacing in the word "chapter" so it looks more 'stretched', e.i. like in the following example:
I have tried to add \defaultfontfeatures{LetterSpace=50}
in the \chapnamefont
rule but this doesn't seem to change anything. I have also tried \lsstyle
from the microtype
package as described here, but apparently this doesn't work with XeTeX.