Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I don't seem to make kpfonts work with small caps italic text. This is my MWE:

\documentclass{article}
\usepackage{kpfonts}

\newcommand*{\mytext}{Testing 1 2 3 testing!}

\begin{document}
  \textsc{\itshape\mytext} % this doesn't work

  \textit{\scshape\mytext} % this doesn't either
\end{document}

This is what I get:

enter image description here

Any ideas?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You need to use one of the following forms to get the slanted smallcaps font of the kpfonts package:

\textscsl{Testing 1 2 3 testing!}
{\scslshape Testing 1 2 3 testing!}

Addendum (Thanks, @egreg!): Alternatively, you could load the kpfonts package with the option easyscsl and then use the commands \textsc (or \scshape) and \textit (or \itshape) in a nested fashion:

\textsc{\textit{Testing 1 2 3 testing!}}
{\scshape\itshape Testing 1 2 3 testing!}

For more on this, see p. 5 of the package's user guide.

share|improve this answer
2  
The easyscsl makes it possible to nest \textsl and \textsc (or conversely). I'm not sure about \textit. –  egreg Nov 11 '13 at 15:03
    
@egreg - thanks for this suggestion. I've incorporated it in an addendum. –  Mico Nov 11 '13 at 15:10
    
Thanks @Mico. ... –  NVaughan Nov 11 '13 at 15:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.