ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Some questions about context
Date: Tue, 6 Mar 2007 11:16:53 -0500 (EST)	[thread overview]
Message-ID: <alpine.WNT.0.83.0703061115150.4048@nqvgln> (raw)
In-Reply-To: <E1818171-CA32-4620-B14A-8885DB778F8C@mpq.mpg.de>

On Tue, 6 Mar 2007, Oliver Buerschaper wrote:

>> And another question (in other topic): how we can do lines at
>> header and
>> footer like fancyheaders in latex?
>
>
> For your headers try this:
>
> ---
>
> \setupheader
> 	[text]
> 	[after=\hrule]
>
> \starttext
> \input tufte
> \stoptext
>
> ---
>
> You can change the actual content of your headers via
> \setupheadertexts ...
>
> Instead of the \hrule command above you could also resort to
> \thinrule. The global behaviour of \thinrule can then be customized
> via \setupthinrules ... However, this comes at the cost of
> introducing additional vertical space between your header text and
> the rule. On the contrary \hrule sticks to the text. Choose whatever
> suits you best.
>
> (To the experts: is this \thinrule behaviour intended?)

A better way is to use \setupbackgrounds. You can specify the exact 
region of the page that you want, and it accepts all the parameters of 
framed, so you can change the rule thickness, background, etc. And for 
a really fancy layout, you can use a metapost background.

Aditya

  reply	other threads:[~2007-03-06 16:16 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05 12:43 Xan
2007-03-05 13:44 ` Wolfgang Schuster
2007-03-05 14:44   ` Aditya Mahajan
2007-03-05 16:45     ` Mojca Miklavec
2007-03-05 17:35       ` Aditya Mahajan
2007-03-05 20:12   ` Xan
2007-03-05 20:21     ` Xan
2007-03-06  0:37       ` Aditya Mahajan
2007-03-06  9:26         ` Xan
2007-03-06 10:19           ` Oliver Buerschaper
2007-03-06 16:16             ` Aditya Mahajan [this message]
2007-03-06 22:07               ` Oliver Buerschaper
2007-03-06 11:48           ` Wolfgang Schuster
2007-03-07 11:47             ` Xan
2007-03-06 16:14           ` Aditya Mahajan
2007-03-06  1:46     ` luigi scarso
2007-03-06  9:09       ` Xan
2007-03-06 16:20       ` Aditya Mahajan
2007-03-06 23:01         ` luigi scarso
     [not found] <mailman.0.1173178801.22858.ntg-context@ntg.nl>
2007-03-06 13:00 ` Robin Kirkham
2007-03-10  7:45   ` Wolfgang Schuster
     [not found] <mailman.3024.1173519750.17432.ntg-context@ntg.nl>
2007-03-11  3:15 ` Robin Kirkham
2007-03-11 12:18   ` 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=alpine.WNT.0.83.0703061115150.4048@nqvgln \
    --to=adityam@umich.edu \
    --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).