enable ac and smart-tab on matlab-mode and latex-mode