This is a minimal working example. To update
preview, you can either use the shortcut Ctrl + Enter
or
click the update preview
submenu under the
Preview
menu in the toolbar.
Math formula
Anything between two $
characters will be treated as TeX
math, for example,
. For display math, use $$
delimiters.
Numbering and referencing
For any real number , we have The equation is the power series definition of the exponential function, and the equation is known as Euler’s formula.
LaTeX package
To use a LaTeX package, include it in the latex preamble
submenu under the Meta
menu. Here is an example of using
tikz-cd
package, then you can draw a commutative
diagram:
A note: there are a few packages are not supported, so a direct paste of your complex latex preamble may cause errors. But some small changes should be enough to make it work.
Theorem-like environment
Thm 1Fermat's Last TheoremNo three positive integers , , and satisfy the equation for any integer value of greater than .
Fermat's lost proofI have a proof of this theorem, but there is not enough space.
You need not remember the exact syntax, the editor will help you with that.
Bibliography
Einstein’s journal paper (Einstein 1905) and Dirac’s book (Dirac 1981) are physics-related items.