graphical.admonition.properties.xml 1.9 KB

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