Article View: comp.text
Article #3403Re: Setting large slashed fractions with eqn
From: scott
Date: Sun, 08 Feb 1987 06:54
Date: Sun, 08 Feb 1987 06:54
40 lines
2083 bytes
2083 bytes
In article <2590@phri.UUCP> roy@phri.UUCP (Roy Smith) writes:
[equation picture deleted for space]
>but the best I can come up with is:
>
> .EQ
> up 30 1 over
> { down 30 { sum from { n ^ = ^ 0} to N
> { { left [ N! over { (N-n)!n! } right ] } sup size +2 2 }
> } }
> .EN
> X
>which gives you the --- form instead of the X / Y that I want (no comments
> Y
Try this:
.EQ
up 30 1 ~ left "/" ~
{ down 30 { sum from { n ^ = ^ 0} to N
{ left [ N! over { (N-n)!n! } right ] } } right "" sup 2
.EN
> BTW, withough the "up/down 30" commands, the numerator and
>demoninator run right into the fraction bar. Also, the superscript 2 comes
>out too small unless I do the "size +2" stuff. Is this because I did
>something wrong or is it an intrinsic eqn problem?
Disclaimer: The 'left "/"' might be a something hacked into the version
of eqn I last looked at. The code is so bad looking that it is
difficult to determine. If it works, you have it.
The ~ move 1 em space while the ^ moves 1 en space. So if more room is
needed, add more ~. The right "" should solve the space problems with
the superscript. This is not a bug since all superscripts are designed
to be (by default) 4 point sizes smaller than the text point size. If
it doesn't work, add the size +2 again.
If this does not work, drop me an email note and we can arrange to talk
(I'm in NY).
Scott Barman
{philabs, pyrnj}!tg!scott
Technical Details
Message-ID:
<121@tg.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!seismo!mcnc!philabs!tg!scottReferences:
<2590@phri.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!seismo!mcnc!philabs!tg!scott From: scott@tg.UUCP Newsgroups: comp.text Subject: Re: Setting large slashed fractions with eqn Message-ID: <121@tg.UUCP> Date: Sun, 8-Feb-87 01:54:10 EST Article-I.D.: tg.121 Posted: Sun Feb 8 01:54:10 1987 Date-Received: Tue, 10-Feb-87 04:40:19 EST References: <2590@phri.UUCP> Reply-To: scott@tg.UUCP (Scott Barman) Distribution: world Organization: Townsend Greenspan & Co., Inc. Lines: 40