Wiki

Clone wiki

Open Bootstrap Collaboration / LaTeX Test

LaTeX Test and Questions

This page contains some examples of using \(\LaTeX\) in the wiki. Take a look at the source by clicking the Edit button above to see how they work. \(LaTeX\) mode is only available using the reStructuredText markup language (which you can select using the menu to the upper right in Edit mode).

If the LaTeX isn't rendering correctly for you, try deleting everything from ".rst" on in the url.

For inline math use \(\LaTeX\) syntax with :math: role: \(\sum_{n=1}^{\infty} \frac 1 {n^2}=\frac{\pi^2}{6}\)

or after .. default-role: math you can use just backticks : \(a^3+b^3=c^3\)

For display math use .. math:: directive:

\begin{equation*} \langle \phi(x_1)\phi(x_2)\phi(x_3)\phi(x_4)\rangle = \frac{1}{x_{12}^{2\Delta_\phi} x_{34}^{2\Delta_\phi}} \sum_{\mathcal{O}\in \phi \times \phi} \lambda_{\Delta, \ell}^2 g_{\Delta, \ell}(u,v) \end{equation*}

Joao: In my computer, some LATEX symbols appear in light blue and some symbols in black. Do you know why?

David: This is a known issue with Bitbucket's MathJax support, see here. The issue is kind of old, but hopefully they'll fix it soon.

Jared: Just testing some math:

\begin{equation*} \psi''(z) + T(z) \psi(z) = 0. \end{equation*}
\begin{equation*} T(z) = \epsilon \left(-\frac{c_2 (1-x) x}{(1-z) z \epsilon (z-x)}+\frac{1}{(z-x)^2}+\frac{1}{z^2}+\frac{2}{(1-z) z}+\frac{1}{(1-z)^2}\right) \end{equation*}

Joao: How to add numbers and labels to refer to equations?

Updated