Changes

Jump to navigation Jump to search
1,195 bytes added ,  14:52, 28 November 2021
Add section about subfloats
\stopplacefigure
\stopTEXpage
 
\stoptext
</context>
 
 
See also {{cmd|startcombination}}, {{cmd|startfloatcombination}} and [[Combinations]].
 
= Subfloats =
Subfloatnumbering creates subfigures sharing a mutual figure prefix and an
individual subfigure designator (e.g. figure 1a), figure 1b, etc.). The command {{cmd|startsubfloatnumbering}} is used for this.
 
<context source=yes>
\useMPlibrary [dum]
 
\starttext
\startTEXpage [offset=5mm]
 
\startsubfloatnumbering
\startplacefigure [title=Alpha]
\externalfigure
\stopplacefigure
 
\startplacefigure [title=Beta]
\externalfigure
\stopplacefigure
\stopsubfloatnumbering
 
\stopTEXpage
 
\stoptext
</context>
 
Subfloats can also be used with floatcombinations:
 
<context source=yes>
\useMPlibrary [dum]
 
\starttext
\startTEXpage [offset=5mm]
 
\startplacefigure [location=none]
\startsubfloatnumbering
\startfloatcombination [nx=2, ny=1]
\startplacefigure [title=Left, reference=fig:left] \externalfigure \stopplacefigure
\startplacefigure [title=Right, reference=fig:right] \externalfigure \stopplacefigure
\stopfloatcombination
\stopsubfloatnumbering
\stopplacefigure
 
See \in{figure}[fig:left] and \in{figure}[fig:right].
\stopTEXpage
69

edits

Navigation menu