Escaping of {}# special TeX characters.