In particular, is there a way to add a shortcut like :nsub:
to \[NotSubset]
?
Asked
Active
Viewed 218 times
3

Yaroslav Bulatov
- 57,332
- 22
- 139
- 197
2 Answers
5
I'm not sure where the intrinsic ones are defined, but it seems that you can add your own using InputAliases.

High Performance Mark
- 77,191
- 7
- 105
- 161
-
@rcollyer: yes, it was new to me too. – High Performance Mark Nov 10 '10 at 16:01
-
Yeah, they are not something you come across that easily. I learnt about these when I was given some really old notebooks that didn't have the `⋮dintt⋮` alias (and others) that I was so use to. – Simon Nov 10 '10 at 21:20
5
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
.

Simon
- 14,631
- 4
- 41
- 101
-
1Also, the `Notation` package has the command `AddInputAlias` (`⋮addia⋮`) -- but you probably don't want to load the notation package each time. – Simon Nov 10 '10 at 21:38
-
Actually I found that command useful for defining input aliases for "current session" -- AddInputAlias[stuff, "in", #] & /@ Notebooks[]; – Yaroslav Bulatov Nov 17 '10 at 01:54
-
@Yaroslav That usage is different from the documentation center -- what exactly does it do? – Simon Nov 17 '10 at 03:39
-
it's equivalent to the form that lets your specify target notebook – Yaroslav Bulatov Nov 17 '10 at 03:59