Changes

Jump to navigation Jump to search
914 bytes added ,  15:32, 3 August 2021
something about combinations
=Landscape Floats in a Portrait Document=
 
Wide tables, for example, can be turned and most likely will need to be put on a separate page.
<texcode>
= Floats and section headings =
 By default, section headings don't wrap "around" “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}} or {{cmd|setuphead}} commands.
= Captions =
 
To change the style of figure(table) captions, use {{cmd|setupcaptions}}.
To use a different (e.g. abbreviated) caption in the list of floats, you can do:
 
<texcode>
\startplacefigure[title={A rather long caption},list={A short caption}]
This is the content of the actual figure
\stopplacefigure
</texcode>
 
In MkII this was possible by:
<texcode>
</texcode>
Or = Float Combinations = If you want to place floats besides each other or in more recent (circa November 2011 a regular matrix,each with its own number and later) versions of ConTeXtcaption, you need a float combination:
<texcode>
\startplacefigure[location=none] % disable numbering of outer float\startfloatcombination[2*1] % two columns, one row\startplacefigure[location=here,title={A rather long Left Image}] % figure with caption \externalfigure[dummy]\stopplacefigure\startplacefigure[location=here,title={Right Image}] \externalfigure[dummy]\stopplacefigure\stopfloatcombination\stopplacefigure</texcode> If you want only one number for the whole thing, you need a regular combination within a float: <texcode>\startplacefigure[location=here,listtitle={A short My combination}]\startcombination[2*1] % two columns, one row {\externalfigure[dummy]}{Left Image} % captionmay be empty {\externalfigure[dummy]}{Right Image}]This is the content of the actual figure\stopcombination
\stopplacefigure
</texcode>
 
See also {{cmd|startcombination}}.
= Flushing floats =

Navigation menu