add tex factory