3.10 Skribilo User Manual — Frames and Colors
Contents↑ Standard Markups

The function frame embeds a text inside a frame. The function color may also use the same purpose when it is specified a bg option. This is why both functions are included in the same Skribe manual section.

3.10.1 Frame

(frame [:border 1] [:margin 2] [:width] [:class "frame"] [:ident] node...)
:ident The node identifier. html lout latex context info xml
:class The node class. html lout latex context info xml
:width The width of the frame. html lout latex context
:margin The margin pixel size of the frame. html lout latex context
:border The border pixel of the frame. html lout latex context
node... The items of the enumeration.
See also color , table .
Ex. 13: The frame markup

... produces:

This is a frame.

3.10.2 Color

The color markup enables changing locally the text of the document. If the bg color is used, then, color acts as a container. Otherwise, it acts as an Ornaments.

(color [:margin] [:width] [:fg] [:bg] [:class "color"] [:ident] node...)
:ident The node identifier. html lout latex context info xml
:class The node class. html lout latex context info xml
:width The width of the frame. html lout latex context
:margin The margin pixel size of the frame. html context
:bg The background color html lout latex context
:fg The foreground color html lout latex context
node... The items of the enumeration.
See also frame , table .
Ex. 14: The color markup

... produces:

This is an example of color box that uses a color for the background and the foreground. It also specifies a width, that is, an horizontal space, the text should span to.
(made with skribilo)