6

How can I make it so that all the letters on a word are capitalized yet the first letter is bigger than the rest?

An example would be the first and second word on the following image:

Example of what's being described

Thanks in advance.

2
  • 7
    \textsc{Definicion...} It is called "small-caps" Oct 25 '20 at 2:21
  • This kind of formatting is probably a theorem style, by the way. That lets you number your definitions or put in page references to them. And you can change the formatting of all your definitions at once.
    – Davislor
    Oct 25 '20 at 13:02
15

The style is called "small caps" and is considered a font shape by LaTeX. Thus, \scshape will turn it on, or a delimited form, \textsc{...} is available. Naturally, you must make sure your font supports this shape.

\documentclass{article}
\begin{document}
\textsc{Definici\'on (Isomorfismo)} Sea $T:U\rightarrow V$
\end{document}

enter image description here

p.s. Other font shapes include italic (\itshape) and upright (\upshape).

3
  • +1 even if you used : instead of \colon ;-)
    – campa
    Oct 25 '20 at 12:30
  • As far as I remember, in a small caps variant of a font the lowercase letters are not just smaller capital letters, but the stroke width is also adjusted to match the uppercase letters. Thus, you would not get the same result if you just played with uppercase letters in different font sizes.
    – Dubu
    Oct 27 '20 at 9:17
  • 1
    @Dubu It is true that small caps are not merely scaled caps. My answer here, tex.stackexchange.com/questions/55664/…, talks a little about that. The approach suggested was to have a different scaling ratio for vertical versus horizontal scaling. But even that does not create a true small cap, which is actually a separate font created by a font designer, and not merely a mathematical manipulation of the base font. Oct 27 '20 at 9:48

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.