//this my cool list * Unordered lists 1. ordered lists a. another ordered list - with an unordered list b. ordered 2. ordered * unordered
Asciidoc supports multiple headings
example of heading 1
example of heading 2
example of heading 3
example of heading 4
bold, italics, code, strong, superscript, subscript.
Unordered lists
ordered lists
another ordered list
with an unordered list
ordered
ordered
unordered
Literal blocks are escaped i.e. they are never interpreted by asciidoc
//this my cool list * Unordered lists 1. ordered lists a. another ordered list - with an unordered list b. ordered 2. ordered * unordered
def fact(n): if n == 1: return 1 else: return n * fact(n-1) def sum(n): r = 0 while(n != 0): r += n%10 n /= 10 return r for i in xrange(1,50): n = fact(i) print n, sum(n)
int main(int argc, char** argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB); glutInitWindowSize(500, 500); glutInitWindowPosition(0,0); glutCreateWindow("simple"); glutDisplayFunc(display); init( ); glutMainLoop( ); }
Note
|
There is more than on way of compiling this document
|
Important
|
These math formulas are lifted from Lisa's LaTeX document. |
$\displaystyle\sum_{j =0}^{n-1} (j+1){2n-2 \choose j} + \displaystyle\sum_{j=n}^{2n-2}(2n-1-j){2n-2 \choose j} = 2 \left(\displaystyle\sum_{j=0}^{n-1}(j+1){2n-2 \choose j} \right) - n{2n-2 \choose n-1}$
or
$T(r, e+1) = T(r,e) - {{2(r-1)} \choose {e-1}} + {{2(r-1)} \choose {e-1 + r}}$
Simpler formulas can be inserted as well
$x^2 + y^2 = z^2$
Project Gutenberg's Beowulf, by James A. Harrison and Robert Sharp, eds.
Copyright laws are changing all over the world. Be sure to check the copyright laws for your country before downloading or redistributing this or any other Project Gutenberg eBook.
This header should be the first thing seen when viewing this Project Gutenberg file. Please do not remove it. Do not change or edit the header without written permission.