texmacro

.texmacro name:{String} macro:{String} -> <Error class: unknown class>

Creates a new global TeX macro that can be accessed within math blocks.

.texmacro {\R}
\mathbb{R}

Parameters

name

name of the macro

macro

TeX code

Wiki page

TeX macros