zk-phi / magic-latex-buffer

Magical syntax highlighting for LaTeX-mode buffers
152 stars 13 forks source link

\color{ANYCOLOR} fontifying #37

Open DrWaleedAYousef opened 5 years ago

DrWaleedAYousef commented 5 years ago

I want to put a short cut for \color{red}{text} to look, after using magic-latex-buffer as, e.g., T{text} in addition to coloring text as the default behavior. I tried this but it is not successful: (push '("\\\\color\\\\{red\\\\}\\>" . "T") ml/symbols)

Also, in general, how can I do it for any color than red?