From: Devendra Ghate <devendra.ghate@gmail.com>
To: ntg-context@ntg.nl
Subject: \margintext overflows in bottom margin
Date: Thu, 17 Jan 2013 15:05:17 +0530 [thread overview]
Message-ID: <50F7C5D5.7040607@gmail.com> (raw)
[-- 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
___________________________________________________________________________________
reply other threads:[~2013-01-17 9:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=50F7C5D5.7040607@gmail.com \
--to=devendra.ghate@gmail.com \
--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).