3

I would like to use the librecaslon package with tufte-handout. I have encountered a problem in which my headers are printed entirely in lowercase. I believe this occurs because librecaslon has no defined smallcaps.

Is there any way I can specify the formatting the header should take, overriding whatever defaults are specified in tufte-handout? I don't mind if my header doesn't appear in smallcaps; I just don't want it to appear in all lowercase.

My problem appears to be very similar to this one, except I'm not using xetex so I can't use anything involving fontspec.

A minimal example demonstrating my issue is placed below:

\documentclass{tufte-handout}

\title{This Will Appear in Lowercase in Headers}
\author{Anthony Brice}

\usepackage{librecaslon}

\begin{document}

\maketitle

\newpage

foobar

\end{document}
3

You can redefine \smallcaps to include the desired formatting for headers. Luckily, this command is only used for typesetting the headers, so the impact elsewhere is zero. The lone mandatory argument is the headers' content to typeset, passed internally by the class.

The default definition is

\newcommand{\smallcaps}[1]{\smallcapsspacing{\MakeTextLowercase{#1}}}

where \smallcapsspacing's definition is set up later based on the font/engine setup. You can use \renewcommand to change \smallcaps to whatever is required. As an example:

\documentclass{tufte-handout}

\renewcommand{\smallcaps}[1]{\sffamily #1}

\title{This Will Not Appear in Lowercase in Headers}
\author{Anthony Brice}
\usepackage{librecaslon}

\begin{document}
\maketitle
\newpage

foobar   
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.