GeneralWould you please explain an error when buiding a file?

General information and discussion about TeXnicCenter
Post Reply
alwayssmile68
Posts: 5
Joined: Wed Oct 01, 2008 4:35 pm

Would you please explain an error when buiding a file?

Post by alwayssmile68 »

When I build a file, the following is produced. I have no idea of this kind of error. Please interpret it. Thanks.
-------------------------------------------------------------------------------------------------
Latex font warning: Font shape `OT1/cmss/m/it' in size <10> not available.
(font) font shape `OT1/cmss/m/s1' tried instead on input line 56.
--------------------------------------------------------------------------------------------------

The following is the said original input line:

---------------------------------------------------------------------------------------------------
\item ev\[~e_1:E \textit{op}:Op ~e_2: E\](sto, env) \=
= ev \[~e_1\](sto, env) + ev \[~e_2\](sto, env) \quad if \textit{op} = + \=
\textit{or} \=
= ev \[~e_1\](sto, env) $-$ ev \[~e_2\](sto, env) \quad if \textit{op} = $-$ \=
\textit{or} \=
\ldots

---------------------------------------------------------------------------------------------------

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

ptoche
Posts: 49
Joined: Thu Apr 12, 2007 10:41 am

Re: Would you please explain an error when buiding a file?

Post by ptoche »

the requested font is missing, so a substitute was used.

I'm no expert on this, but try some of the possibilities below (in the preamble), it might fix it.

\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{lmodern}
%\usepackage[english]{babel}
%\usepackage{pslatex}%obsolete, use mathptmx or helvet-scaled
\usepackage[scaled=.90]{helvet}
%\usepackage{times,mathptmx}
\usepackage{textcomp}
%\usepackage{cmbright}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Would you please explain an error when buiding a file?

Post by Stefan Kottwitz »

Hi,

this problem was also discussed here, there's an explanation of this error and a description to fix it.

Stefan
LaTeX.org admin
Post Reply