Usage

————————————————
Easy LaTeX:

Format: $$ LaTeX formula !$$.

Examples:

Inline formula: $$e^{i\pi} = -1$$, to show this, type:
$$e^{i\pi} = -1!$$, to show this, type:
$$e^{i\pi} = -1!!$$, to show this, type:
$$e^{i\pi} = -1!!!$$

Standalone formula:
$$!e^{i\pi} = -1$$, to show this, type:
$$!e^{i\pi} = -1!$$, to show this, type:
$$!e^{i\pi} = -1!!$$, to show this, type:
$$!e^{i\pi} = -1!!!$$

$$\large\zeta (s)=\sum\limits_{n=1}^\infty \frac{1}{n^s}$$
$$\large\zeta (s)=\sum\limits_{n=1}^\infty \frac{1}{n^s}!$$
————————————————
To input following codes, see: CodeColorer
Inline codes: template<typename T> class Class { T value; };
standalone codes:

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
function Halt(string program, string data) {
    if (/*...Code to check if program(data) can halt...*/) {
        return true;
    } else {
        return false;
    }
}

string Halter = "function Halter(int) { alert("finished"); }";
string Looper = "function Looper(int) { while(true){} }";

Halt(Halter, "1"); // return true
Halt(Looper, "1"); // return false


string Contradiction = \
"function Contradiction(string program) {\
    if (Halt(program, program) == true) {\
        while(true){}\
    } else {\
        alert("
finished");\
    }\
}"


Halt(Contradiction, Contradiction); //return ??

Leave a Reply

XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>