|
|
1.1 ! root 1: #print ! 2: Since spaces are thrown away, what do you do when ! 3: you want spaces? The answer is that you have to ask for ! 4: them explicitly. ! 5: If you type a "~" (tilde) it will be replaced by a space ! 6: on output; use one tilde for each space. ! 7: Thus to get ! 8: a + b ! 9: you need ! 10: .EQ ! 11: a~+~b ! 12: .EN ! 13: ! 14: Modify the equation in file "Example" so there is one space ! 15: around each of the operators =, + and -, so it looks like ! 16: ! 17: a = b + c - d ! 18: ! 19: Print it with neqn and nroff -ms to verify it. ! 20: Type "ready" when done. ! 21: #once #create Ref ! 22: .PP ! 23: You probably thought you were done with this ridiculous ! 24: example of just ! 25: .EQ ! 26: a ~=~ ! 27: b ~+~ c ! 28: ~-~d ! 29: .EN ! 30: Sorry, but you will probably even see it again. ! 31: .pl 1 ! 32: #once neqn Ref | nroff >X1 & ! 33: #once #create Example ! 34: .PP ! 35: You probably thought you were done with this ridiculous ! 36: example of just ! 37: .EQ ! 38: a = ! 39: b + c ! 40: -d ! 41: .EN ! 42: Sorry, but you will probably even see it again. ! 43: .pl 1 ! 44: #user ! 45: neqn Example | nroff >X2 ! 46: #cmp X1 X2 ! 47: #log ! 48: #next ! 49: 2.1c 10 ! 50: 2.2b 5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.