|
|
1.1 ! root 1: #print ! 2: The "-ms" package lets you do some other nice things as ! 3: well. For example, you can arrange for a number to be ! 4: placed on an equation, in the right margin: ! 5: ! 6: a = b + c - d (1.23) ! 7: ! 8: by placing the number after the .EQ on the same line, ! 9: like this: ! 10: ! 11: .EQ (1.23) ! 12: ! 13: You must leave a space between .EQ and the number. ! 14: ! 15: In the file "Example", number the equation "17.1a" ! 16: and print it properly with neqn and nroff -ms. ! 17: (Don't forget -Txxx for your terminal.) ! 18: Then type "ready". ! 19: #once #create Example ! 20: .PP ! 21: This is a tiny little text ! 22: that includes one equation ! 23: or at least it will when you find this line: ! 24: .EQ ! 25: x sub i = y sub i + z sub i ! 26: .EN ! 27: and convert it into an equation. ! 28: (Naturally I changed it again.) ! 29: .pl 1 ! 30: #user ! 31: grep '\.EQ *(17\.1a)$' <Example >/dev/null ! 32: #log ! 33: #next ! 34: 1.1e 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.