📄 meref.me
字号:
[same as.NR (ps ]space.Quote spacing is stored in a separate register;centered blocks have no default initial or trailing space.The vertical spacing of all displays except quotesand centered blocksis stored in register.NR ($Vinstead of.NR ($v ..TL.b .(l.i m.i f.DEBegin list.Lists are single spaced,unfilled text.If.i fis.b F ,the list will be filled.If.i m[\c.b I ]is.b Ithe list is indented by.NR (bi[4m];if.b Mthe list is indented to the left margin;if.b Lthe list is left justified with respect to the text(different from.b Monly if the base indent(stored in.NR ($iand set with.b .ba )is not zero);and if.b Cthe list is centered on a line-by-line basis.The list is set in font.NR (df[0].Must be matched by a.b .)l .This macro is almost like.b .(bexcept that no attempt is madeto keep the display on one page..TL.b .)l.DEEnd list..TL.b .(q.DEBegin major quote.These are single spaced,filled,moved in from the texton both sidesby.NR (qi[4n],preceded and followedby.NR (qs[same as.NR (bs ]space,and are set in point size.NR (qp[one point smaller than surrounding text]..TL.b .)q.DEEnd major quote..TL.b .(b.i m.i f.DEBegin block.Blocks are a form of.i keep ,where the text of a keepis kept together on one pageif possible(keeps are usefulfor tables and figureswhich should not be brokenover a page).If the block will not fiton the current pagea new page is begun,.i unlessthat would leave more than.NR (bt[0]white spaceat the bottom of the text.If.NR (btis zero, the threshold featureis turned off.Blocks are not filledunless.i fis.b F ,when they are filled.The block will be left-justifiedif.i mis.b L ,indented by.NR (bi[4m]if.i mis.b Ior absent,centered(line-for-line)if.i mis.b C ,and left justified to the margin(not to the base indent)if.i mis.b M .The block is set in font.NR (df[0]..TL.b .)b.DEEnd block..TL.b .(z.i m.i f.DEBegin floating keep.Like.b .(bexcept that the keep is.i floatedto the bottom of the pageor the top of the next page.Therefore,its position relative to the text changes.The floating keep is preceded and followedby.NR (zs[1v]space.Also,it defaults to mode.b M ..TL.b .)z.DEEnd floating keep..TL.b .(c.DEBegin centered block.The next keepis centered as a block,rather than on a line-by-line basisas with.b ".(b C" .This call may be nestedinside keeps..TL.b .)c.DEEnd centered block..sh 1 Annotations.TL.b .(d.DEBegin delayed text.Everything in the next keepis saved for outputlater with.b .pd ,in a mannersimilar to footnotes..TL.b .)d.i n.DEEnd delayed text.The delayed text number register.NR ($dand the associated string.ST #are incremented if.ST #has been referenced..TL.b .pd.DEPrint delayed text.Everything diverted via.b .(dis printed and truncated.This might be usedat the end of each chapter..TL.b .(f.DEBegin footnote.The text of the footnoteis floated to the bottomof the pageand set in font.NR (ff[1]and size.NR (fp[8p].Each entryis preceded by.NR (fs[0.2v]space,is indented.NR (fi[3n]on the first line,and is indented.NR (fu[0]from the right margin.Footnotes line up underneathtwo column output.If the text of the footnotewill not all fit on one pageit will be carried overto the next page..TL.b .)f.i n.DEEnd footnote.The number register.NR ($fand the associated string.ST *are incrementedif they have been referenced..TL.b .$s.DEThe macro to output the footnote separator.This macro may be redefinedto give other size lines or other typesof separators.Currentlyit draws a 1.5i line..TL.b .(x.i x.DEBegin index entry.Index entries are saved in the index.i x[\c.b x ]until called up with.b .xp.Each entry is precededby a.NR (xs[0.2v]space.Each entry is.q undentedby.NR (xu[0.5i];this register tells how far the page numberextends into the right margin..TL.b .)x.i P.i A.DEEnd index entry.The index entryis finished with a row of dotswith.i A[null]right justified on the last line(such as for an author's name),followed by P[\c.NR % ].If.i Ais specified,.i Pmust be specified;.NR %can be used to print the current page number.If.i Pis an underscore,no page numberand no row of dotsare printed..TL.b .xp.i x.DEPrint index.i x[\c.b x ].The index is formatted in the font, size, and so forthin effect at the time it is printed,rather than at the time it is collected..sh 1 "Columned Output".TL.b .2c.i +S.i N.DEEnter two-column mode.The column separation is set to.i +S[4n, 0.5i in ACM mode](saved in.NR ($s ).The column width,calculated to fill the single column line lengthwith both columns,is stored in.NR ($l .The current columnis in.NR ($c .You can test register.NR ($m[1]to see if you are in single columnor double column mode.Actually,the request enters.i N[2]column output..TL.b .1c.DERevert to single-column mode..TL.b .bc.DEBegin column.This is like.b .bpexcept that it begins a new columnon a new pageonly if necessary,rather than forcing a whole new pageif there is another column lefton the current page..sh 1 "Fonts and Sizes".TL.b .sz.i +P.DEThe pointsize is set to.i P[10p],and the line spacing is set proportionally.The line spacing as a percentage of the pointsize expressed in unitsis stored in.NR ($v .The percentage used internallyby displays and annotationsis stored in.NR ($V(although this is not used by.b .sz ).This size is.i notsticky beyond many macros:in particular,.NR (pp(paragraph pointsize)modifies the pointsize every time a new paragraph is begunusing the.b \&.pp ,.b \&.lp ,.b \&.ip ,.b \&.np ,or.b \&.bumacros.Also,.NR (fp(footnote pointsize),.NR (qp(quote pointsize),.NR (sp(section header pointsize),and.NR (tp(title pointsize)may modify the pointsize..TL.b .r.i W.i X.DESet.i Win roman font,appending.i Xin the previous font.To append different font requests,use.i X=.b \ec .If no parameters,change to roman font..TL.b .i.i W.i X.DESet.i Win italics,appending.i Xin the previous font.If no parameters,change to italic font..TL.b .b.i W.i X.DESet.i Win bold fontand append.i Xin the previous font.If no parameters,switch to bold font..TL.b .u.i W.i X.DEUnderline.i Wand append.i X .This is a true underlining,as opposed to the.b .ulrequest,which changes to.q "underline font"(usually italics in \*G).It won't work rightif.i Wis spread or broken (including hyphenated).In other words,it is safe in nofill mode only..TL.b .q.i W.i X.DEQuote.i Wand append.i X .In \*Gthis surrounds.i Wwith.b \*(lq ,and.b \*(rq ..TL.b .bi.i W.i X.DESet.i Win bold italicsand append.i X ..TL.b .bx.i W.i X.DESets.i Win a box,with.i Xappended.It won't work rightif.i Wis spread or broken (including hyphenated).In other words,it is safe in nofill mode only..TL.b sm.i W.i X.DESets.i Win a smaller pointsize,with.i Xappended..sh 1 "Roff Support".TL.b .ix.i +N.DEIndent,no break.Equivalent to.b \(aain.i N ..TL.b .bl.i N.DELeave.i Ncontiguous white space,on the next page if not enough roomon this page.Equivalent to a.b .sp.i Ninside a block..TL.b .pa.i +N.DEEquivalent to.b .bp ..TL.b .ro.DESet page numberin roman numerals.Equivalent to.b ".af % i" ..TL.b .ar.DESet page number in Arabic.Equivalent to.b ".af % 1" ..TL.b .n1.DENumber lines in margin from oneon each page..TL.b .n2.i N.DENumber lines from.i N ,stop if.i N= 0..TL.b .sk.DELeave the next output page blank,except for headers and footers.This is used to leave spacefor a full-page diagramwhich is produced externallyand pasted in later.To get a partial-page paste-in display,say.b .sv \ \c.i N ,where.i Nis the amount of spaceto leave;this space will be output immediatelyif there is room,and will otherwise be outputat the top of the next page.However, be warned:if.i Nis greater than the amount of available spaceon an empty page,no space will ever be output..sh 1 "Preprocessor Support".TL.b .EQ.i m.i T.DEBegin equation.The equation is centeredif.i mis.b Cor omitted,indented.NR (bi[4m]if.i mis.b I ,and left justified if.i mis.b L ..i Tis a title printed on the right marginnext to the equation.See.i "Typesetting Mathematics \- User's Guide"by Brian W. Kernighanand Lorinda L. Cherry..TL.b .EN.i c.DEEnd equation.If.i cis.b Cthe equation must be continuedby immediately followingwith another.b .EQ ,the text of whichcan be centeredalong with this one.Otherwise,the equation is printed,always on one page,with.NR (es[0.5v]spaceabove and below it..TL.b .TS.i h.DETable start.Tables are single spacedand kept on one pageif possible.If you have a large tablewhich will not fit on one page,use.i h=.b Hand follow the header part(to be printed on every page of the table)with a.b .TH .See.i "Tbl \- A Program to Format Tables"by M. E. Lesk..TL.b .TH.DEWith.b ".TS H" ,ends the header portion of the table..TL.b .TE.DETable end.Note that this tabledoes not float,in fact,it is not even guaranteed to stay on one pageif you use requests such as.b .spintermixed with the textof the table.If you want it to float(or if you use requestsinside the table),surround the entire table
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -