[NTG-context] align natural tables left and right

Rik Kabel context at rik.users.panix.com
Fri Dec 30 21:47:47 CET 2016

On 2016-12-30 14:42, MF wrote:
> I've realized that \startplacetable is not necessary:
> \starttext
> \startframed[frame=off,
>               align=flushleft, % table aligned to the left
>               width=broad,     % the frame takes all the text width
>               offset=overlay,  % no space around the table
>               ]
>    \bTR
>       \bTD $a_{11}$ \eTD \bTD $a_{12}$ \eTD
>    \eTR
>    \bTR
>       \bTD $a_{21}$ \eTD \bTD $a_{22}$ \eTD
>    \eTR
> \stopframed
> Following text.
> Following text.
> Following text.
> Following text.
> \stoptext

Whether or not you need \startplacefloat (where the float can be a 
figure, graphic, intermezzo, or table, or a user-defined item) depends 
on the requirements of the document. Floats are typically separate 
entities that do not appear in the linear flow of the text, but instead 
appear in a convenient place close to where they are referenced by the 
text. In addition to providing suggestions to the placement algorithm 
for positioning the float and handling caption formatting, the 
\startplacefloat mechanism manages the generation of reference 
information. If your tables are always set inline and do not need to be 
referenced within the text or in lists of floats (via \placelist), then 
you do not need \startplacefloat.


More information about the ntg-context mailing list