ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Zhichu Chen" <zhichu.chen@gmail.com>
Subject: Re: Chemical structure formula flows out
Date: Tue, 14 Nov 2006 21:11:22 +0800	[thread overview]
Message-ID: <769ba7780611140511s10855f2bpbe8967bbc3bbee5f@mail.gmail.com> (raw)
In-Reply-To: <4559BB47.8040704@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2513 bytes --]

It sounds so cool! I love metapost.


On 11/14/06, Hans Hagen <pragma@wxs.nl> wrote:
>
> Zhichu Chen wrote:
> > Hello
> >
> > I've been studying PPCHTEX these days, it's very powerful, and I
> > cannot control it well. I just wrote a chemical struture like:
> >
> > ================================
> > \startchemical
> >   [size=small,scale=small,width=fit,height=fit,frame=on]
> >   \chemical[SIX,SB13456,DB2,Z]
> >     [C,C,C,C,C,C]
> >
> >
> \chemical[PB:Z1,ONE,Z0,SB18,Z8,MOV1,ONE,DB1,SB7,Z07,MOV1,ONE,SB13,Z03,MOV1,ONE,SB1,DB7,Z017,PE]
> >
> >     [C,H,C,H,C,H,C,CH_3,O]
> >   \chemical[PB:Z2,ONE,Z0,SB1,Z1,PE]
> >     [C,CH_3]
> >   \chemical[PB:Z3,ONE,Z0,SB3,Z3,PE]
> >     [C,H]
> >   \chemical[PB:Z4,ONE,Z0,SB45,Z45,PE]
> >     [C,H,H]
> >   \chemical[PB:Z5,ONE,Z0,SB56,Z56,PE]
> >     [C,CH_3,H]
> >   \chemical[PB:Z6,SIX,Z3,SB23,Z24,PE]
> >     [C,CH_3,CH_3]
> > \stopchemical
> > ================================
> >
> > only the carbon-ring is in the frame, I think maybe PB:..,PE pair does
> > not change the size of the picture. I know I can use like
> > ================================
> > \startchemical
> >   [size=small,scale=small,width=9000,height=5000,left=3000]
> > ================================
> > to specify the size, but I need to try several times to get a correct
> > version. Is there any parameter that do this staff automatically?
> >
> not that i know; but i do know that i need to clean up this module some
> day (make it into a pure metapost thing) and then we can provide more
> control
>
> Hans
>
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>



-- 
Sincerely yours,
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: 4368 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

      reply	other threads:[~2006-11-14 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10  6:48 Zhichu Chen
2006-11-14 12:49 ` Hans Hagen
2006-11-14 13:11   ` Zhichu Chen [this message]

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=769ba7780611140511s10855f2bpbe8967bbc3bbee5f@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).