07
qr-code

Example of some org syntax

Titles

This is a level 1

Level 2

This is a level 2

Level 3

This is a level 3

Level 4

This is a level 4

Level 5

This is a level 5

Level 6

This is a level 6

Up to 6 levels of indentation can be used.

Praragaphs

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum accumsan nisl.

Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis odio. Nunc porta vulputate tellus. Nunc rutrum turpis sed pede. Sed bibendum. Aliquam posuere. Nunc aliquet, augue nec adipiscing interdum, lacus tellus malesuada massa, quis varius mi purus non odio. Pellentesque condimentum, magna ut suscipit hendrerit, ipsum augue ornare nulla, non luctus diam neque sit amet urna. Curabitur vulputate vestibulum lorem. Fusce sagittis, libero non molestie mollis, magna orci ultrices dolor, at vulputate neque nulla lacinia eros. Sed id ligula quis est convallis tempor. Curabitur lacinia pulvinar nibh. Nam a sapien.

Pellentesque dapibus suscipit ligula. Donec posuere augue in quam. Etiam vel tortor sodales tellus ultricies commodo. Suspendisse potenti. Aenean in sem ac leo mollis blandit. Donec neque quam, dignissim in, mollis nec, sagittis eu, wisi. Phasellus lacus. Etiam laoreet quam sed arcu. Phasellus at dui in ligula mollis ultricies. Integer placerat tristique nisl. Praesent augue. Fusce commodo. Vestibulum convallis, lorem a tempus semper, dui dui euismod elit, vitae placerat urna tortor vitae lacus. Nullam libero mauris, consequat quis, varius et, dictum id, arcu. Mauris mollis tincidunt felis. Aliquam feugiat tellus ut neque. Nulla facilisis, risus a rhoncus fermentum, tellus tellus lacinia purus, et dictum nunc justo sit amet elit.

Great clouds overhead
Tiny black birds rise and fall
Snow covers Emacs

– AlexSchroeder

Everything should be made as simple as possible, but not any simpler – Albert Einstein

Everything should be made as simple as possible,
but not any simpler

Lists

As taken from the Org-mode manual:

My favorite scenes are (in this order)

  1. The attack of the Rohirrim
  2. Eowyn's fight with the witch king
    • this was already my favorite scene in the book
    • I really like Miranda Otto.
  3. Peter Jackson being shot by Legolas
    • on DVD only

    He makes a really funny face when it happens.

But in the end, no individual scenes matter but the film as a whole. Important actors in this film are:

Elijah Wood
He plays Frodo
Sean Austin
He plays Sam, Frodo's friend. I still remember him very well from his role as Mikey Walsh in The Goonies.

Footnotes

The Org-mode homepage1 now looks a lot better than it used to.

Emphasis and monospace

You can make words bold, italic, underlined, code and verbatim, and, if you must, ‘+strike-through+’. Text in the code and verbatim string is not processed for Org-mode specific syntax; it is exported verbatim.

Horizontal rules

A line consisting of only dashes, and at least 5 of them, will be exported as a horizontal line (‘<hr/>’ in HTML and \hrule in LaTeX).


As shown previously.

Comment lines

Lines starting with ‘#’ in column zero are treated as comments and will never be exported. If you want an indented line to be treated as a comment, start it with ‘#+ ’. Also, entire subtrees starting with the word ‘COMMENT’ will never be exported. Finally, regions surrounded by ‘#+BEGIN_COMMENT’ … ‘#+END_COMMENT’ will not be exported.

Images and Tables

Table

This is the caption for the next table (or link)
Header 1Header 2Header 3Header 4Header 5
1.11.21.3XThis cell has a very long line with special layouts
2.12.23.3Y
3.13.1C.1D.1E.1

Image

org-mode-unicorn.png

Literal examples

Some example from a text file.

Here is an example

Some example from a text file.
(defun org-xor (a b)
  "Exclusive or."
  (if a (not b) b))
1:  (save-excursion
2:     (goto-char (point-min)))

In line 1 we remember the current position. Line 2 jumps to point-min.

Special symbols

Angles are written as Greek letters α, β and γ.

Subscripts and superscripts

The mass of the sun is Msun = 1.989 x 1030 kg. The radius of the sun is Rsun = 6.96 x 108 m.

links

Footnotes:

1 The link is: http://orgmode.org

blog comments powered by Disqus