* Chemical structure formula flows out
@ 2006-11-10 6:48 Zhichu Chen
2006-11-14 12:49 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Zhichu Chen @ 2006-11-10 6:48 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1549 bytes --]
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?
Thanks
--
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: 2472 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Chemical structure formula flows out
2006-11-10 6:48 Chemical structure formula flows out Zhichu Chen
@ 2006-11-14 12:49 ` Hans Hagen
2006-11-14 13:11 ` Zhichu Chen
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-11-14 12:49 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Chemical structure formula flows out
2006-11-14 12:49 ` Hans Hagen
@ 2006-11-14 13:11 ` Zhichu Chen
0 siblings, 0 replies; 3+ messages in thread
From: Zhichu Chen @ 2006-11-14 13:11 UTC (permalink / raw)
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-14 13:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-10 6:48 Chemical structure formula flows out Zhichu Chen
2006-11-14 12:49 ` Hans Hagen
2006-11-14 13:11 ` Zhichu Chen
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).