block
None
Sets up the defaults for the outer blocks of all the admonitions. The
attributes of this block control the borders and prohibit the admonition
from breaking across a page.
block
None
Sets up the defaults for the title blocks of all the admonitions. The
attributes of this block control the color (red) and font size. For certain
blocs, the color is set to black (see below).
5
admonitions outer block
:fo: fo:block
:docutils: attention | caution | danger | error | hint | important | note | tip | warning | admonitons[@classes='custorm']
:inherits: default-admonition-outer-block
The following attribute sets are identical in nature:
* attention-block
* caution-block
* danger-block
* error-block
* hint-block
* important-block
* note-block
* tip-block
* warning-block
* admonition-custom-block
These attribute-sets format the outer block of all the admonitions. By default it puts
an border around the text. Use this attribute set to set the space before or after, the background
color, etc.
5
admonitions title block
:fo: fo:block
:docutils: attention | caution | danger | error | hint | important | note | tip | warning | admonitons[@classes='custorm']
:inherits: default-admonition-title-block
The following attribute sets are identical in nature:
* attention-title-block
* caution-title-block
* danger-title-block
* error-title-block
* hint-title-block
* important-title-block
* note-title-block
* tip-title-block
* warning-title-block
* admonition-custom-title-block
These attribute-sets format the title block of all the admonitions. It sets the
color to red.
The attribute-sets ``error-title-block``, ``hint-title-block``, ``important-title-block``,
``note-title-block``, ``tip-title-block``, and ``admonition-custom-title-block`` resets
the color back to black.
fo:block
attention/paragraph|caution/paragraph|etc.
Formats the paragraphs in the admonitions. A different attribute-set formats the first
paragraph (see below).
fo:block
attention/paragraph|caution/paragraph|etc.
Formats the paragraphs in the admonitions. A different attribute-set formats the first
paragraph (see below).
fo:block
attention/paragraph[1]|caution/paragraph[1]|etc.
Formats the first paragraphs in the admonitions. It inherits its attributes from the
``admonition-paragraph-block`` and resets the ``space-before`` property to ``0pt``. It does not
make sense to modify the attributes in this set directly.