Add a function to join TeX tokens