diff options
-rw-r--r-- | demo/demo1.tr | 68 |
1 files changed, 67 insertions, 1 deletions
diff --git a/demo/demo1.tr b/demo/demo1.tr index 6f12e30..64f1f82 100644 --- a/demo/demo1.tr +++ b/demo/demo1.tr @@ -49,7 +49,7 @@ Words \s[16]can\s0 be \s+[5]Larger\s0 or \s-[5]Smaller\s0. .\" the vertical space between lines. .ps 14 .vs 14 -.\" Defaults fonts: R (roman), B (bold), I (italic); P is the previous +.\" Defaults fonts: R (Roman), B (bold), I (italic); P is the previous .\" font. Fonts can be \fBchanged\fP. .\" You can also use fp request. @@ -83,3 +83,69 @@ in \*[mac2 colour red]. .nr count 20 .ds name "Page There are \n[count] of \*[name]s. +.sp +.\" =============== +.\" TEXT ADJUSTMENT +.\" =============== +.ce +Centred line +.sp +.\" Without paragraph formatting, line breaks are respected. +.nf +With no paragraph +formatting. +.sp +.\" With paragraph formatting, words are collected and lines +.\" are filled. +.fi +Enable paragraph +formatting. +.sp +.\" Paragraph adjustment type (lp, rp, and bp enable whole paragraph +.\" formatting algorithm): +.\" + l, lp: Left +.\" + r, rp: Right +.\" + b, bp: Adjust both margins +.ad r +Right adjusted text. +.sp +.\" ============= +.\" OTHER REQUSTS +.\" ============= +.\" Scale indicators: +.\" + i: Inch +.\" + c: Centimeters +.\" + m: Em (current size points) +.\" + n: En (Em / 2) +.\" + p: Points (1/72 inch) +.\" + u: Basic unit +.\" + v: Vertical space +.\" + none: Default (depends on the request) +.ad l +.nf +Horizontal \h'1c'movement and vertical \v'1m'movement. +.sp +Lines: horizontal \l'1m' and vertical \L'-1m' +Lines: \D'l 1m -1n' +Circles: \D'c 1n' +Polygons: \D'p 1n 0 0 -1n -1n 1n' +Filled polygons: \D'P 1n 0 0 -1n -1n 1n' +.sp +.\" Fonts can be mounted using fp; the second argument is font +.\" short name and the third argument is font name (the name of +.\" the font descriptor file). +.fp - AB CB +.fp - MYFONT URWGothic-Book +Fonts: \f[AB]number 1\fP and \f[MYFONT]number 2\fP. +.\" You can also replace standard fonts +.fp - R CB +This is the new Roman font. +.\" ========== +.\" NEXT STEPS +.\" ========== +.\" +.\" + Read "Troff User's Manual," "Neatroff Introduction," and +.\" "UNIX Text Processing". +.\" + Use macro packages. +.\" + Read available macro packages like those in neatroff_make/tmac. +.\" + Write your own macro package. |