Changes

Jump to navigation Jump to search
641 bytes added ,  03:38, 14 November 2011
Alternative captions for float and list
== 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:
 
<texcode>
\defineselector[caption][max=2,n=2]
\starttext
\setupselector[caption][n=1]
\completelistoffigures
\setupselector[caption][n=2]
\placefigure[][]
{\select{caption}
{Short caption for list}
{A rather longer caption which will appear below the figure itself}}
{This is the content of the actual figure}
\stoptext
</texcode>
 
Or in more recent (circa November 2011 and later) versions of ConTeXt:
 
<texcode>
\startplacefigure[title={A rather long caption},list={A short caption}]
This is the content of the actual figure
\stopplacefigure
</texcode>
== Flushing floats ==
The command <cmd>placefloats</cmd> outputs all pending floats.
29

edits

Navigation menu