ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Page layout : Need help to begin
Date: Thu, 29 Jan 2009 22:21:52 +0100	[thread overview]
Message-ID: <78E9029B-B96A-471F-ADC9-52818B42F181@gmail.com> (raw)
In-Reply-To: <f77474db0901291222h18afe524i7ec37e0f64503189@mail.gmail.com>


Am 29.01.2009 um 21:22 schrieb Antoine Cailliau:

>> It's hard to say what't the best method in your case is
>> because more information are needed. The first thing that
>> came to my mind was to reduce the text area to a narrow
>> column and place the extra text and the figures and a wide
>> left margin.

> Ok, so I was not so wrong. But my main concern is about
> the background that has to take the full height and half width.
> In addition, if the background may be larger than the page it
> would nice in case of printing (so, no margin at all)


\setupcolors[state=start]

\defineoverlay
   [graybar]
   [{\blackrule
       [color=middlegray,
        height=\dimexpr\paperheight+1cm\relax,
        width=\dimexpr\paperwidth/2+1cm]%
     \hskip\dimexpr\paperwidth/2+1cm\relax}]

\setupbackgrounds[page][background=graybar]

[rest of the document]

If you want the background on chapter pages etc. it makes sense
to integrate the background in a slightly different way but more
details about the layout needed for this to find the best solution.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-01-29 21:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29 18:32 Antoine Cailliau
2009-01-29 20:03 ` Wolfgang Schuster
2009-01-29 20:22   ` Antoine Cailliau
2009-01-29 21:21     ` Wolfgang Schuster [this message]
2009-01-29 21:49       ` Antoine Cailliau
2009-01-29 22:30         ` Wolfgang Schuster
2009-01-30  7:09           ` Antoine Cailliau
2009-01-30  9:36             ` Wolfgang Schuster

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=78E9029B-B96A-471F-ADC9-52818B42F181@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).