ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: footnote-number alignment
Date: Sun, 25 Oct 2009 21:30:37 +0100	[thread overview]
Message-ID: <4AE4B56D.6020302@wxs.nl> (raw)
In-Reply-To: <D8FF4752-6354-42AF-8277-C00412816CD1@googlemail.com>

Wolfgang Schuster wrote:
> 
> Am 25.10.2009 um 16:00 schrieb Hans Hagen:
> 
>> achim@jander.de <mailto:achim@jander.de> wrote:
>>> I am typesetting documents with a large amount of footnotes, and
>>> want to have the footnote-number aligned to the correct decimal place.
>>
>> as the relevant info is present deep down in context i can imagine a 
>> solution but it's not a 5 minutes job
> 
> fix the text/title alignment in descriptions and right aligned numbers 
> are possible
> 
> strc-des.mkiv:
> 
> @@ -334,6 +334,7 @@
>          {\dodescriptionhandler
>             {\vtop
>                
> {\hsize\dimexpr\descriptionsheadwidth-\descriptionsheaddistance\relax
> +               
> \doifsomething{\descriptionparameter\c!align}{\setupalign[\descriptionparameter\c!align]}%
>                
>  \begstrut\descriptionparameter\c!text\ignorespaces\currentdescriptiontext\endstrut}}}}%
>     \doifelse{\descriptionparameter\c!aligntitle}\v!no
>       {\leftdescriptionskip\leftskip\rightdescriptionskip\rightskip}

hm, but isn't align meant for the main text then? i must look up that one

anyhow, i thought that the alignment had to do with:

  1
  2
10

and

1
2
3

i.e. less width in the case of < 10 which can be done using first/last 
on page numbers

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 20:30 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
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 [this message]
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=4AE4B56D.6020302@wxs.nl \
    --to=pragma@wxs.nl \
    --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).