Ahoi,
I wonder how I can limit the width of a custom float, neither "width" nor 
"maxwidth" seems to have any effect:


\definefloat[Beispiel][Beispiele]
\setupfloat[Beispiel][
    %width=36mm,
    maxwidth=.6\textwidth,
    offset=1em,
    background=color,backgroundcolor=yellow,
]
\setupcaption[Beispiel][
    location=none,number=no
]

\starttext

\input knuth

\startplaceBeispiel
\input tufte
\stopplaceBeispiel

\input knuth

\stoptext


While it’s nice that the "Beispiel" paragraphs stays the same width as the main 
text, even with "offset", I’d like to limit the whole box to the textwidth (or 
any other measure).



Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to