* Cover: how to make it ?
@ 2005-02-23 12:37 VnPenguin
2005-02-23 14:55 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: VnPenguin @ 2005-02-23 12:37 UTC (permalink / raw)
Hi all,
I would like to make a cover for my document (print mode) like the one
of minstall.pdf or mlabels.pdf.
Anyone could give me some examples please.
Thank you in advance,
Q.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cover: how to make it ?
2005-02-23 12:37 Cover: how to make it ? VnPenguin
@ 2005-02-23 14:55 ` Hans Hagen
2005-02-23 15:03 ` VnPenguin
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2005-02-23 14:55 UTC (permalink / raw)
VnPenguin wrote:
> Hi all,
> I would like to make a cover for my document (print mode) like the one
> of minstall.pdf or mlabels.pdf.
> Anyone could give me some examples please.
\setupcolors[state=start]
\startuseMPgraphic{cover}
StartPage ;
fill Page withcolor .5green ;
path p ; p := unitcircle randomized .1 xsized(PaperWidth-1cm) ;
fill p shifted -center p shifted center Page withcolor red ;
StopPage ;
\stopuseMPgraphic
\defineoverlay[cover][\useMPgraphic{cover}]
\starttext
\setupbackgrounds[page][background=cover]
\startstandardmakeup
\raggedcenter
\vfill \definedfont[SerifBold at 48pt]\setstrut \strut Penguins in Vietnam
\blank[2*big] \definedfont[SerifBold at 24pt]\setstrut \strut A Very Short Story
\vfill
\stopstandardmakeup
\setupbackgrounds[page][background=]
\input tufte
\stoptext
an alternative is to use a layer and position text using the layer mechanism
Hans
-----------------------------------------------------------------
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cover: how to make it ?
2005-02-23 14:55 ` Hans Hagen
@ 2005-02-23 15:03 ` VnPenguin
0 siblings, 0 replies; 3+ messages in thread
From: VnPenguin @ 2005-02-23 15:03 UTC (permalink / raw)
Cc: mailing list for ConTeXt users
On Wed, 23 Feb 2005 15:55:21 +0100, Hans Hagen <pragma@wxs.nl> wrote:
> VnPenguin wrote:
> > Hi all,
> > I would like to make a cover for my document (print mode) like the one
> > of minstall.pdf or mlabels.pdf.
> > Anyone could give me some examples please.
>
> \setupcolors[state=start]
>
> \startuseMPgraphic{cover}
> StartPage ;
> fill Page withcolor .5green ;
> path p ; p := unitcircle randomized .1 xsized(PaperWidth-1cm) ;
> fill p shifted -center p shifted center Page withcolor red ;
> StopPage ;
> \stopuseMPgraphic
...
> \input tufte
>
> \stoptext
>
> an alternative is to use a layer and position text using the layer mechanism
>
> Hans
>
Thank you so much Hans !
Q.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-23 15:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-23 12:37 Cover: how to make it ? VnPenguin
2005-02-23 14:55 ` Hans Hagen
2005-02-23 15:03 ` VnPenguin
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).