1

I am using an OTF font that has small caps but not italic or slanted small caps, and there are a smattering of places throughout a large document I'm working on where italic small caps are needed. I know I can do it on a one-by-one basis with a \newcommand but I was hoping to avoid needing to go back through the whole document and find all the cases where it's not compiling correctly and just define the fake italic small caps as the shape for the whole document. I tried the following, but it didn't produce the effect:

\setmainfont{Sabon LT Std}[
     Numbers=OldStyle,
     Ligatures=Common,
     ItalicFeatures={
          SmallCapsFeatures = {FakeSlant=0.2}}]

Any suggestions?

Edit: The font Sabon LT Std has small caps in the roman but not in the italics, nor any of the others.

\documentclass{minimal}
\usepackage{fontspec}
\setmainfont{Sabon LT Std}[
    UprightFont = *-roman,
    BoldFont = *-bold,
    ItalicFont = *-italic,
    BoldItalicFont = *-bolditalic,
    Numbers=OldStyle,
    Ligatures=Common]   
\begin{document}
\textsc{Small caps}
\textit{Italics}
\textit{\textsc{Italic small caps}}
\end{document}
  • 1
    Did you try declaring a SmallCapsFont? – egreg Jun 19 '17 at 21:34
  • Welcome to TeX.SX! Would you mind adding a minimal working example (MWE) (i.e code starting with \documentclass{...} and ending with \end{document}): this will make it easier for us to help you! – ebosi Jun 19 '17 at 22:09
  • Yep, added to original. – pburrows Jun 19 '17 at 23:17
  • Please don't use minimal for examples. It is not suitable. – cfr Jun 19 '17 at 23:37
  • Somewhat off-topic: Any chance you could switch from Sabon LT to Sabon Next LT? The latter font features an italics/small-caps font shape combination... – Mico Jun 20 '17 at 0:39
3

I don't have your font, but this here works fine for me

\documentclass{article}
\usepackage{fontspec}
\setmainfont[
    ItalicFeatures =
    {
     SmallCapsFont={Arial},
     SmallCapsFeatures={FakeSlant=-0.2,RawFeature={+smcp}}
    },
     BoldItalicFeatures={
     SmallCapsFont={Arial/B},
     SmallCapsFeatures={FakeSlant=-0.2,RawFeature={+smcp}}
    }
    ]{TeX Gyre Termes}
\begin{document}
normal
\textsc{Small caps}
\textit{Italics}
\textit{\textsc{Italic small caps}}

\textit{\textsc{Italic \bfseries small caps}}

\textbf{\textit{Some \textsc{Italic small caps}}}
\end{document}

enter image description here

|improve this answer|||||
  • This has the same problem: there is no italic small caps. It all renders as the regular case version of the font. – pburrows Jun 20 '17 at 13:42
  • Ah, I didn't realize that this was your main problem. You can add the smcp-feature, see my edit. – Ulrike Fischer Jun 20 '17 at 13:49

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.