From: Alan BRASLAU <alan.braslau@cea.fr>
To: ntg-context@ntg.nl
Cc: Helge Kruse <Helge.Kruse-nospam@gmx.net>
Subject: Re: ppchtex experience
Date: Sat, 6 Jun 2009 14:44:48 +0200 [thread overview]
Message-ID: <200906061444.49094.alan.braslau@cea.fr> (raw)
In-Reply-To: <000901c9c1cc$8cf67120$0d64a8c0@office.fortech.de>
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
___________________________________________________________________________________
prev parent reply other threads:[~2009-06-06 12:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 15:27 Helge Kruse
2009-04-21 8:56 ` Henning Hraban Ramm
2009-06-06 12:44 ` Alan BRASLAU [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=200906061444.49094.alan.braslau@cea.fr \
--to=alan.braslau@cea.fr \
--cc=Helge.Kruse-nospam@gmx.net \
--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).