[NTG-context] ppchtex experience

2009-04-20 Thread Helge Kruse

Hello,

I need to write some chemical strucutures in LaTeX and dont know, what is
the best tools to do it. The structures are crown ether and cryptands. Yes,
and I am unexperienced.

1) What would be the way to write a [18]crown-6 
(http://en.wikipedia.org/wiki/Crown_ether) structure formula with PPCHTEX?

2) Is there any kind of repository, where I can take common structures
and/or adapt these to the required structures?

Regards,
Helge
___
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
___


Re: [NTG-context] ppchtex experience

2009-04-21 Thread Henning Hraban Ramm
2009/4/20 Helge Kruse :
> I need to write some chemical strucutures in LaTeX and dont know, what is
> the best tools to do it. The structures are crown ether and cryptands. Yes,
> and I am unexperienced.
>
> 1) What would be the way to write a [18]crown-6
> (http://en.wikipedia.org/wiki/Crown_ether) structure formula with PPCHTEX?
> 2) Is there any kind of repository, where I can take common structures
> and/or adapt these to the required structures?

see http://wiki.contextgarden.net/Chemistry
and http://mitglied.lycos.de/ppchtex/00index.html

Sorry, can't help you further.


Greetlings, Hraban
___
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
___


Re: [NTG-context] ppchtex experience

2009-06-06 Thread Alan BRASLAU
On Monday 20 April 2009 17:27:42 Helge Kruse wrote:
> Hello,
>
> I need to write some chemical strucutures in LaTeX and dont know, what is
> the best tools to do it. The structures are crown ether and cryptands. Yes,
> and I am unexperienced.
>
> 1) What would be the way to write a [18]crown-6
> (http://en.wikipedia.org/wiki/Crown_ether) structure formula with PPCHTEX?
> 2) Is there any kind of repository, where I can take common structures
> and/or adapt these to the required structures?
>
> Regards,
> Helge

I just came across your message from over a month ago...
Here is my solution (ConTeXt):

\usemodule[chemic]
\starttext
% 18-Crown-6
\startchemical[width=fit,height=fit]
\chemical[SIX,B5,-SB4,+SB6,Z4,MOV1][O]
\chemical[SIX,B6,-SB5,+SB1,Z5,MOV2][O]
\chemical[SIX,B1,-SB6,+SB2,Z6,MOV3][O]
\chemical[SIX,B2,-SB1,+SB3,Z1,MOV4][O]
\chemical[SIX,B3,-SB2,+SB4,Z2,MOV5][O]
\chemical[SIX,B4,-SB3,+SB5,Z3][O]
\stopchemical

% my discotic mesogene...
\startchemical[width=6500,height=8000,top=2500,left=2500]
\chemical[SIX,B5,-SB4,+SB6,PB:Z4,ONE,SB6,Z06,PE,MOV1][N,R]
\chemical[SIX,B6,-SB5,+SB1,PB:Z5,ONE,SB7,Z07,PE,MOV2][N,R]
\chemical[SIX,B1,-SB6,+SB2,PB:Z6,ONE,SB8,Z08,PE,MOV3][N,R]
\chemical[SIX,B2,-SB1,+SB3,PB:Z1,ONE,SB2,Z02,PE,MOV4][N,R]
\chemical[SIX,B3,-SB2,+SB4,PB:Z2,ONE,SB3,Z03,PE,MOV5][N,R]
\chemical[SIX,B4,-SB3,+SB5,PB:Z3,ONE,SB4,Z04,PE][N,R]
\stopchemical

\stoptext

Alan

___
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
___