From what I know, no. One can define this command...but you can't do so here on MHF. If you had a LaTeX editor [like TeXnic Center], you can post the following into the preamble of the document:
And then when you type \diam E, it gives youCode:\newcommand{\diam}[1]{\text{diam}\left(#1\right)}
--Chris

A fairly comprehensive guide to LaTeX here:
http://tobi.oetiker.ch/lshort/lshort.pdf
![]()