I'm using the memoir
class, and the microtype
and titlesec
packages. I have the chapter names appearing in smallcaps, and I would like the spacing between the letters increased a little bit. Here's the minimum working example:
\documentclass[smalldemyvopaper,11pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
\usepackage[tracking=true]{microtype} % for micro-typographical adjustments
\usepackage{titlesec} % for manipulation of chapter titles
\SetTracking{encoding=*,shape=sc}{120}
\newcommand*{\textsomels}[1]{\textls[25]{#1}}
% chapter title manipulation
% padding with zero
\renewcommand*\thechapter{\ifnum\value{chapter}<10 0\fi\arabic{chapter}}
% chapter title display
\titleformat
{\chapter}
[display]
{\normalfont\scshape\huge}
{\HUGE\thechapter\centering}
{0pt}
{\vspace{18pt}\centering}[\vspace{42pt}]
% BEGIN THE DOCUMENT
\begin{document}
\mainmatter
\chapter{\textsomels{Chapter One}}
\lipsum[1-10]
\end{document}
I get the right output with \chapter{\textsomels{Chapter One}}
, but when I make the line, {\normalfont\scshape\huge}
, which is the one that is responsible for the chapter title to {\textsomels\normalfont\scshape\huge}
, the formatting messes up.
I do not want to write \chapter{\textsomels{Chapter Name}}
every time.
Where am I making the mistake? I'm new to TeX.
\begin{document}
and\end{document}
, and add some text. The rest of the preamble is there in the question.\lsstyle
instead of\textls{#1}
would work.lsstyle
does change the spacing, but may I know how to control the spacing? I'm sorry if it is a dumb question.\newcommand*{\textsomels}[1]{\lsstyle[20]}
doesn't seem to control it. I'm sure I've gotten the syntax wrong.