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

📄 tt07

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻
字号:
.NHStrings.PPObviously if a paper contains a large number of occurrencesof an acute accent over a letter `e',typing.BD \eo"e\e\'"for each \*ewould be a great nuisance..PPFortunately,.UL troffprovides a way in which you can store an arbitrarycollection of text in a `string',and thereafter use the string name as a shorthandfor its contents.Strings are one of several.UL troffmechanisms whose judicious uselets you type a documentwith less effort and organizeitso that extensive format changescan be made with few editing changes..PPA reference to a string is replaced by whatevertextthe string was defined as.Strings are defined with the command.BD .ds .The line.P1\&^ds e \eo"e\e'".P2defines the string.BD eto have the value.BD \eo"e\e\'".PPString names may be either one or two characters long,and are referred to by.BD \e*xfor one character names or.BD \e*(xyfor two character names.Thus to gett\*el\*ephone,given the definition of the string.BD eas above,we can sayt\e*el\e*ephone..PPIf a string must begin with blanks, define it as.P1\&.ds xx "      text.P2The double quote signals the beginning of the definition.There is no trailing quote;the end of the line terminates the string..PPA string may actually be several lines long;if.UL troffencounters a .BD \eat the end of.ulanyline, it is thrown away and the next lineadded to the current one.So you can make a long string simply by ending each linebut the last with a backslash:.P1\&^ds xx this \eis a very \elong string.P2.PPStrings may be defined in terms of other strings, or even in terms of themselves;we will discuss some of these possibilities later.

⌨️ 快捷键说明

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