From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11355 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: RE: layout of xsteps-p Date: Wed, 12 Mar 2003 11:05:06 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030312110104.027d6310@server-1> References: <5.1.0.14.1.20030310225003.02485c58@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1047467825 14113 80.91.224.249 (12 Mar 2003 11:17:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2003 11:17:05 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Mar 12 12:17:04 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18t4EK-0003fR-00 for ; Wed, 12 Mar 2003 12:17:04 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9739410AFF; Wed, 12 Mar 2003 12:17:46 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 4BA5710AE8 for ; Wed, 12 Mar 2003 12:15:26 +0100 (MET) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h2CBFL8s008642 for ; Wed, 12 Mar 2003 12:15:22 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h2CBFNEU003782 for ; Wed, 12 Mar 2003 12:15:23 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11355 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11355 At 09:18 PM 3/11/2003 +0100, you wrote: >Yes, I mean the style. > > In fact just how have the margin or edge ??? in black (with footer end >header), > and the great title in (right and horizontal left). backgrounds like this can be made with mp : \setupbackgrounds [page] [offset=3mm, background=page] \defineoverlay [page] [\reuseMPgraphic{page}] \startreusableMPgraphic{page} StartPage ; path p ; p := ulcorner Page -- llcorner Page -- llcorner Page shifted (BackSpace-LeftMarginDistance,0) -- ulcorner Page shifted (BackSpace-LeftMarginDistance,0) -- cycle ; fill (p enlarged PageOffset) rightenlarged -PageOffset withcolor \MPcolor{FillColor} ; StopPage ; setbounds currentpicture to boundingbox currentpicture enlarged PageOffset ; \stopreusableMPgraphic i use a dedicated head \Aspect{Bla bla}: \definehead [Aspect] [subject] \setuphead [Aspect] [command=\MakeAspect, color=lightgray, style=\bfb, before={\blank[2*big]}, after={\blank[2*big]},] \def\MakeAspect#1#2% {\hbox {\hskip-\marginwidth \hskip-\margindistance \framed [width=.5\textwidth, offset=2pt, frame=off, background=color, backgroundcolor=AspectColor] {\hskip.25cm#2\hfill}}} Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------