blob: 8cd72ab0d2a7361359286c518faaf9e9b322200d [file] [log] [blame]
<!DOCTYPE html>
<html>
<!-- Created by Texinfo 6.8dev+dev, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- This manual is for GNU Texinfo (version 6.8dev, 23 February 2022),
a documentation system that can produce both online information and a
printed manual from a single source using semantic markup.
Copyright (C) 1988, 1990-1993, 1995-1999, 2001-2022 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, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled
"GNU Free Documentation License". -->
<title>Heading Format (GNU Texinfo 6.8dev)</title>
<meta name="description" content="Heading Format (GNU Texinfo 6.8dev)">
<meta name="keywords" content="Heading Format (GNU Texinfo 6.8dev)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2any">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="index.html" rel="start" title="Top">
<link href="Command-and-Variable-Index.html" rel="index" title="Command and Variable Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Headings.html" rel="up" title="Headings">
<link href="Custom-Headings.html" rel="next" title="Custom Headings">
<link href="_0040headings.html" rel="prev" title="@headings">
<style type="text/css">
<!--
div.example {margin-left: 3.2em}
-->
</style>
</head>
<body lang="en">
<div class="subsection-level-extent" id="Heading-Format">
<div class="nav-panel">
<p>
Next: <a href="Custom-Headings.html" accesskey="n" rel="next">How to Make Your Own Headings</a>, Previous: <a href="_0040headings.html" accesskey="p" rel="prev">The <code class="code">@headings</code> Command</a>, Up: <a href="Headings.html" accesskey="u" rel="up">Page Headings</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h4 class="subsection" id="Standard-Heading-Formats">E.2.2 Standard Heading Formats</h4>
<p>Texinfo provides two standard heading formats, one for manuals printed
on one side of each sheet of paper, and the other for manuals printed
on both sides of the paper.
</p>
<p>By default, nothing is specified for the footing of a Texinfo file,
so the footing remains blank.
</p>
<p>The standard format for single-sided printing consists of a header
line in which the left-hand part contains the name of the chapter, the
central part is blank, and the right-hand part contains the page
number.
</p>
<p>A single-sided page looks like this:
</p>
<div class="example">
<div class="group"><pre class="example-preformatted"> _______________________
| |
| chapter page number |
| |
| Start of text ... |
| ... |
| |
</pre></div></div>
<p>The standard format for two-sided printing depends on whether the page
number is even or odd. By convention, even-numbered pages are on the
left- and odd-numbered pages are on the right. (TeX will adjust the
widths of the left- and right-hand margins. Usually, widths are
correct, but during double-sided printing, it is wise to check that
pages will bind properly&mdash;sometimes a printer will produce output in
which the even-numbered pages have a larger right-hand margin than the
odd-numbered pages.)
</p>
<p>In the standard double-sided format, the left part of the left-hand
(even-numbered) page contains the page number, the central part is
blank, and the right part contains the title (specified by the
<code class="code">@settitle</code> command). The left part of the right-hand
(odd-numbered) page contains the name of the chapter, the central part
is blank, and the right part contains the page number.
</p>
<p>Two pages, side by side as in an open book, look like this:
</p>
<div class="example">
<div class="group"><pre class="example-preformatted"> _______________________ _______________________
| | | |
| page number title | | chapter page number |
| | | |
| Start of text ... | | More text ... |
| ... | | ... |
| | | |
</pre></div></div>
<p>The chapter name is preceded by the word &ldquo;Chapter&rdquo;, the chapter number
and a colon. This makes it easier to keep track of where you are in the
manual.
</p>
</div>
<hr>
<div class="nav-panel">
<p>
Next: <a href="Custom-Headings.html">How to Make Your Own Headings</a>, Previous: <a href="_0040headings.html">The <code class="code">@headings</code> Command</a>, Up: <a href="Headings.html">Page Headings</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>