## bad \sim in subscript, mtp2 beta 0.991

For feedback and discussion for testers of the MathTime Professional II fonts.

murray
Posts: 47
Joined: Tue Feb 07, 2006 3:40 pm
Location: Amherst, MA, USA
Contact:

### bad \sim in subscript, mtp2 beta 0.991

As a subscript, the \sim character is neither printing clearly nor previewing clearly in MiKTeX. In the source LaTeX below, this is in the SUBSCRIPT to the \sim in item 1 of the Theorem.

After copying the entire new distribution into localtexmf, I did, of course, run mkfntmap and referesh the filename database in MiKTeX before trying this.

On the other hand, this symbol is OK in PCTeX.

%%%%%

\documentclass{book}
\usepackage{amsmath,amsthm}
\usepackage[scaled=0.92]{helvet}
\renewcommand{\rmdefault}{ptm}
\usepackage[subscriptcorrection,slantedGreek,nofontinfo,mtpbb,eucal,boldalphabet]{mtpro2}

\newtheorem{theorem}{Theorem}[section]

\DeclareMathOperator{\partsim}{\sim_{\!\mathcal{A}}}
\newcommand{\quotset}[1]{{#1}/\!\sim}
\newcommand{\subquotset}[1]{{#1}/\!\mspace{3mu}\sim}

\begin{document}

\begin{theorem}
Let $X$ be a set. Then:
\begin{enumerate}
\item For each equivalence relation $\sim$ on $X$,
$\sim_{\!\mspace{4mu}(\subquotset{X})}\,\,=\,\,\sim .$
\item For each partition $\mathcal{A}$ of $X$,
$\quotset{\left(\partsim\right)}\,\,=\mathcal{A} .$
\end{enumerate}
\end{theorem}
\end{document}
kolchin
Posts: 15
Joined: Thu Oct 27, 2005 8:53 pm
Location: Moscow, Russia
Contact:

### Ok under teTeX

Your example yields perfect output under teTeX
(TeX (Web2C 7.3.1) 3.14159,
xdvi version 22.84.10 (@(#)Motif Version 2.1.30, runtime version 2.1)
Michael Spivak
Posts: 52
Joined: Mon Oct 10, 2005 2:10 pm
I suspect that this is a problem with MikTeX; the character in question has two points that are extremely close together, and possibly this creates some problems. I have emailed you a new version where those pairs are simply replaced by a single point. See if it helps.
WaS
Posts: 27
Joined: Tue Feb 07, 2006 7:13 pm
Location: Erlangen, Germany
Contact:

### Re: bad \sim in subscript, mtp2 beta 0.991

murray wrote:As a subscript, the \sim character is neither printing clearly nor previewing clearly in MiKTeX. [...]
On the other hand, this symbol is OK in PCTeX.
What do you mean by "MikTex" vs "PCTeX"?
Did you create Postscipt or PDF output?
Which Postscript or PDF viewer are you using?
Are you using different viewers in both environments?
Does the result depend on the way the output was created,
or does it depend on the previewing program used?

Walter
murray
Posts: 47
Joined: Tue Feb 07, 2006 3:40 pm
Location: Amherst, MA, USA
Contact:

### Re: bad \sim in subscript, mtp2 beta 0.991

WaS wrote:
murray wrote:As a subscript, the \sim character is neither printing clearly nor previewing clearly in MiKTeX. [...]
On the other hand, this symbol is OK in PCTeX.
What do you mean by "MikTex" vs "PCTeX"?
Did you create Postscipt or PDF output?
Which Postscript or PDF viewer are you using?
Are you using different viewers in both environments?
Does the result depend on the way the output was created,
or does it depend on the previewing program used?

Walter
With PCTeX, I'm using PCTeX's own previewer. With MiKTeX, I'm using the Yap previewer that comes with MiKTeX. I'm viewing directly on-screen the dvi in each case that is created by running that TeX system's latex command.
zedler
Posts: 15
Joined: Fri Mar 03, 2006 1:50 am

### Re: bad \sim in subscript, mtp2 beta 0.991

With the first beta version of MTPro2 I can reproduce the error with Miktex (Fontlab also showed an erraneous glyph), with the current beta everything is fine.

Michael
WaS
Posts: 27
Joined: Tue Feb 07, 2006 7:13 pm
Location: Erlangen, Germany
Contact:
@murray:

Yes, there was a bug concerning \sim, but it should have been fixed
both on Y&Y-TeX and on MikTeX. It seems as if you had erroneaoul y
installed wrong tfm and/or pfb files on MikTeX.
murray
Posts: 47
Joined: Tue Feb 07, 2006 3:40 pm
Location: Amherst, MA, USA
Contact:

### Bug fixed in \sim for MiKTeX?

WaS wrote:@murray:

Yes, there was a bug concerning \sim, but it should have been fixed
both on Y&Y-TeX and on MikTeX. It seems as if you had erroneaoul y
installed wrong tfm and/or pfb files on MikTeX.
I'll check this Wednesday.
murray
Posts: 47
Joined: Tue Feb 07, 2006 3:40 pm
Location: Amherst, MA, USA
Contact:

### bad subscript \sim persists in MiKTeX

WaS wrote:@murray:

Yes, there was a bug concerning \sim, but it should have been fixed
both on Y&Y-TeX and on MikTeX. It seems as if you had erroneaoul y
installed wrong tfm and/or pfb files on MikTeX.
I just checked this again after replacing from mtp2fonts.zip.tpm dated 3/25/2006 all the files that go into localtexmf, executing again command mkfntmap, and refreshing MiKTeX's file database. (I even replaced with the 3/25/2006 versions all the pfb's and pfm's that go into the separate location where Adobe Type Manager Deluxe 4.2 expects to find them and re-activated them in ATM.)

Still a _subscript_ \sim does not preview correctly in Yap nor print properly from Yap: The left and right ends of the character are very thick.

NOTE: This happens ONLY at the default size of 10pt for the document class. If I use option [11pt] or [10pt], on the other hand, the subscript \sim is normal!

Here's the (now simplified) source file:

\documentclass{article}

\usepackage[subscriptcorrection,slantedGreek,nofontinfo,mtpbb,
eucal,boldalphabet]{mtpro2}

\begin{document}
$\sim X_{\sim}$
\end{document}
zedler
Posts: 15
Joined: Fri Mar 03, 2006 1:50 am

### Re: bad subscript \sim persists in MiKTeX

Still a _subscript_ \sim does not preview correctly in Yap nor print properly from Yap: The left and right ends of the character are very thick.
You need to delete the old mtpro2-related pk files.

Michael
murray
Posts: 47
Joined: Tue Feb 07, 2006 3:40 pm
Location: Amherst, MA, USA
Contact:

### Re: bad subscript \sim persists in MiKTeX; FIXED!

zedler wrote:
Still a _subscript_ \sim does not preview correctly in Yap nor print properly from Yap: The left and right ends of the character are very thick.
You need to delete the old mtpro2-related pk files.

Michael
Aha! That fixes the problem. I thank you. And I think Michael Spivak will be happy to see that this problem has gone away.