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
89
90
91
92
93
94
95
96
97
98
|
+-----------------------------------------------------------------------------+
| chapterformat |
+-----------------------------------------------------------------------------+
\chapterformat{\numberingstyle{1}
\titleformat{\dumpinsertseject
\cl{\twelvept\bd Chapter \chapternumber}
\cl{\twelvept\bd \chaptertitle}
\vs{1\bl}
\setsubheadanumber{0}
\setsubheadbnumber{0}
\setsubheadcnumber{0}
\setsubheaddnumber{0}}
\incontents{yes}}
Abbreviation: ã|\chfã%
Parameters: ã|submarkupã%
Submarkup: ã|\numberingstyle, \titleformat, \incontentsã%
ã|Description:ã%
The \chapterformat markup allows you to modify the defaults that controls
the appearance of the chapter title. The submarkup is described.
\numberingstyle allows you to change the style from Arabic numerals, the
default, to letters {A} or roman numerals {I}.
\chapterformat{\numberingstyle{A}}
\titleformat{Nested Markup} controls the appearance of the chapter title
banner. You may use markup such as \newpage, \verticalspace, and \center-
line within \titleformat as Nested Markup. Other markup you may use within
or outside of \chapterformat:
* \chapternumberprints the most recent chapter number.
* \chaptertitleprints the most recent chapter title.
\incontents places the chapter title in contents (if one is printed).
Printing can be suppressed by changing to "no."
\chapterformat{\incontents{no}}
ã|Example:ã%
When you enter,
\chapter{Introduction}
you get the default chapter style which looks like:
+-----------------------------------------------------------------------------+
| |
| Chapter 1 |
| Introduction |
| |
+-----------------------------------------------------------------------------+
ã|Example:ã%
In the following example this default style has been modified such that each
chapter starts on a new page, the title is centered in bold (no chapter
number printed), and one line is skipped after the chapter title.
\chapterformat{\numberingstyle{1}
\titleformat{\newpage
\cl{\bd \chaptertitle}
\vs{1\bl}}
\incontents{yes}}
Then each time you specify \chapter you will get:
+-----------------------------------------------------------------------------+
| |
| Introduction |
| |
+-----------------------------------------------------------------------------+
ã|Example:ã%
In this sample, each chapter title is prefaced by the chapter number. As
before, the title is centered in bold, and one line is skipped before text.
\chapterformat{\numberingstyle{1}
\titleformat{\newpage
\cl{\bd\chapternumber.~\chaptertitle}
\vs{1\bl}}
\incontents{yes}}
+-----------------------------------------------------------------------------+
| |
| 1. Introduction |
| |
+-----------------------------------------------------------------------------+
ã|Notes:ã%
The \chapterformat markup must come after the \monospace markup, if both are
used.
|