From: "Zhichu Chen" <zhichu.chen@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Spacing between formula and texts
Date: Thu, 20 Sep 2007 03:04:20 +0800 [thread overview]
Message-ID: <769ba7780709191204o19fbe75cl868bd92248c6617d@mail.gmail.com> (raw)
In-Reply-To: <20070919194420.ef3289db.schuster.wolfgang@googlemail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2614 bytes --]
Hi Wolfgang,
On 9/20/07, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
>
> On Wed, 19 Sep 2007 23:30:26 +0800
> "Zhichu Chen" <zhichu.chen@gmail.com> wrote:
>
> > \usemodule[units]
> >
> > \setupindenting[big]
> > \indenting[always,next]
> > % no, not, yes, always, never, first, next
> >
> > % \setupformulas[spacebefore=5em]
> >
> > \starttext
> >
> > Blah,
> > blah, blah, blah, blah, blah, blah, blah, blah,
> > blah, blah, blah, blah, blah, blah, blah, blah,
> > blah, blah, blah, blah, blah, blah, blah, blah,
> > blah, blah, blah, blah, blah, blah, blah, blah,
> > I love the following formula:
> > \placeformula[-]
> > \startformula
> > 6.670 \times 10^{-11} \Newton \Times \Square \Meter \Per \Square
> \Kilo
> > \Gram
> > \stopformula
> > which is very cool.
> > which is very cool.
> > which is very cool.
> > which is very cool.
> > which is very cool.
> >
> > % \showmathcharacters
> >
> > \stoptext
>
> Hi Chen,
>
> I can't give a real solution but only a workaround, the problem lies in
> the macro \beforedisplayspace which calls \docomplexdoblank which calls
> itself \presetindentation and this macro causes your real problem.
>
> You solve this now by placing \let\presetindentation\relax at the begin
> in your document or remove the next key for \setupindenting.
Really! It works fine with "first" key. OK, I can just live with that,
although I hope Hans will have time to fix it, it's not so cool with the
first paragraph indented :)
This is all what I can do for you in a few minutes, the rest is up to
> Hans to make a extra test in \beforedisplay or somewhere else to
> disable \preetindentation before a display formula.
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
--
Best Regards
Chen
----------------------------------------------------------------
Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
| www.sinap.ac.cn
----------------------------------------------------------------
[-- Attachment #1.2: Type: text/html, Size: 4154 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2007-09-19 19:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-19 15:30 Zhichu Chen
2007-09-19 17:44 ` Wolfgang Schuster
2007-09-19 19:04 ` Zhichu Chen [this message]
2007-09-20 19:27 ` Wolfgang Schuster
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=769ba7780709191204o19fbe75cl868bd92248c6617d@mail.gmail.com \
--to=zhichu.chen@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).