aboutsummaryrefslogtreecommitdiffstats
path: root/doc/user/bas_head
blob: 485c2a2c083d8a7bdbb2b26fcb899cba923b1a4f (plain) (blame)
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
@Section
   @Title { Headings }
   @Tag { headings }
@Begin
@PP
The @Code "@Heading" symbol makes the following object into a
heading. @Index @Code "@Heading"
heading.  Actually, all it does is change the font, so if you want a
centred heading you have to display it as well:
@ID @OneRow @Code {
"@Display @Heading { A Centred Heading }"
"Following text"
}
If you want a left-justified heading, use @Code "@LeftDisplay" instead
of @Code {"@Display"}.  Alternatively, you can use no display symbol at
all, but then you will need paragraph symbols before and after:
@ID @OneRow @Code {
"@DP"
"@Heading { A Left-Justified Heading }"
"@PP"
"Following text"
}
The font used is @Code Bold in the current family, although you can
change this by changing the @Code "@HeadingFont" option in the setup
headingfont. @Index @Code "@HeadingFont"
file (Section {@NumberOf setup}).
@PP
In complex documents, large-scale structure symbols
(Section {@NumberOf largescale}) are usually more appropriate
than the @Code "@Heading" symbol.
@End @Section