On 2/5/2015 11:31 PM, John Culleton wrote:
On Thu, 05 Feb 2015 22:54:11 +0100
Hans Hagen <pra...@wxs.nl> wrote:
On 2/5/2015 9:38 PM, John Culleton wrote:
Client has an existing book that I am redoing
with many inserted square boxes of text
slightly protruding in the margin. Main text
wraps around each box. The line around each
such box has rounded corners. Is there an
example somewhere in the manuals or elsewhere?
\starttext
\defineframed
[whatever]
[width=1cm,
height=1cm,
background=color,
backgroundcolor=darkblue,
foregroundcolor=white,
forgroundstyle=bold]
\dorecurse {100} {
\starthanging{\whatever{#1}}
\input tufte
\stophanging
}
\stoptext
And rounded corners?
you can either configure framed to do that or hook in some mp (see wiki)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________