Contents
Summary
The command \definepairedbox is used for defining a paired set of boxes.
Settings
| \definepairedbox[...][...][...=...,...] | |
| [...] | name |
| [...] | name |
| ...=...,... | inherits from \setuppairedbox |
| Option | Explanation |
|---|---|
| name of the paired box to be define | |
| optional parent for inheritance | |
Description
Using
\definepairedbox
defines a setup command and a place command. The place command accepts two content arguments. The first argument is assumed to be a horizontal box, the second argument is vertical mode material.
See the example below.
Examples
Example 1
-
\definepairedbox[explanation] \setupexplanation[location=left] \placeexplanation {\externalfigure[cow][width=4cm]} {\starttabulate \NC 1 \NC head \NC \NR \NC 2 \NC legs \NC \NR \NC 3 \NC tail \NC \NR \stoptabulate}
-