ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: thomas.floeren@boschung.com,
	 mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Footnote numbers and leftmargin setup [mkIV]
Date: Mon, 03 May 2010 16:37:49 +0200	[thread overview]
Message-ID: <4BDEDFBD.8060405@googlemail.com> (raw)
In-Reply-To: <003101caeac3$c43f1030$8614a8c0@boschung.local>

Am 03.05.10 15:23, schrieb Thomas Floeren:
> Without the leftmargin key, text and footer leave the page borders.
>
> Guess I have to to change my way to setup the layout in mkIV(?)
>    

There are a few things you should change:

1. Use 'middle' for the width and height keys in \setuplayout,

2. Place the rule above the footer in the text area,

3. Don't set the left and right margins to 0pt,

4. Instead of a rule before the footer you can use the background
    mechanism to draw the borders of the footer.

\setuplayout
   [backspace=25mm,
    cutspace=15mm,
    topspace=10mm,
    header=0pt,
    headerdistance=0pt,
    bottomspace=10mm,
    footer=5mm,
    footerdistance=8mm,
    height=middle,
    width=middle,
    location=middle]

\setupfooter[text][before=\hairline]
%\setupbackgrounds[footer][text][topframe=on]

\setupfootertexts[nice text here][and here]

\starttext
\dorecurse{20}{just text }\footnote{foot text}\page[dummy]
\stoptext

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2010-05-03 14:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03 12:11 Thomas Floeren
2010-05-03 12:20 ` Wolfgang Schuster
2010-05-03 13:23   ` Thomas Floeren
2010-05-03 14:37     ` Wolfgang Schuster [this message]
2010-05-03 14:51     ` Willi Egger

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=4BDEDFBD.8060405@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=thomas.floeren@boschung.com \
    /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).