a lovely test of org-mode
[kengrimes.com/content.git] / content / post / testorg.org
1 #+TITLE: Org mode syntax
2 #+CAPTION: This is a test of org-mode syntax
3 #+SUBTITLE: Quick reference card
4 #+AUTHOR: Fabrice Niessen
5 #+EMAIL: (concat "fniessen" at-sign "pirilampo.org")
6 #+DESCRIPTION: Org mode syntax example
7 #+KEYWORDS: org-mode, syntax, quick reference, cheat sheet, recommended practices, latex, beamer, html
8 #+LANGUAGE: en
9 #+OPTIONS: H:4 num:nil toc:2 p:t
10
11 #+HTML_LINK_HOME: http://www.google.com
12 #+HTML_LINK_UP: http://www.bing.com
13
14 #+SETUPFILE: ~/.dotfiles/org/theme-readtheorg.setup
15
16 #+PROPERTY: header-args :eval yes :exports both :results replace
17
18 # #+MACRO: longtext this is a very very long text to include
19
20 | *Framework* | Org mode 9 |
21 | *Bug tracker* | https://github.com/fniessen/refcard-org-mode/issues |
22 | *Source* | https://github.com/fniessen/refcard-org-mode |
23 # | *Documentation* | http://refcard-org-mode.readthedocs.org/ |
24
25 * Summary
26
27 # See https://tutorialtodoapp.readthedocs.org/en/latest/ for nice home page!
28
29 #+begin_sidebar
30 *You will learn to:*
31
32 - write your docs in Org mode
33 - create tables
34 - create custom code blocks
35 - and much more!
36 #+end_sidebar
37
38 #+begin_abstract
39 This is an Org mode document, using the ~.org~ extension (supported by GitHub).
40
41 *Org mode* is an easy-to-write /plain text/ formatting syntax for authoring notes,
42 articles, LaTeX documents, books, Web pages, Beamer slide decks and much more!
43
44 This is a cheat sheet for *Org mode 8* (because of some markup syntax changes
45 since Org mode 7), using [[https://github.com/fniessen/org-html-themes][ReadTheOrg CSS]].
46
47 Reading through all the [[http://orgmode.org/org.pdf][documentation]] is highly recommended, but for the truly
48 impatient, following are some quick steps to get started.
49 #+end_abstract
50
51 # #+begin_abstract
52 # This paper talks about...
53 # #+end_abstract
54
55 # See http://asciidoctor.org/docs/user-manual/#the-big-picture
56
57 # See http://home.fnal.gov/~neilsen/notebook/orgExamples/org-examples.html.
58
59 * Reference card
60
61 #+TOC: headlines 2
62
63 * Document header
64
65 Title and author line:
66
67 #+begin_src org :eval never-export
68 ,#+TITLE: Org mode syntax examples
69 ,#+AUTHOR: Fabrice Niessen
70
71 My document provides...
72 #+end_src
73
74 It's a good practice to also include an email line following the author line.
75
76 #+begin_src org :eval never-export
77 ,#+EMAIL: john.doe@example.com
78 #+end_src
79
80 * Document settings
81
82 ** Document description
83
84 #+begin_src org :eval never-export
85 #+DESCRIPTION: This document catalogs a set of tips and tricks for composing documents in Org mode.
86 #+KEYWORDS: org-mode, syntax, quick reference, cheat sheet, recommended practices, latex, beamer, html
87 #+LANGUAGE: en
88 #+end_src
89
90 ** Section numbering
91
92 #+begin_src org :eval never-export
93 #+OPTIONS: H:4
94 #+end_src
95
96 #+begin_src org :eval never-export
97 #+OPTIONS: num:nil
98 #+end_src
99
100 ** Table of contents
101
102 Set the ~toc~ attribute to activate an auto-generated table of contents (limited
103 to its 2 first levels) at the top of document.
104
105 #+begin_src org :eval never-export
106 #+OPTIONS: toc:2
107 #+end_src
108
109 #+begin_src org :eval never-export
110 #+OPTIONS: p:t
111 #+end_src
112
113 #+begin_note
114 The ~ALT_TITLE~ property allows to set an alternate title (shorter, for example)
115 for a given headline in the table of contents and other running heads.
116 #+end_note
117
118 To locally insert the TOC at some random place, use the ~#+TOC: headlines [n]~
119 feature; for example:
120
121 #+begin_src org :eval never-export
122 ,#+TOC: headlines 2
123 #+end_src
124
125 ** List of figures
126
127 ~#+TOC: figures~ is not implemented yet in the HTML backend.
128
129 ** List of tables
130
131 ~#+TOC: tables~ is already implemented in the HTML backend.
132
133 ** List of equations
134
135 * Section titles (headings)
136
137 #+begin_src org :eval no
138 ,* Biggest heading (level 1)
139
140 New chapter.
141 #+end_src
142
143 #+begin_src org
144 ,** Bigger heading (level 2)
145
146 New section.
147
148 ,*** Big heading (level 3)
149
150 New sub-section.
151
152 ,**** Heading (level 4)
153
154 New sub-sub-section.
155 #+end_src
156
157 ** Numbered headings
158
159 You can create numbered headings up to a certain level by setting an option:
160
161 #+begin_src org
162 ,#+OPTIONS: H:4
163 #+end_src
164
165 * Paragraphs
166
167 ** Normal
168
169 #+begin_src org
170 A single newline has no effect.
171 This line is part of the same paragraph.
172
173 But an empty line
174
175 demarcates paragraphs.
176 #+end_src
177
178 ** Line breaks
179
180 #+begin_src org
181 By entering two consecutive backslashes, \\
182 you can force a line break
183 without starting a new paragraph.
184 #+end_src
185
186 ** Horizontal rules
187
188 #+begin_src org
189 For an horizontal line, insert at least 5 dashes: this is some text above an
190 horizontal rule
191 -----
192 and some text below it.
193 #+end_src
194
195 ** Text width
196
197 # Premiere Elements, page 111
198 #
199 # Vous pouvez créer ces objets en cliquant sur le bouton Nouvel| élément de le
200 # fenêtre Média. (Le Chapitre 14 explique comment créer| des titres ; le
201 # Chapitre 15 montre l'utilisation des barres et ton, de la| vidéo noir et de
202 # l'amorce SMPTE.)
203 #
204 # The principles of beautiful Web design, page 6
205 #
206 # In a figurative sense, the concept of visual balance is similar to that of
207 # physical balance| illustrated by a seesaw. Just as physical objects have
208 # weight, so do the elements of a layout.| If the elements on either side of a
209 # layout are of equal weight, they balance one another.| There are two main forms
210 # of visual balance: symmetrical and asymmetrical.
211
212 One morning, when Gregor Samsa woke from troubled dreams, he found himself
213 transformed in his bed into a horrible vermin. He lay on his armour-like back,
214 and if he lifted his head a little he could see his brown belly, slightly domed
215 and divided by arches into stiff sections. The bedding was hardly able to cover
216 it and seemed ready to slide off any moment. His many legs, pitifully thin
217 compared with the size of the rest of him, waved about helplessly as he looked.
218
219 * Formatting text
220
221 Text effects.
222
223 ** Bold and italic
224
225 #+begin_src org
226 /Emphasize/ (italics), *strongly* (bold), and */very strongly/* (bold italics).
227 #+end_src
228
229 Markup elements can be nested:
230
231 #+begin_src org
232 This is /italic text which contains _underlined text_ within it/, whereas _this is
233 normal underlined text_.
234 #+end_src
235
236 Markup can span across multiple lines, by default *no more than 2*:
237
238 #+begin_src org
239 *This
240 is not
241 bold.*
242 #+end_src
243
244 Org mode does not interpret a marker surrounded by alphanumeric characters as an
245 emphasis marker. So, you can't (easily) emphasize just part of a word:
246
247 #+begin_src org
248 Not feas*ible*.
249 #+end_src
250
251 ** Monospace, superscript and subscript
252
253 Other elements to use sparingly are:
254
255 #+begin_src org
256 - monospaced typewriter font for ~inline code~
257 - monospaced typewriter font for =verbatim text=
258 - +deleted text+ (vs. _inserted text_)
259 - text with super^{script}, such as 2^{10}
260 - text with sub_{script}, such as H_{2}O
261 #+end_src
262
263 ** Smart punctuation
264
265 If the XXX option is specified, Org mode will produce typographically correct
266 output, converting straight quotes to curly quotes, ~---~ to em-dashes, ~--~ to
267 en-dashes, and ~...~ to ellipses.
268
269 * Lists
270
271 Org markup allows you to create *bulleted* or *numbered* lists. It allows any
272 combination of the two list types.
273
274 ** Unordered lists
275
276 Itemized lists are marked with bullets. Create them with a minus or a plus sign.
277
278 They are convenient to organize data, and make the document prettier, and easier
279 to read.
280
281 #+begin_src org
282 - Item with some lengthy text wrapping hopefully across several lines. We add
283 a few words to really show the line wrapping.
284 - Bullet.
285 + Bullet.
286 * Bullet.
287 #+end_src
288
289 ** Checklists
290
291 #+begin_src org
292 - [X] Checked.
293 - [-] Half-checked.
294 - [ ] Not checked.
295 - Normal list item.
296 #+end_src
297
298 ** Ordered lists
299
300 Enumerated lists are marked with numbers or letters:
301
302 #+begin_src org
303 1. Arabic (decimal) numbered list item. We add a few words to show the line
304 wrapping.
305 A. Upper case alpha (letter) numbered list item.
306 a. Lower alpha.
307 b. Lower alpha.
308 B. Upper alpha.
309 2. Number.
310 #+end_src
311
312 You can have ordered lists with jumping numbers:
313
314 #+begin_src org
315 2. [@2] We start with point number 2.
316 3. Automatically numbered item.
317 #+end_src
318
319 ** Definition lists
320 :PROPERTIES:
321 :ID: f1a4a242-755b-4c38-9280-ee3f60e2b29a
322 :END:
323
324 Labeled, multi-line lists.
325
326 #+begin_src org
327 - First term to define ::
328 Definition of the first term. We add a few words to show the line wrapping,
329 to see what happens when you have long lines.
330
331 - Second term ::
332 Explication of the second term with *inline markup*.
333
334 In many paragraphs.
335 #+end_src
336
337 ** Separating lists
338
339 Adjacent lists sometimes like to fuse. To force the start of a new list, offset
340 the two lists by an empty line comment:
341
342 #+begin_src org
343 - apples
344 - oranges
345 - bananas
346
347 # Comment.
348
349 - carrots
350 - tomatoes
351 - celery
352 #+end_src
353
354 * Tables
355
356 Tables are one of the most refined areas of the Org mode syntax. They are very easy
357 to create and to read.
358
359 ** Simple table
360
361 #+begin_src org
362 | Cell in column 1, row 1 | Cell in column 2, row 1 |
363 | Cell in column 1, row 2 | Cell in column 2, row 2 |
364 #+end_src
365
366 Org tables have cells of at most one line long: there is no such thing as
367 a multi-line table cell in Org.
368
369 ** Column formatting
370
371 Columns are automatically aligned:
372
373 - Number-rich columns to the right, and
374 - String-rich columns to the left.
375
376 *** Table with aligned cells
377
378 If you want to override the automatic alignment, use ~<r>~, ~<c>~ or ~<l>~.
379
380 #+begin_src org
381 ,#+CAPTION: Table with aligned columns
382 | <r> | <c> | <l> |
383 | 1 | 2 | 3 |
384 | Right | Center | Left |
385 | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
386 #+end_src
387
388 *** Table with column size adjusted
389
390 ** Header row
391
392 You can create tables with an header row (by using an horizontal line of dashes
393 to separate it from the rest of the table).
394
395 #+begin_src org
396 #+CAPTION: Table with an header row
397 | Name of column 1 | Name of column 2 | Name of column 3 |
398 |------------------+------------------+------------------|
399 | Top left | Top middle | |
400 | | | Right |
401 | Bottom left | Bottom middle | |
402 #+end_src
403
404 ** A very long table
405
406 To test "sticky table headers"...
407
408 | Name of column 1 | Name of column 2 | Name of column 3 |
409 |------------------+------------------+------------------|
410 | Top left | Top middle | |
411 | 2 | | |
412 | 3 | | |
413 | 4 | | |
414 | 5 | | |
415 | 6 | | |
416 | 7 | | |
417 | 8 | | |
418 | 9 | | |
419 | 10 | | |
420 | 11 | | |
421 | 12 | | |
422 | 13 | | |
423 | 14 | | |
424 | 15 | | Right |
425 | 16 | | |
426 | 17 | | |
427 | 18 | | |
428 | 19 | | |
429 | 20 | | |
430 | 21 | | |
431 | 22 | | |
432 | 23 | | |
433 | 24 | | |
434 | 25 | | |
435 | 26 | | |
436 | 27 | | |
437 | 28 | | |
438 | 29 | | |
439 | Bottom left | Bottom middle | |
440
441 ** Table placement
442
443 #+begin_src org
444 #+ATTR_LATEX: :center nil
445 | a | b |
446 | 1 | 2 |
447 #+end_src
448
449 XXX Different from the following:
450
451 #+begin_src org
452 | a | b |
453 | 1 | 2 |
454 #+end_src
455
456 ** Align tables on the page
457
458 *** Left
459
460 Here is a table on the left side:
461
462 #+begin_src org
463 ,#+LATEX: \noindent
464 ,#+ATTR_LATEX: :center nil
465 | a | b | c |
466 |---+---+---|
467 | 1 | 2 | 3 |
468 | 4 | 5 | 6 |
469 ,#+LATEX: \hfill
470 #+end_src
471
472 The ~noindent~ just gets rid of the indentation of the first line of a paragraph
473 which in this case is the table. The ~hfill~ adds infinite stretch after the
474 table, so it pushes the table to the left.
475
476 *** Center
477
478 Here is a centered table:
479
480 #+begin_src org
481 | a | b | c |
482 |---+---+---|
483 | 1 | 2 | 3 |
484 | 4 | 5 | 6 |
485 #+end_src
486
487 *** Right
488
489 And here's a table on the right side:
490
491 #+begin_src org
492 #+LATEX: \hfill
493 #+ATTR_LATEX: :center nil
494 | a | b | c |
495 |---+---+---|
496 | 1 | 2 | 3 |
497 | 4 | 5 | 6 |
498 #+end_src
499
500 Here the ~hfill~ adds infinite stretch before the table, so it pushes the table
501 to the right.
502
503 ** Table size
504
505 #+begin_src org
506 #+ATTR_HTML: :width 100%
507 | Cell in column 1, row 1 | Cell in column 2, row 1 |
508 | Cell in column 1, row 2 | Cell in column 2, row 2 |
509 #+end_src
510
511 ** CSV
512
513 You can fill a table from a CSV file using R commands.
514
515 * Links
516 :PROPERTIES:
517 :CUSTOM_ID: links
518 :END:
519
520 #+begin_src org :eval no
521 ,* Links
522 :PROPERTIES:
523 :CUSTOM_ID: links
524 :END:
525 #+end_src
526
527 This document is available in [[file:README.org][plain text]], [[file:README.html][HTML]] and [[file:README.pdf][PDF]].
528
529 The links are delimited by double square brackets.
530
531 ** External links
532
533 #+begin_src org
534 See http://www.pirilampo.org (automatic!) and the
535 [[http://orgmode.org/][Org mode Web site]].
536 #+end_src
537
538 *** Relative links
539
540 #+begin_src org
541 [[../README.html][Home]]
542 #+end_src
543
544 *** Email links
545
546 #+begin_src org
547 [[mailto:john.doe@example.com][email John Doe]]
548 #+end_src
549
550 *** Image links
551
552 To get image links, put a link to a file in the description.
553
554 #+begin_src org
555 Clicking on the image [[http://orgmode.org/][file:images/org-mode-unicorn.png]]
556 leads to the Org mode home page.
557 #+end_src
558
559 ** Internal links
560 :PROPERTIES:
561 :ID: 0d2b0cb2-116c-4a61-a076-4c641faf4346
562 :END:
563
564 *** Inline anchors
565
566 Anchors are used to specify hypertext link targets.
567
568 #+begin_src org
569 <<anchor>> Inline anchors make arbitrary content referenceable.
570 #+end_src
571
572 *** Internal cross references
573
574 Links generally point to an headline.
575
576 #+begin_src org
577 See chapter [[#links][Links]].
578 #+end_src
579
580 To add a link to a figure (e.g., "See Figure 1"), just do:
581
582 #+begin_src org
583 ,#+name: fig
584 ,#+caption: caption
585 [[file:fig.png]]
586
587 See figure [[fig]].
588 #+end_src
589
590 You can also create a hypertext link to a document anchor in the current
591 document /or in another document/.
592
593 #+begin_src org
594 See:
595 - Location [[anchor][cross reference]].
596 - Section [[id:0d2b0cb2-116c-4a61-a076-4c641faf4346][Internal links]]
597 #+end_src
598
599 ** Extensions that define new hyperlinks targets
600
601 * Images
602
603 You can insert *image* files of different *formats* to a document:
604
605 | | HTML | PDF |
606 |------+------------------------------+-----|
607 | gif | yes | |
608 | jpeg | yes | |
609 | png | yes | |
610 | bmp | (depends on browser support) | |
611
612 ** Inline picture
613
614 #+begin_src org
615 #+caption: Org mode logo
616 [[file:images/org-mode-unicorn.png]]
617 #+end_src
618
619 #+begin_src org
620 Click to see the [[file:images/org-mode-unicorn.png][Unicorn picture]].
621 #+end_src
622
623 ** Image alignment (using positioning)
624
625 Books usually align/float images on the right/left of the contents.
626
627 *** Image is left aligned
628
629 *** Image is right aligned
630
631 *** Image is centered
632
633 #+name: test
634 #+begin_src R :exports results :file-ext pdf :results graphics :width 8 :height 3
635 plot(runif(100))
636 #+end_src
637
638 #+attr_latex: :float t :placement [b]
639 #+results: test
640 [[file:test.pdf]]
641
642 ** Image attributes and values
643
644 XXX Available HTML image tags include ...
645
646 | Attribute | Value(s) |
647 |----------------+-----------------------------|
648 | ~:alt~ | Alternate text |
649 | ~:height~ | |
650 | ~:width~ | User defined size in pixels |
651 | ~:align~ | |
652 | ~:border~ | |
653 | ~:bordercolor~ | |
654 | ~:hspace~ | |
655 | ~:vspace~ | |
656 | ~:title~ | User defined text |
657
658 #+begin_src org
659 #+ATTR_LaTeX: :width 0.25\linewidth
660 [[file:images/org-mode-unicorn.png]]
661 #+end_src
662
663 Place images side by side: XXX
664
665 ** Figures
666
667 To define images that will be *treated as book illustrations* (figures) and
668 automatically labeled and numbered, use XXX.
669
670 * Videos
671
672 Videos can't be added directly.
673
674 Though, you can add an image with a link to the video like this:
675
676 #+begin_src org
677 [[http://www.youtube.com/watch?v=DnSGSiXYuOk][file:../bigblow.png]]
678 #+end_src
679
680 * Admonitions
681
682 Admonitions (contextual backgrounds) are statements taken out of the content's
683 flow and labeled with a title.
684
685 Common admonitions are:
686
687 1. ~note~
688 2. ~warning~
689 3. ~tip~
690 4. ~caution~
691 5. ~important~
692
693 (Most themes style only ~note~ and ~warning~ specially.)
694
695 ** List of supported admonitions :noexport:
696
697 | Total | | docutils | rST | RTD | AsciiDoc | DocBook | MoinMoin (Modern) | Bootstrap | DocOnce | Confluence | SuperCollider |
698 |--------+-----------+----------+-----+-----+----------+---------+-------------------+-----------+---------+------------+---------------|
699 | 7 | note | 1 | 1 | 1 | 1 | 1 | 1 | | | 1 | 1 |
700 | 9 | warning | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
701 | 7 | tip | 1 | 1 | 1 | 1 | 1 | 1 | | | 1 | |
702 |--------+-----------+----------+-----+-----+----------+---------+-------------------+-----------+---------+------------+---------------|
703 | 6 | caution | 1 | 1 | 1 | 1 | 1 | 1 | | | | |
704 | 6 | important | 1 | 1 | 1 | 1 | 1 | 1 | | | | |
705 |--------+-----------+----------+-----+-----+----------+---------+-------------------+-----------+---------+------------+---------------|
706 | 3 | attention | 1 | 1 | 1 | | | | | | | |
707 | 3 | hint | 1 | 1 | 1 | | | | | | | |
708 | 3 | error | 1 | 1 | 1 | | | | | | | |
709 | 4 | danger | 1 | 1 | 1 | | | | 1 | | | |
710 |--------+-----------+----------+-----+-----+----------+---------+-------------------+-----------+---------+------------+---------------|
711 | #ERROR | seealso | | | ? | | | | | | | |
712 | #ERROR | todo | | | ? | | | | | | | |
713 |--------+-----------+----------+-----+-----+----------+---------+-------------------+-----------+---------+------------+---------------|
714 | 2 | info | | | | | | | 1 | | 1 | |
715 | 1 | notice | | | | | | | | 1 | | |
716 | 1 | question | | | | | | | | 1 | | |
717 | 1 | summary | | | | | | | | 1 | | |
718 | 1 | success | | | | | | | 1 | | | |
719 #+TBLFM: $1=vsum($3..$11)
720
721 ** Base admonitions
722
723 *** Note
724
725 A note box is displayed as follows:
726
727 #+begin_src org
728 ,#+begin_note
729 This is a useful note.
730 ,#+end_note
731 #+end_src
732
733 # #+attr_html: :options [By the way...]
734 # #+attr_latex: :options Test
735 # #+begin_note
736 # This is a useful note (with a title).
737 # #+end_note
738
739 *** Warning
740
741 A warning box is displayed as follows:
742
743 #+begin_src org
744 ,#+begin_warning
745 Be careful! Check that you have...
746 ,#+end_warning
747 #+end_src
748
749 *** Tip
750
751 A tip box is displayed as follows:
752
753 #+begin_src org
754 ,#+begin_tip
755 Try doing it this way...
756 ,#+end_tip
757 #+end_src
758
759 *** Caution
760
761 #+begin_src org
762 ,#+begin_caution
763 Caution
764 ,#+end_caution
765 #+end_src
766
767 *** Important
768
769 #+begin_src org
770 ,#+begin_important
771 Important
772 ,#+end_important
773 #+end_src
774
775 ** Additional admonitions
776
777 *** Attention
778
779 #+begin_src org
780 ,#+begin_attention
781 Attention
782 ,#+end_attention
783 #+end_src
784
785 *** Hint
786
787 #+begin_src org
788 ,#+begin_hint
789 Hint
790 ,#+end_hint
791 #+end_src
792
793 *** Error
794
795 #+begin_src org
796 ,#+begin_error
797 Error
798 ,#+end_error
799 #+end_src
800
801 *** Danger
802
803 #+begin_src org
804 ,#+begin_danger
805 Danger
806 ,#+end_danger
807 #+end_src
808
809 *** SeeAlso (Sphinx additional)
810
811 #+begin_src org
812 ,#+begin_seealso
813 - [[http://en.wikipedia.org/wiki/Apple][Apples]] ::
814 A kind of [[http://en.wikipedia.org/wiki/Fruit][fruit]].
815 ,#+end_seealso
816 #+end_src
817
818 ** Todo admonition
819
820 # See example at http://docs.ckan.org/en/latest/contributing/python.html
821 # or http://wsgiservice.readthedocs.org/en/latest/todo.html
822
823 Simple box ("inline task"):
824
825 #+begin_src org
826 *************** TODO Do this task
827 Description of inline task.
828 *************** END
829 #+end_src
830
831 *************** TODO Do this task
832 Description of inline task.
833 *************** END
834 or:
835
836 #+begin_src org
837 *************** WAIT [#B] Do also this other task :phone:
838 *************** END
839 #+end_src
840
841 #+begin_admonitiontodo
842 Admonitiontodo
843 #+end_admonitiontodo
844
845 Alternatively to the inline tasks (for creating "TODO" annotations), if you want
846 such notes not to show up in the published version, drawers may also do the job,
847 e.g.:
848
849 :FIXME:
850 ...
851 :END:
852
853 You can then control what drawers are exported with
854 ~org-export-with-drawers~ (or per document with d OPTIONS item).
855
856 * Centered text
857
858 #+begin_src org
859 ,#+begin_left
860 This text is \\
861 aligned to the left!
862 ,#+end_left
863
864 ,#+begin_center
865 This text is \\
866 centered!
867 ,#+end_center
868
869 ,#+begin_right
870 This text is \\
871 aligned to the right!
872 ,#+end_right
873 #+end_src
874
875 * Sidebar
876
877 #+begin_src org
878 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
879 tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
880 quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
881 consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
882 cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
883 proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
884
885 ,#+begin_sidebar
886 Org mode was first released by Carsten Dominik in 2004 as an outlining and
887 project planning tool. Further development turned it into a general tool that
888 can be used to author professional documents like LaTeX.
889 ,#+end_sidebar
890
891 Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac
892 turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor
893 sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies
894 mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien
895 ullamcorper pharetra. Vestibulum erat wisi...
896
897 Phasellus ut libero. Nulla in libero non enim tristique sollicitudin. Ut
898 tempor. Phasellus pellentesque augue eget ante. Mauris malesuada. Donec sit
899 amet diam sit amet dolor placerat blandit. Morbi enim purus, imperdiet in,
900 molestie sit amet, pellentesque eu, mauris. In vel erat vel ipsum bibendum
901 commodo. Curabitur accumsan. Nam sed metus. Etiam tristique bibendum justo.
902 #+end_src
903
904 * Example
905
906 You can have ~example~ blocks.
907
908 #+begin_src org
909 : 10/17/97 9:04 <DIR> bin
910 : 10/16/97 14:11 <DIR> DOS
911 : 10/16/97 14:46 <DIR> TEMP
912 : 10/16/97 14:37 <DIR> WINNT
913 : 10/16/97 14:25 119 AUTOEXEC.BAT
914 : 2/13/94 6:21 54,619 COMMAND.COM
915 #+end_src
916
917 or
918
919 #+begin_src org
920 ,#+begin_example
921 10/17/97 9:04 <DIR> bin
922 10/16/97 14:11 <DIR> DOS
923 10/16/97 14:46 <DIR> TEMP
924 10/16/97 14:37 <DIR> WINNT
925 10/16/97 14:25 119 AUTOEXEC.BAT
926 2/13/94 6:21 54,619 COMMAND.COM
927 ,#+end_example
928 #+end_src
929
930 * Prose excerpts
931
932 ** Quote
933
934 Use the ~quote~ block for content that *doesn't require the preservation of line
935 breaks*.
936
937 #+begin_src org
938 ,#+begin_quote
939 Let us change our traditional attitude to the construction of programs:
940 Instead of imagining that our main task is to instruct a computer what to do,
941 let us concentrate rather on explaining to human beings what we want a
942 computer to do.
943
944 The practitioner of literate programming can be regarded as an essayist, whose
945 main concern is with exposition and excellence of style. Such an author, with
946 thesaurus in hand, chooses the names of variables carefully and explains what
947 each variable means. He or she strives for a program that is comprehensible
948 because its concepts have been introduced in an order that is best for human
949 understanding, using a mixture of formal and informal methods that reinforce
950 each other.
951
952 -- Donald Knuth
953 ,#+end_quote
954 #+end_src
955
956 A short one:
957
958 #+begin_src org
959 ,#+begin_quote
960 Everything should be made as simple as possible,
961 but not any simpler. -- Albert Einstein
962 ,#+end_quote
963 #+end_src
964
965 ** Verse
966
967 In a ~verse~ environment, there is an *implicit line break at the end of each line*,
968 and *indentation* is preserved:
969
970 #+begin_src org
971 ,#+begin_verse
972 Everything should be made as simple as possible,
973 but not any simpler. -- Albert Einstein
974 ,#+end_verse
975 #+end_src
976
977 Typically used for quoting passages of an email message:
978
979 #+begin_src org
980 ,#+begin_verse
981 >> The meeting has been postponed to next Friday.
982 >
983 > Has the deadline for the report been moved too?
984
985 Yes. And chekout http://www.doodle.com/ for rescheduling the meeting.
986
987 In the text body,
988 indentation is
989 preserved.
990 ,#+end_verse
991 #+end_src
992
993 ** Block quote with optional attribution line
994
995 #+begin_epigraph
996 epigraph
997 #+end_epigraph
998
999 ** Block quotes with their own class attribute
1000
1001 #+begin_highlights
1002 highlights
1003 #+end_highlights
1004
1005 #+begin_pull-quote
1006 pull-quote
1007 #+end_pull-quote
1008
1009 #+begin_blockquote
1010 Blockquote
1011 #+end_blockquote
1012
1013 ** Non-breaking space
1014
1015 Insert the Unicode character ~00A0~ to add a non-breaking space.
1016
1017 FIXME Or add/use an Org entity? Or use tilde?
1018
1019 * Comments
1020
1021 #+begin_src org
1022 It's possible to add comments in the document.
1023
1024 # This Org comment here won't be displayed.
1025 #+end_src
1026
1027 #+begin_note
1028 Org doesn't support *comments inside paragraphs* since a comment ends
1029 a paragraph. However, you can mimic inline comments with export snippets, e.g.,
1030 ~@@comment:...@@~.
1031 #+end_note
1032
1033 #+begin_tip
1034 If you have tables (for example) that you want to ignore during export, one possibility
1035 is to use *comment blocks* or ~:noexport:~ subtrees. Another possibility is to
1036 *use* non-exported *drawers* (see #+OPTIONS: d:).
1037 #+end_tip
1038
1039 If you want to ignore that part only during export, but still want to
1040 use keep it active in the buffer, I suggest to use a drawer, with an
1041 appropriate `org-export-with-drawers' value, e.g.,
1042
1043 #+begin_src org
1044 ,#+OPTIONS: d:(not "NOEXPORT")
1045 #+end_src
1046
1047 * Substitutions
1048
1049 ** General replacements
1050
1051 #+begin_src org :eval no
1052 ,#+MACRO: longtext this very very long text
1053
1054 Insert {{{longtext}}} wherever required.
1055 #+end_src
1056
1057 #+MACRO: longtext this very very long text
1058
1059 Insert {{{longtext}}} wherever required.
1060
1061 ** Styled references
1062
1063 #+BEGIN_SRC org :eval no
1064 ,#+MACRO: color @@html:<span style="color: $1">$2</span>@@
1065
1066 {{{color(blue, This text is colored in blue.)}}}
1067
1068 {{{color(red, This other text is in red.)}}}
1069 #+END_SRC
1070
1071 #+MACRO: color @@html:<span style="color: $1">$2</span>@@
1072
1073 {{{color(blue, This text is colored in blue.)}}}
1074
1075 {{{color(red, This other text is in red.)}}}
1076
1077 Find more macros on [[https://github.com/fniessen/org-macros][GitHub]].
1078
1079 ** Special characters
1080
1081 We also use substitutions to include some of the widely used Unicode characters
1082 (like ©, converted from text characters to its typographically correct entity).
1083
1084 *** Accents
1085
1086 #+begin_src org
1087 - \Agrave \Aacute
1088 #+end_src
1089
1090 *** Punctuation
1091
1092 #+begin_src org
1093 - Dash: \ndash \mdash
1094 - Marks: \iexcl \iquest
1095 - Quotations: \laquo \raquo
1096 - Miscellaneous: \para \ordf
1097 #+end_src
1098
1099 *** Commercial symbols
1100
1101 #+begin_src org
1102 - Property marks: \copy \reg
1103 - Currency: \cent \EUR \yen \pound
1104 #+end_src
1105
1106 *** Greek characters
1107
1108 #+begin_src org
1109 The Greek letters \alpha, \beta, and \gamma are used to denote angles.
1110 #+end_src
1111
1112 *** Math characters
1113
1114 #+begin_src org
1115 - Science: \pm \div
1116 - Arrows: \to \rarr \larr \harr \rArr \lArr \hArr
1117 - Function names: \arccos \cos
1118 - Signs and symbols: \bull \star
1119 #+end_src
1120
1121 *** Misc
1122
1123 #+begin_src org
1124 - Zero-width non-joiner: \zwnj
1125 # Smilies: \smiley \sad
1126 - Suits: \clubs \spades
1127 #+end_src
1128
1129 #+begin_note
1130 You can insert a real "zero-width space" Unicode character by pressing
1131 ~C-x 8 RET zero width space RET~ or ~C-x 8 RET 200b RET~.
1132 #+end_note
1133
1134 * Source code
1135
1136 ** Inline code
1137
1138 #+begin_src org
1139 Reference code like ~variables~ or ~functions~ inline.
1140 #+end_src
1141
1142 You can also evaluate code inline as follows: 1 + 1 is src_R{1 + 1}.
1143
1144 ** Code blocks (with syntax highlighting)
1145
1146 The source code blocks support syntax highlighting:
1147
1148 #+begin_src cpp :eval no
1149 /*
1150 * Application that displays a "Hello" message to the standard output.
1151 */
1152 int main(int arc, char **argv)
1153 {
1154 printf("Hello, %s!\n", (argc>1) ? argv[1] : "World");
1155 return 0;
1156 }
1157 #+end_src
1158
1159 #+begin_src emacs-lisp :eval no
1160 (defvar hello "Hello")
1161
1162 (defun hello (name &optional greeting)
1163 (message "%s %s" (or greeting "Hello") name))
1164
1165 (setq tab-width 4)
1166 #+end_src
1167
1168 # See http://sphinxcontrib-emacs.readthedocs.org/en/latest/guide/domain.html
1169
1170 #+begin_note
1171 You need =htmlize.el= in your ~load-path~, for the HTML export.
1172 #+end_note
1173
1174 ** Source mode
1175
1176 The following language strings are currently recognized:
1177
1178 #+begin_src emacs-lisp :results drawer :exports results
1179 (concat (mapconcat (lambda (widget)
1180 (widget-get widget :tag))
1181 (cl-remove-if-not (lambda (it)
1182 (and (consp it)
1183 (eq (car it) 'const)))
1184 (cdr
1185 (widget-get
1186 (get
1187 'org-babel-load-languages 'custom-type)
1188 :key-type)))
1189 ", ")
1190 ".")
1191 #+end_src
1192
1193 #+results:
1194 :RESULTS:
1195 Awk, C, R, Asymptote, Calc, Clojure, CSS, Ditaa, Dot, Emacs Lisp, Fortran, Gnuplot, Haskell, IO, J, Java, Javascript, LaTeX, Ledger, Lilypond, Lisp, Makefile, Maxima, Matlab, Mscgen, Ocaml, Octave, Org, Perl, Pico Lisp, PlantUML, Python, Ruby, Sass, Scala, Scheme, Screen, Shell Script, Shen, Sql, Sqlite, ebnf2ps.
1196 :END:
1197
1198 ** Line break
1199
1200 Code block with long lines:
1201
1202 #+begin_src emacs-lisp :eval no
1203 testing testing testing testing testing testing testing testing testing testing
1204 0 1 2 3 4 5 6 7 8 9
1205 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456
1206 #+end_src
1207
1208 For PDF (LaTeX), one solution is to surround the code block such as:
1209
1210 #+latex: \scriptsize
1211 #+begin_src R
1212 print("This block is in scriptsize")
1213 #+end_src
1214 #+latex: \normalsize
1215
1216 ** Line numbers
1217
1218 Both in ~example~ and in ~src~ snippets, you can add a ~-n~ switch to the end of the
1219 ~begin~ line to get the lines numbered:
1220
1221 #+header: :eval no
1222 #+begin_src emacs-lisp -n
1223 (defun org-xor (a b)
1224 "Exclusive or."
1225 #+end_src
1226
1227 If you use a ~+n~ switch, the numbering from the previous numbered snippet will
1228 be continued in the current one:
1229
1230 #+header: :eval no
1231 #+begin_src emacs-lisp +n
1232 (if a (not b) b))
1233 #+end_src
1234
1235 ** Callouts
1236
1237 In literal examples, Org will interpret strings like ~(ref:name)~ as labels, and
1238 use them as targets for special hyperlinks like ~[[(name)]]~ (i.e., the reference
1239 name enclosed in single parenthesis). In HTML, hovering the mouse over such
1240 a link will remote-highlight the corresponding code line, which is kind of
1241 cool.
1242
1243 You can also add a ~-r~ switch which removes the labels from the source code.
1244 With the ~-n~ switch, links to these references will be labeled by the line
1245 numbers from the code listing, otherwise links will use the labels with no
1246 parentheses. Here is an example:
1247
1248 #+header: :eval no
1249 #+begin_src emacs-lisp -n -r
1250 (save-excursion ; (ref:sc)
1251 (goto-char (point-min))) ; (ref:jump)
1252 #+end_src
1253
1254 In line [[(sc)]], we remember the current position. [[(jump)][Line (jump)]] jumps to
1255 ~point-min~.
1256
1257 * Math
1258
1259 You can embed LaTeX math formatting in Org mode files.
1260
1261 ** Inline math expressions
1262
1263 For *inline math* expressions, use the parentheses notation ~\(...\)~:
1264
1265 #+begin_src org
1266 The formula \(a^2 + b^2 = c^2\) has been discovered by Pythagoras.
1267
1268 Let \(a=\sin(x) + \cos(x)\). Then \(a^2 = 2\sin(x)\cos(x)\) because \(\sin^2x +
1269 \cos^2x = 1\).
1270 #+end_src
1271
1272 #+begin_warning
1273 It's /not/ advised to use the ~$...$~ construct (both for Org and for MathJax).
1274
1275 Don't forget that ~$~ is also a valid currency symbol!
1276 #+end_warning
1277
1278 ** Math expressions in display mode
1279
1280 For mathematical expressions which you want to make *stand out, centered on their
1281 own lines*, use ~\[...\]~:
1282
1283 #+begin_src org
1284 The /Euler theorem/:
1285
1286 \[
1287 \int_0^\infty e^{-x^2} dx = {{\sqrt{\pi}} \over {2}}
1288 \]
1289
1290 LaTeX allows to inline such ~\[...\]~ constructs (/quadratic formula/):
1291 \[ \frac{-b \pm \sqrt{b^2 - 4 a c}}{2a} \]
1292 #+end_src
1293
1294 #+begin_warning
1295 Double dollar signs (~$$~) should not be used.
1296 #+end_warning
1297
1298 #+begin_src org
1299 \[
1300 \left( \int_{0}^{\infty} \frac{\sin x}{\sqrt x}\,\mathrm{d}x \
1301 right)^{2} -
1302 \prod_{k=1}^{\infty} \frac{4k^{2}}{4k^{2}-1} +
1303 \frac{\lambda}{2n}\sum_{k=1} ^{n} \theta_{k} ^{2} x^{n} = 0
1304 \]
1305 #+end_src
1306
1307 The equation may be wrong, but it's a nice one!
1308
1309 ** Equation numbers
1310
1311 Differently from ~$...$~ and ~\(...\)~, an equation environment produces a *numbered*
1312 equation to which you can add a label and reference the equation by (label) name
1313 in other parts of the text. This is not possibly with unnumbered math
1314 environments (~$$~, ...).
1315
1316 #+begin_src org
1317 The /Pythagoras theorem/:
1318
1319 ,#+name: pythag
1320 \begin{equation}
1321 a^2 + b^2 = c^2
1322 \end{equation}
1323
1324 See equation [[pythag]].
1325
1326 # The /sinus theorem/ can be written as the equation:
1327 #
1328 # \begin{equation}
1329 # \label{eqn:sinalpha}
1330 # \frac{\sin\alpha}{a}=\frac{\sin\beta}{b}
1331 # \end{equation}
1332 #
1333 # See equation [[eqn:sinalpha]].
1334 #+end_src
1335
1336 Only captioned equations are numbered.
1337
1338 Other alternatives: use
1339 - ~\begin{equation*}~ or
1340 - ~\begin{displaymath}~ (= the verbose form of the ~\[...\]~ construct).
1341
1342 ~M-q~ does not fill those.
1343
1344 * Miscellaneous effects
1345
1346 ** Include Org files
1347
1348 You can include another Org file and skip its title by using the ~:lines~ argument
1349 to ~#+INCLUDE~:
1350
1351 #+begin_src org
1352 ,#+INCLUDE: "chapter1.org" :lines "2-"
1353 #+end_src
1354
1355 #+begin_note
1356 File inclusion, through INCLUDE keywords, is an *export-only feature*.
1357 #+end_note
1358
1359 ** Raw HTML
1360
1361 # http://johnmacfarlane.net/pandoc/README.html
1362
1363 You can include raw HTML in your Org documents and it will get kept as HTML
1364 when it's exported.
1365
1366 #+HTML_BEGIN: <pre style="color:red">
1367 Text can be preformatted (in a fixed-width font).
1368 #+HTML_END: </pre>
1369
1370 It is especially useful for more advanced stuff like images or tables where you
1371 need more control of the HTML options than Org mode actually gives you.
1372
1373 Similarly, you can incorporate JS or do anything else you can do in a Web page
1374 (such as importing a CSS file).
1375
1376 *** Native DIV blocks
1377
1378 You can create named classes (to get style control from your CSS) with:
1379
1380 #+begin_example
1381 ,#+begin_myclass
1382 This text is wrapped in a myclass DIV...
1383 ,#+end_myclass
1384 #+end_example
1385
1386 You can also add interactive elements to the HTML such as interactive R plots.
1387
1388 Finally, you can include an HTML file verbatim (during export) with:
1389
1390 #+begin_src org
1391 ,#+INCLUDE: "file.html" export html
1392 #+end_src
1393
1394 Don't edit the exported HTML file!
1395
1396 ** Raw LaTeX
1397
1398 You can also use raw LaTeX. XXX
1399
1400 #+LaTeX_BEGIN: \begin{verbatim}
1401 Text can be preformatted (in a fixed-width font).
1402 #+LaTeX_END: \end{verbatim}
1403
1404 * Footnotes
1405
1406 #+begin_src org
1407 It is possible to define named footnotes[fn:myfootnote], or ones with automatic
1408 anchors[fn:2].
1409 #+end_src
1410
1411 #+results:
1412 It is possible to define named footnotes[fn:myfootnote], or ones with automatic
1413 anchors[fn:2].
1414
1415 * Useful extensions
1416
1417 ** Todo extension
1418
1419 *** Dates
1420
1421 Timestamps: [2014-01-16 Thu] and <2014-01-16 Thu>.
1422
1423 *** TODO We need to achieve...
1424
1425 *** DONE [#A] Buy GTD book :online:
1426 :LOGBOOK:
1427 - State "TODO" -> "DONE" [2014-01-16 Thu 09:52]
1428 :END:
1429
1430 By default, ~DONE~ actions will be collapsed.
1431
1432 Note that I should probably implement that default behavior only for ~ARCHIVE~'d
1433 items.
1434
1435 *** TODO [#A] Read GTD book
1436 SCHEDULED: <2014-09-11 Thu>
1437
1438 By default, *all* (active) entries will be expanded at page load, so that their
1439 contents is visible.
1440
1441 That can be changed by adding such a line (into your Org document):
1442
1443 #+begin_src org :eval no
1444 ,#+HTML_HEAD: <script> var HS_STARTUP_FOLDED = true; </script>
1445 #+end_src
1446
1447 *** TODO [#B] Apply GTD methodoloy
1448 DEADLINE: <2014-12-01 Mon>
1449 :PROPERTIES:
1450 :HTML_CONTAINER_CLASS: hsCollapsed
1451 :END:
1452
1453 This section will be collapsed when loading the page because the entry has the
1454 value ~hsCollapsed~ for the property ~:HTML_CONTAINER_CLASS:~.
1455
1456 Powerful, no?
1457
1458 *** Some note :computer:write:
1459
1460 You can add tags to any entry, and hightlight all entries having some specific
1461 tag by clicking on the buttons made accessible to you in the "Dashboard".
1462
1463 *** Weekly review :computer:
1464
1465 Now, you can even make your weekly review in the HTML export... Press the ~r~ key
1466 to start entering the "review mode" where all but one active entry are
1467 collapsed, so that you can really focus on one item at a time!
1468
1469 ** Bigblow extension
1470
1471 The string ~fixme~ (in *upper case*) gets replaced by a "Fix Me!" image:
1472
1473 #+begin_src org
1474 FIXME Delete this...
1475 #+end_src
1476
1477 * Graphs with Graphviz
1478
1479 To enable the Graphviz extension, we have to add it to the extensions list in
1480 the ~org-babel-load-languages~ variable.
1481
1482 #+begin_src emacs-lisp :exports code
1483 (add-to-list 'org-babel-load-languages '(dot . t))
1484 (org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages)
1485 #+end_src
1486
1487 It uses directly the ~dot~ command to process DOT language.
1488
1489 ** Undirected
1490
1491 #+begin_src org
1492 ,#+begin_src dot :file images/graph.png :cmdline -Tpng
1493 graph foo {
1494 "bar" -- "baz";
1495 }
1496 ,#+end_src
1497 #+end_src
1498
1499 ** Directed
1500
1501 #+begin_src org :exports results
1502 ,#+begin_src dot :file images/digraph.png :cmdline -Tpng
1503 digraph foo {
1504 "bar" -> "baz";
1505 }
1506 ,#+end_src
1507 #+end_src
1508
1509 * Graphs with R
1510
1511 The output from the *execution* of programs, scripts or commands can be inserted
1512 in the document itself, allowing you to work in the /reproducible research/
1513 mindset.
1514
1515 To enable the Graphviz extension, we have to add it to the extensions list in
1516 the ~org-babel-load-languages~ variable.
1517
1518 #+begin_src emacs-lisp :exports code
1519 (add-to-list 'org-babel-load-languages '(R . t)) ; Requires R and ess-mode.
1520 (org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages)
1521 #+end_src
1522
1523 It uses directly the ~R~ command to process R language.
1524
1525 ** Example
1526
1527 Data to be charted:
1528
1529 #+name: data
1530 | Month | Degrees |
1531 |-------+---------|
1532 | 01 | 3.8 |
1533 | 02 | 4.1 |
1534 | 03 | 6.3 |
1535 | 04 | 9.0 |
1536 | 05 | 11.9 |
1537 | 06 | 15.1 |
1538 | 07 | 17.1 |
1539 | 08 | 17.4 |
1540 | 09 | 15.7 |
1541 | 10 | 11.8 |
1542 | 11 | 7.7 |
1543 | 12 | 4.8 |
1544
1545 Code:
1546
1547 #+name: R-plot
1548 #+begin_src R :var data=data :results graphics :file images/Rplot.png :exports both
1549 plot(data, type="b", bty="l", col=c("#ABD249"), las=1, lwd=4)
1550 grid(nx=NULL, ny=NULL, col=c("#E8E8E8"), lwd=1)
1551 legend("bottom", legend=c("Degrees"), col=c("#ABD249"), pch=c(19))
1552 #+end_src
1553
1554 The resulting chart:
1555
1556 #+results: R-plot
1557 [[file:images/Rplot.png]]
1558
1559 ** COMMENT ggplot2
1560
1561 #+begin_src R :results output graphics :file foo.png :session *foo*
1562 library(ggplot2)
1563 ggplot(data.frame(x = rnorm(10), y = rnorm(10)),
1564 aes(x = x, y = y)) +
1565 geom_point()
1566 #+end_src
1567
1568 * Citations
1569
1570 Cross-referenced to bibliography.
1571
1572 * Appendix
1573
1574 Special sections.
1575
1576 ** Index
1577
1578 Index (or list of acronyms).
1579
1580 - Write index entries
1581
1582 #+index: Org-mode
1583
1584 Note that multi-entry terms generate separate index entries.
1585
1586 #+index: Definitions!Org-mode
1587
1588 - Place the index at the desired location
1589
1590 - Produce the index by updating ~org-latex-pdf-process~
1591
1592 #+BIND: org-latex-pdf-process ("pdflatex %b" "bibtex %b" "pdflatex %b" "pdflatex %b")
1593
1594 ** Bibliography
1595
1596 The bibliography...
1597
1598 - Eric Steven Raymond. The Art of Unix Programming. Addison-Wesley. ISBN
1599 0-13-142901-9.
1600
1601 # http://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html
1602
1603 ** Glossary
1604
1605 Glossaries are optional. Glossaries entries are an example of [[id:f1a4a242-755b-4c38-9280-ee3f60e2b29a][definition lists]].
1606
1607 - A glossary term ::
1608 The corresponding (indented) definition.
1609
1610 - A second glossary term ::
1611 The corresponding (indented) definition.
1612
1613 * Contributing
1614
1615 ** Issues
1616
1617 Report issues and suggest features and improvements on the [[https://github.com/fniessen/refcard-org-mode/issues/new][GitHub issue tracker]].
1618
1619 ** Patches
1620
1621 I love contributions! Patches under any form are always welcome!
1622
1623 ** Donations
1624
1625 If you use the refcard-org-mode project and feel it is making your life better
1626 and easier, you can show your appreciation and help support future development
1627 by making a [[https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VCVAS6KPDQ4JC&lc=BE&item_number=refcard%2dorg%2dmode&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted][donation]] through PayPal. Thank you!
1628
1629 Regardless of the donations, refcard-org-mode will always be free both as in
1630 beer and as in speech.
1631
1632 * License
1633
1634 Copyright (C) 2014-2017 Fabrice Niessen.
1635
1636 Author: Fabrice Niessen \\
1637 Keywords: org-mode refcard
1638
1639 This program is free software; you can redistribute it and/or modify it under
1640 the terms of the GNU General Public License as published by the Free Software
1641 Foundation, either version 3 of the License, or (at your option) any later
1642 version.
1643
1644 This program is distributed in the hope that it will be useful, but WITHOUT ANY
1645 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
1646 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1647
1648 You should have received a copy of the GNU General Public License along with
1649 this program. If not, see http://www.gnu.org/licenses/.
1650
1651 #+html: <a href="http://opensource.org/licenses/GPL-3.0">
1652 #+html: <img src="http://img.shields.io/:license-gpl-blue.svg" alt=":license-gpl-blue.svg" />
1653 #+html: </a>
1654 #+html: <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VCVAS6KPDQ4JC&lc=BE&item_number=refcard%2dorg%2dmode&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted">
1655 #+html: <img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="btn_donate_LG.gif" />
1656 #+html: </a>
1657
1658 * Footnotes
1659
1660 [fn:myfootnote] Extensively used in large documents.
1661
1662 [fn:2] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
1663 eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
1664 veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
1665 commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
1666 esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
1667 non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
1668
1669 #+BIND: org-hide-emphasis-markers nil
1670
1671 # This is for the sake of Emacs.
1672 # Local Variables:
1673 # org-hide-emphasis-markers: nil
1674 # End: