add tex support