如何在编辑 LaTeX 公式时, 不使用 company-mode

编辑 LaTeX 公式时, 不想使用company-mode , 而在除了公式以外的环境, 使用company-mode , 请问应该如何设置?