On Sunday, September 3, 2017 at 8:27:46 PM UTC+3, Amine Aboufirass wrote: > > > I've been playing around with the sympy vector module and the expressions > created in latex contain very large subscripts denoting their reference > system. Please see the attachment if the graphic does not appear below. > > > <https://lh3.googleusercontent.com/-FqVlA9ZMOiE/Waw7COCW3fI/AAAAAAAADRs/dOb_sW9SBVsX1lqrX7as-9ZqECAzb3k1gCLcBGAs/s1600/capture.png> > I have x and y defined as symbols and C as the reference system. The > inclusion of the subscript C for every term is not necessary for my > application and quickly gets very ugly for larger expressions with many > variables. > > I want to get rid of these subscripts. They are discouraging me from > working with the vector module. How can I disable them please? >
You can define a subclass of CoordSys3D that redefines vector_names and variable_names in its __init__ function. (Some experimentation may be necessary to see exactly which attributes need to be changed.) Kalevi Suominen -- 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/73c7097a-4797-4fb1-a25c-e08523f9ba8e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
