Difference between revisions of "Command/ placepairedbox"

From Wiki
Jump to navigation Jump to search
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><!-- a short command summary goes here -->
 
<cd:shortdesc><!-- a short command summary goes here -->
The instances of  <tt>\place<i>pairedbox</i></tt> used for combining two boxes.
+
The instances of  <tt>\place<i>pairedbox</i></tt> are used for combining two boxes together in various ways.
 
</cd:shortdesc>
 
</cd:shortdesc>
 
<cd:sequence>
 
<cd:sequence>
Line 28: Line 28:
 
</cd:description>
 
</cd:description>
 
<cd:examples><cd:example title=""><context source="yes">
 
<cd:examples><cd:example title=""><context source="yes">
\setuppapersize[A6]
 
 
\setupexternalfigures[location={local,default}]
 
% (necessary for the Wiki's ConTeXt live processor to find the cow picture)
 
 
 
\placefigure
 
\placefigure
 
   {whow}
 
   {whow}

Revision as of 14:35, 30 August 2020


\placepairedbox

Summary

The instances of \placepairedbox are used for combining two boxes together in various ways.

Instances

\placelegend

Settings instance

\placePAIREDBOX[...=...,...]{...}{...}
...=...,...inherits from \setuppairedbox
{...}content
{...}text

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 just a paired box.

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}
   }

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: