[NTG-context] pushing margintext up

Andy Thomas andythomas at web.de
Sun May 27 17:57:45 CEST 2012


Hello,

could someone point out to me, where in the standalone installation the 'margin float placement' algorithm lives.

Thanks,
Andy

On May 23, 2012, at 4:34 PM, Andy Thomas wrote:

> Hello all,
> 
> is there a way for margintext to 'respect' the lower border of the page and push the margintext up, pushing other margintexts upwards while doing so?
> 
> example:
> 
> \definepapersize[wissenschaft][width=170mm,height=240mm]
> \setuppapersize [wissenschaft]
> 
> \setuplayout
> [topspace=40pt,
>  header=0pt,
>  headerdistance=0pt,
>  backspace=42pt,
>  leftmargin=0pt,
>  width=280pt,
>  height=560pt,
>  rightmargindistance=20pt,
>  rightmargin=100pt,
>  footer=0pt]
> 
> \setuppagenumbering[alternative=doublesided]
> 
> \setupmargindata [margintext]
>    [location=outer,
>    width=100pt,
>    align=flushouter]
> 
> \starttext \showframe
> 
> \input tufte
> \input tufte
> \input tufte\margintext{This is too low, if there are many words in this note.}
> 
> \stoptext
> 
> Kind of hard to explain, I hope the example makes everything clear. 
> 
> Andy
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list