15

I am using MiKTeX 2.5 version. Is there any possibility to change the small caps fonts in italic shape?

I had tried as like below

\textit{\textsf{Small Caps}}% This will gives the Regular Small caps output.
\textsf{\textit{Small Caps}}% This will gives the italic output.

Could you please help me on this?

  • 5
    Your MiKTeX version (2.5) is heavily outdated and not supported anymore. I suggest you update to the most recent version: MiKTeX 2.9. – Werner Oct 28 '11 at 4:30
  • 1
    presumably you mean \textsc not textsf – Seamus Oct 28 '11 at 7:27
  • You may try this: \usepackage{smallcap}. – jeecabz Jan 28 '14 at 10:00
25

Use a combination of lmodern and slantsc to obtain slanted small caps:

enter image description here

\documentclass{article}
\usepackage{lmodern}% http://ctan.org/pkg/lmodern
\usepackage{slantsc}% http://ctan.org/pkg/slantsc
\begin{document}
\renewcommand{\arraystretch}{1.5}
\begin{tabular}{ll}
  \verb!\textsc{Hello world}! & \textsc{Hello world} \\ % Regular Small Caps
  \verb!\textsl{Hello world}! & \textsl{Hello world} \\ % Regular slanted
  \verb!\textit{Hello world}! & \textit{Hello world} \\ % Regular italics
  \verb!\textit{\textsc{Hello world}}! & \textit{\textsc{Hello world}} \\ % No italic small caps exist, this is substituted for default font
  \verb!\textsl{\textsc{Hello world}}! & \textsl{\textsc{Hello world}} % Slanted small caps
\end{tabular}
\end{document}

If you're specifically after italic small caps in Times font, consider reading

http://homepages.inf.ed.ac.uk/sterratt/progs/italic-small-caps-times-latex

http://www.sterratt.me.uk/progs/italic-small-caps-times-latex

The above source provides times-itsc that you could use instead of your preferred Times package to produce italicized small caps.

  • If this answer solved your original problem, you should consider upvoting (with the upward pointing arrow to the left of it; you need 15 reputation points before you can upvote) and/or accepting it (by clicking on the checkmark). This shows the answer helped you, and it assigns reputation points, even to you! And, with higher reputation comes more privileges. – Werner Oct 28 '11 at 5:37
  • Thank you somuch for your help.. i had tried with the above example, i am getting the required outout. Wnen i used both this packages the output is comes like below "Lower case letters come in lowercase" "Upper case letter as come as uppercase"... could you please help me on this on times font... i can't able to attached the screen sort here.. – Saravanan.O Oct 28 '11 at 5:37
  • @Saravanan.O: If you're interested in Times italicized small caps, follow the link in my updated answer. – Werner Oct 28 '11 at 5:45
  • Hi Werner, thank you very much for your help.. currently i'm not having the time-itsc package. i had searched also in the internet. if possible could you please provide the link for downloading the style files – Saravanan.O Oct 28 '11 at 6:02
  • 2
    @Werner thx for that solution, I just came across it when having the same problem. But: your example - run on a standard TeXLive2014 - produces no italics small caps on the \textit{\textsc{...}} line and warns Font shape OT1/lmr/m/scit' undefined. It is necessary to replace italics small caps by slanted small caps as described in the slantsc` doc (p.4) as so: \rmfamily \DeclareFontShape{OT1}{lmr}{m}{scit}{<->ssub * lmr/m/scsl}{} \DeclareFontShape{OT1}{lmr}{bx}{scit}{<->ssub * lmr/bx/scsl}{} - and analogous if using T1 of course. – greyshade Aug 17 '14 at 20:00
2

Here is a wake to fake it with any font (based on my answer at Small Caps in Description Label?). Compare the first FAUX line to the REAL line to see a comparison of quality.

\documentclass[12pt]{book}
\usepackage{graphicx}
\newcommand\fauxsc[1]{\fauxschelper#1 \relax\relax}
\def\fauxschelper#1 #2\relax{%
  \fauxschelphelp#1\relax\relax%
  \if\relax#2\relax\else\ \fauxschelper#2\relax\fi%
}
\def\Hscale{.85}\def\Vscale{.74}\def\Cscale{1.12}
\def\fauxschelphelp#1#2\relax{%
  \ifnum`#1>``\ifnum`#1<`\{\scalebox{\Hscale}[\Vscale]{\uppercase{#1}}\else%
    \scalebox{\Cscale}[1]{#1}\fi\else\scalebox{\Cscale}[1]{#1}\fi%
  \ifx\relax#2\relax\else\fauxschelphelp#2\relax\fi}
\begin{document}

\fauxsc{Why not small caps?} FAUX\par
\textsc{Why not small caps?} REAL

\textit{\fauxsc{Why not Italic small caps?}} FAUX
\end{document}

enter image description here

1

Fake italic small-caps are not recommended, any more than fake small-caps or fake italic. In general, faked glyphs always involve a compromise in quality.

This answer highlights a few options for real italic and oblique small-caps, including an option for a Times-like font.

[I am not sure that 'oblique' and 'italic' are distinct in the case of small-caps, so am just covering all possible eventualities.]

Latin Modern provides italic small-caps fonts but these are not supported by the default lmodern support package. cfr-lm does support them, however:

\documentclass{article}
\usepackage{cfr-lm}
\begin{document}
The following three are equivalent:
\begin{enumerate}
  \item \textsi{Small-caps Italic}
  \item \textit{\textsc{Italic Small-caps}}
  \item \textsc{\textit{Small-caps Italic}}
\end{enumerate}
\end{document}

italic small-caps Latin Modern

The same code works for

\usepackage{venturis}

italic small-caps Venturis ADF

\usepackage{electrum}

italic small-caps Electrum ADF

\usepackage{berenis}

italic small-caps Berenis ADF

TeX-Gyre Termes is an enhanced clone of Times which includes italic small-caps:

italic small-caps TeX-Gyre Termes

\documentclass{article}
\usepackage{tgtermes}
\begin{document}
\fontshape{scit}\selectfont Italic Small-caps
\end{document}
  • If I use \usepackage{cfr-lm} I no longer have bold small caps.. :( Is there a way to have both? – Max N Nov 28 '17 at 1:20
  • @MaxN Latin Modern doesn't include bold small-caps. So the only way cfr-lm can provide these is if you persuade the GUST developers to add bold small-caps. You have to use a font with both bold and italic small-caps and a font package which supports these. cfr-lm provides access to what exists; it cannot fix existentially-challenged fonts. – cfr Nov 28 '17 at 5:05
  • I understand, but I need italic small caps at another point in my document. Can I say to use another font for all bold occurances? – Max N Nov 28 '17 at 10:50
  • 1
    @MaxN You could, but it would not be recommended. You would be much better choosing fonts which provide everything you need. Mixing regular small-caps with bold small-caps from another font is going to look weird. Consistency isn't everything, but it is a great deal. – cfr Nov 29 '17 at 2:08
  • do you know of a font that has slanted small-caps as well as bold small-caps and mabe even bold italic small-caps? – Max N Nov 29 '17 at 13:03

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.