Hi!
I wrote a plug in for speeding up latex math typing, and I have recently included a custom shorthand function, so that you may use any two-letter shorthand to denote any latex expression.
The plugin can be found in community plugin list with the name “quick latex for obsidian”
You may customize your own shorthand within the plugin settings page.
And here is the source code:
Hope this might meet your needs~