开发者

User defined Function coloring in Mathematica

开发者 https://www.devze.com 2023-03-09 04:55 出处:网络
Merged with Syntax Coloring In Mathema开发者_StackOverflowtica. Is there a trick to assign a specific color to \"user-defined\" function such as \"function\" below :
Merged with Syntax Coloring In Mathema开发者_StackOverflowtica.

Is there a trick to assign a specific color to "user-defined" function such as "function" below :

function[x_]:=x^3

Thanks to Mr.Wizard we are able to color all user defined symbols ( Syntax Coloring In Mathematica)

Would there be a way to refine the solution to have different colors for Functions symbols, Variables symbols & Options symbols ?

EDIT : Image for Simon

User defined Function coloring in Mathematica

0

精彩评论

暂无评论...
验证码 换一张
取 消