Difference between revisions of "Command/placefloat"

From ConTeXt wiki
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Mailinglist/Forum ==")
Line 69: Line 69:
 
<!-- something like [[cmd:goto|\goto]] -->
 
<!-- something like [[cmd:goto|\goto]] -->
  
== Help from ConTeXt-Forum ==
+
== Help from ConTeXt-Mailinglist/Forum ==
 
All issues with:
 
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
 
[[Category:Floating|placefloat]]
 
[[Category:Floating|placefloat]]

Revision as of 01:16, 18 March 2012

\placefloat

Syntax

\placefloat[...][ref,ref,...]{...}{...}
[...] left right here top bottom inleft inright inmargin margin leftmargin rightmargin leftedge rightedge innermargin outermargin inneredge outeredge inner outer line high low fit page leftpage rightpage opposite always auto force tall reset line height depth
[ref,ref,...]
{...} text
{...} text


Description

first text = caption ('none'=no caption at all) second text = float contain


Example

% places two cows next to each other but each one with
% its own caption

\starttext

\placefigure
   [none]
   {}
   {\startcombination
      {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{one}}
      {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{two}}
    \stopcombination}

\stoptext


Example

% two different ways to suppress numbering and caption
%
\starttext
\placefigure{none}{\externalfigure[cow]}
\placefigure[none]{}{\externalfigure[cow]}
\stoptext


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: