[Tex/LaTex] How to insert mathematical formula/equation in Zotero’s note

equationszotero

I've been exploring several reference manager by now and ends up using Zotero, because of it's simplicity. Previously I had mostly been using Citavi, which had this feature of storing mathematical formula written in LaTeX, which I had not found in Zotero.

How to get Zotero to store a mathematical formula? Is there any add-ons, or a workaround for this?

I would like to write the mathematical equation in LaTeX and save it still in LaTeX and not convert it to pdf/image. Is there an add-on that also serves as LaTeX equation editor and viewer in Zotero?

Best Answer

By chance I've just found out how to do that! Combine the markdown-here add-on with mathjax.

You can add the following code to the note:

<script type="text/x-mathjax-config"> MathJax.Hub.Config({
MMLorHTML: { prefer: "HTML" },
tex2jax: {
displayMath: [['\\[', '\\]']],
inlineMath: [['\\(', '\\)']],
processEscapes: true
},
TeX: { extensions: ['enclose.js'] }
});
</script>
<script type="text/javascript"
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
Now your equation $\sqrt{a^2 + b^2} = \pm c$

Makrdown Toggle in File menu (or Ctrl+Alt+M), and you have nice equations.enter image description here