]> git.stg.codes - stg.git/blob - doc/xslt/params/formal.title.properties.xml
Better handling of errors from server. Refactoring.
[stg.git] / doc / xslt / params / formal.title.properties.xml
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="formal.title.properties">
7 <refmeta>
8 <refentrytitle>formal.title.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>formal.title.properties</refname>
13 <refpurpose>Style the title element of formal object such as a figure.</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="formal.title.properties.frag">
18 <xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
19   <xsl:attribute name="font-weight">bold</xsl:attribute>
20   <xsl:attribute name="font-size">
21     <xsl:value-of select="$body.font.master * 1.2"/>
22     <xsl:text>pt</xsl:text>
23   </xsl:attribute>
24   <xsl:attribute name="hyphenate">false</xsl:attribute>
25   <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
26   <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
27   <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
28 </xsl:attribute-set>
29 </src:fragment>
30 </refsynopsisdiv>
31 <refsection><info><title>Description</title></info>
32 <para>Specify how the title should be styled. Specify the font size and weight of the title of the formal object.</para>
33 </refsection>
34 </refentry>