On Tuesday, May 24, 2016 at 12:09:09 PM UTC+3, Björn Dahlgren wrote: > > I was recently made aware that only variables should be in italics in > equations (see e.g. [1] > <http://tex.stackexchange.com/questions/33120/should-subscripts-in-math-mode-be-upright>, > > [2] > <http://pleasemakeanote.blogspot.se/2010/07/italics-in-math-equations.html>, > [3] <http://physics.nist.gov/cuu/pdf/typefaces.pdf>). > I never really reflected over the distinction, but now it seems obvious. > Should we make LaTeX output of SymPy follow this? > > e.g. change: > > >>> x = sympy.Symbol('x') > >>> print(sympy.latex(sympy.Integral(x, x))) > > \int x\, dx > to: > > > >>> x = sympy.Symbol('x') > >>> print(sympy.latex(sympy.Integral(x, x))) > > \int x\, \mathrm{d}x > > > > what do you think? > > Best regards, > Björn >
I have always disliked the trend to interpret the single letter d in dx (with no space between d and x) as an 'operator' comparable to sin, cos, etc. (with a space between sin and its argument). The result is typographically displeasing. I prefer to consider the d as paired with the integral sign. In other words, if the integral sign is slanted, so should be d. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/92bd5a94-6c50-479a-9855-97a2e4d8c7d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
