|
|
1.1 ! root 1: #print ! 2: Most technical papers and memos consist of normal text ! 3: interspersed with occasional (or frequent) mathematical ! 4: expressions, such as the ones in the last lesson. ! 5: To tell neqn that something is mathematics, not normal ! 6: text, you must surround it by two "commands": ! 7: ! 8: A line that begins with ! 9: .EQ ! 10: marks the start of an expression. ! 11: ! 12: A line that begins with ! 13: .EN ! 14: marks the end of the expression. ! 15: ! 16: Thus, the lines ! 17: .EQ ! 18: x=y+1 ! 19: .EN ! 20: represent the equation ! 21: ! 22: x=y+1 ! 23: ! 24: The file "Example" in this directory has a line that contains ! 25: + and - signs. Make that line into an equation ! 26: by adding .EQ and .EN before and after. ! 27: Print "Example" with neqn and nroff (and the appropriate -Txxx), ! 28: then type "ready". ! 29: #once #create Ref ! 30: This is a tiny little text ! 31: that includes one equation ! 32: or at least it will when you find this line: ! 33: .ce ! 34: .EQ ! 35: a = b + c - d ! 36: .EN ! 37: and convert it into an equation. ! 38: .pl 1 ! 39: #once #create Example ! 40: This is a tiny little text ! 41: that includes one equation ! 42: or at least it will when you find this line: ! 43: .ce ! 44: a = b + c - d ! 45: and convert it into an equation. ! 46: .pl 1 ! 47: #user ! 48: #cmp Ref Example ! 49: #log ! 50: #next ! 51: 1.1c 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.