Hi and thanks for your help.
it works except that when the sidenote is too long it overflows the
page. Is there a way to make the note continuing on the next page if it
doesn't fit?
Thanks again,
Alex
On 06/09/2011 22:27, Wolfgang Schuster wrote:
Am 06.09.2011 um 18:25 schrieb Alexandre Leray:
Hi again,
is there a way to typeset footnotes in the margin, but placed at the same
vertical distance as the text they refer to?
No, but you can combine \inmargin and a counter:
\usemodule[annotation]
\define[2]\SidenoteCommand
{\rawnumber[sidenote]%
\inright{#1: #2}}
\defineannotation
[sidenote]
[alternative=command,
command=\SidenoteCommand,
number=yes]
\starttext
text text\sidenote{this is a note} text text
\input knuth
text text\sidenote{this is a note} text text
\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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________