I am making a presentation in LYX using beamer. I want to color a mathematical symbol with a specific color. Whenever I tried to use the command the "\color" inside the math environment, the latex code automatically changes to "\normalcolor". The color change can be done easily in case of normal texts. The problem arises when the "code- completion mode" of the math environment automatically changes my command.