From: Hans Hagen <pragma@wxs.nl>
Subject: RE: layout of xsteps-p
Date: Wed, 12 Mar 2003 11:05:06 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20030312110104.027d6310@server-1> (raw)
In-Reply-To: <ADEEIKPBIEHIINPOFGAOIEIDCHAA.g.vanuxem@wanadoo.fr>
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
-------------------------------------------------------------------------
next prev parent reply other threads:[~2003-03-12 10:05 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-09 22:14 new version, new manuals, new files Hans Hagen
2003-03-10 14:22 ` Jens-Uwe Morawski
2003-03-10 21:45 ` Hans Hagen
2003-03-11 8:31 ` Hans Hagen
2003-03-10 16:01 ` layout of xsteps-p Gregory Vanuxem
2003-03-10 21:51 ` Hans Hagen
2003-03-11 20:18 ` Gregory Vanuxem
2003-03-12 10:05 ` Hans Hagen [this message]
2003-03-12 14:51 ` Gregory Vanuxem
2003-03-12 15:04 ` Hans Hagen
2003-03-12 15:29 ` Gregory Vanuxem
2003-03-12 20:30 ` Hans Hagen
2003-03-13 9:34 ` Re[2]: " Giuseppe Bilotta
2003-03-13 12:55 ` Gregory Vanuxem
2003-03-13 13:00 ` Gregory Vanuxem
2003-03-13 16:01 ` Hans Hagen
2003-03-13 20:36 ` Gregory Vanuxem
2003-03-13 21:30 ` Patrick Gundlach
2003-03-13 22:45 ` Gregory Vanuxem
2003-03-13 22:57 ` Re[2]: " Giuseppe Bilotta
2003-03-13 23:05 ` Gregory Vanuxem
2003-03-13 23:14 ` Re[4]: " Giuseppe Bilotta
2003-03-13 23:23 ` Gregory Vanuxem
2003-03-13 23:58 ` Re[6]: " Giuseppe Bilotta
2003-03-14 7:54 ` Re[2]: " Hans Hagen
2003-03-14 10:49 ` Gregory Vanuxem
2003-03-12 17:55 ` Patrick Gundlach
2003-03-13 13:04 ` Gregory Vanuxem
2003-03-17 8:22 ` Hans Hagen
2003-03-10 19:30 ` new version, new manuals, new files Willi Egger
2003-03-11 8:52 ` Hans van der Meer
2003-03-13 6:33 ` Henning Hraban Ramm
2003-03-14 8:21 ` Hans Hagen
2003-03-14 19:40 ` Hans van der Meer
2003-03-14 21:48 ` Henning Hraban Ramm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20030312110104.027d6310@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).