l1.1c
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1C 代码 · 共 40 行
1C
40 行
#printIt is usually wise to do your formatting withthe "-ms" macro package developed by Mike Lesk, sinceit does a lot of dirty work for you without any efforton your part.One of the things "-ms" does is to arrange that equationsare "displayed" - that is, that they are neatly centeredand set off from the surrounding text.Most of the "-ms" package is described in another scriptcalled "macros", which you may have already learned.For now, we need only know this much: to use "-ms"with neqn, add "-ms" to your command line, right afterthe word "nroff", like this neqn files... | nroff -ms -TxxxNotice where the "-ms" goes.In this directory is a file called "Example".To prove that you can type the "-ms" in the right place,print "Example" with "-ms", then type "ready".#once #create Example.PPThis is a tiny little textthat includes one equationor at least it will when you find this line:.EQx sub i = y sub i.ENand convert it into an equation.(Naturally I changed it.).pl 1#copyin#user#uncopyingrep 'neqn Example *| *nroff -ms' <.copy >/dev/null#log#next1.1d 10
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?