ReTeX / ReX

ReX - typesetting mathematics
122 stars 8 forks source link

OperatorName special symbol handling #24

Open cbreeden opened 7 years ago

cbreeden commented 7 years ago

This isn't a concern yet, as we don't have an OperatorName command, since we don't support macros. But for future reference.

In OperatorName, special handling occurs for some symbols.

See http://tex.stackexchange.com/questions/84302/what-is-the-difference-of-mathop-operatorname-and-declaremathoperator for explanation of the definition. The special symbol handling is done by:

\gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A%
 \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax}