summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/params/section.title.properties.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kdoctools/docbook/xsl/params/section.title.properties.xml')
-rw-r--r--kdoctools/docbook/xsl/params/section.title.properties.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/section.title.properties.xml b/kdoctools/docbook/xsl/params/section.title.properties.xml
new file mode 100644
index 000000000..b2b6c8e17
--- /dev/null
+++ b/kdoctools/docbook/xsl/params/section.title.properties.xml
@@ -0,0 +1,32 @@
+<refentry id="section.title.properties">
+<refmeta>
+<refentrytitle>section.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.title.properties</refname>
+<refpurpose>Properties for section titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.title.properties.frag'>
+<xsl:attribute-set name="section.title.properties">
+ <xsl:attribute name="font-family">
+ <xsl:value-of select="$title.font.family"/>
+ </xsl:attribute>
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
+ <!-- font size is calculated dynamically by section.heading template -->
+ <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+ <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties common to all section titles.</para>
+
+</refsect1>
+</refentry>