l7.1a
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1A 代码 · 共 50 行
1A
50 行
#once #create message.ND.tr %$.EQdelim $$.EN.LPThe next construction we're going to look atis one for putting things above and below otherthings, in a rather specialized way.For example, if you want something like.EQsum from i to j.ENyou type .EQ sum from i to j .ENThe words "from" and "to" are more magic, likesub or sup or over. The "from" part is centeredunder the main piece; the "to" part is centeredabove it.As a warmup, modify "Example" so it producesoutput that looks like the following, then typeready..pl 1#once #create Ref.EQdelim $$.EN.LPLet $Q( pi )$ be $sum from {i= pi sub 1} to {i= pi sub 2} x sub i$..pl 1#once #create Example.EQdelim $$.EN.LPLet $Q( pi )$ be $sum {i= pi sub 1} {i= pi sub 2} x sub i$..pl 1##once neqn Ref | nroff >X1 &#once neqn message Ref | nroff -T$term %s/tinyms -#userneqn Example | nroff >X2#cmp X1 X2#log#next7.1b 10
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?