[sympy] Possible to set the number of columns for pretty printing ?

2011-08-11 Thread Roberto Colistete Jr.
Hi, In "Integral" (http://www.robertocolistete.net/integral/) the bidimensional output uses SymPy pretty printing. But the number of columns is read from the x-terminal configuration (so a larger font size means less columns). Is it possible to set the number of columns for pretty pri

Re: [sympy] Possible to set the number of columns for pretty printing ?

2011-08-11 Thread Aaron Meurer
Unfortunately, it seems it is not possible to supply a custom terminal width. It would be great to add this as a setting to PrettyPrinter. It would flow through to the render() function in that file you mentioned, and would override the value calculated from terminal_width() (the default setting w