Floating Objects
Jump to navigation
Jump to search
Floats are elements like tables or figures that are placed (and numbered) automatically by TeX.
Floats are ConTeXt's "base class" for everything that uses a \place... command (table, figure, own floats).
If you search options of e.g. \placeexternalfigure you must look after \placefloat in the manual! (same for \setup... etc.)
The float types "graphic", "figure", "table" and "intermezzo" are readily defined. If you need more (i.e. if you need another numbering or table of something), you can easily define your own floats with \definefloat.
\placefloat[place][reference]{caption}{some float}
place is one or several (comma separated) of:
preference | result |
---|---|
left | left of text |
right | right of text |
here | preferably here |
top | at top of page |
bottom | at bottom of page |
inleft | in left margin |
inright | in right margin |
inmargin | in the margin (left or right) |
margin | in the margin (margin float) |
page | on a new (empty) page |
opposite | on the left page |
always | precedence over stored floats |
force | per se here |
(table copied from the manual)
reference
If you don't need to refer to your float, you can leave this parameter out.
caption
You get no caption with none.