Am 26.12.2009 um 12:50 schrieb Oliver Buerschaper:

>> \usemodule[streams]
>> 
>> \definestreamlayer[test][method=overlay]
>> 
>> \setupbackgrounds[page][background=test]
>> 
>> \starttext
>> 
>> \startstreamlayer[test]
>> \startcolumns
>> \input knuth
>> \stopcolumns
>> \stopstreamlayer
>> 
>> \setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]}
>> 
>> \stoptext
> 
> Many thanks! Now if only you could tell me how to set the width and height of 
> the box and give it a frame ... I tried

width:

\startsetups streamlayer:test:settings
  \overloadtextwidth{12cm}
\stopsetups

frame:

\definetextbackground[testframe]

\startstreamlayer[test]
\starttextbackground[testframe]
...
\stoptextbackground
\stopstreamlayer

Wolfgang

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

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to