GROFF_MM(7) GROFF_MM(7)
名称
groff_mm - groff mm マクロ
書式
groff -mm [ options... ] [ files... ]
解説
groff mm マクロは、DWB mm マクロと互換であるように設計されています。し
かし、以下のような制限があります:
· ベル研の方言は実装されていません。
· マクロ OK 及び PM は実装されていません。
· groff mm は、カットマークをサポートしません。
mm は、国際化されて設計されています。そのため、各国語対応用の短いマクロ
フ ァイルを書き換えて、英語のテキストを好みの言語対応に置き換えることが
できます。 mmse を例として用いてください。
大域変数の初期化後に locale か lang_locale というファイルを読み込みます
。 そのため、企業名などについてのマクロをローカライズすることができます
。
このマニュアルでは、角括弧は省略可能な引数を表示するのに用いられます。
数値レジスタと文字列変数
多くのマクロを数値レジスタと文字列変数によって制御することが出来ます 。
数値レジスタは、nr コマンドによって、代入が出来ます。
.nr XXX [+-]n [i]
XXX はレジスタの名前です。 n は、代入されるべき値です。そして、i は、自
動増加に使われる増分値です。もし現在値の増減が必要ならば、n には、前 に
接 頭辞として正符号や負符号をつけることが出来ます。 (自動増加や自動減少
が行なわれるのは、数値レジスタが正符号か負符号とともに用いられた時の こ
とで、 \n+[XXX] か \n-[XXX] の様になります。)
文字列変数は、ds により定義されます。
.ds YYY string
文 字列 string としては、空白も含めて行末までの全部が割り当てられます。
string の中の最初の空白は、二重引用符が前につけられなければなりません。
(テキストの中では、文字列変数は \*[YYY] の様に使われます。)
数値レジスタの特殊な形式
数 値レジスタというものは、形式が何も指定されなければ、通常の数字で表示
されます。形式は af によって設定出来ます:
.af R c
R はレジスタの名前で、c はその形式です。
形式 数の並び
1 0, 1, 2, 3, ...
001 000, 001, 002, 003, ...
i 0, i, ii, iii, iv, ...
I 0, I, II, III, IV, ...
a 0, a, b, c, ..., z, aa, ab, ...
A 0, A, B, C, ..., Z, AA, AB, ...
マクロ:
)E level text
text (見出しテキスト) を目次に加えます。 level は 0 か 1-7 の 間
です。本マクロは目次のカスタマイズに使用します。
1C [1] 1 段の段組処理を開始します。引数としての 1 はページ区切りを無効
にします。広い脚注を用いてください。狭い脚注は重ね打ちになってし
まうでしょう。
2C 2 段の段組処理を開始します。ページを 2 段のカラムに分割します。
これは、MC の特殊な場合になります。関連項目は 1C です。
AE アブストラクトの終わり。 AS を参照してください。
AF [企業名]
著者の帰属する企業。AU の前に呼び出さなければなりません。関連 項
目は COVER です。
AL [type [text-indent [1]]]
自動番号付けリストを開始します。項目は、1 から始められる番号を振
付けられます。引数の type は数字の型を制御します。
引数 数字の型
1 アラビア数字 (デフォルト)
A 大文字 (A-Z)
a 小文字 (a-z)
I 大文字 ローマ数字
i 小文字 ローマ数字
text-indent はインデントを設定し、Li よりも優先されます。 3 番目
の引数は、各項目の前に空行を出力することを禁止します。
APP name text
name という名前の付録を開始します。 name が "" である場合には、
自動的に名前がつけられます。名前が自動生成されるならば、付録は A
から始まります。数値変数の Aph が非 0 であれば、新しいページに切
り替えられ、ヘッダも生成されます。これが、デフォルトです。付録は
、常に「List of contents」の中に正しいページ番号とともに表示され
ます。 APPENDIX という名前は、文字列変数の App に望みのテキス ト
を代入すれば、変えることが出来ます。文字列 Apptxt は、現在の付録
テキストを含みます。
APPSK name pages text
.APP とほぼ同じです。異なるのは、pages だけページ番号が増加さ れ
ることです。これが使用されるのは、図表や、その他整形されていない
文書が付録に含まれる時です。
AS [arg [indent]]
アブストラクトの開始。インデントは、「en (半角)」で指定されま す
が 、単位付きの指定も可能です。引数の arg は、アブストラクトが印
字される場所を制御します。
arg 配置
0 公開論文形式 (MT 4) の場合には、アブストラクトは第 1 ページ
と 表紙に印字されます。それ以外の場合には、表紙はなく、第 1
ページに印字されます。
1 アブストラクトは表紙だけに印字されます (MT 4 の場合のみ)。
2 アブストラクトは表紙だけに印字されます (MT 4 以外の場 合 の
み)。表紙の印字には、CS は必要ありません。
外部へのレター形式 (MT 5) では、アブストラクトは全く印字されませ
ん。 indent は両側マージンのインデントを制御します。指定されない
時は、通常のテキストのインデントが用いられます。
AST [title]
ア ブストラクトの題目。デフォルトでは、ABSTRACT です。アブストラ
クトのテキストの上にそのテキストを設定します。
AT title1 [title2 ...]
著者の肩書。AT は、各々の AU のすぐ後に現れなければなりません 。
肩書は、署名ブロックで名前の後に現れます。
AU [name [initials [loc [dept [ext [room [arg [arg [arg]]]]]]]]]
著者に関する情報。これは、覚書や論文の著者を明示し、表紙や他の同
様の場所に印字されます。 AU は TL の前に現れてはなりません。著者
情報には、イニシャル (initials)、所在地 (loc)、部局 (dept)、電話
内線番号 (ext)、部屋番号又は部屋の名前 (room)、そして 3 個までの
追加引数を含めることが出来ます。
AV [name [1]]
承 認 署 名 。 こ れは、署名と日付を伴う承認欄を生成します。変数
Letapp を用いて文字列 APPROVED: を変更することが出来ます。また、
文字列 Date は Letdate に入っています。
AVL [name]
手紙の署名。署名用の空間の行を生成します。
B [bold-text [prev-font-text [bold...]]]
ボールド体の開始。引数の数には、制限はありません。すべての引数は
、1 個の単語に結合されます。第 1 番目の引数、第 3 番目の引数、な
どなどがボールド体で印字されます。
B1 (ms マクロのような) ボックスの開始。テキストの周りにボックスを描
きます。テキストは 1 文字インデントされ、右マージンは 1 文字短く
なります。
B2 ボックスの終了。B1 によって開始されたボックスを終了します。
BE ページ底部のブロックの終了。BS を参照してください。
BI [bold-text [italic-text [bold-text [...]]]]
ボ ールド体とイタリック体。引数の数には制限はありません。 B を参
照してください。
BL [text-indent [1]]
黒丸リストの開始。これは、黒丸記号と空白を各リスト項目の先頭部分
に 配 置するリストを初期化します (LI を参照してください)。 text-
indent は、数値レジスタ Pi により設定されるリスト項目のデフォ ル
ト のインデントより優先されます。第 3 番目の引数により、各項目前
の空行の出力が禁止されます。
BR [bold-text [roman-text [bold-text [...]]]]
ボールド体とローマン体。引数の数には、制限はありません。
BS ページ底部のブロック開始。これは、テキストブロックの定義を開始し
ます。このブロックは各ページの底部に印字されます。ブロックは、BE
で終了します。
BVL text-indent [mark-indent [1]]
変則可変項目リスト。この変則可変項目リストには、定まった項目記号
がありません。その代わり、各 LI に項目記号が定義されていると仮定
しています。テキストは必ず、項目記号の後の次の行で始まりま す 。
text-indent によって、テキストのインデントが設定されます。そして
、mark-indent によって、現在のインデントから項目記号までの距離が
設 定されます。第 3 番目の引数は、各項目の前に空行を出力すること
を禁止します。
COVER [arg]
COVER は表紙の定義を開始します。重要なことは、.COVER がすべて の
通常のテキストより前に現れることです。 .COVER では、arg を使用し
て、 /usr/share/tmac/mm/arg.cov というファイル名を構成します。こ
のお陰で、無制限な型の表紙を創作することが可能です。 ms.cov の目
的としていることは、ms の表紙に似せることです。 .COVER では、 表
紙 の定義の最後に .COVEND があることが要求されます。必ず、以下の
ような順番で表紙マクロを使用してください:
.COVER
.TL
.AF
.AU
.AT
.AS
.AE
.COVEND
しかし、必ず必要なのは .TL と .AU だけです。
COVEND これによって表紙の記述は終了し、表紙が印字されます。このマクロは
、表紙ファイルに定義されています。
DE ディスプレイ終了。これは、DS 又は DF で始まったテキストブロック
やディスプレイを終了させます。
DF [format [fill [rindent]]]
フローティングディスプレイを開始します (入れ子にはできません) 。
フローティングディスプレイは、キューに保存され、入れられた順番で
印字されます。 format, fill, rindent は、DS の場合と同じです。フ
ローティングディスプレイは、2 個の数値レジスタ De と Df とによっ
て制御されます。
De レジスタ
0 特別なことは何もありません。これがデフォルトです。
1 十分な空白がある場合、ディスプレイが印字された後で改ペー ジ
が 行われます。そうでない場合、ディスプレイは文書の最後に印
字されます。
Df レジスタ
0 (セクション - ページの番号付けが有効な時は) 各セクション の
最 後に、そうでない時には文書の最後に、ディスプレイは印字さ
れます。
1 充分な余地があれば、新しいディスプレイは現在のページに印 字
さ れます。そのような余地がなければ、ディスプレイは文書の最
後に印字されます。
2 1 つのディスプレイが、各ページの、又は (多段組のモードでは)
各カラムの一番上に印字されます。
3 も し充分な余地があるならば、1 つのディプレイを印字します。
余地がなければ、ディスプレイは次ページか次のカラムの一番 上
に印字されます。
4 新 しいページまたはカラムに、入るだけのディスプレイを印字し
ます。もし De が 0 でなければ、各ディスプレイの間に改ページ
が出力されます。
5 現 在のページをディスプレイで満たします。そして、残りは、新
しいページまたはカラムから始めます。(これがデフォルトで す)
。もし De が 0 でなければ、各ディスプレイの間に改ページが出
力されます。
DL [text-indent [1 [1]]]
ダッシュリストの開始。これは、各項目がダッシュの後に印字されるリ
ス トを開始します。 text-indent は、数値レジスタの Pi によって設
定される、リスト項目のデフォルトのインデントを変更します。 第 2
引数は、リスト項目の間の空行印字を抑止します。 LI を参照してくだ
さい。第 3 引数は、各リスト項目の前の空行印字を抑止します。
DS [format [fill [rindent]]]
スタティックディスプレイの開始。これは、DE に至るまでテキスト の
収集を始めます。テキストは、ページ長より長くならない限り同一のペ
ージに印字されます。 DS は入れ子にできます。入れ子の深さには限度
はありません (合理的な程度に :-)。
format
"" インデントしません。
none インデントしません。
L インデントしません。
I 数値レジスタ Si の値だけテキストをインデントします。
C 各行を中央揃えします。
CB ディスプレイ全体をブロックとして中央揃えします。
R 行を右揃えします。
RB ディスプレイ全体をブロックとして右揃えします。
L, I, C, CB は 0, 1, 2, 3 とも指定できます。これは互換性の理由か
らです。 (この機能は使用しないでください。:-)
fill
"" 行詰め機能を無効にします。
none 行詰め機能を無効にします。
N 行詰め機能を無効にします。
F 行詰め機能を有効にします。
N と F は 0 と 1 とも指定できます。通常は空行がディスプレイの 前
と 後に印字されます。数値レジスタ Ds に 0 を設定すればこれを抑止
出来ます。 rindent を指定すれば、行の長さをその量だけ短く出来 ま
す。
EC [title [override [flag [refname]]]]
数式の題目。数式に題目をつけます。引数に override を指定すれば、
数式番号を変更出来ます。
flag
none override は、番号の接頭辞となります。
0 override は、番号の接頭辞となります。
1 override は、番号の接尾辞となります。
2 番号は override に置き換えられます。
EC は数値レジスタの Ec をカウンタとして使います。番号の形式を 変
更する為に、.af を用いることが出来ます。もし数値レジスタの Of が
1 であれば、題目の形式として番号の後にはドットの代わりにダッシュ
が使われます。
文 字列変数の Le は、式一覧 (List of Equations) の題目を制御しま
す。式一覧は、数値レジスタ Le が 1 の場合のみ表示されます。デ フ
ォルトは 0 です。これは、デフォルトでは LIST OF EQUATIONS です。
数値レジスタの Liec は単語 Equation を含みます。この文字列は番号
の 前に印字されます。もし refname が指定されている時には、数式番
号が .SETR によって保存されます。これは、.GETST refname によって
取り出せます。
EC が DS/DE の内部で使用されている場合、特別な表題処理を行います
。 DS の書式には影響されません。
EF [arg]
偶数ページのフッタ。これは偶数ページの通常のページフッタのすぐ上
に印字されます。 PF を参照してください。
EH [arg]
偶数ページのヘッダ。これは偶数ページの通常のページヘッダのすぐ下
に印字されます。 PH を参照してください。
EN 数式の終了。 EQ を参照してください。
EOP ページ終了のユーザ定義マクロ。フッタを通常通り印字する代わりにこ
のマクロが呼び出されます。このマクロは何のトラップもアクティブで
はない状態の隔離された環境下で実行されます。 TPを参照してくだ さ
い。
EOP に利用できる文字列変数
EOPf PF からの引数。
EOPefEF からの引数。
EOPofOF からの引数。
EPIC width height [name]
EPIC は指定された width (幅) と height (高さ) の箱を描きます。ま
た、テキスト name を表示するか、 name が指定されていない場合には
デフォルト文字列を表示します。外部ピクチャを取り込むときに使用し
、この場合、ピクチャの大きさだけを指定してください。 PIC を見 て
ください。
EQ [label]
数 式の開始。 EQ/EN は、eqn への入力として書かれた数式の区切り記
号です。 EQ/EN は DS/DE ペアに囲まれていなければなりません。しか
し、EQ が eqn のオプションを設定するのに使用されているだけならば
、その必要はありません。数値レジスタの Eq が 1 でなければ、label
は数式の右マージンに現れます。1 であれば、ラベルは左マージンに現
れます。
EX [title [override [flag [refname]]]]
エグジビットの題目。引数は EC と同じです。 EX は数値レジス タ の
Ex をカウンタとして使用します。文字列変数の Lx は、エグジビット
一覧 (List of Exhibits) の題名を制御します。デフォルトでは LIST
OF EXHIBITS となります。エグジビット一覧が表示されるのは、数値レ
ジスタ Lx が 1 の場合のみです。デフォルトは 1 です。文字列変数の
Liex は、Exhibit という単語を含みます。この単語は、番号の前に印
字されます。もし refname が指定されたなら、その時はエグジビッ ト
番号は、 .SETR により保存されます。これは、.GETST refname によっ
て取り出せます。
EX が DS/DE の内部で使用されている場合、特別な表題処理を行います
。 DS の書式には影響されません。
FC [closing]
レ ターや覚書の正式な締めくくりとして Yours very truly, を印字し
ます。引数でデフォルトの文字列を置き換えられます。デフォルトは文
字列変数の Letfc に保管されています。
FD [arg [1]]
脚 注のデフォルトの形式。これは、ハイフネーション (hyphen)、右マ
ージン揃え (adjust)、脚注テキストのインデント (indent) を制御 し
ます。また、ラベル揃え (ljust) も変更することが出来ます。
arg hyphen adjust indent ljust
0 no yes yes left
1 yes yes yes left
2 no no yes left
3 yes no yes left
4 no yes no left
5 yes yes no left
6 no no no left
7 yes no no left
8 no yes yes right
9 yes yes yes right
10 no no yes right
11 yes no yes right
11 以上の引数は、引数 0 と見なされます。mm でのデフォルトは 10
です。
FE 脚注の終了。
FG [title [override [flag [refname]]]]
図の題名。引数は EC のものと同じです。 FG は数値レジスタの Fg を
カ ウ ン タとして使用します。文字列変数の Lf は、図一覧 (List of
Figures) の題名を制御します。デフォルトでは LIST OF FIGURES とな
り ます。図一覧が表示されるのは、数値レジスタ Lf が 1 の場合のみ
です。デフォルトは 1 です。文字列変数の Lifg は、Figure という単
語 を 含みます。この単語は、番号の前に印字されます。もし refname
が指定されていれば、図番号が .SETR によって保存されます。これ は
、.GETST refname によって取り出せます。
FG が DS/DE の内部で使用されている場合、特別な表題処理を行います
。 DS の書式には影響されません。
FS [label]
脚注の開始。脚注は FE で閉じられます。通常脚注は自動的に番号が付
さ れ ま す。この番号は、文字列変数の F により利用出来ます。ただ
\*F をテキストに加えてください。また、label を引数として加えるこ
とで、他の番号や名前を脚注に付けることが出来ます。ディスプレイの
中の脚注も今では可能です。空行が、脚注同士を分離します。行の高さ
は 、数値レジスタの Fs により制御されます。デフォルト値は 1 です
。
GETHN refname [varname]
これは、対応する SETR refname が配置された場所のセクションヘッダ
番 号を挿入します。これは、1 回目のパスでは、X.X.X. となっている
でしょう。 INITR を参照してください。もし varname が指定されてい
る なら、GETHN により文字列変数の varname にはセクションヘッダ番
号が代入されます。
GETPN refname [varname]
これは、対応する SETR refname が配置された場所のページ番号を挿入
し ま す 。これは、1 回目のパスでは、9999 となっているでしょう。
INITR を参照してください。もし varname が指定され て い る な ら
、GETPN により文字列変数の varname にはページ番号が代入されます
。
GETR refname
これは GETHN と GETPN をテキストの「chapter」と「, page」とと も
に 結合します。文字列変数の Qrf は参照用のテキストを保持していま
す:
.ds Qrf See chapter \\*[Qrfh], page \\*[Qrfp].
Qrf は他の言語をサポートする為に変更出来ます。文字列変数の Qrfh
と Qrfp は GETR により設定され、セクションヘッダ番号とページ番号
が入っています。
GETST refname [varname]
これは、.SETR の第 2 引数により保存された文字列を挿入します。 こ
れ は 、1 回目のパスでは、ダミー文字列になっているでしょう。もし
varname が指定されたなら、GETST により文字列変数の varname に は
保存された文字列が代入されます。 INITR を参照してください。
H level [heading-text [heading-suffix]]
番 号付セクション見出し。セクションヘッダには、1 から 7 迄のレベ
ルを付けられます。レベル 1 が、トップレベルです。テキストは引 数
heading-text に与えられます。テキストに空白があるときには、二重
引用符で括らなければなりません。 heading-suffix をセクションヘッ
ダのテキスト中に付け加えられます。しかし、これは目次には現れませ
ん。通常、これは脚注マークや同様のものに用いられます。 heading-
suffix の中では \*F を使わないでください。 \*F は機能しません。
手動のラベルを使わなければなりません。 FS を参照してください。
H の直後に置かれた段落 P は、無視されます。 H によって、行送りと
インデントの処理が行われます。
見出しの前のページ切り替え
数値レジスタの Ej は見出しの前のページ切り替えを制御します。通常
、レベル 1 の見出しは、その前に 2 行の空行が印字されます。それよ
り高次のレベルの見出しの前では 1 行になります。数値レジスタの Ej
が 1 であれば、各第 1 レベルの見出しの前で新しいページが排出され
ます。レベルが Ej の値以下の見出しすべてについて、ページが切り替
えられます。 Ej のデフォルト値は 0 です。
見出しの行区切りレベル
もし見出しレベルが数値レジスタ Hb 以下ならば、見出しの後で行区切
りが起こります。このレジスタのデフォルト値は 2 です。
見出しの空白行のレベル
もし見出しレベルが数値レジスタ Hs 以下ならば、空白行が見出しの後
に挿入されます。このレジスタのデフォルト値は 2 です。
もしレベルが Hb と Hs の両方より大きければ、テキストは同じ行で見
出しの後に続きます。
見出しの後のインデント
見出しの後のテキストのインデントは数値レジスタの Hi によって制御
されます。このレジスタのデフォルト値は 0 です。
Hi
0 テキストは左揃えされます。
1 テキストのインデントは数値レジスタの Pt の値に従います。 P
を参照してください。
2 テキストは見出しの最初の単語に合わせて 1 列に並べられます。
セクション見出しの中央揃え
そのレベルが数値レジスタの Hc 以下で、かつ Hb 又は Hs 以下の見出
しはすべて、中央揃えされます。
見出しのフォントの管理
各見出しレベルでのフォントは文字列変数の HF を用いて管理されてい
ます。この変数には各レベルでのフォント番号又はフォント名が入れら
れています。デフォルトでは 2 2 2 2 2 2 2 (すべての見出しでイタリ
ック体) です。これをまた I I I I I I I の様にも書くことが出来 ま
す。省略された値はすべて 1 であると推定されます。
ポイントサイズの管理
各見出しのポイントサイズは、フォントが HF により管理されるのと同
様な方法で、文字列変数の HP により管理されます。値 0 は、デフ ォ
ル トのポイントサイズを選びます。デフォルト値は 0 0 0 0 0 0 0 で
す。ポイントサイズのみが変わるのであって、垂直サイズではないこと
に 気 をつけてください。垂直サイズはユーザにより指定されるマクロ
HX や HZ によって管理出来ます。
見出しカウンタ
H1 から H7 迄の名前をつけられた 7 個の数値レジスタには各見出しレ
ベルのカウンタが入れられています。それらの値はアラビア数字を使っ
て印字されます。これらは、マクロの HM (下記参照) によって変え ら
れます。すべての記号は印字する前に結合されます。これを避ける為に
は、数値レジスタの Ht に 1 を代入してください。これにより各見 出
しでは、現在の見出しのカウンタだけが印字されます。
自動の目次
その見出しレベルが数値レジスタ Cl 以下の見出しは、目次に印字する
為に保存されます。このレジスタのデフォルト値は 2 です。
見出しの特別な管理、ユーザ定義マクロ
これから記述するマクロは垂直行送り、フォント、または他の機能を細
かく制御するためにユーザが定義できるものです。引数 level は H へ
のレベル引数です。しかし、これは番号無し見出しでは 0 になりま す
(HU を参照してください)。引数 rlevel は実際のレベルです。これは
、番号無し見出しの為に数値レジスタ Hu に代入されます。引数 head-
ing-text は、H や HU へのテキスト引数です。
HX level rlevel heading-text
HX は見出し印字の直前に呼び出されます。以下のようなレジスタが HX
に利用出来ます。 HX は }0, }2, ;3 を変更してもかまいません。
文字列変数 }0
もし rlevel が非 0 であれば、見出し記号と 2 個のスペース が
入っています。そうでなければ、空です。
数値レジスタ ;0
見出しの後のテキストの位置が入っています。 0 はテキストが見
出しと同じ行に続くはずであることを意味しています。 1 はテキ
ストの前で行区切りが生ずるはずであることを意味します。 2 は
空白行が見出しとテキストを分離するはずであることを意味し ま
す。
文字列変数 }2
数 値レジスタの ;0 が 0 であれば、このレジスタには 2 個のス
ペースが入ります。これは見出しからテキストを分離するのに 使
われます。もし ;0 が非 0 であれば、この文字列変数は空です。
数値レジスタ ;3
これには見出しの後に必要とされる行送りが単位付きで入りま す
。デフォルトは 2v です。
こ れらは番号付け (}0)、垂直行送り (}2)、そして見出しの後に
必要な行送りの様な事柄を変更するのに使用出来ます。
HY dlevel rlevel heading-text
HY はサイズとフォントの計算の後に呼び出されます。インデントを 変
更するために使えるでしょう。
HZ dlevel rlevel heading-text
HZ は見出しの印字の後で、H 又は HU が終了する直前に、呼ばれます
。これは、セクション見出しに従いページヘッダを変更する為に使うこ
とが出来るでしょう。
HC [hyphenation-character]
ハイフネーション文字を設定します。デフォルト文字は \% です。引数
なしで呼ばれた時はデフォルトに再設定します。ファイルの初めで数値
レジスタ Hy に 0 を設定すれば、ハイフネーションを止められます。
HM [arg1 [arg2 [... [arg7]]]]
見出し記号の型。見出しカウンタを印字する為の記号の型を制御します
。デフォルトは、すべてのレベルで 1 です。
引数
1 アラビア数字
0001 ひとつ以上の 0 を先行したアラビア数字
A 大文字のアルファベット
a 小文字のアルファベット
I 大文字のローマ数字
i 小文字のローマ数字
空 アラビア数字
HU heading-text
番号無しセクションヘッダ。数値レジスタ Hu をレベルとして HU は H
の様に振舞います。 H を参照してください。
HX dlevel rlevel heading-text
ユーザ定義見出しの終了。セクションヘッダを印字する直前に呼ばれま
す。 H を参照してください。
HY dlevel rlevel heading-text
ユーザ定義見出しの終了。セクションヘッダを印字する直前に呼ばれま
す。 H を参照してください。
HZ dlevel rlevel heading-text
ユーザ定義見出しの終了。セクションヘッダを印字した直後に呼ばれま
す。 H を参照してください。
I [italic-text [prev-font-text [italic-text [...]]]]
イタリック体です。これは引数なしで呼ばれたならフォントをイタリッ
ク 体に変更します。引数が 1 個の場合には、これはその単語をイタリ
ック体にします。引数が 2 個の場合には、これは引数を連結し最初 の
単語にイタリック体を設定し、2 番目に以前のままのフォントを設定し
ます。引数の数には制限はありません。すべての引数は、連結されます
。
IA [addressee-name [title]]
こ れはレター形式の受信人 (addressee) と受信人のアドレスの記述を
開始します。いくつかの名前が空の IA/IE ペアにより指定できます 。
しかし、アドレスは唯 1 つになります。 LT を参照してください。
IB [italic-text [bold-text [italic-text [...]]]]
イタリック体とボールド体。偶数番目の引数がイタリック体で、奇数番
目がボールド体で印字されます。 I を参照してください。
IE IA の後でアドレス指定を終了します。
INITI type filename [macro]
新しいインデックスシステムを初期化し、インデックス行を集めるファ
イ ル名を IND に設定します。引数 type はインデックスのタイプ、す
なわち、ページ番号・ヘッダマーク・両方のいずれかを選択します。デ
フォルトは N です。
各行を整形する責任のあるマクロを生成することも可能です。マクロの
名前を第 3 引数として追加してください。このマクロは、インデッ ク
スを引数として呼び出されます。
type
N ページ番号
H ヘッダマーク
B ページ番号とヘッダマークの両方をタブで区切ります
INITR filename
参 照 用 マ ク ロ の初期化。参照はファイル filename.tmp と file-
name.qrf とに書き込まれます。これには、groff の 2 回のパスが必要
とされます。最初のパスでは参照を探し、2 回目のパスではそれらを取
り込みます。 INITR は複数回使用できます。しかし、有効なのは最 初
に 出現した INITR だけです。 unsafe-error 発生時には、オプション
-U が必要かもしれません。関連項目は、SETR, GETPN, GETHN です。
IND arg1 [arg2 [...]]
IND は、INITI で選択されたインデックスファイルへ、全引数とページ
番号またはヘッダマークをタブで区切った 1 行を書き込みます。
礼
arg1\tページ番号
arg1\targ2\tページ番号
arg1\tヘッダマーク
arg1\tページ番号\tヘッダマーク
INDP INDP は、文字列変数 Indcmd で指定されるコマンドを実行し、インデ
ックスを表示します。通常は sort -t\t を実行します。 INDP はコ マ
ン ドの出力を読み、インデックスを生成します。通常は 2 桁の書式で
す (TYIND の定義により変更可能です)。インデックスは、文字列変 数
Index のヘッダと共に表示されます。この変数のデフォルト値は INDEX
です。 1 桁の処理は、一覧の後で返されます。 INDP は、ユーザ定 義
マ ク ロ TXIND, TYIND, TZIND が定義されていれば呼び出します。
TXIND は、INDEX の表示前に呼び出されます。 TYIND は、INDEX の 表
示 の代りに呼び出されます。 TZIND は、表示の後で呼び出され、再度
通常動作へ戻る処理を行うべきです。
ISODATE [0]
ISODATE は、DT 中で既に定義されている日付文字列を、 ISO 書式に、
す な わ ち YYYY-MM-DD に変更します。これは、コマンドライン上に
-rIso=1 を加えることでも可能です。昔の日付書式にするには、引数に
0 を指定します。
IR [italic-text [roman-text [italic-text [...]]]]
イタリック体とローマン体。偶数番目の引数がイタリック体で、奇数番
目がローマン体で印字されます。 I を参照してください。
LB text-indent mark-indent pad type [mark [LI-space [LB-space]]]
リスト開始マクロ。これはすべてのリストに使用される共通のマクロで
す 。引数 text-indent は現在のインデントからテキストをインデント
するスペースの数です。
pad と mark-indent は項目記号を置く所を指定します。項目記号は 記
号 領域に配置されます。 mark-indent はこの領域の前のスペースの数
を設定します。これは通常 0 です。記号領域はテキストが始まる所 で
終 ります。それでもなお、テキストの開始は text-indent により決め
られます。
もし pad が 0 ならば、項目記号は記号領域の中で左揃えされます。も
しpad が 0 より大きければ、その時は mark-indent は無視されます。
そして項目記号はテキストに対しスペースで pad 個分前に配置され ま
す。この操作では、項目記号は右揃えされます。
も し type が 0 であれば、リストはハンギングインデントになるか、
又は引数の mark が与えられていたら、文字列の mark が項目記号とな
ります。
も し type が 0 より大きければ、自動的な番号付けが行われます。更
に mark が空であれば、番号はアラビア数字となります。この時、mark
には 1, A, a, I, i のどれでも指定出来ます。
type には項目記号を表示するため 6 通りの可能な方法の中から 1 つ
を選べます。
type
1 x.
2 x)
3 (x)
4 [x]
5
GROFF_MM(7) GROFF_MM(7)
NAME
groff_mm - groff mm macros
SYNOPSIS
groff -mm [ options... ] [ files... ]
DESCRIPTION
The groff mm macros are intended to be compatible with the DWB mm
macros with the following limitations:
· no Bell Labs localisms implemented.
· the macros OK and PM are not implemented.
· groff mm does not support cut marks
mm is intended to be international. Therefore it is possible to write
short national macrofiles which change all english text to the pre-
ferred language. Use mmse as an example.
A file called locale or lang_locale is read after the initiation of the
global variables. It is therefore possible to localize the macros with
companyname and so on.
In this manual square brackets is used to show optional arguments.
Number registers and strings
Many macros can be controlled by number registers and strings. A num-
ber register is assigned with the nr command:
.nr XXX [+-]n [i]
XXX is the name of the register, n is the value to be assigned, and i
is increment value for auto-increment. n can have a plus or minus sign
as prefix if an increment or decrement of the current value is wanted.
(Auto-increment or decrement occurs if the number register is used with
a plus or minus sign, \n+[XXX] or \n-[XXX].)
Strings is defined with ds.
.ds YYY string
The string is assigned everything to the end of the line, even blanks.
Initial blanks in string should be prefixed with a double-quote.
(Strings are used in the text as \*[YYY].)
Special formatting of number registers
A number register is printed with normal digits if no format has been
given. Set the format with af:
.af R c
R is the name of the register, c is the format.
Form Sequence
1 0, 1, 2, 3, ...
001 000, 001, 002, 003, ...
i 0, i, ii, iii, iv, ...
I 0, I, II, III, IV, ...
a 0, a, b, c, ..., z, aa, ab, ...
A 0, A, B, C, ..., Z, AA, AB, ...
Macros:
)E level text
Adds text (heading-text) to the table of contents with level
either 0 or between 1-7. See also .H. This macro is used for
customized table of contents.
1C [1] Begin one column processing. An 1 as argument disables the
page-break. Use wide footnotes, small footnotes may be over-
printed.
2C Begin two column processing. Splits the page in two columns.
It is a special case of MC. See also 1C.
AE Abstract end, see AS.
AF [name of firm]
Authors firm, should be called before AU, see also COVER.
AL [type [text-indent [1]]]
Start autoincrement list. Items are numbered beginning on one.
The type argument controls the type of numbers.
Arg Description
1 Arabic (the default)
A Upper-case letters (A-Z)
a Lower-case letters (a-z)
I Upper-case roman
i Lower-case roman
Text-indent sets the indent and overrides Li. A third argument
will prohibit printing of a blank line before each item.
APP name text
Begin an appendix with name name. Automatic naming occurs if
name is "". The appendixes starts with A if auto is used. An
new page is ejected, and a header is also produced if the number
variable Aph is non-zero. This is the default. The appendix
always appear in the ’List of contents’ with correct pagenumber.
The name APPENDIX can be changed by setting the string App to
the desired text. The string Apptxt contains the current
appendix text.
APPSK name pages text
Same as .APP, but the pagenr is incremented with pages. This is
used when diagrams or other non-formatted documents are included
as appendixes.
AS [arg [indent]]
Abstract start. Indent is specified in ’ens’, but scaling is
allowed. Argument arg controls where the abstract is printed.
Arg Placement
0 Abstract will be printed on page 1 and on the cover sheet
if used in the released-paper style (MT 4), otherwise it
will be printed on page 1 without a cover sheet.
1 Abstract will only be printed on the cover sheet (MT 4
only).
2 Abstract will be printed only on the cover sheet (other
than MT 4 only). The cover sheet is printed without need
for CS.
Abstract is not printed at all in external letters (MT 5). The
indent controls the indentation of both margins, otherwise will
normal text indent be used.
AST [title]
Abstract title. Default is ABSTRACT. Sets the text above the
abstract text.
AT title1 [title2 ...]
Authors title. AT must appear just after each AU. The title
will show up after the name in the signature block.
AU [name [initials [loc [dept [ext [room [arg [arg [arg]]]]]]]]]
Author information, specifies the author of the memo or paper,
and will be printed on the cover sheet and on other similar
places. AU must not appear before TL. The author information
can contain initials, location, department, telephone extension,
room number or name and up to three extra arguments.
AV [name [1]]
Approval signature, generates an approval line with place for
signature and date. The string APPROVED: can be changed with
variable Letapp, and the string Date in Letdate.
AVL [name]
Letter signature, generates a line with place for signature.
B [bold-text [prev-font-text [bold...]]]
Begin boldface. No limit on the number of arguments. All argu-
ments will be concatenated to one word, the first, third and so
on will be printed in boldface.
B1 Begin box (as the ms macro). Draws a box around the text. The
text will be indented one character, and the right margin will
be one character shorter.
B2 End box. Finish the box started by B1.
BE End bottom block, see BS.
BI [bold-text [italic-text [bold-text [...]]]]
Bold-italic. No limit on the number of arguments, see B.
BL [text-indent [1]]
Start bullet list, initialize a list with a bullet and a space
in the beginning of each list item (see LI). Text-indent over-
rides the default indentation of the list items set by number
register Pi. A third argument will prohibit printing of a blank
line before each item.
BR [bold-text [roman-text [bold-text [...]]]]
Bold-roman. No limit on the number of arguments.
BS Bottom block start. Begins the definition of a text block which
is printed at the bottom of each page. Block ends with BE.
BVL text-indent [mark-indent [1]]
Start of broken variable-item list. Broken variable-item list
has no fixed mark, it assumes that every LI has a mark instead.
The text will always begin at the next line after the mark.
Text-indent sets the indent to the text, and mark-indent the
distance from the current indent to the mark. A third argument
will prohibit printing of a blank line before each item.
COVER [arg]
COVER begins a coversheet definition. It is important that
.COVER appears before any normal text. .COVER uses arg to build
the filename /usr/share/groff/1.18.1.4/tmac/mm/arg.cov. There-
fore it is possible to create unlimited types of coversheets.
ms.cov is supposed to look like the ms coversheet. .COVER
requires a .COVEND at the end of the coverdefinition. Always
use this order of the covermacros:
.COVER
.TL
.AF
.AU
.AT
.AS
.AE
.COVEND
However, only .TL and .AU are required.
COVEND This finish the cover description and prints the cover-page. It
is defined in the cover file.
DE Display end. Ends a block of text, display, that begins with DS
or DF.
DF [format [fill [rindent]]]
Begin floating display (no nesting allowed). A floating display
is saved in a queue and is printed in the order entered. For-
mat, fill and rindent is the same as in DS. Floating displays
are controlled by the two number registers De and Df.
De register
0 Nothing special, this is the default.
1 A page eject will occur after each printed display, giving
only one display per page and no text following it.
Df register
0 Displays are printed at the end of each section (when sec-
tion-page numbering is active) or at the end of the docu-
ment.
1 A new display will be printed on the current page if there
is enough space, otherwise it will be printed at the end of
the document.
2 One display will be printed at the top of each page or col-
umn (in multi-column mode).
3 Print one display if there is enough space for it, other-
wise it will be printed at the top of the next page or col-
umn.
4 Print as many displays that will fit in a new page or col-
umn. A page break will occur between each display if De is
not zero.
5 Fill the current page with displays and the rest beginning
at a new page or column. (This is the default.) A page
break will occur between each display if De is not zero.
DL [text-indent [1 [1]]]
Dash list start. Begins a list where each item is printed after
a dash. Text-indent changes the default indentation of the list
items set by number register Pi. A second argument prevents the
empty line between each list item to be printed. See LI. A
third argument will prohibit printing of a blank line before
each item.
DS [format [fill [rindent]]]
Static display start. Begins collection of text until DE. The
text is printed together on the same page, unless it is longer
than the height of the page. DS can be nested to a unlimited
depth (reasonably :-).
format
"" No indentation.
none No indentation.
L No indentation.
I Indent text with the value of number register Si.
C Center each line
CB Center the whole display as a block.
R Right adjust the lines.
RB Right adjust the whole display as a block
L, I, C and CB can also be specified as 0, 1, 2 or 3 for compat-
ibility reasons. (Don’t use it. :-)
fill
"" Line-filling turned off.
none Line-filling turned off.
N Line-filling turned off.
F Line-filling turned on.
N and F can also be specified as 0 or 1. An empty line will
normally be printed before and after the display. Setting
number register Ds to 0 will prevent this. Rindent shortens the
line length by that amount.
EC [title [override [flag [refname]]]]
Equation title. Sets a title for an equation. The override
argument change the numbering.
flag
none override is a prefix to the number.
0 override is a prefix to the number.
1 override is a suffix to the number.
2 override replaces the number.
EC uses the number register Ec as counter. It is possible to
use .af to change the format of the number. If number register
Of is 1, then the format of title will use a dash instead of a
dot after the number.
The string Le controls the title of the List of Equations,
default is LIST OF EQUATIONS. The List of Equations will only
be printed if number register Le is 1, default 0. The string
Liec contains the word Equation, wich is printed before the num-
ber. If refname is used, then the equation number is saved with
.SETR, and can be retrieved with .GETST refname.
Special handling of the title will occur if EC is used inside
DS/DE, it will not be affected by the format of DS.
EF [arg]
Even-page footer, printed just above the normal page footer on
even pages, see PF.
EH [arg]
Even-page header, printed just below the normal page header on
even pages, see PH.
EN Equation end, see EQ.
EOP End of page user-defined macro. This macro will be called
instead of the normal printing of the footer. The macro will be
executed in a separate environment, without any trap active.
See TP.
Strings available to EOP
EOPf Argument from PF.
EOPefArgument from EF.
EOPofArgument from OF.
EPIC [-L] width height [name]
EPIC draws a box with the given width and height, it will also
print the text name or a default string if name is not speci-
fied.. This is used to include external pictures, just give the
size of the picture. -L will leftadjust the picture, the
default is to center adjust. See PIC
EQ [label]
Equation start. EQ/EN are the delimiters for equations written
for eqn. EQ/EN must be inside a DS/DE-pair, except when EQ is
only used to set options in eqn. The label will appear at the
right margin of the equation, unless number register Eq is 1.
Then the label will appear at the left margin.
EX [title [override [flag [refname]]]]
Exhibit title, arguments are the same as for EC. EX uses the
number register Ex as counter. The string Lx controls the title
of the List of Exhibits, default is LIST OF EXHIBITS. The List
of Exhibits will only be printed if number register Lx is 1,
default 1. The string Liex contains the word Exhibit, which is
printed before the number. If refname is used, then the exhibit
number is saved with .SETR, and can be retrieved with .GETST
refname.
Special handling of the title will occur if EX is used inside
DS/DE, it will not be affected by the format of DS.
FC [closing]
Prints Yours very truly, as a formal closing of a letter or mem-
orandum. The argument replaces the defualt string. The default
is stored in string variable Letfc.
FD [arg [1]]
Footnote default format. Controls the hyphenation (hyphen),
right margin justification (adjust), indentation of footnote
text (indent). It can also change the label justification
(ljust).
arg hyphen adjust indent ljust
0 no yes yes left
1 yes yes yes left
2 no no yes left
3 yes no yes left
4 no yes no left
5 yes yes no left
6 no no no left
7 yes no no left
8 no yes yes right
9 yes yes yes right
10 no no yes right
11 yes no yes right
Argument greater than or equal to 11 is considered as arg 0.
Default for mm is 10.
FE Footnote end.
FG [title [override [flag [refname]]]]
Figure title, arguments are the same as for EC. FG uses the
number register Fg as counter. The string Lf controls the title
of the List of Figures, default is LIST OF FIGURES. The List of
Figures will only be printed if number register Lf is 1, default
1. The string Lifg contains the word Figure, wich is printed
before the number. If refname is used, then the figure number
is saved with .SETR, and can be retrieved with .GETST refname.
Special handling of the title will occur if FG is used inside
DS/DE, it will not be affected by the format of DS.
FS [label]
Footnote start. The footnote is ended by FE. Footnotes is nor-
mally automatically numbered, the number is available in string
F. Just add \*F in the text. By adding label, it is possible
to have other number or names on the footnotes. Footnotes in
displays is now possible. An empty line separates footnotes,
the height of the line is controlled by number register Fs,
default value is 1.
GETHN refname [varname]
Includes the headernumber where the corresponding SETR refname
was placed. Will be X.X.X. in pass 1. See INITR. If varname
is used, GETHN sets the stringvariable varname to the headernum-
ber.
GETPN refname [varname]
Includes the pagenumber where the corresponding SETR refname was
placed. Will be 9999 in pass 1. See INITR. If varname is
used, GETPN sets the stringvariable varname to the pagenumber.
GETR refname
Combines GETHN and GETPN with the text ’chapter’ and ’, page’.
The string Qrf contains the text for reference:
.ds Qrf See chapter \\*[Qrfh], page \\*[Qrfp].
Qrf may be changed to support other languages. Strings Qrfh and
Qrfp are set by GETR and contains the page and headernumber.
GETST refname [varname]
Includes the string saved with the second argument to .SETR.
Will be dummystring in pass 1. If varname is used, GETST sets
the stringvariable varname to the saved string. See INITR.
H level [heading-text [heading-suffix]]
Numbered section heading. Section headers can have a level
between 1 and 7, level 1 is the top level. The text is given in
heading-text, and must be surrounded by double quotes if it con-
tains spaces. Heading-suffix is added to the header in the text
but not in the table of contents. This is normally used for
footnote marks and similar things. Don’t use \*F in heading-
suffix, it won’t work. A manual label must be used, see FS.
An eventual paragraph, P, directly after H will be ignored, H is
taking care of spacing and indentation.
Page ejection before heading
Number register Ej controls page ejection before the heading.
Normally, a level one heading gets two blank lines before it,
higher levels gets only one. A new page is ejected before each
first-level heading if number register Ej is 1. All levels
below or equal the value of Ej gets a new page. Default value
for Ej is 0.
Heading break level
A line break occurs after the heading if the heading level is
less or equal to number register Hb. Default value 2.
Heading space level
A blank line is inserted after the heading if the heading level
is less or equal to number register Hs. Default value 2.
Text will follow the heading on the same line if the level is
greater than both Hb and Hs.
Post-heading indent
Indentation of the text after the heading is controlled by num-
ber register Hi, default value 0.
Hi
0 The text will be left-justified.
1 Indentation of the text will follow the value of number
register Pt, see P.
2 The text will be lined up with the first word of the head-
ing.
Centered section headings
All headings whose level is equal or below number register Hc
and also less than or equal to Hb or Hs is centerered.
Font control of the heading
The font of each heading level is controlled by string HF. It
contains a fontnumber or fontname for each level. Default is
2 2 2 2 2 2 2 (all headings in italic). Could also be written
as I I I I I I I. Note that some other implementations use
3 3 2 2 2 2 2 as the default value. All omitted values are pre-
sumed to be a 1.
Point size control.
String HP controls the pointsize of each heading, in the same
way as HF controls the font. A value of 0 selects the default
point size. Default value is 0 0 0 0 0 0 0. Beware that only
the point size changes, not the vertical size. That can be con-
trolled by the user specified macro HX and/or HZ.
Heading counters
Seven number registers, named H1 thru H7 contains the counter
for each heading level. The values are printed using arabic
numerals, this can be changed with the macro HM (see below).
All marks are concatenated before printing. To avoid this, set
number register Ht to 1. That will only print the current head-
ing counter at each heading.
Automatic table of contents
All headings whose level is equal or below number register Cl is
saved to be printed in the table of contents. Default value
is 2.
Special control of the heading, user-defined macros.
These macros can be defined by the user to get a finer control
of vertical spacing, fonts or other features. Argument level is
the level-argument to H, but 0 for unnumbered headings (see HU).
Argument rlevel is the real level, it is set to number register
Hu for unnumbered headings. Argument heading-text is the text
argument to H and HU.
HX level rlevel heading-text
HX is called just before the printing of the heading. The fol-
lowing register is available for HX. HX may alter }0, }2 and
;3.
string }0
Contains the heading mark plus two spaces if rlevel is non-
zero, otherwise empty.
register ;0
Contains the position of the text after the heading. 0
means that the text should follow the heading on the same
line, 1 means that a line break should occur before the
text and 2 means that a blank line should separate the
heading and the text.
string }2
Contains two spaces if register ;0 is 0. It is used to
separate the heading from the text. The string is empty if
;0 is non-zero.
register ;3
Contains the needed space in units after the heading.
Default is 2v.
Can be used to change things like numbering (}0), vertical
spacing (}2) and the needed space after the heading.
HY dlevel rlevel heading-text
HY is called after size and font calculations and might be used
to change indentation.
HZ dlevel rlevel heading-text
HZ is called after the printing of the heading, just before H or
HU exits. Could be used to change the page header according to
the section heading.
HC [hyphenation-character]
Set hyphenation character. Default value is \%. Resets to the
default if called without argument. Hyphenation can be turned
off by setting number register Hy to 0 in the beginning of the
file.
HM [arg1 [arg2 [... [arg7]]]]
Heading mark style. Controls the type of marking for printing
of the heading counters. Default is 1 for all levels.
Argument
1 Arabic numerals.
0001 Arabic numerals with leading zeroes, one or more.
A Upper-case alphabetic
a Lower-case alphabetic
I Upper-case roman numerals
i
lower-case roman numerals
emptyArabic numerals.
HU heading-text
Unnumbered section header. HU behavies like H at the level in
number register Hu. See H.
HX dlevel rlevel heading-text
Userdefined heading exit. Called just before printing the
header. See H.
HY dlevel rlevel heading-text
Userdefined heading exit. Called just before printing the
header. See H.
HZ dlevel rlevel heading-text
Userdefined heading exit. Called just after printing the
header. See H.
I [italic-text [prev-font-text [italic-text [...]]]]
Italic. Changes the font to italic if called without arguments.
With one argument it will set the word in italic. With two
argument it will concatenate them and set the first word in
italic and the second in the previous font. There is no limit
on the number of argument, all will be concatenated.
IA [addressee-name [title]]
Begins specification of the addressee and addressee’s address in
letter style. Several names can be specified with empty IA/IE-
pairs, but only one address. See LT.
IB [italic-text [bold-text [italic-text [...]]]]
Italic-bold. Even arguments is printed in italic, odd in bold-
face. See I.
IE Ends the address-specification after IA.
INITI type filename [macro]
Initialize the new index system, sets the filename to collect
index lines in with IND. Argument type selects the type of
index, page number, header marks or both. The default is N.
It is also possible to create a macro that is responsible for
formatting each row. Add the name of the macro as argument 3.
The macro will be called with the index as argument(s).
type
N Page numbers
H Header marks
B Both page numbers and header marks, tab separated
INITR filename
Initialize the refencemacros. References will be written to
stderr and is supposed to be written to filename.qrf. Requires
two passes with groff, this is handled by a separate program
called mmroff, the reason is that groff is often installed with-
out the unsafe operations that INITR requiered. The first pass
looks for references and the second one includes them. INITR
can be used several times, but it is only the first occurrence
of INITR that is active.
See also SETR, GETPN and GETHN.
IND arg1 [arg2 [...]]
IND writes a line in the index file selected by INITI with all
arguments and the page number or header mark separated by tabs.
Examples
arg1\tpage number
arg1\targ2\tpage number
arg1\theader mark
arg1\tpage number\theader mark
INDP INDP prints the index by running the command specified by string
variable Indcmd, normally sort -t\t. INDP reads the output from
the command to form the index, normally in two columns (can be
changed by defining TYIND). The index is printed with string
variable Index as header, default is INDEX. One-column process-
ing is returned after the list. INDP will call the user-defined
macros TXIND, TYIND and TZIND if defined. TXIND is called
before printing INDEX, TYIND is called instead of printing
INDEX. TZIND is called after the printing and should take care
of restoring to normal operation again.
ISODATE [0]
ISODATE changes the predefined date string in DT to ISO-format,
ie YYYY-MM-DD. This can also be done by adding -rIso=1 on the
command line. Reverts to old date format if argument is 0.
IR [italic-text [roman-text [italic-text [...]]]]
Italic-roman. Even arguments is printed in italic, odd in
roman. See I.
LB text-indent mark-indent pad type [mark [LI-space [LB-space]]]
List begin macro. This is the common macro used for all lists.
Text-indent is the number of spaces to indent the text from the
current indent.
Pad and mark-indent controls where to put the mark. The mark is
placed within the mark area, and mark-indent sets the number of
spaces before this area. It is normally 0. The mark area ends
where the text begins. The start of the text is still con-
trolled by text-indent.
The mark is left justified whitin the mark area if pad is 0. If
pad is greater than 0, then mark-indent is ignored, and the mark
is placed pad spaces before the text. This will right justify
the mark.
If type is 0 the list will have either a hanging indent or, if
argument mark is given, the string mark as mark.
If type is greater than 0 automatic numbering will occur, arabic
if mark is empty. Mark can then be any of 1, A, a, I or i.
Type selects one of six possible ways to display the mark.
type
1 x.
2 x)
3 (x)
4 [x]
5
コロナウイルスの日ごとの感染者数・死者数をグラフ化してみました。どの国が増加傾向にあり、どの国が終息に向かっているかを視覚化しています。
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa