summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/eqn/L2.1e
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/learn/lib/eqn/L2.1e')
-rw-r--r--usr.bin/learn/lib/eqn/L2.1e34
1 files changed, 34 insertions, 0 deletions
diff --git a/usr.bin/learn/lib/eqn/L2.1e b/usr.bin/learn/lib/eqn/L2.1e
new file mode 100644
index 00000000000..bf6eb69e147
--- /dev/null
+++ b/usr.bin/learn/lib/eqn/L2.1e
@@ -0,0 +1,34 @@
+#once #create message
+.ND
+.PP
+For practice, in this directory there is a file called
+"Example". It contains an equation. Make it
+look like this:
+.EQ
+int from i to j f( pi ) ~=~ LAMBDA (x)
+.EN
+by changing the character names as appropriate
+and adding spaces where needed.
+Type "ready" when you're satisfied.
+.pl 1
+#once neqn message | nroff -T$term %s/tinyms -
+#once #create Ref
+.LP
+.EQ
+int from i to j f( pi ) ~=~ LAMBDA (x)
+.EN
+.pl 1
+#once #create Example
+.LP
+.EQ
+sum from i to j f(q) = lambda (x)
+.EN
+.pl 1
+#once neqn Ref | nroff >X2 &
+#user
+neqn Example | nroff >X1
+#cmp X1 X2
+#log
+#next
+2.1f 10
+2.2e 5