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

📄 tmac.groff_me

📁 早期freebsd实现
💻 GROFF_ME
📖 第 1 页 / 共 2 页
字号:
.if !"\\n(.z"|c" .tm Line \\n(c. -- Unmatched .)c.br				\" force out final line.di.if \n@>4 .tm >> .)c .l=\\n(.l .i=\\n(.i $i=\\n($i dl=\\n(dl.ev 1.ls 1.in (\\n(.lu-\\n(.iu-\\n(dlu)/2u.if \n@>4 .tm -- .)c << .in .l=\\n(.l .i=\\n(.i dl=\\n(dl.nf.|c.ec.in.ls.ev.rm |c...\"		*** BLOCK QUOTES (OR WHATEVER) AND LISTS ***.de (q			\" *** begin block quote.br.@C 1.fi.sp \\n(qsu.in +\\n(qiu.xl -\\n(qiu.sz \\n(qp...de )q			\" *** end block quote.br.ev.sp \\n(qsu+\\n(.Lv-1v.nr ?k 0...de (l			\" *** begin list.br.sp \\n(bsu.@D 3 \\$1 \\$2.@M...de )l			\" *** end list.br.ev.sp \\n(bsu+\\n(.Lv-1v.nr ?k 0...\"		*** PREPROCESSOR SUPPORT ***.\".\"	EQN.\".de EQ			\" *** equation start.ec.if !\\n(?e \\{\.	if "\\n(.z"|e" .tm Line \\n(c. -- Nested .EQ request.	@D 1 "\\$1" "\\$2".	@C 2.	di |e.\}.ls 1.in 0.nf...de EN			\" *** equation end.br.ie "\\$1"C" \\{\.	nr ?e 1.	sp \\n(esu.\}.el \\{\.	nr ?e 0.	di.	if \\n(dn \.		@q		\" actual equation output.	rm |e.	ev.\}...de @q			\" --- equation output.nr _Q \\n(dnu.ev.sp \\n(esu			\" output rest of preceeding text.if !"\\n(.z"" \!.ne \\n(_Qu.ne \\n(_Qu+\n(.Vu		\" keep it on one page.@C 2				\" .ev 2 may be jumbled from header.if \\n(_d=1 \.	in (\\n(.lu+\\n($iu-\\n(dlu)/2u.if \\n(_d=2 \.	in \\n($iu.if \\n(_d=3 \.	in \\n(biu+\\n($iu.if \\n(_d=4 \.	in 0.mk _q.if \n@>1 .tm --@e: _Q=\\n(_Q _q=\\n(_q nl=\\n(nl |p=\\*(|p.if !"\\*(|p"" \\{\.	rs.	sp (\\n(_Qu-\\n(.vu)/2u.	tl """\\*(|p".	rt \\n(_qu.\}.|e.sp |\\n(_qu+\\n(_Qu.sp \\n(esu+\\n(.Lv-1v.rr _q.rr _Q...\".\"	TBL.\".de TS			\" *** table start.sp \\n(bsu.@C 1.fi				\" drop into fill mode for text boxes.if "\\$1"H" \\{\.	di |h			\" save header part.	nr ?T 1.\}.ls 1.ch @f -(\\n(_bu+1v)		\" set pseudo-trap for bottom line.if \\n(.p-\\n(_b-1v<=\\n(nl \.	ch @f \\n(nlu+\n(.Vu...de TH			\" *** end header part of table.nr T. 0.T# 0.di.nr _T \\n(?T.nr ?T 0.ne \\n(dnu+1v.nr ?T \\n(_T.nr _i \\n(.i.in 0.|h				\" put in the initial header.in \\n(_iu.rr _i.mk #T...de TE			\" *** table end.nr ?T 0.ch @f -\\n(_bu			\" reset pseudo-trap.if \\n(.p-\\n(_b<=\\n(nl \.	ch @f \\n(nlu+\n(.Vu.ev.sp \\n(bsu+\\n(.Lv-1v.re...\".\"	REFER.\".de ][				\" *** refer output.if \\$1>5 .tm Bad arg to [].[\\$1...de [0				\" --- other.(f.ip "\\*([F.\0".if !"\\*([A"" \\*([A,.if !"\\*([T"" \\f2\\*([T\\f1\c.if !"\\*([T"" .if !"\\*([O"" ,\ .ie !"\\*([O"" \\*([O.el .if !"\\*([T"" \&..if !"\\*([D"" \\*([D..@p.)f...de [1				\" --- journal article.(f.ip "\\*([F.\0"\\*([A,.if !"\\*([T"" \\*(lq\\*([T,\\*(rq.if "\\*([V"" \\f2\\*([J\\f1,.if !"\\*([V"" \\f2\\*([J\\f1.if !"\\*([V"" \\f3\\*([V\\f1\c.if !"\\*([N"" (\\*([N)\c.if !"\\*([P"" \\{\.	ie \\n([P>0 \ pp.\&.	el \ p.\&\\*([P.\}.if !"\\*([I"" .if "\\*([R"" \\*([I,(\\*([D)..if !"\\*([O"" \\*([O.)f...de [2				\" --- book.(f.ip "\\*([F.\0"\\*([A, \\f2\\*([T,\\f1\\*([I\c.if !"\\*([C"" , \\*([C\c (\\*([D)..if !"\\*([G"" Gov't. ordering no. \\*([G.if !"\\*([O"" \\*([O.)f...de [3				\" --- article in book.(f.ip "\\*([F.\0"\\*([A, \\*(lq\\*([T,\\*(rq.if !"\\*([P"" pp. \\*([Pin \\f2\\*([B\\f1, \c.if !"\\*([E"" ed. \\*([E, \c.if !"\\*([I"" \\*([I\c.if !"\\*([C"" , \\*([C\c (\\*([D)..if !"\\*([O"" \\*([O.)f...de [4				\" --- report.(f.ip "\\*([F.\0"\\*([A, \\*(lq\\*([T,\\*(rq\\*([R\c.if !"\\*([G"" \& (\\*([G)\c.if !"\\*([I"" , \\*([I\c.if !"\\*([C"" , \\*([C\c (\\*([D)..if !"\\*([O"" \\*([O.)f...de [5				\" --- tm style.(f.ip "\\*([F.\0"\\*([A, \\f2\\*([T\\f1,.ie \\n(TN \\*([M..el Bell Laboratories internal memorandum (\\*([D)..)f...de ]<.$p References.lp.rm (f )f...de ]>.sp...de ]-.rm [V [P [A [T [N [C [B [O [R [I [E [D...ie \n(.V<1v \\{\.	ds [. \s-2\v'-.4m'\f1.	ds .] \v'.4m'\s+2\fP.\}.el \\{\.	ds [. " [.	ds .] ].\}.\".\"	IDEAL.\".de IS			\" *** start ideal picture.nr g7 \\n(.u.ls 1...de IF.if \\n(g7 .fi.ls...de IE			\" *** end ideal picture.if \\n(g7 .fi.ls...\".\"	PIC.\".de PS		\" *** start picture: $1=height, $2=width in units or inches.sp 0.3.nr g7 \\$2.in (\\n(.lu-\\n(g7u)/2u.ne \\$1u.nr g7 \\n(.u.ls 1...de PE			\" *** end picture.ls.in.if \\n(g7 .fi.sp .6...\".\"	GREMLIN.\".de GS			\" *** start gremlin picture.nr g7 (\\n(.lu-\\n(g1u)/2u.if "\\$1"L" .nr g7 \\n(.iu.if "\\$1"R" .nr g7 \\n(.lu-\\n(g1u.in \\n(g7u.nr g7 \\n(.u.ls 1.nf.ne \\n(g2u...de GE			\" *** end gremlin picture.GF.sp .6...de GF			\" *** finish gremlin picture; stay at top.ls.in.if \\n(g7 .fi...\"		*** FONT AIDS ***.de sz			\" *** set point size and vertical spacing.ps \\$1.if \\n($r .@v.vs \\n(.sp*\\n($vu/100u	\" default vs at pointsize + 20%...de @v			\" --- possibly set $v from $r.if (1i>=240u)&(1p<=\\n($r)&(\\n($r<=4p) .nr $v \\n($r00/1p...de @V			\" --- possibly set $V from $R.if (1i>=240u)&(1p<=\\n($R)&(\\n($R<=4p) .nr $V \\n($R00/1p...de @E			\" --- store in _F argument to \f for restoring font.ie \\n(.f<10 \.	ds _F \\n(.f.el \\{\.	ie \\n(.f<100&\n(.g \.		ds _F (\\n(.f.	el \.		ds _F P.\}...de r			\" *** enter roman font.@E.ft 1.if \\n(.$ \&\\$1\f\\*(_F\\$2...de i			\" *** enter italic.@E.ft 2.if \\n(.$ \&\\$1\f\\*(_F\\$2...de b			\" *** enter boldface.@E.ft 3.if \\n(.$ \&\\$1\f\\*(_F\\$2...de rb			\" *** enter real boldface.@E.ft 3.if \\n(.$ \&\\$1\f\\*(_F\\$2...de bi			\" *** enter bold italic.@E.ft 4.if \\n(.$ \&\\$1\f\\*(_F\\$2...de u			\" *** enter underlined word\&\\$1\l'|0\(ul'\\$2...\" a better version of u.if !\n(.g .ig.de u\Z'\\$1'\v'.25m'\D'l \w'\\$1'u 0'\v'-.25m'\\$2...de q			\" *** enter quoted word\&\\*(lq\\$1\\*(rq\\$2...de bx			\" *** enter boxed word\k~\(br\|\\$1\|\(br\l'|\\n~u\(rn'\l'|\\n~u\(ul'\^\\$2...de sm			\" *** print in smaller font\s-1\\$1\\s0\\$2...de @F			\" --- change font (0 -> no change).nr ~ \\$1.if \\n~>0 \.	ft \\n~.rr ~...\"		*** FOOTNOTING ***.de (f			\" *** begin footnote.ec.if "\\n(.z"|f" .tm Line \\n(c. -- Illegal footnote nesting.ie "\\n(.z"" \\{\.	nr _D \\n(dn.	nr _0 1v+\\n(nlu.	ev 2.	da |f.	in 0.	xl \\n($lu-\\n(fuu.	@F \\n(ff.	sz \\n(fp.	vs \\n(.sp*\\n($Vu/100u.	if !\\n(?f \\{\.		nr _b +1v	\" allow space for $s.		$s.	\}.	br.	if \\n(.p-\\n(_b-\\n(_0-\\n(.h-1v-\\n(fs<0 \\{\.		da\"		\" won't fit on page at all.		bc.		if !\\n(?f \.			rm |f.		da |f.\" next five lines could be dropped if headers had their own environment.		in 0		\" reset everything from .bc.		xl \\n($lu-\\n(fuu.		@F \\n(ff.		sz \\n(fp.		vs \\n(.sp*\\n($Vu/100u.		if !\\n(?f \.			$s.		br.	\}.	rr _0.	sp \\n(fsu.	nr ?f 1.	fi.	if !"\\$1"_" \.		ti \\n(fiu.	if \n@>2 .tm	<< (f $f=\\n($f.\}.el \\{\.	ev 2.	in 0.	xl \\n($lu-\\n(fuu.	@F \\n(ff.	sz \\n(fp.	vs \\n(.sp*\\n($Vu/100u.	fi\!.(f \\$1\!.@N.\}...de @N			\" --- set no fill mode in the top-level diversion.ie "\\n(.z"" .nf.el \!.@N...de )f			\" *** end footnote.ie "\\n(.z"|f" \\{\.	if \\n* \.		nr $f +1.	ds * \\*{\\n($f\\*}\k*.	nr * 0.	in 0.	da.	ev.	if \\n(_w<\\n(dl \.		nr _w \\n(dl	\" compute maximum fn width.	nr _b +\\n(dn.	ch @f -\\n(_bu.	if \\n(.p-\\n(_b<=\\n(nl \.		ch @f \\n(nlu+\n(.Vu.	nr dn \\n(_D.	rr _D.\}.el \\{\.	br\!.)f.	ev.\}...@R ff.if \n(ff<=0 \.	nr ff 1			\" footnote font: Times Roman.@R fp.if \n(fp<=0 \.	nr fp 8			\" footnote pointsize.de $s			\" $$$ footnote separator\l'2i'...\"		*** DELAYED TEXT ***.de (d			\" *** begin delayed text.am |d )d.sp \\n(bsu...de )d			\" *** end delayed text.if \\n# \.	nr $d +1.ds # [\\n($d]\k#.rr #...de pd			\" *** print delayed text.|d.rm |d.nr $d 1 1.ds # [1]\k#...\"		*** INDEXES (TABLE OF CONTENTS) ***.nr _x 0 1.af _x a.de (x			\" *** begin index entry.if \n@>4 .tm >> (x, .z=\\n(.z.ds |X x.if \\n(.$>0 \.	ds |X \\$1.ie "\\n(.z"" \.	nr _z 0.el \.	nr _z 1.@\\n(_z...de @0			\" --- finish (x if no current diversion.am %\\*(|X )x.sp \\n(xsu.ti -\\n(piu...de @1			\" --- finish (x if current diversion.if "\\n(_x"z" .nr _x 0.de =\\n+(_x )x...de )x			\" *** end index entry.if \n@>4 .tm >> )x, .z=\\n(.z.ie "\\n(.z"" \\{\.	ds |x \\n%.	if \\n(.$>0 \.		ds |x \\$1.	if "\\*(|x"_" \.		ig ...	am %\\*(|X ...	if \w"\\$2">(\\n(.l-\\n(.i-\\n(.k) \.		ti +\\n(xuu\\\\a\\\\t\\$2\\*(|x....	rm |x.	rm |X.\}.el \\{\\!.(x \\*(|X\!\\\\*(=\\n(_x\\\\\!.)x \\$1 \\$2\!.rm =\\n(_x.\}...de xp			\" *** print the index.br.@C 2.ls 1.vs \\n(.sp*\\n($Vu/100u.fi.in +\\n(piu.ds |X x.if \\n(.$>0 \.	ds |X \\$1.xl -(\\n(xuu+\w'...'u).di |x.%\\*(|X.br.di.rm %\\*(|X.xl \\n($lu.rm |X.ev.nf.in 0.ta \\n(.lu-\\n(xuuR \\n(.luR.|x.fi.in.rm |x...de +c			\" *** begin chapter.ep				\" force out footnotes.if \\n(?o:\\n(?a \\{\.	bp			\" force out a table or more footnote.	rs.	ep.\}.nr ?C 1.nr $f 1 1.ds * \\*{1\\*}\k*.if \\n(?R \.	pn 1.bp.in \\n($iu			\" reset the indent.rs.ie \\n(.$ \.	$c "\\$1".el \.	sp 3...de ++			\" *** declare chapter type.nr _0 0.if "\\$1"C" \.	nr _0 1			\" chapter.if "\\$1"RC" \.	nr _0 11		\" renumbered chapter.if "\\$1"A" \.	nr _0 2			\" appendix.if "\\$1"RA" \.	nr _0 12		\" renumbered appendix.if "\\$1"P" \.	nr _0 3			\" preliminary material.if "\\$1"B" \.	nr _0 4			\" bibliographic material.if "\\$1"AB" \.	nr _0 5			\" abstract.if \\n(_0=0 \.	tm Line \\n(c. -- Bad mode to .++.nr ?R 0.if \\n(_0>10 \.\{.	nr ?R 1.	nr _0 -10.\}.nr ch 0 1.if (\\n(_0=3):(\\n(_0=5) \.	pn 1			\" must do before .ep.if !\\n(_0=\\n(_M .if \\n(_M=3 \.	pn 1			\" must do before .ep.ep				\" end page for correct page number types.if \\n(_0=1 \\{\.	af ch 1.	af % 1.\}.if \\n(_0=2 \\{\.	af ch A.	af % 1.\}.if \\n(_0=3 \.	af % i.if \\n(_0=4 \.	af % 1.if \\n(_0=5 \.	af % 1.if \\n(.$>1 \.	he \\$2.nr _M \\n(_0.rr _0...de $c			\" $$$ print chapter title.sz 12.ft 3.ce 1000.if \\n(_M<3 \.	nr ch +1.ie \\n(_M=1 CHAPTER\ \ \\n(ch.el .if \\n(_M=2 APPENDIX\ \ \\n(ch.if \w"\\$1" .sp 3-\\n(.L.if \w"\\$1" \\$1.if (\\n(_M<3):(\w"\\$1") \.	sp 4-\\n(.L.ce 0.ft.sz.ie \\n(_M=1 \.	$C Chapter \\n(ch "\\$1".el .if \\n(_M=2 \.	$C Appendix \\n(ch "\\$1"...de tp			\" *** title page.hx.bp.br.rs.pn \\n%...\"		*** DATES ***.if \n(mo=1 .ds mo January.if \n(mo=2 .ds mo February.if \n(mo=3 .ds mo March.if \n(mo=4 .ds mo April.if \n(mo=5 .ds mo May.if \n(mo=6 .ds mo June.if \n(mo=7 .ds mo July.if \n(mo=8 .ds mo August.if \n(mo=9 .ds mo September.if \n(mo=10 .ds mo October.if \n(mo=11 .ds mo November.if \n(mo=12 .ds mo December.if \n(dw=1 .ds dw Sunday.if \n(dw=2 .ds dw Monday.if \n(dw=3 .ds dw Tuesday.if \n(dw=4 .ds dw Wednesday.if \n(dw=5 .ds dw Thursday.if \n(dw=6 .ds dw Friday.if \n(dw=7 .ds dw Saturday.ds td \*(mo \n(dy, 19\n(yr.\"		*** PARAMETRIC INITIALIZATIONS ***.rr x.nr $v \n(.v00+\n(.sp-1/\n(.sp	\" vs as percentage of ps for .sz request.nr $V \n($v			\" same for displays & footnotes.nr hm 4v			\" header margin.nr tm 7v			\" top margin.nr bm 6v			\" bottom margin.nr fm 3v			\" footer margin.nr tf 3			\" title font: (real) Times Bold.nr tp 10			\" title point size.hy 14.nr bi 4m			\" indent for blocks.nr pi 5n			\" indent for paragraphs.nr pf 1			\" normal text font.nr pp 10			\" normal text point size.nr qi 4n			\" indent for quotes.nr qp -1			\" down one point.nr ii 5n			\" indent for .ip's and .np's.nr $m 1			\" max number of columns.nr $s 4n			\" column separation.nr sf 3			\" section font -- Times Bold.nr sp 10			\" section title pointsize.nr ss 12p			\" section prespacing.nr si 0			\" section indent.\"		*** OTHER INITIALIZATION ***.\" GNU pic sets this register to 1, to indicate that \x should not be used..@R 0x.ds { \v'-0.4m'\x'\\n(0x=0*-0.2m'\s-3.ds } \s0\v'0.4m'.\" for compatibility with traditional -me.\" (the first will work only in compatibility mode).ds [ \*{.ds ] \*}.ds < \v'0.4m'\x'\\n(0x=0*0.2m'\s-3.ds > \s0\v'-0.4m'.ds - \(em.\" Avoid warnings from groff -ww..@S |0.@S |1.@S |2.@S |3.@S $H.@S $0.@S $1.@S $2.@S $3.@S $4.@S $5.@S $6.@S $7.@S $8.@S $9.@S ...@R po\"			\" simulated page offset.@R $0\"			\" section depth.@R $i\"			\" paragraph base indent.@R $p\"			\" numbered paragraph number.@R $r\"			\" ratio of vs to ps (may override $v).@R $R\"			\" same for displays (may override $V).@R df\"			\" display font: same as surrounding text.@R so\"			\" additional section title offset.@R fu\"			\" footnote undent.@R bt\"			\" block keep threshold.@R *\"				\" has \** been referenced?.@R ?a\"			\" pending floating keep at page top?.@R ?b\"			\" pending floating keep at page bottom?.@R ?C\"			\" at chapter header?.@R ?e\"			\" in equation?.@R ?H\"			\" suppress headers and footers next page?.@R ?I\"			\" has the header trap been sprung?.@R ?n\"			\" n1 mode?.@R ?o\"			\" footnote overflow?.@R ?R\"			\" renumbered chapter?.@R ?s\"			\" skip next page?.@R ?T\"			\" inside .TS H?.@R ?W\"			\" wide floating keep at page bottom?.@R ?w\"			\" wide floating keep at page top?.nr fi 0.3i.nr _o \n(.o.nr $b 3			\" bold.nr ps 0.35v.if \n(ps<\n(.V .nr ps \n(.V.nr bs \n(ps			\" block pre/post spacing.nr qs \n(ps			\" quote pre/post spacing.nr zs 1v			\" float-block pre/postspacing.nr xs 0.2v			\" index prespacing.nr xu 0.5i			\" index undent.nr fs 0.2v			\" footnote prespacing.nr es 0.5v			\" equation pre/postspacing.if \n(es<\n(.V .nr es \n(.V.wh 0 @h			\" set header.nr $l \n(.lu			\" line length.nr _L \n(.lu			\" line length of page.nr $c 1			\" current column number.nr $f 1 1			\" footnote number.ds * \*{1\*}\k*\"		\" footnote "name".nr $d 1 1			\" delayed text number.ds # [1]\k#\"			\" delayed text "name".nr _M 1			\" chapter mode is chapter.ds lq \(lq\"			\" left quote.ds rq \(rq\"			\" right quote.em @z.\"		*** FOREIGN LETTERS AND SPECIAL CHARACTERS ***.ds #h ((1u-(\\\\n(.fu%2u))*0.13m).ds #v 0.6m.\"			\" accents.ds ' \k_\h'-(\\n(.wu*8/10-\*(#h)'\(aa\h'|\\n_u'.ds ` \k_\h'-(\\n(.wu*7/10-\*(#h)'\(ga\h'|\\n_u'.\"			\" umlaut.ds : \k_\h'-(\\n(.wu*8/10-\*(#h+0.1m)'\v'-\*(#v'\z.\h'0.2m'.\h'|\\n_u'\v'\*(#v'.\"			\" circumflex and tilde.ds ^ \k_\h'-(\\n(.wu-\*(#h-0.05m)'^\h'|\\n_u'.ds ~ \k_\h'-(\\n(.wu-\*(#h-0.05m)'~\h'|\\n_u'.\"			\" cedilla and czech.ds , \k_\h'-(\\n(.wu)',\h'|\\n_u'.ds v \k_\h'-(\\n(.wu*9/10-\*(#h)'\v'-\*(#v'\s-4v\s0\v'\*(#v'\h'|\\n_u'.\"			\" Norwegian A or angstrom.ds o \k_\h'-(\\n(.wu+\w'\(de'u-\*(#h)/2u'\v'-0.4n'\z\(de\v'0.4n'\h'|\\n_u'.\"			\" there exists, for all.ds qe \s-2\v'0.45m'\z\(em\v'-0.625m'\z\(em\v'-0.625m'\(em\v'0.8m'\s0\h'-0.1m'\v'-0.05m'\(br\v'0.05m'\h'0.1m'.ds qa \z\e\h'0.35m'\z\(sl\h'-0.33m'\v'-0.3m'\s-4\(em\s0\v'0.3m'\h'0.15m'.rm #h #v.ll 6.0i.lt 6.0i.de @U.tm The \\$1 macro has been removed from this version of the -me macros....de lo.@U lo...de th.@U th...de ac.@U ac..

⌨️ 快捷键说明

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