TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A little background the package ccfonts does not have any bold characters hence when you use it it loads the computer modern bold. Now there is an option for this package: "boldsans" when it uses a condensed sans-serif version of computer modern for bold. Now here is what I am after: I want cmbright bold to be used instead. How can I make that happen?

EDIT: I want the bold used in math mode to be cmbright as well!

EDIT-2: Nobody? :(

share|improve this question
Don't be impatient. This board doesn't move that fast. – frabjous Oct 13 '10 at 20:38
up vote 3 down vote accepted

This is hard to answer without seeing some examples of your usage.

Here's a guess, though I think it would be at best a kludge. Put this after loading ccfonts.

\DeclareMathAlphabet{\mathbf} {OT1}{cmbr}{bx}{n}

I think there may be better ways, and I'm not really confident this is going to work out well, but without seeing a sample of how you're using bold in your document, it's hard to tell.

share|improve this answer
Thank you this works and so far I do not have any problems! – Hesam Oct 15 '10 at 5:40
Also could you post the same code that would force the package to use cmbright for sf series, both Math and text? I guess it should be very similar but I don't know the exact syntax. – Hesam Oct 15 '10 at 5:41
For text, I think \renewcommand*{\sfdefault}{cmbr} should cover you. Math is trickier, and I'm not sure what the best way to handle it would be. A first guess would be \DeclareMathAlphabet{\mathsf}{OML}{cmbrm}{m}{it}, but play around with different encodings ({OML}, {OT1}, {T1}, etc.), with {cmbr} vs {cmbrm} and with different shapes {it} vs {n}, etc.. until it looks right with no warnings. – frabjous Oct 15 '10 at 6:03

I didn't like the cmbr fonts so I made myself a boldface using tikz:


    \newcommand{\dik}[1]{\hspace{-1.5pt}\mbox{\!\tikz[baseline=(X.base),text depth=-0cm,text height=0cm,-]{\draw[use as bounding box](0,0)node(X)[,-]{\normalsize#1};
    \foreach\x in{0,45,90,135,180,225,270,315}{
    \draw(0,0)++(\x:\dikte pt)node[,-]{\normalsize#1};}}\!}}

not the most elegant way I recon, but it sure does work. I adapted my section, chapter, mathbf, caption, etc commands to use this \dik font

If you want I'll post the Tex file that contains these adaptions

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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