Changes

Jump to navigation Jump to search
40 bytes removed ,  12:52, 24 February 2017
example for full page floats without headers
< [[Visuals]] | [[Graphics]] | [[Using Graphics]] | [[Tables_Overview]] >
Floats are elements like tables or figures that are placed (and numbered) automatically by TeX. They are so called as they can ''float'' around the output pages to a place where TeX thinks they are appropriate (You can influence what TeX thinks as appropriate).== Introduction ==
Floats Floating Objects (floats) are ConTeXt's "base class" for everything that uses a <tt>\placeplaced (and numbered) automatically.They are placed at an appropriate position determined by the TeX float placement algorithm..</tt> command (table, figure, own floats)The algorithm has a number of options that can influence float placement.
If you search Most options of e.g. in the manual (such as {{cmd|placeexternalfigure}} you must look after ) are described using the generic {{cmd|placefloat}} in the manual! (same for <tt>\setup...</tt> etc.)
The float types Floats include "graphic", "figure", "table" , and "intermezzo" are readily defined. If you need more (i.e. if you need another numbering or table of something), you Additional floats can easily define your own floats with <be defined using {{cmd>|definefloat</cmd>}}.
<texcode>
(table copied from the manual)
<{{cmd>|placefigure</cmd> }} and <{{cmd>|placetable</cmd> }} also accept the same set of options, and allow to create floating figures and captions respectively.
'''reference'''
This special case is discussed [[Columns#Floats_and_other_limitations_of_columns|here]].
 
==Floats on empty pages==
 
There’s a way to switch off page headings at full page floats:
 
<texcode>
\startplacefigure[title=Cow,location={page,high,header}]
\externalfigure[cow.pdf]
\stopplacefigure
</texcode>
==Protruding Floats in Double-Sided Documents==
\stopplacetable
</texcode>
Both the table caption and the contents will be rotated, but not the page header and footer which remain "upright". Notice that one must set the TABLE textwidth to <{{cmd>|textheight</cmd> }} in order for the table macros to fit properly.
== Floats and section headings ==
By default, section headings don't wrap "around" floating objects. Instead, they will be moved down as far as needed to appear below the float. This behaviour can be controlled using the <tt>aligntitle</tt> option of the <{{cmd>|setupheads</cmd> }} or <{{cmd>|setuphead</cmd> }} commands.
== Captions ==
To change the style of figure(table) captions, use <{{cmd>|setupcaptions</cmd>}}.
To use a different (e.g. abbreviated) caption in the list of floats, you can do:

Navigation menu