Dangerous character names starting with a lowercase letter

I am looking for a complete list of dangerous character names that start with a lowercase letter in Mathematica.

At this moment I know three such names: min , max and lim . These names appear in the LimitsPositioningTokens list, and are treated as operators, at least when they are entered in the FrontEnd with a superscript :

 In[3]:= Options[$FrontEnd,LimitsPositioningTokens] Out[3]= {LimitsPositioningTokens->{\[Sum],\[Product],\[Intersection], \[Union],\[UnionPlus],\[Wedge],\[Vee],lim,max,min,\[CirclePlus], \[CircleMinus],\[CircleTimes],\[CircleDot]}} 

enter image description here

For example, enter FrontEnd the following (use Ctrl + ^ to create a superscript - this is important!):

 In[1]:= max^n+4 (max^n+4)//HoldComplete//FullForm Out[1]= 4 max^n Out[2]//FullForm= HoldComplete[Times[Power[max,n],Plus[4]]] 

screen

You see that max^n+4 interpreted as 4*max^n in this case.

Can anyone explain what the LimitsPositioningTokens option really does?

Are there other dangerous characters starting with a lowercase letter in Mathematica?

+6
source share
1 answer

I cannot confirm the problem you are reporting. In addition, the bullets you find look like strings, not characters.

enter image description here

This is on win7-64 / M8.0.1, my wife mac lion / M8 does not show either.

The fact that they are strings seems to be consistent with the description on the doc page LimitsPositioning

LimitsPositioningTokens is a cell option that can be set to a list of forms for which LimitsPosition-> True should be used.

All examples here use strings.


Refresh to illustrate the point indicated in the comments below

This is with the standard LimitsPositioningTokens value in $ FrontEnd:

enter image description here

and this is with SetOptions[$FrontEnd, LimitsPositioningTokens -> {}] :

enter image description here

Note that the $ FrontEnd parameter using SetOptions is sticky. You probably no longer have the default value. Use the parameter inspector to return the LimitsPositioningTokens to its default value (search for LimitsPositioningTokens with global settings turned on and remove the cross next to the variable, if any).

+2
source

Source: https://habr.com/ru/post/894701/


All Articles