And me again. I’m trying to get some info box on my page that - has a defined width - sits in the margin but protrudes into the text area - while the body text runs around it Additionally the caption (title) should sit on (in front of) the background color. Here is what I tried: \definefloat[kasten][kaesten] \setupfloat[kasten][ location=outermargin, width=4cm,maxwidth=0.33\textwidth, % doesn’t work frame=off, background=color,backgroundcolor=yellow, offset=0.5em] \setupcaption[kasten][ location=top, spaceafter=-1em, align=flushleft, number=no, style={\ss\bfa}, color=red] \def\startKasten#1{\startplacekasten[title={#1}]} \def\stopKasten{\stopplacekasten} \starttext \dorecurse{2}{\input knuth} \startKasten{Think in boxes} \input tufte \stopKasten \dorecurse{2}{\input knuth} \stoptext Problems: - width is always \textwidth - body text doesn’t flow around it - caption disappears behind the colored box Can you show me the way please? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD
participants (1)
-
Henning Hraban Ramm