use of \operatorname{} in latex

19 views
Skip to first unread message

hac man

unread,
Apr 7, 2013, 6:14:56 PM4/7/13
to sy...@googlegroups.com
I noticed something about rendering of symbolic functions into latex. Currently, \operatorname is applied to all functions, even single letter ones when they are rendered with an argument, but not when they are rendered without the argument.  The following code in SymPy Live illustrates this point:

f, f(x)

I would say that the former is more correct and looks better. I have a set of patches that would change the behavior as I suggest. You can see the diff below. Even if you thing that \operatorname should be used on single character functions, I think it should at least be consistent.

you can see the diff from master here:

Should I open a bug report for this, just send the pull request, or something else?

Aaron Meurer

unread,
Apr 7, 2013, 6:52:05 PM4/7/13
to sy...@googlegroups.com
Sure, just send the pull request. Even if you are unsure about a change, just send a pull request, as it's much easier to discuss code changes on a pull request than on the mailing list. 

Aaron Meurer
--
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 sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages