mathlive icon indicating copy to clipboard operation
mathlive copied to clipboard

Disabling certain latex functionality

Open Allatir opened this issue 3 years ago • 1 comments

For our application we need to disable certain latex commands, but i can't find anything in the documentation. Is this possible? Or how should i go about it.

Allatir avatar Jul 08 '22 07:07 Allatir

You can disable some LaTeX commands by redefining them as custom macros:

mf.setOptions({
  macros: {
    ...mf.getOptions('macros'),
    alpha: '\\colorbox{red}{error}',
  },
})

arnog avatar Jul 08 '22 16:07 arnog

No activity in a while. Closing.

arnog avatar Aug 19 '22 23:08 arnog