The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

ms (5)
  • >> ms (5) ( Solaris man: Форматы файлов )
  • ms (7) ( FreeBSD man: Макропакеты и соглашения )
  •  

    NAME

    ms - text formatting macros
     
    

    SYNOPSIS

    nroff  -ms [options] filename...
    

    troff  -ms [options] filename...
    

     

    DESCRIPTION

    This package of nroff(1) and troff(1) macro definitions provides a formatting facility for various styles of articles, theses, and books. When producing 2-column output on a terminal or lineprinter, or when reverse line motions are needed, filter the output through col(1). All external -ms macros are defined below.

    Note: this -ms macro package is an extended version written at Berkeley and is a superset of the standard -ms macro packages as supplied by Bell Labs. Some of the Bell Labs macros have been removed; for instance, it is assumed that the user has little interest in producing headers stating that the memo was generated at Whippany Labs.

    Many nroff and troff requests are unsafe in conjunction with this package. However, the first four requests below may be used with impunity after initialization, and the last two may be used even before initialization:

    .bp

    begin new page

    .br

    break output line

    .sp n

    insert n spacing lines

    .ce n

    center next n lines

    .ls n

    line spacing: n=1 single, n=2 double space

    .na

    no alignment of right margin

    Font and point size changes with \f and \s are also allowed; for example, \fIword\fR will italicize word. Output of the tbl(1), eqn(1) and refer(1) preprocessors for equations, tables, and references is acceptable as input.  

    REQUESTS

    Macro NameInitial ValueBreak? Reset?Explanation

    .AB x-y begin abstract; if x=no do not label abstract

    .AE

    .AI

    .AM

    .AU

    .B x

    .B1

    .B2

    .BT

    .BX x

    .CM

    .CT

    .DA x

    .DE

    .DS x y

    .ID y

    .LD

    .CD

    .BD

    .EF x

    .EH x

    .EN

    .EQ x y

    .FE

    .FP

    .FS x

    .HD

    .I x

    .IP x y

    .IX x y

    .KE

    .KF

    .KS

    .LG

    .LP

    .MC x

    .ND x

    .NH x y

    .NL

    .OF x

    .OH x

    .P1

    .PP

    .PT

    .PX x

    .QP

    .R

    .RE

    .RP x

    .RS

    .SH

    .SM

    .TA

    .TC x

    .TE

    .TH

    .TL

    .TM

    .TS x

    .UL x

    .UX x

    .XA x y

    .XE

    .XP

    .XS x y

    .1C

    .2C

    .]-

    .[0

    .[N

     

    REGISTERS

    Formatting distances can be controlled in -ms by means of built-in number registers. For example, this sets the line length to 6.5 inches:

    .nr  LL  6.5i
    

    Here is a table of number registers and their default values:

    NameRegister ControlsTakes EffectDefault

    PSpoint size paragraph10

    VS

    LL

    LT

    FL

    PD

    DD

    PI

    QI

    FI

    PO

    HM

    FM

    FF

    When resetting these values, make sure to specify the appropriate units. Setting the line length to 7, for example, will result in output with one character per line. Setting FF to 1 suppresses footnote superscripting; setting it to 2 also suppresses indentation of the first line; and setting it to 3 produces an .IP-like footnote paragraph.

    Here is a list of string registers available in -ms; they may be used anywhere in the text:

    NameString's Function

    \*Qquote (" in nroff, " in troff )

    \*U

    \*-

    \*(MO

    \*(DY

    \**

    \*'

    \*`

    \*^

    \*,

    \*:

    \*~

    When using the extended accent mark definitions available with .AM, these strings should come after, rather than before, the letter to be accented.  

    FILES

    /usr/share/lib/tmac/s

    /usr/share/lib/tmac/ms.???

     

    SEE ALSO

    col(1), eqn(1), nroff(1), refer(1), tbl(1), troff(1)  

    BUGS

    Floating keeps and regular keeps are diverted to the same space, so they cannot be mixed together with predictable results.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    REQUESTS
    REGISTERS
    FILES
    SEE ALSO
    BUGS


    Поиск по тексту MAN-ов: 




    Спонсоры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2022 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру