ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fwd: Re: \setfootertexts and # of lines
@ 2002-07-24  6:26 Hans Hagen
  0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2002-07-24  6:26 UTC (permalink / raw)


Hi,

I forgot to cc this answer to the list (interesting app of layers)

>Hans Hagen wrote:
>
> > At 07:54 PM 7/23/2002 +0200, Cortjan Koppen wrote:
> >
> > 1. I'd like to \rightalign all four lines really to the rightside of
> > the  piece of paper, which might be the same as the rightside of the
> > right margin.
> >
> >> I have tried to accomplish this with:
> >> \setupmarginblocks[location,align=right,right]
> >> and
> >> \startmarginblock
> >> [\vbox .....etc.
> >> \stopmarginblock
> >>
> >> but two problems occur:
> >>
> >> a) the text is printed in the right margin at the top (in stead of
> >> bottom)  ====> the manual speaks about the argument 'bottom' in
> >> \setupmarginblocks, but how to invoke this?
> >
> >
> > just play a bit with:
> >
> > \setupfootertexts
> >   [margin]
> >   [aa]
> >   [bb]
> >
> >
> >> b) if footer sentences become longer than the words one, two, three we
> >> can expect the margin will not be wide enough to accommodate these
> >> footer sentences. Therefore, what I am really searching for is a
> >> footer area which is as wide as the piece of paper in stead of as wide
> >> as the textblock or margin of the page.
> >> This does *not* mean that a solution is to enlarge the width of the
> >> textbody! Only the footer & bottom area should be widened.
> >
> >
> > hm, i do have an experimental model fo rthat but far from ready
> > (actually a table based otr)
> >
> > \hbox to \marginwidth{\hss\hbox to \textwidth{Can you believe this?}}
> >
> >> 2. I still am not able to print the footer and/or bottomtext in the
> >> lowest 2cm of the piece of paper.
> >
> >
> > then increase the bottomdistance,
> >
> > as an alternative:
> >
> > - put the text in the page background
> >
> > \setupcolors
> >   [state=start]
> >
> > \definelayer
> >   [pagelayer]
> >
> > \setuplayer
> >   [pagelayer]
> >   [state=repeat,
> >    width=\paperwidth,
> >    height=\paperheight,
> >    corner={right,bottom}]
> >
> > \setupbackgrounds
> >   [page]
> >   [background=pagelayer]
> >
> > \setlayer
> >   [pagelayer]
> >   [y=1\lineheight,x=1em,location=left]{Hi There}
> >
> > \setlayer
> >   [pagelayer]
> >   [y=2\lineheight,x=1em,location=left]{Hi There Again}
> >
> > \setlayerframed
> >   [pagelayer]
> >   [y=4\lineheight,x=1em,location=left]
> >   [background=color,backgroundcolor=red,
> >    align=right,
> >    foregroundcolor=white]
> >   {There's always another\\way to solve a problem}
> >
> > \starttext test \stoptext
> >
> > (kind of new, subjected to improvements, and to be documented; you need
> > the latest version)
> >
> > 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
> > -------------------------------------------------------------------------
> >
> >
> >
>
>================================================================
>Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd 
>op virussen.
>Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst 
>waar op wordt gecontroleerd.
>
>
>

-------------------------------------------------------------------------
                                   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
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-24  6:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-24  6:26 Fwd: Re: \setfootertexts and # of lines Hans Hagen

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).