pprint always prints in 2D text. The easiest way to do what you want
is something like
from sympy import latex
from IPython.display import Math
for f in p:
Math(latex(f))
You can also use IPython.display.Latex, which requires you to use
latex(f, mode='inline').