📄 groff_ms.man
字号:
.\" -*- nroff -*-.TH GROFF_MS @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@".SH NAMEgroff_ms \- groff ms macros.SH SYNOPSIS.B groff.B \-m@TMAC_S@[.IR options .\|.\|.][.IR files .\|.\|.].SH DESCRIPTIONThis manual page describes the GNU version of the ms macros,which is part of the groff document formatting system.The groff ms macros are intended to be compatible with the 4.3.SM BSDUnix ms macros subject to the following limitations:.IP \(buthe internals of groff ms are not similar to the internals of Unix msand so documents that depend upon implementation details of Unix msmay well not work with groff ms;.IP \(buthere is no support for typewriter-like devices;.IP \(buBerkeley localisms, in particular the.B TMand.B CTmacros, are not implemented;.IP \(bugroff msdoes not provide cut marks;.IP \(bumultiple line spacing is not allowed(use a larger vertical spacing instead);.IP \(bugroff ms does not work in compatibility mode (eg with the.B \-Coption);.IP \(buthe error-handling policy of groff msis to detect and report errors,rather than silently to ignore them..LPThe groff ms macros make use of many features of GNU troffand therefore cannot be used with any other troff..LPBell Labs localisms are not implemented in either the.SM BSDms macros or in the groff ms macros..LPSome Unix ms documentation says that the.B CWand.B GWnumber registers can be used to control the column width andgutter width respectively.This is not the case.These number registers are not used in groff ms..LPMacros that cause a reset set the indent.Macros that change the indent do not increment or decrementthe indent, but rather set it absolutely.This can cause problems for documents that defineadditional macros of their own.The solution is to use not the.B inrequest but instead the.B RSand.B REmacros..LPThe number register.B GSis set to 1 by the groff ms macros,but is not used by the Unix ms macros.It is intended that documents that need to determine whetherthey are being formatted with Unix ms or groff ms make use of thisnumber register..LPFootnotes are implemented so that they can safely be used withinkeeps and displays.Automatically numbered footnotes within floating keeps arenot recommended.It is safe to have another.B \e**between a.B \e**and the corresponding.BR .FS ;it is required only that each.B .FSoccur after the corresponding.B \e**and that the occurrences of.B .FSare in the same order as the corresponding occurrences of.BR \e** ..LPThe strings.B \e*{and.B \e*}can be used to begin and end a superscript..LPSome Unix V10 ms features are implemented.The.BR B ,.BR Iand.B BImacros can have an optional third argument which will be printedin the current font before the first argument.There is a macro.B CWlike.B Bthat changes to a constant-width font..LPThe following strings can be redefined to adapt the groff ms macrosto languages other than English:.LP.nf.ta \w'REFERENCES'u+2nString Default Value.sp .3vREFERENCES ReferencesABSTRACT ABSTRACTTOC Table of ContentsMONTH1 JanuaryMONTH2 FebruaryMONTH3 MarchMONTH4 AprilMONTH5 MayMONTH6 JuneMONTH7 JulyMONTH8 AugustMONTH9 SeptemberMONTH10 OctoberMONTH11 NovemberMONTH12 December.fi.LPThe font family is reset from the string.BR FAM ;at initialization if this string is undefined it is set to the currentfont family.The point size, vertical spacing, and inter-paragraph spacing for footnotesare taken from the number registers.BR FPS ,.BR FVS ,and.BR FPD ;at initialization these are set to.BR \en(PS-2 ,.BR \en[FPS]+2 ,and.B \en(PD/2respectively; however, if any of these registers has been definedbefore initialization, it will not be set..LPRight-aligned displays are available with.B ".DS R"and.BR .RD ..LPThe following conventions are used for names of macros, strings andnumber registers.External names available to documents that use the groff msmacros contain only uppercase letters and digits.Internally the macros are divided into modules.Names used only within one module are of the form.IB module * name\fR.Names used outside the module in which they are defined are of the form.IB module @ name\fR.Names associated with a particular environment are of the form.IB environment : name;these are used only within the.B parmodule,and.I namedoes not have a module prefix.Constructed names used to implement arrays are of the form.IB array ! index\fR.Thus the groff ms macros reserve the following names:.IP \(bunames containing.BR * ;.IP \(bunames containing.BR @ ;.IP \(bunames containing.BR : ;.IP \(bunames containing only uppercase letters and digits..SH FILES.B @MACRODIR@/tmac.@TMAC_S@.SH "SEE ALSO".BR groff (@MAN1EXT@),.BR @g@troff (@MAN1EXT@),.BR @g@tbl (@MAN1EXT@),.BR @g@pic (@MAN1EXT@),.BR @g@eqn (@MAN1EXT@).br.BR ms (@MAN7EXT@)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -