refentry.title.properties.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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="refentry.title.properties">
  7. <refmeta>
  8. <refentrytitle>refentry.title.properties</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>refentry.title.properties</refname>
  13. <refpurpose>Title properties for a refentry title</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="refentry.title.properties.frag">
  17. <xsl:attribute-set name="refentry.title.properties">
  18. <xsl:attribute name="font-family">
  19. <xsl:value-of select="$title.fontset"/>
  20. </xsl:attribute>
  21. <xsl:attribute name="font-size">18pt</xsl:attribute>
  22. <xsl:attribute name="font-weight">bold</xsl:attribute>
  23. <xsl:attribute name="space-after">1em</xsl:attribute>
  24. <xsl:attribute name="hyphenate">false</xsl:attribute>
  25. <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
  26. <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
  27. <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
  28. <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
  29. <xsl:attribute name="space-after.optimum">0.5em</xsl:attribute>
  30. <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
  31. <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute>
  32. <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
  33. </xsl:attribute-set>
  34. </src:fragment>
  35. </refsynopsisdiv>
  36. <refsection><info><title>Description</title></info>
  37. <para>Formatting properties applied to the title generated for the
  38. <tag>refnamediv</tag> part of output for
  39. <tag>refentry</tag> when the value of the
  40. <parameter>refentry.generate.title</parameter> parameter is
  41. non-zero. The font size is supplied by the appropriate <parameter>section.level<replaceable>X</replaceable>.title.properties</parameter>
  42. attribute-set, computed from the location of the
  43. <tag>refentry</tag> in the section hierarchy.</para>
  44. <note>
  45. <para>This parameter has no effect on the the title generated for
  46. the <tag>refnamediv</tag> part of output for
  47. <tag>refentry</tag> when the value of the
  48. <parameter>refentry.generate.name</parameter> parameter is
  49. non-zero. By default, that title is formatted with the same
  50. properties as the titles for all other first-level children of
  51. <tag>refentry</tag>.</para>
  52. </note>
  53. </refsection>
  54. </refentry>