nongraphical.admonition.properties.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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="nongraphical.admonition.properties">
  7. <refmeta>
  8. <refentrytitle>nongraphical.admonition.properties</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>nongraphical.admonition.properties</refname>
  13. <refpurpose>To add properties to the outer block of a nongraphical admonition.</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="nongraphical.admonition.properties.frag"><xsl:attribute-set name="nongraphical.admonition.properties">
  17. <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
  18. <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
  19. <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
  20. <xsl:attribute name="margin-{$direction.align.start}">0.25in</xsl:attribute>
  21. <xsl:attribute name="margin-{$direction.align.end}">0.25in</xsl:attribute>
  22. </xsl:attribute-set>
  23. </src:fragment>
  24. </refsynopsisdiv>
  25. <refsection><info><title>Description</title></info>
  26. <para>These properties are added to the outer block containing the
  27. entire nongraphical admonition, including its title.
  28. It is used when the parameter
  29. <parameter>admon.graphics</parameter> is set to zero.
  30. Use this attribute-set to set the space above and below,
  31. and any indent for the whole admonition.</para>
  32. <para>In addition to these properties, a nongraphical admonition
  33. also applies the <parameter>admonition.title.properties</parameter>
  34. attribute-set to the title, and the
  35. <parameter>admonition.properties</parameter> attribute-set
  36. to the rest of the content.</para>
  37. </refsection>
  38. </refentry>