Add latex support

in both html display or you can just get it by calling latex_param or latex_matrix