A source block type would have been a very natural fit, it’s surprising that isn’t how they chose to go.
```equation
e^{i\pi}+1\eq0
```
feels like what i’d try to do right off the bat.