⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tt04

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻
字号:
.NHIndents and Line Lengths.PP.UL troffstarts with a line length of 6.5 inches,too wide for 8\(12\(mu11 paper.To reset the line length,usethe.BD .llcommand, as in.P1^ll 6i.P2As with.BD .sp ,the actual length can be specified in several ways;inches are probably the most intuitive..PPThe maximum line length provided by the typesetter is 7.5 inches, by the way.To use the full width, you will have to reset the default physical left margin (``page offset''),which is normally slightly less than one inch from the left edgeof the paper.This is done by the.BD .pocommand..P1^po 0.P2sets the offset as far to the left as it will go..WS.PPThe indent command.BD .incauses the left margin to be indentedby some specified amount from the page offset.If we use.BD .into move the left margin in,and.BD .llto move the right margin to the left,we canmake offset blocks of text:.P1^in 0.3i^ll \(mi0.3itext to be set into a block^ll +0.3i^in \(mi0.3i.P2will create a block that looks like this:.P1.fi.ll -0.3iPater noster qui est in caelis sanctificetur nomen tuum;adveniat regnum tuum; fiat voluntas tua, sicut in caelo,et in terra. ...Amen..ll +0.3i.P2Notice the use of `+' and `\(mi'to specify the amount of change.These change the previous setting by the specified amount,rather than just overriding it.The distinction is quite important:.BD .ll\ +1imakes lines one inch longer;.BD .ll\ 1imakes them one inch.ullong..PPWith .BD .in ,.BD .lland.BD .po ,the previous value is used if no argument is specified..PPTo indent a single line, use the `temporary indent'command.BD .ti .For example, all paragraphs in this memoeffectively begin with the command.P1^ti 3.P2Three of what?The default unit for.BD .ti ,as for most horizontally oriented commands.BD .ll , (.BD .in ,.BD .po ),is ems;an em is roughly the width of the letter `m'in the current point size.(Precisely, a em in size.ulpis.ulppoints.)Although inches are usually clearer than ems to people who don't set typefor a living,ems have a place:they are a measure of size that is proportional to the current point size.If you want to make text that keeps its proportionsregardless of point size,you should use ems for all dimensions.Ems can be specified as scale factors directly,as in.BD .ti\ 2.5m ..PPLines can also be indented negativelyif the indent is already positive:.P1^ti \(mi0.3i.P2causes the next line to be moved back three tenths of an inch.Thus to make a decorative initial capital,we indent the whole paragraph, then move the letter `P' back witha.BD .ticommand:.P1.ll -0.3i.fi.in +.3i.ti -0.3i\s36\v'2'P\v'-2'\s0ater noster qui est in caelis sanctificeturnomen tuum;adveniat regnum tuum;'in -.3ifiat voluntas tua,sicut in caelo, et in terra. ...Amen..ll +0.3i.P2Of course, there is also some trickery to make the `P'bigger (just a `\es36P\es0'),and to move itdown from its normal position(see the section on local motions).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -