pretty matrix stylings for the index