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 printing ?

    I found "sympy/printing/pretty/stringpict.py" with function
"terminal_width() that reads the curses configuration :

"import curses
            try:
                curses.setupterm()
                ncols = curses.tigetnum('cols')"

    As a workaround, in "Integral" @ Maemo 5 OS I force to open a x-
terminal and set its font size using gconftool. But sometimes the x-
terminal font size on Maemo 5 OS does not change (I think it is a
bug).

    If somebody has a more elegant solution, it will be welcome.

       Roberto

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to