bad \sim in subscript, mtp2 beta 0.991
Moderators: PTIForAdmin, WaS, Michael Spivak
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}
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}
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)
(TeX (Web2C 7.3.1) 3.14159,
xdvi version 22.84.10 (@(#)Motif Version 2.1.30, runtime version 2.1)
-
- Posts: 52
- Joined: Mon Oct 10, 2005 2:10 pm
Re: bad \sim in subscript, mtp2 beta 0.991
What do you mean by "MikTex" vs "PCTeX"?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.
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
Re: bad \sim in subscript, mtp2 beta 0.991
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.WaS wrote:What do you mean by "MikTex" vs "PCTeX"?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.
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
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
Michael
Bug fixed in \sim for MiKTeX?
I'll check this Wednesday.WaS wrote:@murray:
Yes, there was a bug concerning \sim, but it should have been fixed
in the meantime. Please, make sure to use the latest version of the fonts,
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.
bad subscript \sim persists in 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.)WaS wrote:@murray:
Yes, there was a bug concerning \sim, but it should have been fixed
in the meantime. Please, make sure to use the latest version of the fonts,
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.
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}
Re: bad subscript \sim persists in MiKTeX
You need to delete the old mtpro2-related pk files.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.
Michael
Re: bad subscript \sim persists in MiKTeX; FIXED!
Aha! That fixes the problem. I thank you. And I think Michael Spivak will be happy to see that this problem has gone away.zedler wrote:You need to delete the old mtpro2-related pk files.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.
Michael