Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Latex Notes

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

Center
Code Block
{latex}$i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>${latex} yields:
Code Block
{latex}$\displaystyle a = \int_{-2}^{t(a)} \rho_{sc}(x)\ dx${latex} yields:
Code Block
{latex}$\displaystyle \lambda_i(M_n) = \sqrt{n} t(\frac{i}{n}) + O( \frac{\log n}{n} )${latex} yields:
Code Block
{latex}$\displaystyle \frac{1}{2\pi} (4-x^2)_+^{1/2}\ dx =: \rho_{sc}(x)\ dx${latex} yields:
Code Block
{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:
Code Block
{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}

Equation

Macro

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

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

Note

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.

Note

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.

Note

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

Code Block
\begin{align} ... \end{align}

, or

Code Block
\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

Code Block
(\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.)

Fonts

Large Operators

Math Accents and Fonts