1

Is it possible to combine small caps (\textsc) and sans serif (\textsf)? I am using the default LaTeX fonts.

  • 1
    The Computer Sans typeface has no small caps font. – egreg Oct 4 '19 at 16:02
  • @egreg Is there another (similar) font which does have small caps? – taninamdar Oct 4 '19 at 19:35
3

You can nest \textsf and \textsc in either order, but unless there is a font of that form, LaTeX will issue a warning and substitute a different style.

One that does work with no warnings is the newtxtext font set.

enter image description here

\documentclass{article}
\usepackage{newtxtext}
\begin{document}

sc-sf \textsc{\textsf{One two Three}}


sf-sc \textsf{\textsc{One two Three}}

\end{document}
| improve this answer | |
  • If you’re using fontspec, many sans-serif fonts have small caps, including TeX Gyre Heros and Adventor. You can also give the \setsansfont command the SmallCapsFont = option. – Davislor Oct 4 '19 at 19:58
  • @Davislor well that's true but I guess the OP isn't, but it wouldn't hurt if you posted a fontspec based answer as a comparison. – David Carlisle Oct 4 '19 at 20:41

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.