Let's add a notes section, and I'll include some inline LaTeX, a quote block and a source code block. Since adding blocks is common, check out these shortcuts for quickly adding blocks.

Please note, in example below, I had trouble escaping the code block, so replace #+ END_SRC with #+END_SRC .

* Notes Interesting quote in the intro: #+BEGIN_QUOTE These algorithms were originally conceived as the basis for fast scanners in language parsers where the essence of lexicon recognition is to associate a sequence of symbols with a desired semantic. #+END_QUOTE Points out the space inefficiencies of a naive / directly indexed m-way trie, where you take the ordinal value of each letter in the key. Space is proportial to $s^p$ where $s$ is alphabet cardinality, and $p$ is length of the keys. Bagwell describes a simple search function which starts at the root node and proceeds through each sub-trie until it fails or reaches the value. #+BEGIN_SRC c // Generic Key Search in a trie based Dictionary int Find(char *Key) { TNode *P,*C; P=Root; while (C=Next(P,*Key)) { Key++; P=C; } if (*Key==0) return P->Value; return 0; } #+ END_SRC This isolates the area which we want to make more efficient to the =Next(node, key)= function which is responsible for finding the /next/ sub-trie.