1
$\begingroup$

This is a duplicate of Syntax colouring when using Symbolize, but that post is almost eight years old and hasn't been active in almost four years.

Is it possible to get normal syntax highlighting for variable names made with Notation`Symbolize? E.g.

<< Notation`
Symbolize[ParsedBoxWrapper[SubscriptBox["_", "_"]]];

Subscript[a, h] = 2
Solve[{
  b == Subscript[a, h],
  Subscript[b, k] == b}, {b, Subscript[b, k]}]

Produces the following, where subscripted variables have been highlighted either wrongly or not at all:

Syntax coloring example

$\endgroup$
1
  • 1
    $\begingroup$ As far as I am aware, there is (still) nothing you can do about the highlighting $\endgroup$
    – Lukas Lang
    Sep 18, 2020 at 9:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.