\DeclareMathOperator
(or, if you're using some weird distribution of LaTeX that doesn't have the AMS packages, \mathop{\mathrm{Erfi}}
)
See the always-useful UK TeX FAQ, specifically Defining a new log-like function in LaTeX.
ShreevatsaR
2009-03-24 01:32:46