MathTeX in EIPs

GitHub pages has partial support for using MathTeX in GitHub pages (which is the mechanism used to publish EIPs to

We can fix it so that these expressions will render properly in the browser.


MathTeX just lets you put math TeX expressions inline in a paragraph or as their own expression block. If you’ve used TeX it looks like this:

$$y = \sqrt(x)$$

and it renders perfectly just like in every math book you have ever read. That is because every math book you have ever read uses TeX.

1 Like

I left a comment on the issue. It may be simpler than that.

Let’s see if this is turned on in Discourse. Edit: nope!

Anyway, should be pretty simple to do.

& \phi(x,y) = \phi \left(\sum_{i=1}^n x_ie_i, \sum_{j=1}^n y_je_j \right)
= \sum_{i=1}^n \sum_{j=1}^n x_i y_j \phi(e_i, e_j) = \
& (x_1, \ldots, x_n) \left( \begin{array}{ccc}
\phi(e_1, e_1) & \cdots & \phi(e_1, e_n) \
\vdots & \ddots & \vdots \
\phi(e_n, e_1) & \cdots & \phi(e_n, e_n)
\end{array} \right)
\left( \begin{array}{c}
y_1 \
\vdots \
\end{array} \right)