First time here? Check out the FAQ!
answered 2013-02-24 23:59:31 -0600
This ticket makes that printing facility more general: http://trac.sagemath.org/sage_trac/ticket/14040
It's not in Sage yet, but I think it would make your objective much easier to obtain.