From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Chemical structure formula flows out
Date: Tue, 14 Nov 2006 12:49:11 +0000 [thread overview]
Message-ID: <4559BB47.8040704@wxs.nl> (raw)
In-Reply-To: <769ba7780611092248v48c7ab92s586fd5157970aeed@mail.gmail.com>
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
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-11-14 12:49 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 [this message]
2006-11-14 13:11 ` Zhichu Chen
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=4559BB47.8040704@wxs.nl \
--to=pragma@wxs.nl \
--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).