[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bert Horn on New Math



Laurent Siebenmann wrote:

>      Quick question: Do you recommend Lucida bright for
> heavy mathematics. I am interested but fear the math sys has
> never been debugged.

and Berthold Horn replied:

> Yes, I can recommend Lucida Bright + Lucida New Math for
> heavy math.  The fonts and the TeX macro files have been
> thoroughly tested. 

I know of at least one bug in the TeX macro files coming with LB+LNM from
Y&Y. I announced it on comp.text.tex, and was met with a stunned silence; I
presume our news feed was up the creek.

In essence, some closing-bracket symbols are given the catcodes of
opening-brackets. Here is what I wrote:

> Newsgroups: comp.text.tex
> Path: cs18.cs.aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jeremy
> From: jeremy@hmu1.cs.aukuni.ac.nz (Jeremy Gibbons)
> Subject: Bugs in Y&Y's TeX macros for Lucida fonts
> Sender: news@cs.aukuni.ac.nz (USENET News System)
> Organization: Funky Monkey Multimedia Corp.
> Date: Mon, 6 Sep 1993 07:00:53 GMT
> 
> We bought Y&Y's Lucidabright fonts recently. They came with a whole bunch
> of very useful TeX macros to access the fonts. I've been getting anomolous
> results in setting maths with them; the spacing in `$(1+2)+3$' is all wrong
> (the second `+' has no spacing round it, whereas the first is nicely
> spaced). It turns out the the problem is wrong settings in the files
> lcdplain.tex and lcdlatex.tex; they contain the lines
> 
> > \mathcode`\[="4186 \delcode`\[="186302 
> > \mathcode`\]="4187 \delcode`\]="187303
> 
> and
> 
> > \mathcode`\(="4184 \delcode`\(="184300
> > \mathcode`\)="4185 \delcode`\)="185301
> 
> and
> 
> > \def\ldbrack{\delimiter"4182382}
> > \def\rdbrack{\delimiter"4183383}
> 
> That is, `]', `)' and `\rdbrack' are all defined to be `openings' rather
> than `closings'. The fix is to use 5s rather than 4s:
> 
> > \mathcode`\[="4186 \delcode`\[="186302 
> > \mathcode`\]="5187 \delcode`\]="187303
> 
> and
> 
> > \mathcode`\(="4184 \delcode`\(="184300
> > \mathcode`\)="5185 \delcode`\)="185301
> 
> and
> 
> > \def\ldbrack{\delimiter"4182382}
> > \def\rdbrack{\delimiter"5183383}
> 
> Berthold: could you pass this on to Y&Y? Thanks.
> 
> Jeremy
> --
> Jeremy Gibbons <jeremy@cs.aukuni.ac.nz>   tel: +64 9 373 7599 x5120
>    Department of Computer Science,              fax: +64 9 373 7453
>    University of Auckland, Private Bag 92019, Auckland, New Zealand.