43 lines
1.9 KiB
XML
43 lines
1.9 KiB
XML
|
<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>
|