# How do I de-ascii-artify polynomial divison with polynom?

The following code shows a polynomial long division:

\documentclass{article}
\usepackage{polynom}

\begin{document}
\polylongdiv[style=A]{6x^3-2x^2+x+3}{x^2-x+1}
\end{document}


The output of the above code is (without the red highlight):

I have studied the package documentation for polynom without finding a way to de-ascii-artify the highlighted part. My desired output would be something along the lines of:

How can I modify the behaviour of polynom to produce the desired output?

• email the package author? – user4686 Sep 19 '17 at 9:39
• – John Kormylo Sep 19 '17 at 12:39
• @JohnKormylo: I prefer not having to manually meddle with the spacing (\hphantom{...} etc), but yes, it does work. – Mårten W Sep 20 '17 at 9:12
• In a somewhat related problem (tex.stackexchange.com/questions/168806/…) I tried to develop font independent offsets. It wasn't perfect and involved some odd calculations, but was able to fit a wide range of sizes. – John Kormylo Sep 20 '17 at 12:18