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