.\" http://berklix.com/~jhs/standards/common.rof .\" installed to /usr/share/tmac/common.rof by berklix2.mk .\" ---------------------------------------------------------------------------- .\" Defines things like address window in envelope placement, common to both: .\" - Company headed paper, .\" - Personal headed paper .\" - Non headed paper such as personal resume/CV. .\" ---------------------------------------------------------------------------- .\" \# Everything up to and including the next newline is .\" ignored. This is interpreted in copy mode. This .\" is like \% except that \% does not ignore the ter- .\" minating newline. .\ .rj n Right justify the next n input lines.A .\" .vpt n Enable vertical position traps if n is non-zero .\" \n[.ev] The name or number of the current environment .\" \n[.fam] The current font family. string-valued register. .\" \n[.in] The indent that applies to the current output line. .\" ---------------------------------------------------------------------------- .\" { Macro - Set defaults such as font size etc to initial values. .de se .\" ---------------------------------------------------------------------------- .\" Auto Hyphenation of longs word wrapping Off, as for: .\" German: I dont know how to get groff to do the repeat 2nd '-' .\" character of German hyphenation rules. .\" English: It looks unpleasant in a letter (might need it in a .\" narrow newspaper column though). .nh .\" ---------------------------------------------------------------------------- .\" Justification: I'd like to suppress white space padding - how ? .\" ---------------------------------------------------------------------------- .\" Page Size .\" A4 paper is 29.7c * 21c (@ 2.54 cm/inch: 11.692913 * 8.2677165) .\" * 72: 841.88976 * 595.27559 .\" width & height in 1/72nd of inch .\" My A4 paper when measured looks more like 29.65 not 29.7 cm. .\" .p of 841890 comes from /usr/share/groff_font/devps/DESC .\" which comes from .\" /usr/src/gnu/usr.bin/groff/devps/../Makefile.cfg PAGE=letter .nr PL 29 .nr LP 65 .if '\*[format]'ps' \{\ .pl 29.65c \} .\" .pl \\n(PL.\\n(LPc .\" ---------------------------------------------------------------------------- .\" .if '\*[format]'ascii' \{\ .\" .pl 200c \} .\" If this number is low, one gets extra footers in middle of output, .\" Probably the least worst option .\" If this number is high, it pads out to a long file with trailing footer. .\" Which isnt too bad on a one page document, but on a multi page .\" output it looks awfull, & leaves a lot of vi searching forward .\" through blank lines & editing to clean up. .\" ---------------------------------------------------------------------------- .if '\*[format]'html' \{\ .pl 400c \} .\" Works nicely, stops extra footers in middle of file. .\" ---------------------------------------------------------------------------- .nr LL 19 \" Line length - excluding .PO and right margin .ll \\n(LLc \" Line length .\" .ll (u;\\n[LL]*5/6) .\" .ll (u;\\n[LL]) .\" .ll \n[@ll]c .\" .ll \\n[.l]u .\" ---------------------------------------------------------------------------- .nr PO 7 \" Page Offset - Horizontal from left paper edge in mm. .\" (Fold marks need to be printed as far to left as possible.) .\" PO 6 still leaves some tiny bit of text amputated .po 0.\\n(POc \" Page Offset .\" ---------------------------------------------------------------------------- .nr TO 5 \" Text Offset - Horizontal between fold marks & text in mm. .in 0.\\n(TOc \" Text Offset .\" ---------------------------------------------------------------------------- .nr HM 3 \" in mm. Header Margin used with .hd .sp 0.\n(HMc .\" I used to use 3, but now use 9 to allow for fax page header .\" Does command .hm really exist ? .\" ---------------------------------------------------------------------------- .\" .nr FM 9 \" Footer Margin used with .wh -0.\n(FMi fo .nr MF 2 \" Footer Margin used with .wh -\n(MF.\n(FMc fo .nr FM 6 \" Footer Margin used with .wh -\n(MF.\n(FMc fo .\" The above I'm not sure I even need in this file, .\" & they now get over ruled in vsl.l_rof .\" ---------------------------------------------------------------------------- .\" Font Sizes .\" With unset initial defaults, this .\" .ps +8 .\" .vs +8 .\" changes register dump from this: .\" < .s 10 .\" < .sr 10 .\" < .ps 10000 .\" < .psr 10000 .\" < .v 12000 .\" to this: .\" > .s 18 .\" > .sr 18 .\" > .ps 18000 .\" > .psr 18000 .\" > .v 20000 .nr PS 10 \" 10 point (10/72") font size .if !'\*[format]'ascii' .ps \\n(PS \" font size in 1/72i points .nr VS 12 \" 12 point line spacing .if !'\*[format]'ascii' .vs \\n(VS \" vertical spacing inter-line in 1/72i points .\" bell troff PS default 10 (as in book) .\" bell troff VS default 12 (as in book) .\" ---------------------------------------------------------------------------- .so inc/font_r.rof .\" contains .ft TR in the directories where groff -Tps is used .\" contains nothing in the directories where groff -Tascii is used .\" JJLATER to consider: make this automatic depending on format .\" .if '\*[format]'ps' .\" ---------------------------------------------------------------------------- .\" Define character missing if not postscript output. .\" .so /usr/share/vsl/umlauts.rof .so /usr/share/tmac/umlauts.rof .\" ---------------------------------------------------------------------------- .\" DEBUG .\" PL=\n(PL, LL=\n(LL, PS=\\n(PS, VS=\n(VS, PO=\n(PO, Y=\nY, HM=\n(HM, FM=\n(FM.\" TO=\n(TO .\" .pnr \" Print the names and contents of all currently defined .\" number registers on stderr. .\" .ptr \" Print the names and positions of all traps (not including .\" input line traps and diversion traps) on stderr. .\" Empty slots in the page trap list are printed as well, because .\" they can affect the priority of subsequently planted traps. .\" ---------------------------------------------------------------------------- .\" The -ms ucb macros need an initial .AM, then u\*:, .\" The -ms bell (-mos @ ucb) umlauts use \*:u (ie before the diacritical). .\" ---------------------------------------------------------------------------- .\" for my vanilla 4.2 + epson, an initial crude viewing is arrangeable with: .\" tbl *.rof | nroff -Tm1509 -h .\" .ps doesnt reduce to pica, but this works: \(rtsmaller\(rb .\" ---------------------------------------------------------------------------- .\" Number registers work in integers only. .\" Number registers are used to reset current values by later macros. .\" ---------------------------------------------------------------------------- .\" LATER embed os us oo macros in here .\" ---------------------------------------------------------------------------- .\" end of se macro .. .\" ---------------------------------------------------------------------------- .de os \" { Macro - overscore a string. .\" Invoke by: .os "words under a line" .\" This uses the high hhorizontal bar of a an extended square root sign, .\" so has no gaps .\" ideally the line should later be raised by a bit above text .\" but that might encroach on next line above. .\" If I overstrike in ascii, it zaps part of text output on long lines. .\" Overstriking in HTML doesnt work. So only overstrike with postscript. .\" hence use of \*(rn to avoid \(rn : .\" troff: warning: can't find special character `rn' .\" The length of rn is zero in html so i got a mess until I added .\" the if below. .\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .if '\*[format]'ps' \\$1\l'|0\\*(rn' .\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .\" This way of drawing a line in ascii is a bit of a cludge, but looks OK. .if '\*[format]'ascii' -------------------------------------------------------------------------- .if '\*[format]'ascii' \\$1 .\" --- .\" .if '\*[format]'ascii' \\$1\l'|0\\*(rn' .\" Puts a line under not over - no good. .\" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - .if '\*[format]'html' -------------------------------------------------------------------------- .\" Doesnt work: .if '\*[format]'html'