diff options
author | Ian Darwin <ian@cvs.openbsd.org> | 1998-09-28 16:01:53 +0000 |
---|---|---|
committer | Ian Darwin <ian@cvs.openbsd.org> | 1998-09-28 16:01:53 +0000 |
commit | 5c33bfa47b213f93498fe8c5dc17f90f4d116c06 (patch) | |
tree | 0dcf528168e800bebf68c46bb8296b34b3342caa /usr.bin/learn/lib/eqn/L3.1b | |
parent | 8d70bdbdf6fd88bf88b9a384cfaafb6668c804ec (diff) |
import BTL learn(1) lessons/eqn
Diffstat (limited to 'usr.bin/learn/lib/eqn/L3.1b')
-rw-r--r-- | usr.bin/learn/lib/eqn/L3.1b | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/eqn/L3.1b b/usr.bin/learn/lib/eqn/L3.1b new file mode 100644 index 00000000000..6fe31e213fe --- /dev/null +++ b/usr.bin/learn/lib/eqn/L3.1b @@ -0,0 +1,41 @@ +#once #create message +.ND +.PP +Naturally there is a superscript operation that's exactly +like "sub", except that it goes up instead of down. +It is called "sup". To make +.EQ +x sup i+j +.EN +for example, you type + .EQ + x sup i+j + .EN + +Make the file "Example" produce the same output +as the following, then type "ready". +#once #create Ref +.LP +.EQ +x sup alpha ~=~ y sup pi ~+~ z sup pi +.EN +.pl 1 +#once #create Example +.LP +.EQ +xxx +.EN +.pl 1 +# +#once neqn Ref | nroff >X1 & +#once neqn message Ref | nroff -T$term %s/tinyms - +#user +neqn Example | nroff >X2 +#cmp X1 X2 +#fail +Don't forget that there are spaces +around the = and +. +#cmp X1 X2 +#log +#next +3.1c 10 |