1 <refentry xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 version="5.0" xml:id="component.title.properties">
8 <refentrytitle>component.title.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
12 <refname>component.title.properties</refname>
13 <refpurpose>Properties for component titles</refpurpose>
17 <src:fragment xml:id="component.title.properties.frag">
18 <xsl:attribute-set name="component.title.properties">
19 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
20 <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
21 <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
22 <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
23 <xsl:attribute name="hyphenate">false</xsl:attribute>
24 <xsl:attribute name="text-align">
26 <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography)) or (parent::slides | parent::slidesinfo)">center</xsl:when>
27 <xsl:otherwise>start</xsl:otherwise>
30 <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
35 <refsection><info><title>Description</title></info>
37 <para>The properties common to all component titles.</para>