summaryrefslogtreecommitdiffstats
path: root/kdoctools/docbook/xsl/params/refentry.title.properties.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kdoctools/docbook/xsl/params/refentry.title.properties.xml')
-rw-r--r--kdoctools/docbook/xsl/params/refentry.title.properties.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/refentry.title.properties.xml b/kdoctools/docbook/xsl/params/refentry.title.properties.xml
new file mode 100644
index 000000000..2ae97e035
--- /dev/null
+++ b/kdoctools/docbook/xsl/params/refentry.title.properties.xml
@@ -0,0 +1,43 @@
+<refentry id="refentry.title.properties">
+<refmeta>
+<refentrytitle>refentry.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.title.properties</refname>
+<refpurpose>Title properties for a refentry title</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.title.properties.frag'>
+<xsl:attribute-set name="refentry.title.properties">
+ <xsl:attribute name="font-family">
+ <xsl:value-of select="$title.font.family"/>
+ </xsl:attribute>
+ <xsl:attribute name="font-size">18pt</xsl:attribute>
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
+ <xsl:attribute name="space-after">1em</xsl:attribute>
+ <xsl:attribute name="hyphenate">false</xsl:attribute>
+ <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 name="space-after.optimum">0.5em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Formatting properties applied to refentry titles,
+including refnamediv, refsect1 through 3, and refsection.
+The font size is supplied by the appropriate
+<parameter>section.level<replaceable>X</replaceable>.title.properties</parameter>
+attribute-set,
+computed from its location in the section hierarchy.
+</para>
+
+</refsect1>
+</refentry>