* tex class detection