Added bracket support for All and TeX