Skip to content

Instantly share code, notes, and snippets.

@hanjianwei
Forked from wdkrnls/org-syntax-cheatsheet.org
Created October 27, 2012 08:05

Revisions

  1. hanjianwei revised this gist Jun 22, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ SCHEDULED: <2012-03-06 Tue> DEADLINE: <2012-03-07 Wed>
    *** DONE [66%] Heading 3: a list with checkboxes
    1. [x] task 1
    2) [X] task 2
    3. [ ] task 3
    3. [x] task 3

    ** TODO [1/3] Track completion of tasks
    *** DONE Finished task
  2. hanjianwei revised this gist Jun 22, 2014. No changes.
  3. hanjianwei revised this gist Jun 22, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    ** TODO Heading 2: Set a deadline and a schedule
    SCHEDULED: <2012-03-06 Tue> DEADLINE: <2012-03-07 Wed>
    *** DONE [66%] Heading 3: a list with checkboxes
    1. [ ] task 1
    1. [x] task 1
    2) [X] task 2
    3. [ ] task 3

  4. hanjianwei revised this gist Jun 22, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    ** TODO Heading 2: Set a deadline and a schedule
    SCHEDULED: <2012-03-06 Tue> DEADLINE: <2012-03-07 Wed>
    *** DONE [66%] Heading 3: a list with checkboxes
    1. [X] task 1
    1. [ ] task 1
    2) [X] task 2
    3. [ ] task 3

  5. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 9 additions and 6 deletions.
    15 changes: 9 additions & 6 deletions org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -19,7 +19,7 @@ SCHEDULED: <2012-03-06 Tue> DEADLINE: <2012-03-07 Wed>
    * Fancy typesetting features

    - *bold* /ital/ _underline_ =code= ~verbatim~ +strike through+
    + # comment (not exported)
    # comment (not exported)
    - : literal example
    - ----- horizontal line (5 dashes)

    @@ -36,13 +36,14 @@ SCHEDULED: <2012-03-06 Tue> DEADLINE: <2012-03-07 Wed>
    :foo: bar
    :Cats: Cheese burger
    :END:

    ** Basic Table
    #+TBLNAME: dates
    | Col1 | Col 2 | C-c -
    | Col1 | Col 2 |
    |------+-------|
    | KW | Sep | M-TAB
    | KW | Sep |
    | TW | Aug |

    # C-c - :: insert a row of dashes
    ** Spreadsheet
    #+TBLNAME: square-roots
    | x | y |
    |---+-----------|
    @@ -63,7 +64,9 @@ plot(1:10)
    #+begin_src python :cache :results silent
    return x + 1
    #+end_src
    * Mathematical Equations

    \begin{equation}
    \int^x_0 x^2 dx = \frac{x^3}{3} C-c C-x C-l
    \int^x_0 x^2 dx = \frac{x^3}{3}
    \end{equation}
    # C-c C-x C-l
  6. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 0 additions and 5 deletions.
    5 changes: 0 additions & 5 deletions org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -52,11 +52,6 @@ SCHEDULED: <2012-03-06 Tue> DEADLINE: <2012-03-07 Wed>
    | 4 | 2 |
    #+TBLFM: $2=sqrt($1)

    * Lists

    1. number list, alternate 1)


    * Source Code

    #+name: R-plot-1-to-10
  7. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 25 additions and 36 deletions.
    61 changes: 25 additions & 36 deletions org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -1,46 +1,35 @@
    #+TITLE: Markup Cheat sheet for Org-mode
    #+OPTIONS: toc:2

    * Goals
    ** TODO Set a deadline
    DEADLINE: <2012-03-07 Wed>

    Meet the deadline tomorrow!
    ** TODO [#A] Meet with accountant
    SCHEDULED: <2012-03-09 Fri>

    Scheduled a meeting with Bill to talk about savings.

    ** TODO Pay the rent
    DEADLINE: <2005-10-01 Sat +1m>

    Give land lord check by Saturday!

    ** TODO [/] Project
    *** TODO Do foo
    *** TODO Do bar
    *** TODO Make website

    * Heading 1 :tag1:tag2:
    ** TODO Heading 2: Set a deadline and a schedule
    SCHEDULED: <2012-03-06 Tue> DEADLINE: <2012-03-07 Wed>
    *** DONE [66%] Heading 3: a list with checkboxes
    1. [X] task 1
    2) [X] task 2
    3. [ ] task 3

    ** TODO [1/3] Track completion of tasks
    *** DONE Finished task
    - State "DONE" from "TODO" [2012-03-07 Wed 07:56]
    *** STARTED Started task
    *** TODO Unstarted task
    - State "TODO" from "DONE" [2012-03-07 Wed 08:02]

    * Fancy typesetting features

    *bold* /ital/ _underline_ =code= ~verbatim~ +strike through+
    # comment (not exported)
    - *bold* /ital/ _underline_ =code= ~verbatim~ +strike through+
    + # comment (not exported)
    - : literal example
    - ----- horizontal line (5 dashes)

    * Hyperlinks

    : [[http:][linktext]]
    : [[http://orgmode.org/worg/images/orgweb/2.jpg]]
    : [[info:org#External links][External Links]]
    : [[docview:papers/last.pdf::NNN][Cool article on page NNN]]
    : [[shell:ls *.org][Org files in current directory]]

    * Headings

    : * Heading 1 :tag1:tag2: C-c C-c
    : ** Heading 2
    : *** Heading 3

    ----- horizontal line (5 dashes)
    [[http:][hyperlink text]]
    [[http://orgmode.org/worg/images/orgweb/2.jpg]]
    [[info:org#External links][External Links]]
    [[docview:papers/last.pdf::NNN][targetted link]]
    [[shell:ls *.org][shell commands]]

    * Tables and Spreadsheets
    :PROPERTIES:
    @@ -66,7 +55,7 @@ Give land lord check by Saturday!
    * Lists

    1. number list, alternate 1)
    - bullet list, alternate +


    * Source Code

  8. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -32,7 +32,7 @@ Give land lord check by Saturday!
    : [[http://orgmode.org/worg/images/orgweb/2.jpg]]
    : [[info:org#External links][External Links]]
    : [[docview:papers/last.pdf::NNN][Cool article on page NNN]]
    : shell:ls *.org
    : [[shell:ls *.org][Org files in current directory]]

    * Headings

  9. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -48,11 +48,13 @@ Give land lord check by Saturday!
    :Cats: Cheese burger
    :END:

    #+TBLNAME: dates
    | Col1 | Col 2 | C-c -
    |------+-------|
    | KW | Sep | M-TAB
    | TW | Aug |

    #+TBLNAME: square-roots
    | x | y |
    |---+-----------|
    | 1 | 1 |
  10. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ SCHEDULED: <2012-03-09 Fri>
    Scheduled a meeting with Bill to talk about savings.

    ** TODO Pay the rent
    DEADLINE: <2005-10-01 Sat +1m>
    DEADLINE: <2005-10-01 Sat +1m>

    Give land lord check by Saturday!

  11. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,11 @@ SCHEDULED: <2012-03-09 Fri>

    Scheduled a meeting with Bill to talk about savings.

    ** TODO Pay the rent
    DEADLINE: <2005-10-01 Sat +1m>

    Give land lord check by Saturday!

    ** TODO [/] Project
    *** TODO Do foo
    *** TODO Do bar
  12. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 15 additions and 7 deletions.
    22 changes: 15 additions & 7 deletions org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,22 @@
    #+TITLE: Markup Cheat sheet for Org-mode
    #+OPTIONS: toc:2

    * Goals
    ** TODO Set a deadline
    DEADLINE: <2012-03-07 Wed>

    Meet the deadline tomorrow!
    ** TODO [#A] Meet with accountant
    SCHEDULED: <2012-03-09 Fri>

    Scheduled a meeting with Bill to talk about savings.

    ** TODO [/] Project
    *** TODO Do foo
    *** TODO Do bar
    *** TODO Make website

    * Fancy typesetting features
    :PROPERTIES:
    :Title: Exportable type
    :Composer: J.S. Bach
    :Artist: Glen Gould
    :Publisher: Deutsche Grammophon
    :NDisks: 1
    :END:

    *bold* /ital/ _underline_ =code= ~verbatim~ +strike through+
    # comment (not exported)
  13. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 11 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,13 @@
    #+OPTIONS: toc:2

    * Fancy typesetting features
    :PROPERTIES:
    :Title: Exportable type
    :Composer: J.S. Bach
    :Artist: Glen Gould
    :Publisher: Deutsche Grammophon
    :NDisks: 1
    :END:

    *bold* /ital/ _underline_ =code= ~verbatim~ +strike through+
    # comment (not exported)
    @@ -23,6 +30,10 @@
    ----- horizontal line (5 dashes)

    * Tables and Spreadsheets
    :PROPERTIES:
    :foo: bar
    :Cats: Cheese burger
    :END:

    | Col1 | Col 2 | C-c -
    |------+-------|
  14. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    #+TITLE: Markup Cheat sheet for Org-mode
    #+OPTIONS: toc:2

    * Fancy typesetting features
    * Fancy typesetting features

    *bold* /ital/ _underline_ =code= ~verbatim~ +strike through+
    # comment (not exported)
  15. @wdkrnls wdkrnls revised this gist Mar 7, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #+TITLE: Markup Cheat sheet for Org-mode

    * Fancy typesetting features:
    * Fancy typesetting features

    *bold* /ital/ _underline_ =code= ~verbatim~ +strike through+
    # comment (not exported)
  16. @invalid-email-address Anonymous created this gist Mar 7, 2012.
    58 changes: 58 additions & 0 deletions org-syntax-cheatsheet.org
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,58 @@
    #+TITLE: Markup Cheat sheet for Org-mode

    * Fancy typesetting features:

    *bold* /ital/ _underline_ =code= ~verbatim~ +strike through+
    # comment (not exported)

    * Hyperlinks

    : [[http:][linktext]]
    : [[http://orgmode.org/worg/images/orgweb/2.jpg]]
    : [[info:org#External links][External Links]]
    : [[docview:papers/last.pdf::NNN][Cool article on page NNN]]
    : shell:ls *.org

    * Headings

    : * Heading 1 :tag1:tag2: C-c C-c
    : ** Heading 2
    : *** Heading 3

    ----- horizontal line (5 dashes)

    * Tables and Spreadsheets

    | Col1 | Col 2 | C-c -
    |------+-------|
    | KW | Sep | M-TAB
    | TW | Aug |

    | x | y |
    |---+-----------|
    | 1 | 1 |
    | 2 | 1.4142136 |
    | 3 | 1.7320508 |
    | 4 | 2 |
    #+TBLFM: $2=sqrt($1)

    * Lists

    1. number list, alternate 1)
    - bullet list, alternate +

    * Source Code

    #+name: R-plot-1-to-10
    #+begin_src R
    plot(1:10)
    #+end_src

    #+name: add1(x=0)
    #+begin_src python :cache :results silent
    return x + 1
    #+end_src

    \begin{equation}
    \int^x_0 x^2 dx = \frac{x^3}{3} C-c C-x C-l
    \end{equation}