summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/params/formal.title.properties.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kdoctools/docbook/xsl/params/formal.title.properties.xml')
-rw-r--r--kdoctools/docbook/xsl/params/formal.title.properties.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/formal.title.properties.xml b/kdoctools/docbook/xsl/params/formal.title.properties.xml
new file mode 100644
index 000000000..25edc7207
--- /dev/null
+++ b/kdoctools/docbook/xsl/params/formal.title.properties.xml
@@ -0,0 +1,26 @@
+<refentry id="formal.title.properties">
+<refnamediv>
+<refname>formal.title.properties</refname>
+<refpurpose>Style the title element of formal object such as a figure.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='formal.title.properties.frag'>
+<xsl:attribute-set name="formal.title.properties"
+ use-attribute-sets="normal.para.spacing">
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.master * 1.2"/>
+ <xsl:text>pt</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute name="hyphenate">false</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
+ <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Specify how the title should be styled. Specify the font size and weight of the title of the formal object.</para>
+</refsect1>
+</refentry>