
Is there an easy way to change the capture below all figure captures to italic? Many thanks, Jeroen

Am 10.05.2025 um 12:58 schrieb Jeroen:
Is there an easy way to change the capture below all figure captures to italic?
Use \setupcaption [figure] [style=italic] to change the style of \placefigure only or use \setupcaption [style=italic] to change the style of all floats, i.e. \placefigure, \placetable etc. Wolfgang

I eventually got it to work as following: \definefloat [figure] \setupcaption [figure] [style=italic] Op za 10 mei 2025 om 13:17 schreef Wolfgang Schuster < wolfgang.schuster.lists@gmail.com>:
Am 10.05.2025 um 12:58 schrieb Jeroen:
Is there an easy way to change the capture below all figure captures to italic?
Use
\setupcaption [figure] [style=italic]
to change the style of \placefigure only or use
\setupcaption [style=italic]
to change the style of all floats, i.e. \placefigure, \placetable etc.
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net
___________________________________________________________________________________

Am 10.05.2025 um 14:41 schrieb Jeroen:
I eventually got it to work as following:
\definefloat [figure]
You don't need \definefloat because "figure" as a float command/environment is predefined. %%%% begin example \setupcaption[figure][style=italic] \starttext \startplacefigure[title={First dummy figure}] \externalfigure[dummy-1] \stopplacefigure \placefigure {Second dummy figure} {\externalfigure[dummy-2]} \stoptext %%%% end example Wolfgang
participants (2)
-
Jeroen
-
Wolfgang Schuster