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.

Possible Duplicate:
Small Caps and Bold Face

I'm trying to get some bold, colored, small-cap text. I've tried different variations, including:

{\bf \textcolor{blue}{\textsc{text}}}

and it doesn't work.

Any suggestions?

share|improve this question

marked as duplicate by Werner, Sharpie, cmhughes, lockstep, doncherry Jan 6 '12 at 11:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
this is a font problem. You don't have a font loaded that supports bold caps. –  someonr Jan 6 '12 at 4:08
    
You need to use \usepackage[T1]{fontenc}\usepackage{xcolor} and then \textcolor{blue}{\bfseries\textsc{text}}. Don't use the deprecated \bf. For more on this, see Will two-letter font style commands (\bf, \it, ...) ever be resurrected in LaTeX? –  Werner Jan 6 '12 at 4:10

1 Answer 1

up vote 3 down vote accepted

If you do \usepackage[T1]{fontenc} you have bold caps in your font avaiable. Don't use \bf and so on because they overwrite each other. Here is a MWE:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\begin{document}
    \textcolor{blue}{\textbf{\textsc{bold small blue caps}}}
\end{document}
share|improve this answer
    
sry werner, I was typing when you posted the same solution as comment... –  someonr Jan 6 '12 at 4:18

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