Zim - A Desktop Wiki


Equation Editor


The equation editor is a simple dialog that allows you to insert equations into a page using latex.

Dependencies: This plugin requires a Latex suite to be installed as well as the "dvipng" application. In specific the "latex" and "dvipng" commands should be available in the system path. Additionally, if the dark mode preference is activated, the TeX package "xcolor" must be installed (included in most TeX distributions).

Preferences

Template

You can control the look of the equations using the special template "plugins/equationeditor.tex"". See Help:Templates for more information about template syntax.

There are variables that can be used in this template:



Syntax


Some quick examples of the latex math syntax. For a complete reference see the links below:


c = \sqrt{ a^2 + b^2 }

\int_{-\infty}^{\infty} \frac{1}{x} \, dx

f(x) = \sum_{n = 0}^{\infty} \alpha_n x^n

x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}

\hat a  \bar b  \vec c  x'  \dot{x}  \ddot{x}

References