{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/2863","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/2863/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/2863/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/2863/events","html_url":"https://github.com/sympy/sympy/issues/2863","id":26749271,"number":2863,"title":"Vector pretty printing can't handle divisions","user":{"login":"moorepants","id":276007,"avatar_url":"https://avatars.githubusercontent.com/u/276007?v=3","gravatar_id":"","url":"https://api.github.com/users/moorepants","html_url":"https://github.com/moorepants","followers_url":"https://api.github.com/users/moorepants/followers","following_url":"https://api.github.com/users/moorepants/following{/other_user}","gists_url":"https://api.github.com/users/moorepants/gists{/gist_id}","starred_url":"https://api.github.com/users/moorepants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorepants/subscriptions","organizations_url":"https://api.github.com/users/moorepants/orgs","repos_url":"https://api.github.com/users/moorepants/repos","events_url":"https://api.github.com/users/moorepants/events{/privacy}","received_events_url":"https://api.github.com/users/moorepants/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sympy/sympy/labels/physics.mechanics","name":"physics.mechanics","color":"0000FF"},{"url":"https://api.github.com/repos/sympy/sympy/labels/printing","name":"printing","color":"0000FF"},{"url":"https://api.github.com/repos/sympy/sympy/labels/valid","name":"valid","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-02-01T22:50:12Z","updated_at":"2016-05-12T22:33:00Z","closed_at":null,"body":"```\r\nPython 2.7.5+ (default, Sep 19 2013, 13:48:49) \r\nType \"copyright\", \"credits\" or \"license\" for more information.\r\n\r\nIPython 1.1.0 -- An enhanced Interactive Python.\r\n?         -> Introduction and overview of IPython's features.\r\n%quickref -> Quick reference.\r\nhelp      -> Python's own help system.\r\nobject?   -> Details about 'object', use 'object??' for extra details.\r\n\r\nIn [1]: from sympy import init_printing\r\n\r\nIn [2]: from sympy.abc import a, b, c\r\n\r\nIn [3]: from sympy.physics.vector import ReferenceFrame\r\n\r\nIn [4]: N = ReferenceFrame('N')\r\n\r\nIn [5]: v = a / b * N.x + (c + b) / a * N.y + c ** 2 / b * N.z\r\n\r\nIn [6]: v\r\nOut[6]: a/b*N.x + (b + c)/a*N.y + c**2/b*N.z\r\n\r\nIn [7]: v._pretty()\r\nOut[7]: <sympy.physics.vector.vector.Fake at 0x203c290>\r\n\r\nIn [8]: print(v._pretty())\r\n<sympy.physics.vector.vector.Fake object at 0x3266510>\r\n\r\nIn [9]: init_printing()\r\n\r\nIn [10]: v\r\nOut[10]: \r\na\r\n─\r\nb*n_x + b + c\r\n─────\r\n  a  *n_y +  2\r\nc \r\n──\r\nb *n_z\r\n```\r\n\r\nIt likely doesn't work for dyadics either."},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/218904910","html_url":"https://github.com/sympy/sympy/issues/2863#issuecomment-218904910","issue_url":"https://api.github.com/repos/sympy/sympy/issues/2863","id":218904910,"user":{"login":"moorepants","id":276007,"avatar_url":"https://avatars.githubusercontent.com/u/276007?v=3","gravatar_id":"","url":"https://api.github.com/users/moorepants","html_url":"https://github.com/moorepants","followers_url":"https://api.github.com/users/moorepants/followers","following_url":"https://api.github.com/users/moorepants/following{/other_user}","gists_url":"https://api.github.com/users/moorepants/gists{/gist_id}","starred_url":"https://api.github.com/users/moorepants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorepants/subscriptions","organizations_url":"https://api.github.com/users/moorepants/orgs","repos_url":"https://api.github.com/users/moorepants/repos","events_url":"https://api.github.com/users/moorepants/events{/privacy}","received_events_url":"https://api.github.com/users/moorepants/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T22:33:00Z","updated_at":"2016-05-12T22:33:00Z","body":"It's hard to type the expected result in unicode, but it the unit vectors should not be in the numerator or denominator of the fractions. The unit vectors should render with subscripts and maybe bold. And everything should be on one line.\r\n\r\n"}}