File: syntax.md

package info (click to toggle)
ruby-maruku 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,232 kB
  • sloc: ruby: 6,497; makefile: 6; sh: 3
file content (46 lines) | stat: -rw-r--r-- 961 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
LaTeX preamble: preamble.tex
CSS: math.css

Here are some formulas:

*	$\alpha$
*	$x^{n}+y^{n} \neq z^{n}$

Some inline maths: $\sum_{n=1}^\infty \frac{(-1)^n}{n} = \ln 2$. 

Some display  maths:

\[ \sum_{n=1}^\infty \frac{1}{n} \]
\[ \sum_{n=1}^\infty \frac{1}{n} \text{ is divergent, but } \lim_{n \to \infty} \sum_{i=1}^n \frac{1}{i} - \ln n \text{ exists.} \]     (a)

Some random AMSTeX symbols - thanks to Robin Snader for adding these:

$$ \beth \Subset \bigtriangleup \smallsmile \bumpeq \ggg \pitchfork $$ 

Note that $\hat g$ , $J$, and $\gamma_1\gamma_2$ all restrict to

$x_1 \overline{x_2} \oplus x_2 \overline{x_1}$ and that this module
is linear in $x_1$ and $x_2$.

See label \eqref{a}.

$$ \href{#hello}{\alpha+\beta} $$

## Cross references ##

The following are 4 equations, labeled A,B,C,D:

$$ \alpha $$ (A)

\[ 
	\beta
\] (B) 

$$ \gamma \label{C} $$

\[ 
	\delta \label{D}
\]

You can now refer to (eq:A), (eq:B), \eqref{C}, \eqref{D}.