summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/params/component.title.properties.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kdoctools/docbook/xsl/params/component.title.properties.xml')
-rw-r--r--kdoctools/docbook/xsl/params/component.title.properties.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/component.title.properties.xml b/kdoctools/docbook/xsl/params/component.title.properties.xml
new file mode 100644
index 000000000..f119212e8
--- /dev/null
+++ b/kdoctools/docbook/xsl/params/component.title.properties.xml
@@ -0,0 +1,31 @@
+<refentry id="component.title.properties">
+<refmeta>
+<refentrytitle>component.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>component.title.properties</refname>
+<refpurpose>Properties for component titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='component.title.properties.frag'>
+<xsl:attribute-set name="component.title.properties">
+ <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+ <xsl:attribute name="space-before.optimum"><xsl:value-of
+ select="concat($body.font.master, 'pt')"/></xsl:attribute>
+ <xsl:attribute name="space-before.minimum"><xsl:value-of
+ select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
+ <xsl:attribute name="space-before.maximum"><xsl:value-of
+ select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
+ <xsl:attribute name="hyphenate">false</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties common to all component titles.</para>
+
+</refsect1>
+</refentry>