Re: [Matplotlib-users] newline in mathtex

2007-05-15 Thread Matthias Michler
Hello Bernhard, I'm not sure if my answer really fits your question, but it may help to use >>> from matplotlib import rc >>> rc('text', usetex=True) like in the tex_demo.py (http://matplotlib.sourceforge.net/screenshots) or to change your matplotlibrc (for explanation see: http://www.scipy.org/

[Matplotlib-users] newline in mathtex

2007-05-15 Thread Bernhard Voigt
Dear all, is it possible to insert newlines in mathtex text? neither \newline, nor \\ seem to be understood: In [20]: text(.5,.5, r'$This is the first line \\ this is the second line$') Results in a single line. By the way, when there is an error in the tex string, the caching behind the scen