Created
March 2, 2016 09:40
-
-
Save xoolive/0e72ab9399191ad2f753 to your computer and use it in GitHub Desktop.
Conflict in soul with Tufte package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\ifxetex | |
\newcommand{\textls}[2][5]{% | |
\begingroup\addfontfeatures{LetterSpace=#1}#2\endgroup | |
} | |
\renewcommand{\allcapsspacing}[1]{\textls[15]{#1}} | |
\renewcommand{\smallcapsspacing}[1]{\textls[10]{#1}} | |
\renewcommand{\allcaps}[1]{\textls[15]{\MakeTextUppercase{#1}}} | |
\renewcommand{\smallcaps}[1]{\smallcapsspacing{\scshape\MakeTextLowercase{#1}}} | |
\renewcommand{\textsc}[1]{\smallcapsspacing{\textsmallcaps{#1}}} | |
\fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment