ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: footnote-number alignment
Date: Sun, 25 Oct 2009 10:54:29 +0100	[thread overview]
Message-ID: <3FECE0CA-D7EB-4EDE-A594-569B47FA7EEB@uni-bonn.de> (raw)
In-Reply-To: <20091023140916.g6qz05z4ukkk80g8@webmail.jander.de>


On Oct 23, 2009, at 2:09 PM, achim@jander.de wrote:

> Hello,
> after struggling some weeks to get everything to work, i'm now
> nearly satisfied with typsetting via context. But there is one
> problem left for that i cant find any solution, even after googling
> for hours.
> I am typesetting documents with a large amount of footnotes, and
> want to have the footnote-number aligned to the correct decimal place.
> To explain:
> page one has footnotes 1 to 8, numbers are left-aligned, everything  
> is good
>
> -----
> 1 footnotetext
> 2 footnotetext
> 3 footnottext
> ....
> 8 footnotetext
>
> page two has footnotes 9 to 12, so I want to have
>
> 9 footnotetext
> 10 footnotetext
> ...
>
> but i only get:
> 9 footnotetext
> 10 foootnotextex.
>
> I think, there is no easy solution, but maybe someone can give me a  
> push
> to the direction how i can realize that behaviour (btw same problem  
> is with
> numbered lists)
> Any hint is welcome,

Your ASCII art doesn't really show what you're after, but from your  
description, you could try something like this (I too have searched  
for this, and I don't think there is an easier solution; maybe  
something like this should go into the core):

\def\NoteNumber#1{\hbox to 14pt{\hbox to 8pt{\strut\hfill #1}}}

\setupnotedefinition[footnote][location=left,hang=0]

\setupfootnotes[align={normal,hanging},
		numbercommand=\NoteNumber]

HTH

Thomas


___________________________________________________________________________________
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:[~2009-10-25  9:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 12:09 achim
2009-10-25  9:54 ` Thomas A. Schmitz [this message]
2009-10-25  9:59   ` Taco Hoekwater
2009-10-25 17:58     ` Thomas A. Schmitz
2009-10-25 18:00       ` Taco Hoekwater
2009-10-25 15:00 ` Hans Hagen
2009-10-25 19:48   ` Wolfgang Schuster
2009-10-25 20:30     ` Hans Hagen
2009-10-25 20:40       ` Wolfgang Schuster
2009-10-25 20:54         ` Hans Hagen

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=3FECE0CA-D7EB-4EDE-A594-569B47FA7EEB@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.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).