init tex structure