Does anybody know how to change the template for "inline math mode"? The default is when you press Ctrl + Shift + M is creates the following $
$
(two dollar signs a three spaces between them an places the cursor in the middle).
I would like to change it to $$
(two dollar signs an no spaces in between and place the cursor in the middle).
Any ideas?
Best Answer
I don’t know if it is possible to change the predefined template, but you can add a user macro and assign a shortcut to it. To create the script go to Macros > edit macros (I got only the german version, but it should be named equally):
and add a new “normal” script (mine is called “Inlinemathe”):
you can replace
math
by whatever you want it is the text shown, when triggering the script. After creating the new script you must assign a short cut in Preferences > Short cuts > MacrosYou can read more about user macros and scripts in the manual, which is available via the Help menu …