Skip to content

Latest commit

 

History

History
85 lines (62 loc) · 1.93 KB

test.org

File metadata and controls

85 lines (62 loc) · 1.93 KB

Examples: tables and babel

Tables

A table with simple column formulas.

AurélieGéraldineSumMean
16153115.5
1982713.5
onetwoone + two(one + two) / 2

A table with an Emacs Lisp formulas.

AurélieGéraldineMean
161516 15
29338293 38
alicebobalice bob

(Note that $1 and $2 must be quoted to be read as strings.)

A table manipulating time values.

Task 1Task 2Total
2:121:4904:01:00
3:02:20-2:07:000.92

Babel

I type some prose here.

#!/usr/bin/env python

print "This is my python file."
print "Another string."

Try C-c C-c on the next block:

(progn
  (+ 2 10)
  (message "wat?!"))

Try C-c C-c on the next block:

(message "data1:%S, data2:%S" data1 data2)

Example dynamic block

Try clocking in on a headline with C-c C-x C-i.

Then update the dynamic block below with C-c C-c :

HeadlineTime
Total time0:00