Difference between revisions of "Command/ placepairedbox"
< Command
(Created page with "Documentation for \<i>placepairedbox</i>") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
<cd:commandgroup generated="yes" name="placepairedbox" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | <cd:commandgroup generated="yes" name="placepairedbox" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | ||
− | <cd:shortdesc> | + | <cd:shortdesc><!-- a short command summary goes here --> |
− | <!-- a short command summary goes here --> | + | The instances of <tt>\place<i>pairedbox</i></tt> are used for combining two boxes together in various ways. |
− | The instances of <tt>\<i> | ||
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:sequence> | <cd:sequence> | ||
Line 28: | Line 25: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description> | + | <cd:description>It makes sense to typeset a legend to a figure in TeX and not in a drawing package. The macro {{cmd|placelegend}} combines a figure (or something else) and its legend. This command is an example of a paired box definition. |
− | |||
</cd:description> | </cd:description> | ||
− | <cd:examples> | + | <cd:examples><cd:example title=""><context source="yes"> |
− | + | \placefigure | |
− | <cd:example title=""> | + | {whow} |
− | < | + | {\placelegend |
− | + | {\externalfigure[cow][width=2cm]} | |
− | </ | + | {\starttabulate[|l|l|l|l|] |
− | <cd: | + | \NC 1 \NC head \NC 3 \NC tail \NC \NR |
− | + | \NC 2 \NC legs \NC \NC \NC \NR | |
− | <cd: | + | \stoptabulate} |
− | < | + | } |
− | + | </context></cd:example></cd:examples> | |
− | </cd:notes> | + | <cd:notes></cd:notes> |
<cd:seealso> | <cd:seealso> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<cd:commandref name="_setuppairedbox" originator="system"></cd:commandref> | <cd:commandref name="_setuppairedbox" originator="system"></cd:commandref> | ||
<cd:commandref name="_startplacepairedbox" originator="system"></cd:commandref> | <cd:commandref name="_startplacepairedbox" originator="system"></cd:commandref> | ||
<cd:commandref name="definepairedbox" originator="system"></cd:commandref> | <cd:commandref name="definepairedbox" originator="system"></cd:commandref> | ||
<cd:commandref name="setuppairedbox" originator="system"></cd:commandref> | <cd:commandref name="setuppairedbox" originator="system"></cd:commandref> | ||
− | <cd:source file="pack-com.mkiv" originator="system"></cd:source> | + | <cd:source file="pack-com.mkiv" originator="system"></cd:source> |
− | <cd:wikipage originator="system" page="Category:Tables"></cd:wikipage> | + | <cd:wikipage originator="system" page="Category:Tables"></cd:wikipage> |
− | </cd:seealso> | + | <cd:commandref name="startcombination"></cd:commandref></cd:seealso> |
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 14:38, 30 August 2020
Contents
\placepairedbox
Summary
The instances of \placepairedbox are used for combining two boxes together in various ways.
Instances
\placelegend |
Settings instance
Description
It makes sense to typeset a legend to a figure in TeX and not in a drawing package. The macro \placelegend combines a figure (or something else) and its legend. This command is an example of a paired box definition.
Examples
Example 1
\placefigure {whow} {\placelegend {\externalfigure[cow][width=2cm]} {\starttabulate[|l|l|l|l|] \NC 1 \NC head \NC 3 \NC tail \NC \NR \NC 2 \NC legs \NC \NC \NC \NR \stoptabulate} }