Tex setup