]> git.stg.codes - stg.git/blob - doc/xslt/params/nongraphical.admonition.properties.xml
Minor ChangeLog fix
[stg.git] / doc / xslt / params / nongraphical.admonition.properties.xml
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
16 <refsynopsisdiv>
17 <src:fragment xml:id="nongraphical.admonition.properties.frag"><xsl:attribute-set name="nongraphical.admonition.properties">
18   <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
19   <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
20   <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
21   <xsl:attribute name="margin-{$direction.align.start}">0.25in</xsl:attribute>
22   <xsl:attribute name="margin-{$direction.align.end}">0.25in</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 nongraphical admonition, including its title.
29 It is used when the parameter
30 <parameter>admon.graphics</parameter> is set to zero.
31 Use this attribute-set to set the space above and below,
32 and any indent for the whole admonition.</para>
33
34 <para>In addition to these properties, a nongraphical admonition
35 also applies the <parameter>admonition.title.properties</parameter>
36 attribute-set to the title, and the
37 <parameter>admonition.properties</parameter> attribute-set
38 to the rest of the content.</para>
39
40 </refsection>
41 </refentry>