01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CW (l)<br />

HINTS<br />

CW(l)<br />

The options are:<br />

-lxx The one- or two-character string xx becomes the left delimiter;<br />

if xx is omitted, the left delimiter becomes<br />

undefined, which it is initially.<br />

-rxx Same for the right delimiter. The left and right delimiters<br />

may (but need not) be different.<br />

-fn The CW font is mounted in font position n; acceptable<br />

values for n are 1, 2, and 3 (default is 3, replacing the<br />

bold font). This option is only useful at the beginning of<br />

a document.<br />

-t Turn transparent mode off.<br />

+t Turn transparent mode on (this is the initial default).<br />

-d Print current option settings on file descriptor 2 in the<br />

form of troff comment lines. This option is meant for<br />

debugging.<br />

Cw reads the standard input when no files are specified (or when<br />

- is specified as the last argument), so it can be used as a filter.<br />

Typical usage is:<br />

cw files I troff ...<br />

Checkcw checks that left and right delimiters, as well as the<br />

.CW j.CN pairs, are properly balanced. It prints out all offending<br />

lines.<br />

Typical definitions of the .CW and .CN macros meant to be used<br />

with the mm(5) macro package:<br />

.de CW<br />

.DS I<br />

.ps 9<br />

.vs 10.5p<br />

.ta 16m/3u 32m/3u 48m/3u 64m/3u 80m/3u 96m/3u ...<br />

. de CN<br />

.ta .5i 1i 1.5i 2i 2.5i 3i ...<br />

. vs<br />

.ps<br />

.DE<br />

At the very least, the .CW macro should invoke the troff no-fill<br />

(.nf) mode.<br />

When set in running text, the CW font is meant to be set in the<br />

same point size as the rest of the text. In displayed matter, on<br />

the other hand, it can often be profitably set one point smaller<br />

than the prevailing point size (the displayed definitions of .CW<br />

and .CN above are one point smaller than the running text on this<br />

page). The CW font is sized so that, when it is set in 9-point,<br />

there are 12 characters per inch.<br />

- 3-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!