Re: Rif: Re: cmbright: Font shape `OT 1/ptm/bx/n' in size <5> not available
Ulrike Fischer <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <[email protected]> |
Am Mon, 28 Nov 2011 13:08:34 +0100 schrieb Enrico Toniolo:
> yes in fact in the previous email I copied the wrong things. Sorry for
> that. The right warnings are:
>
> LaTeX Font Warning: Font shape `OT1/cmbr/bx/n' in size <5> not available
> (Font) Font shape `OT1/cmbr/m/n' tried instead on input line
> 52.
> LaTeX Font Warning: Font shape `OT1/cmbr/bx/sl' undefined
> (Font) using `OT1/cmbr/bx/n' instead on input line 52.
> LaTeX Font Warning: Font shape `OT1/cmbr/bx/n' in size <7> not available
> (Font) Font shape `OT1/cmbr/m/n' tried instead on input line
> 52.
> LaTeX Font Warning: Font shape `OT1/cmbr/bx/sl' in size <7> not available
> (Font) Font shape `OT1/cmbr/m/n' tried instead on input line
> 52.
> LaTeX Font Warning: Font shape `OT1/cmbr/bx/n' in size <8> not available
> (Font) Font shape `OT1/cmbr/m/n' tried instead on input line
> 52.
>
I get with your only example only the first and the last warning.
>
> For example, as conseguence of that I have {\scriptsize\boldmath $$4^x$$}
> replaced by {\scriptsize $$4^x$$}.
>
> Is there any solution?
Well according the docu it is a design decision: "the bx series of
the text fonts is available with sizes of 9 pt and above only;"
But you can force cmbright to use the 10point bold font:
\documentclass{article}
\usepackage{cmbright} %
\DeclareFontShape{OT1}{cmbr}{bx}{n}{%
<->cmbrbx10%
}{}
\begin{document}
x\footnotesize y\tiny z \bf w\normalsize
$$2^x$$ \scriptsize $$3^x$$ \boldmath $$4^x$$
\end{document}
--
Ulrike Fischer
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d