Dear RDKiters,
My current code looks like this:
---
AllChem.Compute2DCoords(mol) # generate 2D conformer
mol.SetProp("_Name", name)
d = rdMolDraw2D.MolDraw2DSVG(200, 200)
d.DrawMolecule(mol)
d.FinishDrawing()
out_fn = '%d.svg' % i
with
Hello RDKit community!
Is there a way to draw subscript indices in molecules with R-groups or
with custom labels?
In other words, to draw "1" in -R1, or "2" in -CH2COOH as subscript, not
as regular full-size symbol.
A couple of example is attached. Hope attachement works in mailing
lists.
2 matches
Mail list logo