notes placed left, right aligned
Hi, my footnotes don't behave as they did three months ago ... I wanted the footnote's number left from the footnote's text, 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? Thanks, Steffen ------- \starttext \setupbodyfont[times,6pt] \setupnotation[footnote][alternative=left,width=12pt,distance=4.80pt] \dorecurse{111}{test\footnote{\input ward\par}} \stoptext
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] -- Peter
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. Thanks a lot! Steffen
Am 29.07.2012 um 19:11 schrieb Steffen Wolfrum
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
Am 29.07.2012 um 18:01 schrieb Steffen Wolfrum
Hi,
my footnotes don't behave as they did three months ago ...
I wanted the footnote's number left from the footnote's text, 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?
Thanks, Steffen
-------
\starttext
\setupbodyfont[times,6pt]
\setupnotation[footnote][alternative=left,width=12pt,distance=4.80pt]
\dorecurse{111}{test\footnote{\input ward\par}}
\stoptext
The \boxedconstructionhead macro in strc-con.mkvi needs a fix for the head align key. \unprotect \unexpanded\def\boxedconstructionhead#1% {\vtop {\hsize\constructionsheadwidth \edef\p_strc_constructions_headalign{\constructionparameter\c!headalign}% WS \ifx\p_strc_constructions_headalign\empty \else \setupalign[\p_strc_constructions_headalign]% \use... \fi #1}} \protect \starttext \setupbodyfont[times,6pt] \setupnotation[footnote][alternative=left,width=3em,distance=4.80pt,headalign=flushright] \dorecurse{111}{test\footnote{\input ward\par} } \stoptext Wolfgang
participants (3)
-
Peter Münster
-
Steffen Wolfrum
-
Wolfgang Schuster