qanda.title.properties.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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="qanda.title.properties">
  7. <refmeta>
  8. <refentrytitle>qanda.title.properties</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>qanda.title.properties</refname>
  13. <refpurpose>Properties for qanda set titles</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="qanda.title.properties.frag">
  17. <xsl:attribute-set name="qanda.title.properties">
  18. <xsl:attribute name="font-family">
  19. <xsl:value-of select="$title.fontset"/>
  20. </xsl:attribute>
  21. <xsl:attribute name="font-weight">bold</xsl:attribute>
  22. <!-- font size is calculated dynamically by qanda.heading template -->
  23. <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
  24. <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
  25. <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
  26. <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
  27. </xsl:attribute-set>
  28. </src:fragment>
  29. </refsynopsisdiv>
  30. <refsection><info><title>Description</title></info>
  31. <para>The properties common to all qanda set titles.</para>
  32. </refsection>
  33. </refentry>