blob: c95792f5126d6b91e21cad01d84f5e3b5ba23592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.0.3, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- This manual documents GNU troff version 1.23.0.
Copyright � 1994-2023 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of the license is included in the section entitled "GNU Free
Documentation License". -->
<title>ms Multiple Columns (The GNU Troff Manual)</title>
<meta name="description" content="ms Multiple Columns (The GNU Troff Manual)">
<meta name="keywords" content="ms Multiple Columns (The GNU Troff Manual)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="index.html" rel="start" title="Top">
<link href="Request-Index.html" rel="index" title="Request Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="ms-Page-Layout.html" rel="up" title="ms Page Layout">
<link href="ms-TOC.html" rel="next" title="ms TOC">
<link href="ms-Margins.html" rel="prev" title="ms Margins">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
span.r {font-family: initial; font-weight: normal; font-style: normal}
span:hover a.copiable-link {visibility: visible}
strong.def-name {font-family: monospace; font-weight: bold; font-size: larger}
-->
</style>
</head>
<body lang="en">
<div class="subsubsection-level-extent" id="ms-Multiple-Columns">
<div class="nav-panel">
<p>
Next: <a href="ms-TOC.html" accesskey="n" rel="next">Creating a table of contents</a>, Previous: <a href="ms-Margins.html" accesskey="p" rel="prev">Margins</a>, Up: <a href="ms-Page-Layout.html" accesskey="u" rel="up">Page layout</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Request-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h4 class="subsubsection" id="Multiple-columns">4.6.6.4 Multiple columns</h4>
<a class="index-entry-id" id="index-ms-macros_002c-multiple-columns"></a>
<a class="index-entry-id" id="index-multiple-columns-_005bms_005d"></a>
<p><samp class="file">ms</samp> can set text in as many columns as reasonably fit on the page.
The following macros force a page break if a multi-column layout is
active when they are called. The <code class="code">MINGW</code> register stores the
default minimum gutter width; it is a GNU extension. When multiple
columns are in use, keeps and the <code class="code">HORPHANS</code> and <code class="code">PORPHANS</code>
registers work with respect to column breaks instead of page breaks.
</p>
<dl class="first-deffn first-defmac-alias-first-deffn">
<dt class="deffn defmac-alias-deffn" id="index-_002e1C"><span class="category-def">Macro: </span><span><strong class="def-name"><code class="t">.1C</code></strong><a class="copiable-link" href='#index-_002e1C'> ¶</a></span></dt>
<dd><a class="index-entry-id" id="index-1C-_005bms_005d"></a>
<p>Arrange page text in a single column (the default).
</p></dd></dl>
<dl class="first-deffn first-defmac-alias-first-deffn">
<dt class="deffn defmac-alias-deffn" id="index-_002e2C"><span class="category-def">Macro: </span><span><strong class="def-name"><code class="t">.2C</code></strong><a class="copiable-link" href='#index-_002e2C'> ¶</a></span></dt>
<dd><a class="index-entry-id" id="index-2C-_005bms_005d"></a>
<p>Arrange page text in two columns.
</p></dd></dl>
<dl class="first-deffn first-defmac-alias-first-deffn">
<dt class="deffn defmac-alias-deffn" id="index-_002eMC"><span class="category-def">Macro: </span><span><strong class="def-name"><code class="t">.MC</code></strong> <var class="def-var-arguments">[<span class="r"><i class="slanted">column-width</i></span> [<span class="r"><i class="slanted">gutter-width</i></span>]]</var><a class="copiable-link" href='#index-_002eMC'> ¶</a></span></dt>
<dd><a class="index-entry-id" id="index-MC-_005bms_005d"></a>
<p>Arrange page text in multiple columns. If you specify no arguments, it
is equivalent to the <code class="code">2C</code> macro. Otherwise, <var class="var">column-width</var> is
the width of each column and <var class="var">gutter-width</var> is the minimum distance
between columns.
</p></dd></dl>
</div>
</body>
</html>
|