On 12/14/2025 2:16 PM, Jonatán O. Perren wrote:
Hi, list! I’m trying to make all my floats have the same width
(regardless of the width of the image inside). In the wiki I saw there
is a minwidth option, but it doesn’t work for me. In strc-flt.mkvi
<https://source.contextgarden.net/strc-flt.mkvi>, on line 1389, I saw it
says \edef\p_minwidth{\floatparameter\c!minwidth}%, but I haven’t seen
\c!minwidth listed as a parameter of \setupfloats (it is for
\setupcaptions). I’d like to know whether I’m reading something wrong or
doing something wrong.
For now, Max suggested using command={\framed[width=broad, offset=1em,
boffset=-4pt]} (or command={\framed[width=broad, offset=1em]}).
you have to be more specific of what you want to achieve i.e. make an
example
\setupcaption[figure][width=1tw]
\startplacefigure[title=\samplefile{tufte}]
\framed{this is a test}
\stopplacefigure
\startplacefigure[title=\samplefile{tufte}]
\leftline{\framed{this is a test}}
\stopplacefigure
\setupcaption[figure][width=.5tw]
\startplacefigure[title=\samplefile{tufte}]
\framed{this is a test}
\stopplacefigure
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
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
___________________________________________________________________________________