ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gmx.de>
Cc: ntg-context@ntg.nl
Subject: Re: Headers and footers
Date: Sun, 22 Aug 1999 14:42:53 +0200	[thread overview]
Message-ID: <37BFF04D.3BEA705D@gmx.de> (raw)
In-Reply-To: <3.0.5.32.19990822004508.00b2adc0@mail.northcoast.com>

Hi David,

> 2. On even pages (left-hand pages), I want the following:
> 
> 202                    Chapter 3. Gaussian Elimination
> 
> 3. On odd pages (right-hand pages), I want the following:
> 
> Section 2. A Most Versatile Algorithm               203

How about something like the following. (Note this isn't complete).
[Does someone know, which command gives you the chapter name and or number?]

\setupheadertexts
             [pagenumber][chapter]
             [pagenumber][section]
\setuphead
  [chapter]
  [header=empty]

> 1. I want no footers and no more than an inch of whitespace at the bottom
> of each page.
Something like \setuplayout[footer=0pt,bottom=1in,textheight=fit]
(Somehow doesn't textheight=fit not really work.)

> Can I automate this to recognize the name and number of each new chapter
> and section? Or will I have to do this by hand for each chapter? In either
> case, how can I accomplish this in Context?
See above. I failed though to insert the number and a 'Chapter: '.
You could do something like [\pagenumber\hfill Chapter:
\WhichCommandGivesYouTheChapterName/Number?].

> If I wanted, how could I underline each header?
\setupheader[after=\hairline] ?

Tobias
PS: I hope I gave you some pointers until someone else, who really knows what
happens, jumps in.


  reply	other threads:[~1999-08-22 12:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-22  7:45 David Arnold
1999-08-22 12:42 ` Tobias Burnus [this message]
1999-08-22 20:01   ` Hans Hagen
1999-08-23  8:09     ` Tobias Burnus
1999-08-24 23:28     ` David Arnold
1999-08-25  7:35 ` Hans Hagen
2000-05-16 21:14 headers " Hraban
2000-05-17 15:29 ` Hans Hagen
2000-10-22 23:27 Headers " Giuseppe Bilotta
2000-10-24  7:09 ` Hans Hagen
2008-08-28 17:18 headers " Alan Stone
2008-08-29  6:33 ` Wolfgang Schuster
2008-08-29  7:57 ` Jano Kula
2008-08-29  8:53   ` Alan Stone
2008-08-29 10:21     ` Taco Hoekwater
2008-08-29 10:38       ` Yue Wang
2008-08-29 11:20         ` Wolfgang Schuster
2008-08-29 11:43           ` Yue Wang
2008-08-29 12:23             ` Taco Hoekwater
2008-08-29 15:06               ` Alan Stone
2008-09-01 13:31                 ` Alan Stone

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=37BFF04D.3BEA705D@gmx.de \
    --to=burnus@gmx.de \
    --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).