From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Strange pagebreaks in LMTX
Date: Thu, 5 Sep 2019 03:32:51 -0400 (EDT) [thread overview]
Message-ID: <nycvar.YAK.7.76.1909050332010.1621@nqv-guvaxcnq> (raw)
In-Reply-To: <137B1AA8-6139-4D78-B0DC-5BEA01E07E57@gmail.com>
On Thu, 5 Sep 2019, Otared Kavian wrote:
> Hi Aditya,
>
> Thank you for your reply and for the link to your article: your explanations are cristal clear and the solution for me is to use what you explain.
>
> There is only one issue remaining, when using your code, that is:
>
> \definetextbackground
> [leftbartext]
> [
> location=paragraph,
> mp=mpos:region:leftbar,
> width=broad,
> frame=off,
> framecolor=darkred,
> rulethickness=.5pt,
> leftoffset=2ex,
> % rightoffset=2.25ex,
> % topoffset=2.25ex,
> % bottomoffset=2.25ex,
> background=color,
> backgroundcolor=white,
> ]
>
> \startuseMPgraphic{mpos:region:leftbar}
> draw_multi_pars;
> draw_multi_side;
> \stopuseMPgraphic
>
> then when there is a footnote the leftbartext runs into the footnote,
> between the number and the footnote itself, and the result is not nice.
> I did not find a way to push the footnote and its number a little to the
> right, or the leftbartext to the left.
You can move the leftbartex to the left by using `frameoffset=dimension`
key.
Aditya
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2019-09-05 7:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-04 12:24 Otared Kavian
2019-09-04 15:58 ` Hans Hagen
2019-09-04 16:32 ` Wolfgang Schuster
2019-09-05 4:27 ` Otared Kavian
2019-09-05 4:45 ` Aditya Mahajan
2019-09-05 5:59 ` Otared Kavian
2019-09-05 6:52 ` Duncan Hothersall
2019-09-05 7:32 ` Aditya Mahajan [this message]
2019-09-05 8:06 ` Otared Kavian
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=nycvar.YAK.7.76.1909050332010.1621@nqv-guvaxcnq \
--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).