summaryrefslogtreecommitdiff
path: root/params/graphical.admonition.properties.xml
diff options
context:
space:
mode:
Diffstat (limited to 'params/graphical.admonition.properties.xml')
-rw-r--r--params/graphical.admonition.properties.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/params/graphical.admonition.properties.xml b/params/graphical.admonition.properties.xml
new file mode 100644
index 0000000..ca257d7
--- /dev/null
+++ b/params/graphical.admonition.properties.xml
@@ -0,0 +1,42 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="5.0" xml:id="graphical.admonition.properties">
+<refmeta>
+<refentrytitle>graphical.admonition.properties</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>graphical.admonition.properties</refname>
+<refpurpose>To add properties to the outer block of a graphical admonition.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="graphical.admonition.properties.frag"><xsl:attribute-set name="graphical.admonition.properties">
+ <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+ <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+ <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+<refsection><info><title>Description</title></info>
+<para>These properties are added to the outer block containing the
+entire graphical admonition, including its title.
+It is used when the parameter
+<parameter>admon.graphics</parameter> is set to nonzero.
+Use this attribute-set to set the space above and below,
+and any indent for the whole admonition.</para>
+
+<para>In addition to these properties, a graphical admonition
+also applies the <parameter>admonition.title.properties</parameter>
+attribute-set to the title, and applies the
+<parameter>admonition.properties</parameter> attribute-set
+to the rest of the content.</para>
+
+</refsection>
+</refentry>