Profile image

LaTeX formulas in the Buy a Slice of Pi™ editor

By TheGreatContini · Aug 23, 2026

LaTeX formulas in the Buy a Slice of Pi™ editor

Folks, check out what you can do now in the Buy a Slice of Pi™ editor:
$$ e = \lim_{n \to \infty} \left( 1 + \frac{1}{n}\right)^n$$
and
$$ e = \sum_{k=0}^{\infty} \frac{1}{k!}$$
Ain't that cool?  Here's how those formulas were created:
$$e = \lim_{n \to \infty} \left( 1 + \frac{1}{n}\right)^n$$
and
$$e = \sum_{k=0}^{\infty} \frac{1}{k!}$$
So you just use double dollar sign to start it and the same thing to end it, and then everything in the middle is like you would do for a formula in LaTeX.  If you are not familiar with LaTeX, check out this YouTube video.

Editor rules of LaTeX formulas

The main rule you need to know is that between the double dollar signs at the beginning and the end you cannot change the font, or the colour, or the style!  If you do so, then your formula will not render as a formula and instead show up exactly the way you wrote it in the editor.  And that's exactly how you escape the rendering: by making such a change.  I did that exactly above when I wrote:
$$e = \lim_{n \to \infty} \left( 1 + \frac{1}{n}\right)^n$$
I had the dollar signs in Georgia font and the formula in Optima font.
Having said that, as long as you keep everything the same colour and style within the formula including the dollar signs, the colour will carry through.  So I could have written the formulas in various colours such as:
$$ e = \lim_{n \to \infty} \left( 1 + \frac{1}{n}\right)^n$$
and
$$ e = \sum_{k=0}^{\infty} \frac{1}{k!}$$
So... Have fun combining your analytical side with your artistic side by displaying complex math formulas in the colours of your choosing! 😀



Comments

domdomdom Aug 24, 2026
$$e^{i\theta} = \cos\theta + i\sin\theta$$
Pi Free Trial visitor Sep 06, 2026
This is cool
Sign in to comment 2