Latex and wxpython

Andrea Canidio wrote:

I'm very new to python and wxpython (one month of experience with python and
one week with wxpython). However, I managed to put together all the pieces of
info I need to write and run my script, except for one:

Can you use latex in wxpython? Can I set the window frame or a StaticText bot
to, let's say, r'$\gamma_{max}$'?

If I do something like this:

self.lblname = wx.StaticText(self, -1, r'$\gamma_{max}$',wx.Point(20,60))

I get $\gamma_{max}$ and not its latex equivalent.
  
No, of course not. The only application that understands LaTeX code is
a LaTeX compiler.

The Greek lower case "gamma" is Unicode U+03B3. You should be able to use
    self.lblname = wx.StaticText( self, -1, u"\u03B3max", wx.Point(20,60) )
assuming your dialog font supports that glyph.

ยทยทยท

--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.