Article View: comp.text
Article #3380Setting large slashed fractions with eqn
From: roy
Date: Wed, 04 Feb 1987 18:47
Date: Wed, 04 Feb 1987 18:47
43 lines
2163 bytes
2163 bytes
I want to set the following fraction:
/
/ N +--- --+ 2
/ ---- | N! |
1 / \ | ---------- |
/ / | (N-n)!n! |
/ ---- +--- ---+
/ n = 0
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
about which is the "preferred" style, please). The problem is that I can't
figure out how to get the large-sized "/" in eqn. Is it possible, short of
doing something sick like "size 36 /"?
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? Could it be badly
designed fonts? I did this on an Apple LaserWriter, using Times and
Adobe's transcript package (i.e. ptroff).
Presumably TeX has an easy way to do this; if somebody could show
we how to do it in TeX, without any religious flamage about TeX vs. troff,
I would appreciate that too.
--
Roy Smith, {allegra,cmcl2,philabs}!phri!roy
System Administrator, Public Health Research Institute
455 First Avenue, New York, NY 10016
"you can't spell deoxyribonucleic without unix!"
Technical Details
Message-ID:
<2590@phri.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!codas!peora!pesnta!phri!royShow 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!burl!codas!peora!pesnta!phri!roy From: roy@phri.UUCP Newsgroups: comp.text Subject: Setting large slashed fractions with eqn Message-ID: <2590@phri.UUCP> Date: Wed, 4-Feb-87 13:47:01 EST Article-I.D.: phri.2590 Posted: Wed Feb 4 13:47:01 1987 Date-Received: Sat, 7-Feb-87 09:21:11 EST Reply-To: roy@phri.UUCP (Roy Smith) Distribution: world Organization: Public Health Research Inst. (NY, NY) Lines: 43