[NTG-context] setupcaptions

Meer, H. van der H.vanderMeer at uva.nl
Wed Jul 11 17:17:22 CEST 2012


I want to make my figure captions both slanted and small, or bold and small,etc.
The wiki has for setupcaptions:

headstyle normal, bold, .. , small, ..
style     normal, bold, .. , small, ..

I therefore expected to work the following setup:

\setupcaptions[headstyle={slanted,small},style={bold,small}]
\starttext
\placefigure{A dummy figure}{\externalfigure[dummy]}
Caption test.
\stoptext

But no, two seems too much. style={bold} does work and style={small} but style = {bold,small} does not. From the general principles of ConTeXt's parameter handling I would have expected this to work.
Of course I could have used style={\bf\switchtobodyfont[small]}, but I would prefer to refrain from low level font commands when possible.

I am right the setupcaptions should work with combined fontsettings, or is it my mistake?

Hans van der Meer




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120711/cc7f6a0f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.pdf
Type: application/pdf
Size: 10193 bytes
Desc: setup.pdf
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120711/cc7f6a0f/attachment-0001.pdf>


More information about the ntg-context mailing list