lefakkomies / pynomo-doc

pynomo documentation
Other
18 stars 4 forks source link

Allow use of LaTex commands in pynomo thought pyx #7

Open mlaviolette opened 4 years ago

mlaviolette commented 4 years ago

The command

text.set(mode="latex") # allows use of latex commands in PyX such as \frac{a}{b} and \par

is deprecated in pyx. It should be replaced by:

from pyx import * text.set(text.LatexEngine) # allows use of latex commands in PyX such as \frac{a}{b} and \par

Could you change it in your examples in the pynomo docs you have written.

Cheers

djboulet commented 4 years ago

I'll take a look at that. I encountered some problems using the text.LatexEngine parameter but will investigate more closely.