formal.title.properties.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  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. <refsynopsisdiv>
  16. <src:fragment xml:id="formal.title.properties.frag">
  17. <xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
  18. <xsl:attribute name="font-weight">bold</xsl:attribute>
  19. <xsl:attribute name="font-size">
  20. <xsl:value-of select="$body.font.master * 1.2"/>
  21. <xsl:text>pt</xsl:text>
  22. </xsl:attribute>
  23. <xsl:attribute name="hyphenate">false</xsl:attribute>
  24. <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
  25. <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
  26. <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
  27. </xsl:attribute-set>
  28. </src:fragment>
  29. </refsynopsisdiv>
  30. <refsection><info><title>Description</title></info>
  31. <para>Specify how the title should be styled. Specify the font size and weight of the title of the formal object.</para>
  32. </refsection>
  33. </refentry>