From: Arnaldo R. <arn...@gm...> - 2014-09-06 20:01:33
|
Hi Tobi and others, I have tested include other packages (e.g \usepackage{cmbright} ), but it seems to not solve my problem. Including on matplotlibrc, exactly the lines as you said, my output is the same as I have attached (Matplotlib To.png). On pure LaTex, I really don't know how it should be charged. I have tried this: \documentclass{report} \usepackage{fontspec}\setmainfont{Arial}\setmathrm{Arial}\setmathsf{Arial}\setmathtt{Arial}\usepackage{amsmath} \begin{document} $\mu$text $\eta$text $\cdot$ m$^{-2}$ s$^{-1}$ \end{document} Thanks --- *Arnaldo D'Amaral Pereira Granja Russo* Lab. de Estudos dos Oceanos e Clima Instituto de Oceanografia - FURG 2014-09-06 6:19 GMT-03:00 Tobias Winchen <to...@wi...>: > Hi, > > On Friday 05 September 2014 16:53:47 Arnaldo Russo wrote: > > I'm trying to figure out how I could use greek letters on axis labels, > > without italic. > > I have read a lot about alternatives, but I do need to use LaTeX to > insert > > a table inside the plot area. > > I use the sfmath package together with the sans-serif latex fonts in > matplotlib. The relevant lines in my matplotlibrc are: > > font.family : sans-serif > font.serif : Computer Modern Roman, Times, Palatino, > font.sans-serif : Computer Modern Sans serif, Helvetica, Avant Garde, > font.cursive : Zapf Chancery > font.monospace : Courier, Computer Modern Typewriter > > text.latex.unicode : True > text.latex.preamble : \usepackage{lmodern},\usepackage{sfmath}, > \usepackage{amsmath}, \usepackage{amssymb}, \usepackage{siunitx}, > > This should do what you want? > > Best regards, > > > Tobi > |