ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andy Thomas <andythomas@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: pushing margintext up
Date: Sun, 27 May 2012 17:57:45 +0200	[thread overview]
Message-ID: <5D5609E3-B1EE-4731-8BC1-30F1DE57DEDA@web.de> (raw)
In-Reply-To: <D8EF973A-68E5-4651-AA01-35BF596E1A95@web.de>

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@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
___________________________________________________________________________________


  reply	other threads:[~2012-05-27 15:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23 14:34 Andy Thomas
2012-05-27 15:57 ` Andy Thomas [this message]
2012-05-28 16:44   ` Philipp Gesang
2012-05-28 17:02     ` Hans Hagen
2012-05-29  9:37       ` Andy Thomas
2012-05-29  9:44         ` Hans Hagen
2012-05-29  9:58         ` Philipp Gesang

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=5D5609E3-B1EE-4731-8BC1-30F1DE57DEDA@web.de \
    --to=andythomas@web.de \
    --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).