Discussion:
[MiKTeX] cmbright: Font shape `OT1/ptm/bx/n' in size <5> not available
Enrico Toniolo
2011-11-28 09:43:58 UTC
Permalink
Hello to all,

I applied the package cmbright to an old document and it happen that some
font shape/dimensions are not available:

LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <5> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line
724.
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <5> not available
(Font) Font shape `OT1/ptm/b/it' tried instead on input line
724.
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line
724.
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <7> not available
(Font) Font shape `OT1/ptm/b/it' tried instead on input line
724.
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <8> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line
724.


1. Is it possible and how to create the missing "cmbright" fonts?
2. Is it possible to give online command for such font creation?


Example where such thing heppens:

\documentclass{article}
\usepackage{cmbright} % if commented: no warning about size/shape font
avaiability
\begin{document}
x\footnotesize y\tiny z \bf w\normalsize
$$2^x$$ \scriptsize $$3^x$$ \boldmath $$4^x$$
\end{document}

thank you in advance
best regards

ENRICO TONIOLO






_________________________________________________________________________________________________________________
ATTENTION: This e-mail message contains confidential and/or legally
privileged information intended solely for the person to whom it is
addressed. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution of the contents of this e-mail
message is strictly prohibited. If you have received this communication in
error, please call us immediately to let us know and delete it by your
computer. Thank you.
ATTENZIONE: Le informazioni contenute nella presente comunicazione possono
essere riservate e sono comunque destinate esclusivamente alle persone
sopraindicate. Nel caso in cui il presente messaggio venga ricevuto da
persona diversa dal destinatario si avverte che ne sono proibite la
diffusione, la distribuzione nonché l’estrazione di copia. Nel caso aveste
ricevuto il presente messaggio per errore Vi preghiamo di informarci
immediatamente per telefono e di eliminarlo dal vostro computer. Grazie.
ATTENTION: Les informations contenues dans la présente communication sont
couvertes par le secret professionnel et sont à l’attention exclusive de
leur destinataire. Toute utilisation, distribution, divulgation ou
reproduction en sont interdites. En cas d’erreur de transmission, nous
vous prions de nous en informer immédiatement par téléphone et d'éliminer
le présent message e-mail de votre ordinateur. Merci.
ATENCION: Este mensaje es solamente para la persona a la que va dirigido.
Puede contener información confidencial o legalmente protegida. No debe,
directa o indirectamente, usar, revelar, distribuir, imprimir o copiar
ninguna de las partes de este mensaje si no es usted el destinatario. Si
usted ha recibido este mensaje por error, le rogamos que borre de su
sistema inmediatamente el mensaje y rogamos de informarnos inmediatamente
por teléfono, y destruirlo y eliminarlo de su ordenador. Gracias.
______________________________________________________________________________________________
Ulrike Fischer
2011-11-28 10:46:52 UTC
Permalink
Post by Enrico Toniolo
Hello to all,
I applied the package cmbright to an old document and it happen that some
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <5> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line
724.
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <5> not available
(Font) Font shape `OT1/ptm/b/it' tried instead on input line
724.
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line
724.
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <7> not available
(Font) Font shape `OT1/ptm/b/it' tried instead on input line
724.
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <8> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line
724.
1. Is it possible and how to create the missing "cmbright" fonts?
ptm is times and not cmbright. All these substituation infos are
harmless. They tell you that series "b" (bold) has been used instead
of "bx" (bold extra).
I doubt very much that this example gives the messages above. It
certainly doesn't do it on my system (current miktex 2.9).
--
Ulrike Fischer
Enrico Toniolo
2011-11-28 12:08:34 UTC
Permalink
Post by Ulrike Fischer
Post by Enrico Toniolo
Hello to all,
I applied the package cmbright to an old document and it happen that
some
Post by Ulrike Fischer
...
ptm is times and not cmbright. All these substituation infos are
harmless. They tell you that series "b" (bold) has been used instead
of "bx" (bold extra).
I doubt very much that this example gives the messages above. It
certainly doesn't do it on my system (current miktex 2.9).
--
Ulrike Fischer
Hello,

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.


For example, as conseguence of that I have {\scriptsize\boldmath $$4^x$$}
replaced by {\scriptsize $$4^x$$}.

Is there any solution?

thank you
best regards



ENRICO TONIOLO







_________________________________________________________________________________________________________________
ATTENTION: This e-mail message contains confidential and/or legally
privileged information intended solely for the person to whom it is
addressed. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution of the contents of this e-mail
message is strictly prohibited. If you have received this communication in
error, please call us immediately to let us know and delete it by your
computer. Thank you.
ATTENZIONE: Le informazioni contenute nella presente comunicazione possono
essere riservate e sono comunque destinate esclusivamente alle persone
sopraindicate. Nel caso in cui il presente messaggio venga ricevuto da
persona diversa dal destinatario si avverte che ne sono proibite la
diffusione, la distribuzione nonché l’estrazione di copia. Nel caso aveste
ricevuto il presente messaggio per errore Vi preghiamo di informarci
immediatamente per telefono e di eliminarlo dal vostro computer. Grazie.
ATTENTION: Les informations contenues dans la présente communication sont
couvertes par le secret professionnel et sont à l’attention exclusive de
leur destinataire. Toute utilisation, distribution, divulgation ou
reproduction en sont interdites. En cas d’erreur de transmission, nous
vous prions de nous en informer immédiatement par téléphone et d'éliminer
le présent message e-mail de votre ordinateur. Merci.
ATENCION: Este mensaje es solamente para la persona a la que va dirigido.
Puede contener información confidencial o legalmente protegida. No debe,
directa o indirectamente, usar, revelar, distribuir, imprimir o copiar
ninguna de las partes de este mensaje si no es usted el destinatario. Si
usted ha recibido este mensaje por error, le rogamos que borre de su
sistema inmediatamente el mensaje y rogamos de informarnos inmediatamente
por teléfono, y destruirlo y eliminarlo de su ordenador. Gracias.
_________________________________________________________________________________________________________________
Ulrike Fischer
2011-11-28 19:01:21 UTC
Permalink
Post by Enrico Toniolo
yes in fact in the previous email I copied the wrong things. Sorry for
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.
Post by Enrico Toniolo
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
Loading...