menges@menges.cs.unc.edu (John Menges) (03/26/91)
I'm new to ATK, using EZ editing text, and want to add a simple equation in the text of a paragraph (not as a display). If I try to use an eq inset, I'm too restricted as to the placement of the equation. The only other thing I can think of is to use a math font. How do I set up ez to allow me to use a math font, and where can I find a math font to use? I'm told style sheets may be what I want, but I've looked through the documentation I have and can't find any reference to style sheets. Can someone point me in the right direction?
dd26+@ANDREW.CMU.EDU ("Douglas F. DeJulio") (03/26/91)
Well, when I want to use equations in text, I take advantage of the fact that ATK uses troff to print. You can use eqn formatting commands, and set them up as FormatNote regions, so they'll be passed through to the processors used for printing. An example would be the following: .EQ delim $$ .EN This is a test. The following should be thes integral from zero to infinity of f(x): $int sub 0 sup inf f(x) ~ dx$. It doesn't look nice but it should print reasonably. For those who can't examine it more closely, the first three lines (.EQ through .EN) are in FormatNote, and the region starting and ending with $ are also in FormatNote. Of course, part of what makes this acceptable to me is that I don't need WYSIWYG. Note, however, that this previews properly. -- Doug DeJulio dd26+@andrew.cmu.edu (AMS/ATK mail) ddj@zardoz.club.cc.cmu.edu (NeXT mail)
nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) (03/26/91)
Excerpts from internet.info-andrew: 25-Mar-91 Re: Math font in EZ "Douglas F. DeJulio"@and (862+0) > For those who can't examine it more closely, the first three lines (.EQ > through .EN) are in FormatNote, and the region starting and ending with > $ are also in FormatNote. Of course, part of what makes this acceptable > to me is that I don't need WYSIWYG. Note, however, that this previews > properly. For the record, when I tried previewing your message this way, the in-line equation looked beautiful. However, the above paragraph got REALLY screwed up starting at the dollar sign. Presumably you need to escape (how?) any use of your delimiter once the delimiter is defined...