admonition.title.properties.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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="admonition.title.properties">
  7. <refmeta>
  8. <refentrytitle>admonition.title.properties</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>admonition.title.properties</refname>
  13. <refpurpose>To set the style for admonitions titles.</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="admonition.title.properties.frag">
  17. <xsl:attribute-set name="admonition.title.properties">
  18. <xsl:attribute name="font-size">14pt</xsl:attribute>
  19. <xsl:attribute name="font-weight">bold</xsl:attribute>
  20. <xsl:attribute name="hyphenate">false</xsl:attribute>
  21. <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
  22. </xsl:attribute-set>
  23. </src:fragment>
  24. </refsynopsisdiv>
  25. <refsection><info><title>Description</title></info>
  26. <para>How do you want admonitions titles styled? </para>
  27. <para>Set the font-size, weight etc to the style required.</para>
  28. </refsection>
  29. </refentry>