Lucas,

You can create custom printers. See here for more info and an example
custom printer: http://docs.sympy.org/latest/modules/printing.html

Jason

moorepants.info
+01 530-601-9791

On Mon, Aug 6, 2018 at 5:22 AM, Lucas Koerner <koerner.lu...@gmail.com>
wrote:

>
> <https://lh3.googleusercontent.com/-jOPV_91sYC8/W2g9KWyQxgI/AAAAAAAAJcM/4zP4k6cyqEYtR6DJMc3ikzyPC6Kz0QBPQCLcBGAs/s1600/Screen%2BShot%2B2018-08-06%2Bat%2B7.20.25%2BAM.png>
> from sympy import *
> from sympy.vector import CoordSys3D, divergence, curl
>
> A = CoordSys3D('A')  # initialize a 3D coordinate system
> F = A.x*A.y*A.z*(A.i + A.j + A.k)
> display(Math(r'\textbf{F} = ' + latex(F)))
>
> Hello,
> With the code above the vector field is displayed with subscripts on all
> x,y,z, and unit vector variables to indicate the coordinate system: e.g.
> x_A
>
>
>
> <https://lh3.googleusercontent.com/-jOPV_91sYC8/W2g9KWyQxgI/AAAAAAAAJcM/4zP4k6cyqEYtR6DJMc3ikzyPC6Kz0QBPQCLcBGAs/s1600/Screen%2BShot%2B2018-08-06%2Bat%2B7.20.25%2BAM.png>
> Is there a way to suppress these underscores?
>
> Thank you,
> Lucas
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> 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/390e6f3a-14af-4e39-b1e2-71cb1542e0fc%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/390e6f3a-14af-4e39-b1e2-71cb1542e0fc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
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/CAP7f1Aht-gZbh%2Bfgd1d307g5tA-g4K1_fHGB%2Buq2ADVdR8kXcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to