From: Aditya Mahajan <adityam@umich.edu>
Subject: textbackground and margin
Date: Fri, 19 May 2006 14:09:29 -0400 (EDT) [thread overview]
Message-ID: <Pine.WNT.4.63.0605191353030.2296@nqvgln> (raw)
Hi Hans,
textbackground does not honour topoffset/bottomoffset at pagebreak.
Is this by design?
\definetextbackground
[test]
[ location=paragraph,
rulethickness=1pt,
leftoffset=1em,
topoffset=5cm,
bottomoffset=5cm] % For test purposes
\starttext
\starttextbackground[test]
\dorecurse{15}{\input knuth \endgraf}
\stoptextbackground
\stoptext
Is there some parameter to adjust the offset before and after a
pagebreak. (I want them to be same as bottomoffset and topoffset.)
Or should I take care of this in mpos:par:columnset with something
like (pseudo code)
if nofmultipars > 1
draw multipars[1] enlarge bottom by bottomoffset;
for i = 2 upto nofmultipars:
draw multipars[i]
enlarge top by topoffset enlarge bottom by bottomoffset;
endfor;
endif;
Or is there some easier way to just I influence boxfilloffset for
do_draw_par in core-mp.tex?
Thanks,
Aditya
--
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
next reply other threads:[~2006-05-19 18:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-19 18:09 Aditya Mahajan [this message]
2006-05-19 18:35 ` Hans Hagen
2006-05-19 21:43 ` Aditya Mahajan
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=Pine.WNT.4.63.0605191353030.2296@nqvgln \
--to=adityam@umich.edu \
--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).