# Modifying EB Garamond font

Is possible modifying this font to have only the "normal" s and u also in the doubles ?

\documentclass[pagesize=auto, version=last]{scrartcl}

\usepackage{fontspec}
\usepackage{microtype}
\defaultfontfeatures{Ligatures=TeX}

\setmainfont[RawFeature={+ss02,+cv01,+ss05,+dlig},ItalicFeatures={RawFeature=+cv04,CharacterVariant=5:2}]{EB Garamond}
\newfontfamily\booktitlefont[LetterSpace=40,WordSpace=2,RawFeature={+ss02,+cv01,+dlig}]{EB Garamond}
\newfontfamily\spacedfont[LetterSpace=20,WordSpace=3,RawFeature={+ss02,+cv01,+dlig}]{EB Garamond}

\begin{document}
\begin{itemize}
\item pression
\item s
\item u
\item bassun
\end{itemize}
\end{document}

-

## 1 Answer

Remove the raw font features +ss02,+cv01 from the font loading commands. (You may want to remove the other raw features too).

-
Thanks ! do you know also why this two command \scshape\lsstyle dont have any effect on the writing? And how i can use this font for the equations ? –  FormlessCloud Jul 17 '12 at 20:45
@FormlessCloud Many microtype features including \lsstyle don't work with XeLaTeX. For using the font in equations see this question: Selecting main math font in LuaTeX (The answers will work for XeLaTeX as well.) –  Alan Munn Jul 17 '12 at 21:07
perfect ! the last things what i must substitute at {Minion Pro Bold Italic}, {Minion Pro Italic}, {Minion Pro Bold} for the EB Garamond font ? At the firs, for examples, "{Minion Pro}" i have substitute "{EB Garamond}".. –  FormlessCloud Jul 17 '12 at 21:43
@FormlessCloud Yes. Perhaps you should take a look at the fontspec documentation, where the commands you are using are all explained. You can use texdoc to look at package documentation. See this answer tex.stackexchange.com/a/63359/2693 for how to use it in Windows. –  Alan Munn Jul 17 '12 at 21:47
Ok thanks ! i have try to put \setmathfont{Latin Modern} but i get: The font "Latin Modern" cannot be found \setmathfont{Latin Modern} this font isn't from default installed? –  FormlessCloud Jul 17 '12 at 22:25