ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \margintext overflows in bottom margin
@ 2013-01-17  9:35 Devendra Ghate
  0 siblings, 0 replies; only message in thread
From: Devendra Ghate @ 2013-01-17  9:35 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 806 bytes --]

I am using*\margintext* for comments in the margin. When a comment falls on
the last line of a page, I have to manually add 
*\setupmargintext[voffset=-2em]
*everytime to stop it from flowing into bottom margin.
Is there a way to automatically offset margin text to stop it from 
flowing into bottom margin.
I took a look at *typo-mar.mkiv* to see if an option exists to correct 
this without any success.

*MWE*

\setuplayout[height=6cm,width=5cm,rightmargin=5cm]
\unprotect
% setup the side notes
\setupmargindata
     [margintext]
     [location=outer,
      width=4.5cm,
      align=flushleft,
      stack=yes]

\starttext
   \showframe
   A \crlf A\crlf A\crlf
  %\setupmargindata[margintext][voffset=-2em]
   A\margintext{A margin text.A margin text.A margin text.A margin text.}
\stoptext

Devendra

[-- Attachment #1.2: Type: text/html, Size: 1348 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-17  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17  9:35 \margintext overflows in bottom margin Devendra Ghate

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).