summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/params/title.margin.left.xml
blob: 140d7f53de8b1f881438ff4c8c379680c44434bd (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
<refentry id="title.margin.left">
<refmeta>
<refentrytitle>title.margin.left</refentrytitle>
<refmiscinfo role="type"></refmiscinfo>
</refmeta>
<refnamediv>
<refname>title.margin.left</refname>
<refpurpose>Adjust the left margin for titles</refpurpose>
</refnamediv>

<refsynopsisdiv>
<src:fragment id='title.margin.left.frag'>
<xsl:param name="title.margin.left">
  <xsl:choose>
    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
    <xsl:otherwise>-4pc</xsl:otherwise>
  </xsl:choose>
</xsl:param>
</src:fragment>
</refsynopsisdiv>

<refsect1><title>Description</title>

<para>This parameter adjusts the left margin for titles,
effectively leaving the titles at the left
margin and indenting the body text.
The default value is -4pc, which means the
body text is indented 4 picas relative to
the titles.
</para>
<para>
If you set the value to zero, be sure to still include
a unit indicator such as <literal>0pt</literal>, or
the FO processor will report errors.
</para>
<para>
This parameter is set to 0pt if the
<parameter>passivetex.extensions</parameter>
parameter is nonzero because PassiveTeX cannot handle
the math expression with negative values 
used to calculate the indents.
</para>

</refsect1>
</refentry>