I don't see why i should be in bf, and I also don't see why we should use imath. From what I can tell, imath is an i without the dot, which is useful if you want to put a hat or a vector symbol on it, but doesn't seem right for imaginary i.
Personally, I always just typeset it as just "i". I couldn't find any good references for this, though. What do things like Maple or Mathematica latex functions give? Aaron Meurer On Jan 16, 2013, at 9:37 AM, Shriramana Sharma <[email protected]> wrote: > Hello -- I was trying the SymPyPrt (https://github.com/scios/IPyXt) > extension and I find that complex numbers don't print correctly: 2+3*I > or x+I*y etc replace the I by a dash. The author of that extension > thinks it must be a problem with SymPy's LaTeX output: > > In [1]: from sympy import * > > In [2]: var('x y') > Out[2]: (x, y) > > In [3]: latex(x+I*y) > Out[3]: 'x + \\mathbf{\\imath} y' > > In [4]: latex(2+I*3) > Out[4]: '2 + 3 \\mathbf{\\imath}' > > ... that mathbf does not have all symbols so it should not be used for > this purpose. Anyone to confirm/deny? > > -- > Shriramana Sharma > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
