summaryrefslogtreecommitdiffstats
path: root/doc/groff.html.node/Macro-Package-Intro.html
blob: 77f2036659ccb09775d4dc1c3e07d90797fe7227 (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
<!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>Macro Package Intro (The GNU Troff Manual)</title>

<meta name="description" content="Macro Package Intro (The GNU Troff Manual)">
<meta name="keywords" content="Macro Package Intro (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="Introduction.html" rel="up" title="Introduction">
<link href="Preprocessor-Intro.html" rel="next" title="Preprocessor Intro">
<link href="groff-Capabilities.html" rel="prev" title="groff Capabilities">


</head>

<body lang="en">
<div class="section-level-extent" id="Macro-Package-Intro">
<div class="nav-panel">
<p>
Next: <a href="Preprocessor-Intro.html" accesskey="n" rel="next">Preprocessors</a>, Previous: <a href="groff-Capabilities.html" accesskey="p" rel="prev"><code class="code">groff</code> Capabilities</a>, Up: <a href="Introduction.html" accesskey="u" rel="up">Introduction</a> &nbsp; [<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>
<h3 class="section" id="Macro-Packages-1">1.4 Macro Packages</h3>
<a class="index-entry-id" id="index-macro-package_002c-introduction"></a>
<a class="index-entry-id" id="index-package_002c-macro_002c-introduction"></a>

<p>Elemental typesetting functions can be be challenging to use directly
with complex documents.  A <em class="dfn">macro</em> facility specifies how certain
routine operations, such as starting paragraphs, or printing headers and
footers, should be performed in terms of those low-level instructions.
Macros can be specific to one document or collected together into a
<em class="dfn">macro package</em> for use by many.  Several macro packages available;
the most widely used are provided with <code class="code">groff</code>.  They are
<samp class="file">man</samp>, <samp class="file">mdoc</samp>, <samp class="file">me</samp>, <samp class="file">mm</samp>, <samp class="file">mom</samp>, and
<samp class="file">ms</samp>.
</p>


</div>



</body>
</html>