{"action":"created","issue":{"url":"https://api.github.com/repos/Khan/KaTeX/issues/1319","repository_url":"https://api.github.com/repos/Khan/KaTeX","labels_url":"https://api.github.com/repos/Khan/KaTeX/issues/1319/labels{/name}","comments_url":"https://api.github.com/repos/Khan/KaTeX/issues/1319/comments","events_url":"https://api.github.com/repos/Khan/KaTeX/issues/1319/events","html_url":"https://github.com/Khan/KaTeX/issues/1319","id":323769933,"number":1319,"title":"Polynomial division","user":{"login":"freemaths","id":5670897,"avatar_url":"https://avatars0.githubusercontent.com/u/5670897?v=4","gravatar_id":"","url":"https://api.github.com/users/freemaths","html_url":"https://github.com/freemaths","followers_url":"https://api.github.com/users/freemaths/followers","following_url":"https://api.github.com/users/freemaths/following{/other_user}","gists_url":"https://api.github.com/users/freemaths/gists{/gist_id}","starred_url":"https://api.github.com/users/freemaths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freemaths/subscriptions","organizations_url":"https://api.github.com/users/freemaths/orgs","repos_url":"https://api.github.com/users/freemaths/repos","events_url":"https://api.github.com/users/freemaths/events{/privacy}","received_events_url":"https://api.github.com/users/freemaths/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-16T20:14:36Z","updated_at":"2018-05-17T05:11:05Z","closed_at":null,"author_association":"NONE","body":"Is there any support for laying out long polynomial division?\r\n"},"comment":{"url":"https://api.github.com/repos/Khan/KaTeX/issues/comments/389746413","html_url":"https://github.com/Khan/KaTeX/issues/1319#issuecomment-389746413","issue_url":"https://api.github.com/repos/Khan/KaTeX/issues/1319","id":389746413,"user":{"login":"freemaths","id":5670897,"avatar_url":"https://avatars0.githubusercontent.com/u/5670897?v=4","gravatar_id":"","url":"https://api.github.com/users/freemaths","html_url":"https://github.com/freemaths","followers_url":"https://api.github.com/users/freemaths/followers","following_url":"https://api.github.com/users/freemaths/following{/other_user}","gists_url":"https://api.github.com/users/freemaths/gists{/gist_id}","starred_url":"https://api.github.com/users/freemaths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freemaths/subscriptions","organizations_url":"https://api.github.com/users/freemaths/orgs","repos_url":"https://api.github.com/users/freemaths/repos","events_url":"https://api.github.com/users/freemaths/events{/privacy}","received_events_url":"https://api.github.com/users/freemaths/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T05:11:05Z","updated_at":"2018-05-17T05:11:05Z","author_association":"NONE","body":"The difficult part is the alignment rather than the symbol. The \"hacky\" solution I have come up with so far is to render white on white to hide things and keep aligned. Align is only interested in aligning equals signs as far as I can tell. (Note: not the best example as no polynomial carry but would work for that too). \r\n\r\n\\(\\'textcolor{white}{x-3}\\';4x^2+2\\)\r\n\\(x-3\\'overline{\\'smash{)}4x^3-12x^2+2x-6}\\)\r\n\\(\\'textcolor{white}{x-3}\\';\\'underline{4x^3-12x^2}\\)\r\n\\(\\'textcolor{white}{{x-3}\\';4x^3-12x^2+}\\',2x-6\\)\r\n\\(\\'textcolor{white}{{x-3}\\';4x^3-12x^2+}\\',\\'underline{2x-6}\\)\r\n\r\n![image](https://user-images.githubusercontent.com/5670897/40157826-f46ae962-5998-11e8-9dce-90160d8889f8.png)\r\n\r\n"}}
{"actor":{"display_login":"freemaths"}}