Mathematica > Notebooks and Documents > Notebook Formatting & Styling > Stylesheets > Automatic Text Styling Features >
Mathematica > Notebooks and Documents > Notebook Formatting & Styling > Text Styling > Automatic Text Styling Features >

InputAutoReplacements

InputAutoReplacements
is an option for cells and notebooks which specifies strings of characters that should be replaced immediately on input.
  • In expression input, automatic replacements can be performed only on strings of characters that correspond to complete input tokens.
  • In textual input, automatic replacements can be performed on strings of alphanumeric characters delimited by spaces or other punctuation characters.
  • When material is copied from a notebook to the clipboard, replacements specified by ExportAutoReplacements are by default performed. Typically these replacements include ones that reverse the action of the replacements in InputAutoReplacements.
  • When material is pasted from the clipboard into a notebook, replacements specified by ImportAutoReplacements are by default performed. Typically these replacements are a subset of those given in InputAutoReplacements.
Create a notebook that uses exinei as shorthand for ExpIntegralEi:
In[1]:=
Click for copyable input
To use the shorthand, start by typing exinei:
When you type the bracket, the shorthand is automatically replaced:
New in 4
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team