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}
6
  • 1
    Did you try declaring a SmallCapsFont?
    – egreg
    Commented Jun 19, 2017 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
    Commented Jun 19, 2017 at 22:09
  • Yep, added to original.
    – pburrows
    Commented Jun 19, 2017 at 23:17
  • Please don't use minimal for examples. It is not suitable.
    – cfr
    Commented Jun 19, 2017 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
    Commented Jun 20, 2017 at 0:39

1 Answer 1

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

3
  • This has the same problem: there is no italic small caps. It all renders as the regular case version of the font.
    – pburrows
    Commented Jun 20, 2017 at 13:42
  • Ah, I didn't realize that this was your main problem. You can add the smcp-feature, see my edit. Commented Jun 20, 2017 at 13:49
  • @UlrikeFischer Just curious to know, is there any options available in LaTeX-dvips-PS2PDF to get manual italics?
    – MadyYuvi
    Commented Jul 10, 2023 at 9:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .