Hi,
Is it possible to have a multi-line atom label?
I've tried adding ...\n... or <p>...<br>...</p> to the atomNote property,
but these didn't work (though <sub> and <sup> work).

mol = Chem.MolFromSmiles("CCC")
mol.GetAtomWithIdx(0).SetProp('atomNote',"line1\nline2")
Chem.Draw.MolToFile(mol,"/Users/vass/Downloads/x.svg")

Thanks,
Marton
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to