I'd like to typeset a table listing some equations, something like
Euler's formula & e^{i\phi} &= \cos\phi + i\sin\phi
Euler's identity & 1 + e^{i\pi} &= 0
Putting this in a \begin{tabular}{l|rl}
environment, all formulas would need to be surrounded by $
's, while by using array
the text has to be put into a \text{...}
. Is there any way to define that one contain by default is text while another is in mathmode?