[comp.text.tex] This can't happen

kania@ronzoni.berkeley.edu (Joanna Kania Bartoszynska) (12/08/90)

What is wrong with the following file? (The >'s are not really in the
file, of course)
The problem was to put a tilde under a symbol. 

> \baselineskip=1.01\baselineskip
>
>\def\name#1{\mathchoice
>{{\mathop{#1}\limits_{\displaystyle\sim}}}%
>{{\smash{\mathop{#1}\limits_{\textstyle\sim}}\vphantom{#1}}}%
>{{\mathop{#1}\limits_{\scriptstyle\sim}}}%
>{{\mathop{#1}\limits_{\scriptscriptstyle\sim}}}%
>}
>
>$x +  y_{\name z} + \name y_{\name z}^t$
>
>$$x +y_{\name z} + \name y_{\name z}^t$$
>
>\bye

When I TeX'ed it, I received this log file: 
>This is Common TeX, Version 2.9 (preloaded format=plain 88.7.25) 7 DEC 1990
> 18:00
>**m 
>(./m.tex
>! This can't happen (mlist3).
>l.13 ... + \name y_{\name z}^t$$
>                                
>I'm broken. Please show this to someone who can fix can fix
>
>No pages of output.

Who can fix can fix ? 

Martin Goldstern
goldstrn@humus.huji.ac.il

(I am posting this from a friend's account.  
Please DO NOT reply to kania@math.berkeley.edu)

kincaid@math.ksu.edu (Joe Kincaid) (12/09/90)

In article <1990Dec7.163059.23891@agate.berkeley.edu>,
kania@ronzoni.berkeley.edu (Joanna Kania Bartoszynska) writes:
> What is wrong with the following file? (The >'s are not really in the
> file, of course)
> The problem was to put a tilde under a symbol. 
> 
> > \baselineskip=1.01\baselineskip
> >
> >\def\name#1{\mathchoice
> >{{\mathop{#1}\limits_{\displaystyle\sim}}}%
> >{{\smash{\mathop{#1}\limits_{\textstyle\sim}}\vphantom{#1}}}%
> >{{\mathop{#1}\limits_{\scriptstyle\sim}}}%
> >{{\mathop{#1}\limits_{\scriptscriptstyle\sim}}}%
> >}
> >
> >$x +  y_{\name z} + \name y_{\name z}^t$
> >
> >$$x +y_{\name z} + \name y_{\name z}^t$$
> >
> >\bye
> 
> When I TeX'ed it, I received this log file: 
> >This is Common TeX, Version 2.9 (preloaded format=plain 88.7.25) 7 DEC 1990
> > 18:00
> >**m 
> >(./m.tex
> >! This can't happen (mlist3).
> >l.13 ... + \name y_{\name z}^t$$
> >                                
> >I'm broken. Please show this to someone who can fix can fix
> >
> >No pages of output.
> 
> Who can fix can fix ? 
> 
> Martin Goldstern
> goldstrn@humus.huji.ac.il
> 
> (I am posting this from a friend's account.  
> Please DO NOT reply to kania@math.berkeley.edu)

  I tried this and it did happen.  In fact it produces nice little
tildes exactly where you wanted them.  I suggest you check your
implementation of
TeX for bugs or your file for typos.  If you can't find it, check with your 
system guru or pass the buck to whomever installed it. :-)


Joseph Kincaid                 |  All the views contained herein are my own.
kincaid@einstein.mpccl.ksu.edu |  Everything else I share with my wife.
KSU - Mathematics Department   |  Come to think, those are probably hers, too.