From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36664 Path: news.gmane.org!not-for-mail From: "Zhichu Chen" Newsgroups: gmane.comp.tex.context Subject: Spacing between formula and texts Date: Wed, 19 Sep 2007 23:30:26 +0800 Message-ID: <769ba7780709190830i46affd9bm4dbd1faa74922918@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0826819178==" X-Trace: sea.gmane.org 1190216000 8457 80.91.229.12 (19 Sep 2007 15:33:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2007 15:33:20 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 19 17:33:08 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IY1Xg-00088v-Hz for gctc-ntg-context-518@m.gmane.org; Wed, 19 Sep 2007 17:32:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0229E1FDF0; Wed, 19 Sep 2007 17:32:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32105-04; Wed, 19 Sep 2007 17:32:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C0C301FF1A; Wed, 19 Sep 2007 17:30:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9CAAB2006D for ; Wed, 19 Sep 2007 17:30:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31984-02 for ; Wed, 19 Sep 2007 17:30:33 +0200 (CEST) Original-Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by ronja.ntg.nl (Postfix) with ESMTP id 3E63C1FF1A for ; Wed, 19 Sep 2007 17:30:32 +0200 (CEST) Original-Received: by nz-out-0506.google.com with SMTP id m7so246255nzf for ; Wed, 19 Sep 2007 08:30:30 -0700 (PDT) Original-Received: by 10.114.111.1 with SMTP id j1mr825902wac.1190215826779; Wed, 19 Sep 2007 08:30:26 -0700 (PDT) Original-Received: by 10.114.126.16 with HTTP; Wed, 19 Sep 2007 08:30:26 -0700 (PDT) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36664 Archived-At: --===============0826819178== Content-Type: multipart/alternative; boundary="----=_Part_26221_21794206.1190215826804" ------=_Part_26221_21794206.1190215826804 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I happened to review the output of my article and found one thing which is not perfect for me. The spacing between a formula and its upper texts is not treated well when I tuned with some indent things. Here is my test file ======================================== \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 ======================================== I'm really uncomfortable with that, and I want to solve it by myself. When I looked up the indent macros in core-spa.tex, how complex is that. So I just hope you guys could help me. -- 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 ---------------------------------------------------------------- ------=_Part_26221_21794206.1190215826804 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I happened to review the output of my article and found one thing which is not perfect for me. The spacing between a formula and its upper texts is not treated well when I tuned with some indent things. Here is my test file
========================================
\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
========================================

I'm really uncomfortable with that, and I want to solve it by myself. When I looked up the indent macros in core-spa.tex, how complex is that. So I just hope you guys could help me.

--
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
---------------------------------------------------------------- ------=_Part_26221_21794206.1190215826804-- --===============0826819178== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0826819178==--