[Chimera-users] Newlines in labelopt string

Eric Pettersen pett at cgl.ucsf.edu
Tue Oct 6 12:10:48 PDT 2015


Hi Matej,
	I think you’re out of luck.  Even if you manage to get a literal newline (or its Unicode equivalent) into an atom label, it doesn’t produce a newline, it just shows a boxed question mark instead.
	There’s a horrible workaround that I barely want to mention.  You could open 4 copies of the structure and have each one show a different part of the label, with a different label offset for each.  You would have to change the labelopt before labeling each structure.  Like I said, horrible!

—Eric


	Eric Pettersen
	UCSF Computer Graphics Lab


> On Oct 6, 2015, at 7:54 AM, Repic Matej <matej.repic at epfl.ch> wrote:
> 
> Hi everyone,
> 
> I have pretty long atom labels and it would be nice if I could split them
> with newlines. I set labels with labelopt info %(name)s %(ee).2f %(ea).2f
> %(er).2f
> 
> # what I have
> C3 0.41 0.22 0.14
> 
> # what I want
> C3
> 0.41
> 0.22
> 0.14
> 
> The obvious \n does not work. Any ideas?
> 
> Thank you,
> 
> ------------------------------------------------------
> Dr. Matej Repic
> Ecole Polytechnique Fédérale de Lausanne
> Laboratory of Computational Chemistry and Biochemistry
> SB - ISIC ­ LCBC
> BCH 4108
> CH - 1015 Lausanne
> ------------------------------------------------------
> 
> 
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20151006/d257c8d6/attachment.html>


More information about the Chimera-users mailing list