Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problem with large delimiters and yhmath
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dan  
View profile  
 More options Feb 19 2009, 6:55 pm
Newsgroups: comp.text.tex
From: Dan <dsss...@gmail.com>
Date: Thu, 19 Feb 2009 15:55:14 -0800 (PST)
Local: Thurs, Feb 19 2009 6:55 pm
Subject: Problem with large delimiters and yhmath
Hi,

I have been having some difficulty with large delimiters.  I need to
typeset a symbol consisting of an array of numbers between \left| and
\right\rangle.  I need \rangle larger than is supplied by amsmath and
so tried using the yhmath package.  This produces a correctly sized
\rangle, but causes strange behavior in all other large symbols.

An example:

\documentclass{amsart}
\usepackage{yhmath}
\begin{document}

\begin{equation*}\left|\begin{gathered} a_{1n}\quad  a_{2n}
      \dots\dots a_{nn}\\a_{1 n-1} \dots a_{n-1 n-1}\\\dots\dots\\ a_
{11}
  \end{gathered}\right\rangle
\end{equation*}

\end{document}

When the dvi file is viewed using kdvi (under Ubuntu 7.10), the left
vertical line looks like a vertical red box while it is completely
absent in the ps file (viewed with kghostview).  The pdf file looks
fine in acroread, but the proportions of the vertical line and \rangle
are badly off when viewed with kpdf.

Does anyone have any suggestions for getting a large \rangle without
this kind of problem?  For example, is it possible to use \rangle (and
\langle) from yhmath while retaining the usual amsmath symbols for all
other large symbols?

Thanks,
Dan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Luecking  
View profile  
 More options Feb 20 2009, 6:26 pm
Newsgroups: comp.text.tex
From: Dan Luecking <LookIn...@uark.edu>
Date: Fri, 20 Feb 2009 17:26:43 -0600
Local: Fri, Feb 20 2009 6:26 pm
Subject: Re: Problem with large delimiters and yhmath
On Thu, 19 Feb 2009 15:55:14 -0800 (PST), Dan <dsss...@gmail.com>
wrote:

It appears to be a bug, but I think it is in dvips.
One can work around it: find yhmath.map (which has
only two lines:
  yhcmex10 Yhcmex <yhcmex.pfb
  yrcmex10 Yhcmex <yhcmex.pfb
)
Remove the first line and run updmap or updmap-sys.
This seems to make things work.

The original yhcmex10 (and the mf version still) contained
copies of those characters of cmex10 that didn't need larger
versions. The type1 version (yhcmex.pfb) doesn't contain
those characters. Now yhcmex10 is a virtual font that
selects characters from cmex10 and a new font named
yrcmex10. That font is nothing more than a .tfm file
and a map line that points to yhcmex.pfb.

So dvips is supposed to
 1) see a call for yhcmex10,
 2) find the virtual font yhcmex10.vf and see that
    it calls for cmex10 and yrcmex10.

Instead, it seems to find yhcmex10 in the map file and
use it directly, bypassing the virtual font stage. Then
it trys to find characters in yhcmex.pfb that don't exist
and really should be taken from cmex10.pfb.  

Removing yhcmex10 from the map file forces dvips to seek
a way to create it and the first thing it tries is what
it should have tried first to begin with: the virtual font.

[There is another (minor) problem and it is with the yhmath
packaging: Since yhcmex10 points to cmex10 + yrcmex10,
dvi viewers that correctly follow the vf and need to make
pk files will try to make yrcmex10.pk and find there is no
.mf source file for it. It will therefore end up calling
ps2pk instead of metafont. Since yhcmex10 was originally
written for metafont, i don't think this is the highest
quality way to proceed. In my system, I have copied
yhcmex10.mf to yrcmex10.mf.]

>When the dvi file is viewed using kdvi (under Ubuntu 7.10), the left
>vertical line looks like a vertical red box while it is completely
>absent in the ps file (viewed with kghostview).  The pdf file looks
>fine in acroread, but the proportions of the vertical line and \rangle
>are badly off when viewed with kpdf.

I don't know what causes some of these problems. On my system
only the PS is wrong (and PDF's made from it).  

Dan
To reply by email, change LookInSig to luecking


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »