summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/eqn/L7.1c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/learn/lib/eqn/L7.1c')
-rw-r--r--usr.bin/learn/lib/eqn/L7.1c35
1 files changed, 35 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/eqn/L7.1c b/usr.bin/learn/lib/eqn/L7.1c
new file mode 100644
index 00000000000..0d20a68c23e
--- /dev/null
+++ b/usr.bin/learn/lib/eqn/L7.1c
@@ -0,0 +1,35 @@
+#once #create message
+.ND
+.tr %$
+.EQ
+delim $$
+.EN
+.LP
+It is also quite permissible to leave out
+either the "from" part or the "to" part
+of a from-to construction. For example,
+modify "Example" so its output looks like this,
+then type "ready".
+.pl 1
+#once #create Ref
+.LP
+.EQ
+lim from {x-> pi /2} ( tan~x) sup {sin~2x}~=~1
+.EN
+.pl 1
+#once #create Example
+.LP
+.EQ
+lim from xxx ( tan~x) sup {sin~2x}~=~1
+.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
+#log
+#next
+7.1d 10
+7.2c 5