Générer le code LaTeX/chemfig d'une réaction chimique avec Zyme

Posted on Sun 02 October 2022 in chemie • Tagged with chemie, python, latex

Durant les trois années de licence bioinformatique, nous avons des cours de biochimie, et ceux ci viennent avec leur lots de structure chimiques à connaître.

En L1, j'avais réalisé un document pdf avec LaTeX/chemfig des acides aminées protéinogènes en représentation de FISCHER, et j'avais trouvé ça plutôt sympa, bien …


Continue reading

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 that's it …


Continue reading