tags:

views:

11088

answers:

2

I can't seem to have both the small caps and boldface styles on a line:

\huge\sc\bf Hello

This will generate bold text, and if the \sc is placed after, it will generate small caps text but not bolded. They seem to override each other, so is there any way to apply them both?

+2  A: 
Azim
It doesn't seem to work. The text is only in bold. Also, I think that's the same as my statement since the braces are implied.
verhogen
pay close attention to the order of the braces and the commands. Works for me.
Azim
ok, my eyes tricked me sorry. you are correct. it doesn't work :(
Azim
ok, actually I had the [T1], I think the problem was actually my PDF viewer...
verhogen
+8  A: 

Your question requires a two-part answer.

\sc and \bf (and \it) are deprecated because, as you have noticed, they override each other. Use either

\textit{...}
\textbf{...}
\textsc{...}

or

{\itshape ...}
{\bfseries ...}
{\scshape ...}

instead.

However, not all fonts contain italic and/or bold small caps (when they even contain small caps).

(Also, italic and small caps usually don't combine at all by default, requiring \usepackage{slantsc} to do so.)

When you load the T1 font encoding, you're replacing the default Computer Modern fonts by CM-Super, a larger but lower-quality set of fonts that look mostly identical but contain many more glyphs. In older TeX distributions, you might even end up with bitmap fonts in your output.

The Latin Modern fonts are a better alternative (\usepackage{lmodern}), but they unfortunately don't contain bold small caps.

Will Robertson