2

I want to use LaTeX to compile a Tufte-style book. The build process fails even in this minimal example:

\documentclass{tufte-book}

\title{this is a title}
\author{me}

\begin{document}

\maketitle

\end{document}

The error message from the commmand line is: ! Argument of \MakeTextUppercase has an extra }. This has been pointed out in a previous question here (which is also the source of the MWE), but a solution is only provided for XeLaTeX. I want to use latex instead.

1 Answer 1

3

In DVI mode (latex and xelatex), tufte loads soul, which is, as usual, delicate:

\documentclass{article}
\usepackage{soul,textcase}
\begin{document}
\so{\MakeTextUppercase{boom!}}
\end{document}

You can “register” the command to \soul so that it knows how to handle it:

\documentclass{tufte-book}

\ifdefined\soulregister
  \soulregister\MakeTextUppercase{1}%
  \soulregister\MakeTextLowercase{1}%
\fi

\title{this is a title}
\author{me}

\begin{document}

\maketitle

\end{document}

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.