Invalid LaTex formula
I'm writing a paper with some logical formulas. The default way to do this now in pages is to insert LaTex code. I've never liked LaTex, I'm lazy and like WYSIWYG editors. I found this nice little tool on the web called Visual Math Editor: http://visualmatheditor.equatheque.net/ And I used it and got the first formula looking the way I wanted In the tool it looks great. I've included a screen snapshot below. And the actual code I'm using is:
\begin{aligned}
\forall e1 \forall e2\forall R\forall x\left(MoralEvent(e1)\wedge MoralEvent (e2) \\
R\thicksim = recipient \wedge R\thicksim = responsiblAgent\wedge e1Rx =e2Rx \\
\rightarrow equivalentEvent(e1,e2)\right)
\end{aligned}
But when I do Insert>Equation and then paste that code I get an error message that just says "invalid formula". BTW, in case you are wondering, yes, I've posted a question on the help page for this tool but so far no response (it's a freeware tool). And I realize this may be more of a LaTex question than really a Pages question but I thought someone here might be able to help. The main thing is I just need a simple way to make sure the whole formula doesn't appear on one line. When I didn't use the begin and end aligned it worked fine but it put everything in one long line and used a very tiny font. So I looked at some of the samples on the VisualMathEditor page and saw one where they had several formulas center aligned and tried to copy that code which as I said seemed to work in the tool but not in Pages.
iMac, macOS High Sierra (10.13.2), 2.7 GHz Intel Core i5 8GB RAM