From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: notes placed left, right aligned
Date: Sun, 29 Jul 2012 19:44:44 +0200 [thread overview]
Message-ID: <6DED114B-3F63-4468-9D90-40D3175748D0@gmail.com> (raw)
In-Reply-To: <771F3D35-DB1E-4250-820C-9075D208D2FC@st.estfiles.de>
Am 29.07.2012 um 19:11 schrieb Steffen Wolfrum <context@st.estfiles.de>:
>
> Am 29.07.2012 um 18:27 schrieb Peter Münster:
>
>> On Sun, Jul 29 2012, Steffen Wolfrum wrote:
>>
>>> but these numbers should be right aligned:
>>> so that the ones (eg. in "1" and "21" and "201") are exactly on top of each other
>>>
>>> any idea how to achieve this?
>>
>> \def\NumberCommand#1{\rightaligned{#1}} % or:
>> \def\NumberCommand#1{\hfill#1}
>>
>> \setupnotation[footnote][alternative=left,width=12pt,distance=4.80pt,
>> numbercommand=\NumberCommand]
>
>
> Yes "numbercommand", that's it!
>
> I wanted command=\NumberCommand with \def\NumberCommand#1{\rightaligned{#1}} ... and that failed.
Beware that this shouldn’t be more than a intermediate solution because normally “headalign=flushright” should work but a bug in the code prevents this.
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-07-29 17:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-29 16:01 Steffen Wolfrum
2012-07-29 16:27 ` Peter Münster
2012-07-29 17:11 ` Steffen Wolfrum
2012-07-29 17:44 ` Wolfgang Schuster [this message]
2012-07-30 20:47 ` 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=6DED114B-3F63-4468-9D90-40D3175748D0@gmail.com \
--to=wolfgang.schuster@gmail.com \
--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).