Status: Accepted
Owner: asmeurer
Labels: Type-Enhancement Priority-Medium Printing Integration

New issue 2646 by asmeurer: Space between multiple pretty-printed multiple integral signs
http://code.google.com/p/sympy/issues/detail?id=2646

Right now, we print multiple integrals like this:

⌠ ⌠
⎮ ⎮    ⎛  1  ⎞
⎮ ⎮ sin⎜─────⎟ dx dy
⎮ ⎮    ⎝x + y⎠
⌡ ⌡


  /  /
 |  |
 |  |    /  1  \
 |  | sin|-----| dx dy
 |  |    \x + y/
 |  |
/  /

You may not notice, but there is a space between the integral signs (two spaces for the ASCII version). But in LaTeX, which is the epitome of mathematical typesetting, we always use \iint to print multiple indefinite integrals, which makes the integral signs come closer together. So I wonder if we should actually print these as

⌠⌠
⎮⎮    ⎛  1  ⎞
⎮⎮ sin⎜─────⎟ dx dy
⎮⎮    ⎝x + y⎠
⌡⌡

and


  / /
 | |
 | |    /  1  \
 | | sin|-----| dx dy
 | |    \x + y/
 | |
/ /

or even

  //
 ||
 ||    /  1  \
 || sin|-----| dx dy
 ||    \x + y/
 ||
//

This is just an idea. I'm not sure if this really looks better or not. Also, there is the question of what to do for definite integrals. Hence, I'm going to just leave this here for comments.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to