问题
In particular, is there a way to add a shortcut like :nsub: to \[NotSubset]?
回答1:
For \[NotSubset] the default alias is ⋮!sub⋮.
Of course, as mentioned in HPMark's answer, if you're not happy with that you can either change the InputAliases for the current Notebook:
oldOpts = InputAliases /. Options[EvaluationNotebook[], InputAliases]
SetOptions[EvaluationNotebook[], InputAliases -> Append[oldOpts, "nsub" -> "\[NotSubset]"]]
Or, probably a better approach is to use the Option Inspector to add the alias to either the current Notebook or the Global Preferences (it's in the Editing Options section).
The latter changes the $UserBaseDirectory/FrontEnd/init.m.
回答2:
I'm not sure where the intrinsic ones are defined, but it seems that you can add your own using InputAliases.
来源:https://stackoverflow.com/questions/4142824/where-are-typesetting-shortcuts-like-sub-defined