The min and max parameters to latex() control when a float is printed in scientific format. The sstr printer also has the same options, but it looks like the pretty printer does not (it should not be hard to add them, though).
Aaron Meurer On Mon, Feb 7, 2022 at 3:55 AM Rajeev Singh <rajs2...@gmail.com> wrote: > > Dear group, > > What would be the best way to get numbers in the form 10^{...} while > using pretty print or latex? The following hack works - > > ten = symbols("10", positive=True) > eps, mu = 4*pi*ten**(-11), ten**(-5) > > but is messing up pretty print when used with sympy.vector objects. > Couldn't find anything on this in the mail archives. > > Best wishes, > Rajeev > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAABz-z-jD3GPB3jw0q%3D4xuG0VCmcw4NO8154H3CRYJz4Ws2Tpw%40mail.gmail.com. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6LVuxsPwieY1y_%3D4ymQcZ%2B4fYN6vqrWCQGNsfB%3Duk9_4w%40mail.gmail.com.