Hi Blaine,

You can force the external GUI to adjust its output size beyond what
the menus allow. Going too big, however, will occlude the menu buttons
at the right side of the screen, so be careful. If you paste the
following code into your ~/.pymolrc it will remap the font size upon
pressing the F5 key:

python
size = 10

def teach():
  global size

  if size==20:
    size=10
  elif size==10:
    size=20

  s = _ext_gui.skin
  s.text.configure(font=(s.font, size))

cmd.set_key("F5", teach)
python end

Now, you can simple use "F5" to go from small text to big.

Cheers,

-- Jason


On Wed, Sep 12, 2012 at 8:40 AM, Mooers, Blaine H.M.  (HSC)
<blaine-moo...@ouhsc.edu> wrote:
>
> While lecturing about how to use PyMOL, it would be useful to have size 20
> or larger font displayed in the command history window so
> that people in the back of the room can read the output when projected on a
> screen.
>
> How might this be accomplished?
>
> Best regards,
>
> Blaine Mooers
>
>
>
>
> Blaine Mooers
> Assistant Professor
> Department of Biochemistry and Molecular Biology
> University of Oklahoma Health Sciences Center
> S.L. Young Biomedical Research Center Rm. 466
>
> Letter address:                          Shipping address:
> P.O. Box 26901, BRC 466      975 NE 10th Street, BRC 466
> Oklahoma City, OK 73190     Oklahoma City, OK 73104-5419
>
> office: (405) 271-8300   lab: (405) 271-8313  fax:  (405) 271-3910
> e-mail:  blaine-moo...@ouhsc.edu
>
> webpage:
> http://www.oumedicine.com/department-of-biochemistry-and-molecular-biology/faculty/blaine-mooers-ph-d-
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net



-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrödinger, LLC

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to