|
|
1.1 ! root 1: #once #create message ! 2: .ND ! 3: .tr %$ ! 4: .EQ ! 5: delim $$ ! 6: .EN ! 7: .LP ! 8: We have introduced a fair number of "magic" words like ! 9: sub and sup and over and pi and sum. What happens if ! 10: you need to print an equation that contains one of these ! 11: words __as ____text, like this: ! 12: .EQ ! 13: e sub "pi" ! 14: .EN ! 15: ! 16: The way to turn off special meanings of magic words is ! 17: to enclose them in the double quotes "...". The $e sub "pi"$ ! 18: was printed with ! 19: .EQ ! 20: e sub "pi" ! 21: .EN ! 22: ! 23: Using this knowledge, modify file "Example" so it produces output ! 24: that looks like the following, then type "ready". ! 25: .pl 1 ! 26: #once #create Ref ! 27: .LP ! 28: .EQ ! 29: lim "sup" f( "pi" ) = p cdot i ! 30: .EN ! 31: .pl 1 ! 32: #once #create Example ! 33: .LP ! 34: .EQ ! 35: lim sup f( pi ) = p cdot i ! 36: .EN ! 37: .pl 1 ! 38: # ! 39: #once neqn Ref | nroff >X1 & ! 40: #once neqn message Ref | nroff -T$term %s/tinyms - ! 41: #user ! 42: neqn Example | nroff >X2 ! 43: #cmp X1 X2 ! 44: #log ! 45: #next ! 46: 11.1b 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.