[NTG-context] Make a border around every page.

h h extern pragma at wxs.nl
Sat Mar 5 10:33:15 CET 2005


John R. Culleton wrote:
> Some time back Hans provided a rather elabaorate macro that
> put a bevel type frame around a page. Now I am looking for
> something much less elaborate for an entire document. I wish to
> surround each page with a simple rectangle. perhaps 1 point
> thickness. The frame would be inset from the paper edge perhaps
> 3/8 inch on all four sides. The text would be set with margins of
> perhaps 3/4 inch all around on letter size paper. 
> 
> Can this be done simply? Is metafun the path to follow? 

\setupbackgrounds[page][frame=on,frameoffset=-.5cm,rulethickness=3pt]

\starttext

\input tufte

\stoptext

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list