add tex configuration