## How to render LaTeX formula in Pelican

Posted on Tue 14 June 2022 in math • Tagged with math, latex, pelican

Rendering $$\LaTeX$$ formulas in Pelican is easy.

Firstly import the pelican plugin in the proper python environment:

pip install pelican-render-math


Add render_math to PLUGINS list in your pelicanconf.py file:

PLUGINS = ['render_math']


Then type formula in your blog post markdown documents:

$$\frac{1}{2}$$

$$\frac{1}{2}$$

And …

## Compute the inverse of a matrix

Posted on Tue 14 June 2022 in math • Tagged with math, python

I faced recently the issue of computing the inverse of a matrix, when I wrote the Algae library code. I finally found a solution, and here it is.