Latex Notes

Intro to Tex - quite helpful for beginners.
Tex Reference - syntax reference.
Some examples of using the confluence LaTeX plugin.

{latex}$i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>${latex} yields:
{latex}$\displaystyle a = \int_{-2}^{t(a)} \rho_{sc}(x)\ dx${latex} yields:
{latex}$\displaystyle \lambda_i(M_n) = \sqrt{n} t(\frac{i}{n}) + O( \frac{\log n}{n} )${latex} yields:
{latex}$\displaystyle \frac{1}{2\pi} (4-x^2)_+^{1/2}\ dx =: \rho_{sc}(x)\ dx${latex} yields:
{latex}$\displaystyle C_n \prod_{1 \leq i<j \leq n} |\lambda_i-\lambda_j|^2 \exp( - \frac{1}{2n} (\lambda_1^2+\ldots+\lambda_n^2))\ d\lambda_1 \ldots d\lambda_n${latex} yields:
{latex}$\displaystyle 2 f(x) |\nabla|^\alpha f(x) - |\nabla|^\alpha ( f^2 )(x) = c(\alpha) \int_{{\mathbb R}^d} \frac{|f(x)-f(y)|^2}{|x-y|^{d+\alpha}}\ dy${latex}



\(\lambda _{0}=\Lambda _{0}\mathit{c}^{2}/(3\mathit{H}^{2}_{0}) \)
\[z \left( 1 \ +\ \sqrt{\omega_{i+1} + \zeta -\frac{x+1}{\Theta +1} y + 1}\ \right)\ \ \ =\ \ \ 1\]
\(\left[{\bf X} + {\rm a} \ \geq\ \underline {\hat a} \sum_i^N \lim_{x \rightarrow k} \delta C\right]\)

Do not use the 'Rich Text' editor to write LaTeX markup. The rich text editor escapes some of the LaTeX characters, generating unpredictable output.

Text mode. This is the normal, or default, mode of TeX. TeX stays in that mode unless it encounters a special instruction that causes it to switch to one of the math modes, and it returns to text mode following a corresponding instruction that indicates the end of math mode.

Ordinary (inline) math mode. Mathematical material to be typeset inline must be surrounded by single dollar signs. For example: "$a^2 + b^2 = c^2$". The single dollar signs surrounding this expression cause TeX to enter and exit (ordinary) math mode.

Display math mode. Material that is surrounded by a pair of escaped brackets ("[CRBSFAQ:" and "]"), or by "equation environments" such as

\begin{align} ... \end{align}

, or

\begin{equation} ... \end{equation}

is being processed by TeX in "display math mode." This means that the expression enclosed gets displayed on a separate line (or several lines, in case of multiline equations). Longer mathematical formulas and numbered formulas are usually "displayed" in this manner. Note that the commands for entering and leaving display math mode are distinct

(\begin{...} or \[ for entering and \end{...} or \])

, in contrast to the ordinary math mode, where a single dollar sign serves both as entry and exit command. This allows for better error checking. (This is a major difference between LaTeX and AmSTeX or Plain TeX. In the latter two TeX versions, a double dollar sign ($$) is used to indicate the beginning and end of display math mode. While the double dollar sign (still) works in LaTeX, it is not part of the "official" LaTeX command set (in fact, most books on LaTeX don't even mention it) and its use is discouraged. Use the bracket pair "[CRBSFAQ:", "]" instead.)


Large Operators

Math Accents and Fonts