add main tex