Add support for latexing array quantities

See astropy/astropy#2258