-
Notifications
You must be signed in to change notification settings - Fork 119
/
README.html
3917 lines (3354 loc) · 111 KB
/
README.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Org mode syntax</title>
<meta name="author" content="Fabrice Niessen" />
<meta name="description" content="Org mode syntax example" />
<meta name="keywords" content="org-mode, syntax, quick reference, cheat sheet, recommended practices, latex, beamer, html" />
<meta name="generator" content="Org Mode" />
<link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/src/readtheorg_theme/css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/src/readtheorg_theme/css/readtheorg.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://fniessen.github.io/org-html-themes/src/lib/js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="https://fniessen.github.io/org-html-themes/src/readtheorg_theme/js/readtheorg.js"></script>
<script>
window.MathJax = {
tex: {
ams: {
multlineWidth: '85%'
},
tags: 'ams',
tagSide: 'right',
tagIndent: '.8em'
},
chtml: {
scale: 1.0,
displayAlign: 'center',
displayIndent: '0em'
},
svg: {
scale: 1.0,
displayAlign: 'center',
displayIndent: '0em'
},
output: {
font: 'mathjax-modern',
displayOverflow: 'overflow'
}
};
</script>
<script
id="MathJax-script"
async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="http://www.bing.com"> UP </a>
|
<a accesskey="H" href="http://www.google.com"> HOME </a>
</div><div id="content" class="content">
<h1 class="title">Org mode syntax
<br />
<span class="subtitle">Quick reference card</span>
</h1>
<div id="table-of-contents" role="doc-toc">
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
<li><a href="#org213d0b3">Summary</a></li>
<li><a href="#org636ab66">ADVERT: Elevate your Emacs skills in Paris, Utrecht, Leuven or Valencia!</a></li>
<li><a href="#orgd6b05a7">Reference card</a></li>
<li><a href="#orgaa600a2">Document header</a></li>
<li><a href="#org42d3b30">Document settings</a>
<ul>
<li><a href="#org0366317">Document description</a></li>
<li><a href="#org6bb9d44">Section numbering</a></li>
<li><a href="#orgaf54b03">Table of contents</a></li>
<li><a href="#orge3037d2">List of figures</a></li>
<li><a href="#org613b0ba">List of tables</a></li>
<li><a href="#org88dc4d6">List of equations</a></li>
</ul>
</li>
<li><a href="#org13f4f40">Section titles (headings)</a>
<ul>
<li><a href="#orgb2cd12d">Bigger heading (level 2)</a></li>
<li><a href="#orgc0823ad">Numbered headings</a></li>
</ul>
</li>
<li><a href="#org124b781">Paragraphs</a>
<ul>
<li><a href="#org06581fa">Normal</a></li>
<li><a href="#org9369fc7">Line breaks</a></li>
<li><a href="#org30fe1f2">Horizontal rules</a></li>
<li><a href="#org68a5ae2">Text width</a></li>
</ul>
</li>
<li><a href="#org176c9f6">Formatting text</a>
<ul>
<li><a href="#orgcd44c93">Bold and italic</a></li>
<li><a href="#org4ca1054">Monospace, superscript and subscript</a></li>
<li><a href="#orgef3295e">Smart punctuation</a></li>
</ul>
</li>
<li><a href="#org9effe60">Lists</a>
<ul>
<li><a href="#org5a0b940">Unordered lists</a></li>
<li><a href="#org6706c8d">Checklists</a></li>
<li><a href="#org24b2792">Ordered lists</a></li>
<li><a href="#org0441a3f">Definition lists</a></li>
<li><a href="#org0ae739d">Separating lists</a></li>
</ul>
</li>
<li><a href="#org3b19936">Tables</a>
<ul>
<li><a href="#org954d25a">Simple table</a></li>
<li><a href="#org0e22a19">Column formatting</a></li>
<li><a href="#org6e60044">Header row</a></li>
<li><a href="#orga2e9114">A very long table</a></li>
<li><a href="#org78a382a">Table placement</a></li>
<li><a href="#orgcbfa248">Align tables on the page</a></li>
<li><a href="#org791edea">Table size</a></li>
<li><a href="#org16f3688">CSV</a></li>
</ul>
</li>
<li><a href="#links">Links</a>
<ul>
<li><a href="#org760c751">External links</a></li>
<li><a href="#org446e708">Internal links</a></li>
<li><a href="#org222672e">Extensions that define new hyperlinks targets</a></li>
</ul>
</li>
<li><a href="#org1ad8f03">Images</a>
<ul>
<li><a href="#org99882d2">Inline picture</a></li>
<li><a href="#org5f5bfb7">Image alignment (using positioning)</a></li>
<li><a href="#orgc2e80cd">Image attributes and values</a></li>
<li><a href="#orgad073e3">Figures</a></li>
</ul>
</li>
<li><a href="#org7f56eaa">Videos</a></li>
<li><a href="#org7ac71ee">Admonitions</a>
<ul>
<li><a href="#orge99a246">Base admonitions</a></li>
<li><a href="#orgf891ccc">Additional admonitions</a></li>
<li><a href="#orga72b9eb">Todo admonition</a></li>
</ul>
</li>
<li><a href="#orge71560f">Centered text</a></li>
<li><a href="#org1e42800">Sidebar</a></li>
<li><a href="#org644388b">Example</a></li>
<li><a href="#orgf7ccadd">Prose excerpts</a>
<ul>
<li><a href="#orgedd7fe3">Quote</a></li>
<li><a href="#org142dd24">Verse</a></li>
<li><a href="#org8acee8c">Block quote with optional attribution line</a></li>
<li><a href="#org9ba0241">Block quotes with their own class attribute</a></li>
<li><a href="#org53bfb4d">Non-breaking space</a></li>
</ul>
</li>
<li><a href="#org397d80d">Comments</a></li>
<li><a href="#orga39d301">Substitutions</a>
<ul>
<li><a href="#orgff98529">General replacements</a></li>
<li><a href="#org47a731c">Styled references</a></li>
<li><a href="#orgf4d65c8">Special characters</a></li>
</ul>
</li>
<li><a href="#orgacc2276">Source code</a>
<ul>
<li><a href="#org092a574">Inline code</a></li>
<li><a href="#orge28eff4">Code blocks (with syntax highlighting)</a></li>
<li><a href="#org25f905e">Source mode</a></li>
<li><a href="#org706398d">Line break</a></li>
<li><a href="#org74d7f8e">Line numbers</a></li>
<li><a href="#orgd8107c6">Callouts</a></li>
</ul>
</li>
<li><a href="#org3128f43">Math</a>
<ul>
<li><a href="#orgbc9163c">Inline math expressions</a></li>
<li><a href="#orged54a86">Math expressions in display mode</a></li>
<li><a href="#orga87070a">Equation numbers</a></li>
</ul>
</li>
<li><a href="#org64913bc">Miscellaneous effects</a>
<ul>
<li><a href="#org10fc907">Include Org files</a></li>
<li><a href="#org41f78e6">Raw HTML</a></li>
<li><a href="#org5176622">Raw LaTeX</a></li>
</ul>
</li>
<li><a href="#org73800e7">Footnotes </a></li>
<li><a href="#org18e3cfa">Useful extensions</a>
<ul>
<li><a href="#org0aead42">Todo extension</a></li>
<li><a href="#org6916209">Bigblow extension</a></li>
</ul>
</li>
<li><a href="#orge1bd91a">Graphs with Graphviz</a>
<ul>
<li><a href="#org6634d13">Undirected</a></li>
<li><a href="#org5f86972">Directed</a></li>
</ul>
</li>
<li><a href="#orgdc3c72f">Graphs with R</a>
<ul>
<li><a href="#org7851215">Example</a></li>
</ul>
</li>
<li><a href="#org207b438">Citations</a></li>
<li><a href="#orgf69ecbc">Appendix</a>
<ul>
<li><a href="#org9b8392c">Index</a></li>
<li><a href="#org10c392c">Bibliography</a></li>
<li><a href="#orgd7ef595">Glossary</a></li>
</ul>
</li>
<li><a href="#org2dc9e5c">Contributing</a>
<ul>
<li><a href="#orgc42bda0">Issues</a></li>
<li><a href="#orgb79aa27">Patches</a></li>
<li><a href="#org8ef78c6">Donations</a></li>
</ul>
</li>
<li><a href="#orgd368a4a">License</a></li>
</ul>
</div>
</div>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left"><b>Framework</b></td>
<td class="org-left">Org mode 9</td>
</tr>
<tr>
<td class="org-left"><b>Bug tracker</b></td>
<td class="org-left"><a href="https://github.com/fniessen/refcard-org-mode/issues">https://github.com/fniessen/refcard-org-mode/issues</a></td>
</tr>
<tr>
<td class="org-left"><b>Source</b></td>
<td class="org-left"><a href="https://github.com/fniessen/refcard-org-mode">https://github.com/fniessen/refcard-org-mode</a></td>
</tr>
</tbody>
</table>
<div id="outline-container-org213d0b3" class="outline-2">
<h2 id="org213d0b3">Summary</h2>
<div class="outline-text-2" id="text-org213d0b3">
<p>
<b>You will learn to:</b>
</p>
<ul class="org-ul">
<li>write your docs in Org mode</li>
<li>create tables</li>
<li>create custom code blocks</li>
<li>and much more!</li>
</ul>
<p>
This is an Org mode document, using the <code>.org</code> extension (supported by GitHub).
</p>
<p>
<b>Org mode</b> is an easy-to-write <i>plain text</i> formatting syntax for authoring notes,
articles, LaTeX documents, books, Web pages, Beamer slide decks and much more!
</p>
<p>
This is a cheat sheet for <b>Org mode 8</b> (because of some markup syntax changes
since Org mode 7), using <a href="https://github.com/fniessen/org-html-themes">ReadTheOrg CSS</a>.
</p>
<p>
Reading through all the <a href="http://orgmode.org/org.pdf">documentation</a> is highly recommended, but for the truly
impatient, following are some quick steps to get started.
</p>
</div>
</div>
<div id="outline-container-org636ab66" class="outline-2">
<h2 id="org636ab66">ADVERT: Elevate your Emacs skills in Paris, Utrecht, Leuven or Valencia!</h2>
<div class="outline-text-2" id="text-org636ab66">
<p>
<b>Unlock the power of Emacs! Join my next exclusive “Emacs Boost” course!</b>
</p>
<p>
Ready to <i>supercharge your productivity</i> and become an Emacs ninja? Look no
further!
</p>
<p>
<b>What you’ll learn:</b>
</p>
<ul class="org-ul">
<li>Master Emacs from the basics to advanced tricks.</li>
<li><i>Boost your editing efficiency</i> and streamline your workflow.</li>
<li>Customize Emacs to fit your unique needs.</li>
<li>And much more!</li>
</ul>
<p>
<b>Audience:</b> Open to anyone interested in Emacs, from beginners to advanced
users.
</p>
<p>
<b>Why choose my course?</b>
</p>
<ul class="org-ul">
<li>Expert instructor with 25 years of Emacs experience.</li>
<li><i>Hands-on exercises</i> to reinforce your learning.</li>
<li><i>Networking opportunities</i> with like-minded Emacs enthusiasts.</li>
<li>Personalized attention.</li>
</ul>
<p>
Don’t miss this opportunity to take your Emacs skills to the next level! <br />
</p>
<p>
Visit <a href="https://emacsboost.com/en/">https://emacsboost.com/en/</a> for more information, dates and locations, and
to <i>reserve your seat</i>.
</p>
</div>
</div>
<div id="outline-container-orgd6b05a7" class="outline-2">
<h2 id="orgd6b05a7">Reference card</h2>
<div class="outline-text-2" id="text-orgd6b05a7">
<div id="table-of-contents" role="doc-toc">
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
<li><a href="#org213d0b3">Summary</a></li>
<li><a href="#org636ab66">ADVERT: Elevate your Emacs skills in Paris, Utrecht, Leuven or Valencia!</a></li>
<li><a href="#orgd6b05a7">Reference card</a></li>
<li><a href="#orgaa600a2">Document header</a></li>
<li><a href="#org42d3b30">Document settings</a>
<ul>
<li><a href="#org0366317">Document description</a></li>
<li><a href="#org6bb9d44">Section numbering</a></li>
<li><a href="#orgaf54b03">Table of contents</a></li>
<li><a href="#orge3037d2">List of figures</a></li>
<li><a href="#org613b0ba">List of tables</a></li>
<li><a href="#org88dc4d6">List of equations</a></li>
</ul>
</li>
<li><a href="#org13f4f40">Section titles (headings)</a>
<ul>
<li><a href="#orgb2cd12d">Bigger heading (level 2)</a></li>
<li><a href="#orgc0823ad">Numbered headings</a></li>
</ul>
</li>
<li><a href="#org124b781">Paragraphs</a>
<ul>
<li><a href="#org06581fa">Normal</a></li>
<li><a href="#org9369fc7">Line breaks</a></li>
<li><a href="#org30fe1f2">Horizontal rules</a></li>
<li><a href="#org68a5ae2">Text width</a></li>
</ul>
</li>
<li><a href="#org176c9f6">Formatting text</a>
<ul>
<li><a href="#orgcd44c93">Bold and italic</a></li>
<li><a href="#org4ca1054">Monospace, superscript and subscript</a></li>
<li><a href="#orgef3295e">Smart punctuation</a></li>
</ul>
</li>
<li><a href="#org9effe60">Lists</a>
<ul>
<li><a href="#org5a0b940">Unordered lists</a></li>
<li><a href="#org6706c8d">Checklists</a></li>
<li><a href="#org24b2792">Ordered lists</a></li>
<li><a href="#org0441a3f">Definition lists</a></li>
<li><a href="#org0ae739d">Separating lists</a></li>
</ul>
</li>
<li><a href="#org3b19936">Tables</a>
<ul>
<li><a href="#org954d25a">Simple table</a></li>
<li><a href="#org0e22a19">Column formatting</a></li>
<li><a href="#org6e60044">Header row</a></li>
<li><a href="#orga2e9114">A very long table</a></li>
<li><a href="#org78a382a">Table placement</a></li>
<li><a href="#orgcbfa248">Align tables on the page</a></li>
<li><a href="#org791edea">Table size</a></li>
<li><a href="#org16f3688">CSV</a></li>
</ul>
</li>
<li><a href="#links">Links</a>
<ul>
<li><a href="#org760c751">External links</a></li>
<li><a href="#org446e708">Internal links</a></li>
<li><a href="#org222672e">Extensions that define new hyperlinks targets</a></li>
</ul>
</li>
<li><a href="#org1ad8f03">Images</a>
<ul>
<li><a href="#org99882d2">Inline picture</a></li>
<li><a href="#org5f5bfb7">Image alignment (using positioning)</a></li>
<li><a href="#orgc2e80cd">Image attributes and values</a></li>
<li><a href="#orgad073e3">Figures</a></li>
</ul>
</li>
<li><a href="#org7f56eaa">Videos</a></li>
<li><a href="#org7ac71ee">Admonitions</a>
<ul>
<li><a href="#orge99a246">Base admonitions</a></li>
<li><a href="#orgf891ccc">Additional admonitions</a></li>
<li><a href="#orga72b9eb">Todo admonition</a></li>
</ul>
</li>
<li><a href="#orge71560f">Centered text</a></li>
<li><a href="#org1e42800">Sidebar</a></li>
<li><a href="#org644388b">Example</a></li>
<li><a href="#orgf7ccadd">Prose excerpts</a>
<ul>
<li><a href="#orgedd7fe3">Quote</a></li>
<li><a href="#org142dd24">Verse</a></li>
<li><a href="#org8acee8c">Block quote with optional attribution line</a></li>
<li><a href="#org9ba0241">Block quotes with their own class attribute</a></li>
<li><a href="#org53bfb4d">Non-breaking space</a></li>
</ul>
</li>
<li><a href="#org397d80d">Comments</a></li>
<li><a href="#orga39d301">Substitutions</a>
<ul>
<li><a href="#orgff98529">General replacements</a></li>
<li><a href="#org47a731c">Styled references</a></li>
<li><a href="#orgf4d65c8">Special characters</a></li>
</ul>
</li>
<li><a href="#orgacc2276">Source code</a>
<ul>
<li><a href="#org092a574">Inline code</a></li>
<li><a href="#orge28eff4">Code blocks (with syntax highlighting)</a></li>
<li><a href="#org25f905e">Source mode</a></li>
<li><a href="#org706398d">Line break</a></li>
<li><a href="#org74d7f8e">Line numbers</a></li>
<li><a href="#orgd8107c6">Callouts</a></li>
</ul>
</li>
<li><a href="#org3128f43">Math</a>
<ul>
<li><a href="#orgbc9163c">Inline math expressions</a></li>
<li><a href="#orged54a86">Math expressions in display mode</a></li>
<li><a href="#orga87070a">Equation numbers</a></li>
</ul>
</li>
<li><a href="#org64913bc">Miscellaneous effects</a>
<ul>
<li><a href="#org10fc907">Include Org files</a></li>
<li><a href="#org41f78e6">Raw HTML</a></li>
<li><a href="#org5176622">Raw LaTeX</a></li>
</ul>
</li>
<li><a href="#org73800e7">Footnotes </a></li>
<li><a href="#org18e3cfa">Useful extensions</a>
<ul>
<li><a href="#org0aead42">Todo extension</a></li>
<li><a href="#org6916209">Bigblow extension</a></li>
</ul>
</li>
<li><a href="#orge1bd91a">Graphs with Graphviz</a>
<ul>
<li><a href="#org6634d13">Undirected</a></li>
<li><a href="#org5f86972">Directed</a></li>
</ul>
</li>
<li><a href="#orgdc3c72f">Graphs with R</a>
<ul>
<li><a href="#org7851215">Example</a></li>
</ul>
</li>
<li><a href="#org207b438">Citations</a></li>
<li><a href="#orgf69ecbc">Appendix</a>
<ul>
<li><a href="#org9b8392c">Index</a></li>
<li><a href="#org10c392c">Bibliography</a></li>
<li><a href="#orgd7ef595">Glossary</a></li>
</ul>
</li>
<li><a href="#org2dc9e5c">Contributing</a>
<ul>
<li><a href="#orgc42bda0">Issues</a></li>
<li><a href="#orgb79aa27">Patches</a></li>
<li><a href="#org8ef78c6">Donations</a></li>
</ul>
</li>
<li><a href="#orgd368a4a">License</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="outline-container-orgaa600a2" class="outline-2">
<h2 id="orgaa600a2">Document header</h2>
<div class="outline-text-2" id="text-orgaa600a2">
<p>
Title and author line:
</p>
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-document-info-keyword">#+TITLE:</span> <span class="org-org-document-title">Org mode syntax examples</span>
<span class="org-org-document-info-keyword">#+AUTHOR:</span> <span class="org-org-document-info">Fabrice Niessen</span>
My document provides...
</pre>
</div>
<p>
It’s a good practice to also include an email line following the author line.
</p>
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-document-info-keyword">#+EMAIL:</span> <span class="org-org-document-info">john.doe@example.com</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org42d3b30" class="outline-2">
<h2 id="org42d3b30">Document settings</h2>
<div class="outline-text-2" id="text-org42d3b30">
</div>
<div id="outline-container-org0366317" class="outline-3">
<h3 id="org0366317">Document description</h3>
<div class="outline-text-3" id="text-org0366317">
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-meta-line">#+DESCRIPTION: This document catalogs a set of tips and tricks for composing documents in Org mode.</span>
<span class="org-org-meta-line">#+KEYWORDS: org-mode, syntax, quick reference, cheat sheet, recommended practices, latex, beamer, html</span>
<span class="org-org-meta-line">#+LANGUAGE: en</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org6bb9d44" class="outline-3">
<h3 id="org6bb9d44">Section numbering</h3>
<div class="outline-text-3" id="text-org6bb9d44">
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-meta-line">#+OPTIONS: H:4</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-meta-line">#+OPTIONS: num:nil</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgaf54b03" class="outline-3">
<h3 id="orgaf54b03">Table of contents</h3>
<div class="outline-text-3" id="text-orgaf54b03">
<p>
Set the <code>toc</code> attribute to activate an auto-generated table of contents (limited
to its 2 first levels) at the top of document.
</p>
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-meta-line">#+OPTIONS: toc:2</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-meta-line">#+OPTIONS: p:t</span>
</pre>
</div>
<div class="note" id="org2906826">
<p>
The <code>ALT_TITLE</code> property allows to set an alternate title (shorter, for example)
for a given headline in the table of contents and other running heads.
</p>
</div>
<p>
To locally insert the TOC at some random place, use the <code>#+TOC: headlines [n]</code>
feature; for example:
</p>
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-meta-line">#+TOC: headlines 2</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orge3037d2" class="outline-3">
<h3 id="orge3037d2">List of figures</h3>
<div class="outline-text-3" id="text-orge3037d2">
<p>
<code>#+TOC: figures</code> is not implemented yet in the HTML backend.
</p>
</div>
</div>
<div id="outline-container-org613b0ba" class="outline-3">
<h3 id="org613b0ba">List of tables</h3>
<div class="outline-text-3" id="text-org613b0ba">
<p>
<code>#+TOC: tables</code> is already implemented in the HTML backend.
</p>
</div>
</div>
<div id="outline-container-org88dc4d6" class="outline-3">
<h3 id="org88dc4d6">List of equations</h3>
</div>
</div>
<div id="outline-container-org13f4f40" class="outline-2">
<h2 id="org13f4f40">Section titles (headings)</h2>
<div class="outline-text-2" id="text-org13f4f40">
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-level-1">* Biggest heading (level 1)</span>
New chapter.
</pre>
</div>
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-level-2">** Bigger heading (level 2)</span>
New section.
<span class="org-org-level-3">*** Big heading (level 3)</span>
New sub-section.
<span class="org-org-level-4">**** Heading (level 4)</span>
New sub-sub-section.
</pre>
</div>
</div>
<div id="outline-container-orgb2cd12d" class="outline-3">
<h3 id="orgb2cd12d">Bigger heading (level 2)</h3>
<div class="outline-text-3" id="text-orgb2cd12d">
<p>
New section.
</p>
</div>
<div id="outline-container-orgdbed038" class="outline-4">
<h4 id="orgdbed038">Big heading (level 3)</h4>
<div class="outline-text-4" id="text-orgdbed038">
<p>
New sub-section.
</p>
</div>
<div id="outline-container-orgca792dc" class="outline-5">
<h5 id="orgca792dc">Heading (level 4)</h5>
<div class="outline-text-5" id="text-orgca792dc">
<p>
New sub-sub-section.
</p>
</div>
</div>
</div>
</div>
<div id="outline-container-orgc0823ad" class="outline-3">
<h3 id="orgc0823ad">Numbered headings</h3>
<div class="outline-text-3" id="text-orgc0823ad">
<p>
You can create numbered headings up to a certain level by setting an option:
</p>
<div class="org-src-container">
<pre class="src src-org"><span class="org-org-meta-line">#+OPTIONS: H:4</span>
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org124b781" class="outline-2">
<h2 id="org124b781">Paragraphs</h2>
<div class="outline-text-2" id="text-org124b781">
</div>
<div id="outline-container-org06581fa" class="outline-3">
<h3 id="org06581fa">Normal</h3>
<div class="outline-text-3" id="text-org06581fa">
<div class="org-src-container">
<pre class="src src-org">A single newline has no effect.
This line is part of the same paragraph.
But an empty line
demarcates paragraphs.
</pre>
</div>
<p>
A single newline has no effect.
This line is part of the same paragraph.
</p>
<p>
But an empty line
</p>
<p>
demarcates paragraphs.
</p>
</div>
</div>
<div id="outline-container-org9369fc7" class="outline-3">
<h3 id="org9369fc7">Line breaks</h3>
<div class="outline-text-3" id="text-org9369fc7">
<div class="org-src-container">
<pre class="src src-org">By entering two consecutive backslashes, \\
you can force a line break
without starting a new paragraph.
</pre>
</div>
<p>
By entering two consecutive backslashes, <br />
you can force a line break
without starting a new paragraph.
</p>
</div>
</div>
<div id="outline-container-org30fe1f2" class="outline-3">
<h3 id="org30fe1f2">Horizontal rules</h3>
<div class="outline-text-3" id="text-org30fe1f2">
<div class="org-src-container">
<pre class="src src-org">For an horizontal line, insert at least 5 dashes: this is some text above an
horizontal rule
-----
and some text below it.
</pre>
</div>
<p>
For an horizontal line, insert at least 5 dashes: this is some text above an
horizontal rule
</p>
<hr />
<p>
and some text below it.
</p>
</div>
</div>
<div id="outline-container-org68a5ae2" class="outline-3">
<h3 id="org68a5ae2">Text width</h3>
<div class="outline-text-3" id="text-org68a5ae2">
<p>
One morning, when Gregor Samsa woke from troubled dreams, he found himself
transformed in his bed into a horrible vermin. He lay on his armour-like back,
and if he lifted his head a little he could see his brown belly, slightly domed
and divided by arches into stiff sections. The bedding was hardly able to cover
it and seemed ready to slide off any moment. His many legs, pitifully thin
compared with the size of the rest of him, waved about helplessly as he looked.
</p>
</div>
</div>
</div>
<div id="outline-container-org176c9f6" class="outline-2">
<h2 id="org176c9f6">Formatting text</h2>
<div class="outline-text-2" id="text-org176c9f6">
<p>
Text effects.
</p>
</div>
<div id="outline-container-orgcd44c93" class="outline-3">
<h3 id="orgcd44c93">Bold and italic</h3>
<div class="outline-text-3" id="text-orgcd44c93">
<div class="org-src-container">
<pre class="src src-org"><span class="org-italic">Emphasize</span> (italics), <span class="org-bold">strongly</span> (bold), and <span class="org-bold">/very strongly/</span> (bold italics).
</pre>
</div>
<p>
<i>Emphasize</i> (italics), <b>strongly</b> (bold), and <b><i>very strongly</i></b> (bold italics).
</p>
<p>
Markup elements can be nested:
</p>
<div class="org-src-container">
<pre class="src src-org">This is <span class="org-italic">italic text which contains </span><span class="org-italic"><span class="org-underline">underlined text</span></span><span class="org-italic"> within it</span>, whereas <span class="org-underline">this is</span>
<span class="org-underline">normal underlined text</span>.
</pre>
</div>
<p>
This is <i>italic text which contains <span class="underline">underlined text</span> within it</i>, whereas <span class="underline">this is
normal underlined text</span>.
</p>
<p>
Markup can span across multiple lines, by default <b>no more than 2</b>:
</p>
<div class="org-src-container">
<pre class="src src-org">*This
is not
bold.*
</pre>
</div>
<p>
<b>This
is not
bold.</b>
</p>
<p>
Org mode does not interpret a marker surrounded by alphanumeric characters as an
emphasis marker. So, you can’t (easily) emphasize just part of a word:
</p>
<div class="org-src-container">
<pre class="src src-org">Not feas*ible*.
</pre>
</div>
<p>
Not feas*ible*.
</p>
</div>
</div>
<div id="outline-container-org4ca1054" class="outline-3">
<h3 id="org4ca1054">Monospace, superscript and subscript</h3>
<div class="outline-text-3" id="text-org4ca1054">
<p>
Other elements to use sparingly are:
</p>
<div class="org-src-container">
<pre class="src src-org">- monospaced typewriter font for <span class="org-org-code">inline code</span>
- monospaced typewriter font for <span class="org-org-verbatim">verbatim text</span>
- <span class="custom">deleted text</span> (vs. <span class="org-underline">inserted text</span>)
- text with super<span class="org-org-latex-and-related">script</span>, such as 2<span class="org-org-latex-and-related">10</span>
- text with sub<span class="org-org-latex-and-related">script</span>, such as H<span class="org-org-latex-and-related">2</span>O
</pre>
</div>
<ul class="org-ul">
<li>monospaced typewriter font for <code>inline code</code></li>
<li>monospaced typewriter font for <code>verbatim text</code></li>
<li><del>deleted text</del> (vs. <span class="underline">inserted text</span>)</li>
<li>text with super<sup>script</sup>, such as 2<sup>10</sup></li>
<li>text with sub<sub>script</sub>, such as H<sub>2</sub>O</li>
</ul>
</div>
</div>
<div id="outline-container-orgef3295e" class="outline-3">
<h3 id="orgef3295e">Smart punctuation</h3>
<div class="outline-text-3" id="text-orgef3295e">
<p>
If the XXX option is specified, Org mode will produce typographically correct
output, converting straight quotes to curly quotes, <code>---</code> to em-dashes, <code>--</code> to
en-dashes, and <code>...</code> to ellipses.
</p>
</div>
</div>
</div>
<div id="outline-container-org9effe60" class="outline-2">
<h2 id="org9effe60">Lists</h2>
<div class="outline-text-2" id="text-org9effe60">
<p>
Org markup allows you to create <b>bulleted</b> or <b>numbered</b> lists. It allows any
combination of the two list types.
</p>
</div>
<div id="outline-container-org5a0b940" class="outline-3">
<h3 id="org5a0b940">Unordered lists</h3>
<div class="outline-text-3" id="text-org5a0b940">
<p>
Itemized lists are marked with bullets. Create them with a minus or a plus sign.
</p>
<p>
They are convenient to organize data, and make the document prettier, and easier
to read.
</p>
<div class="org-src-container">
<pre class="src src-org">- Item with some lengthy text wrapping hopefully across several lines. We add
a few words to really show the line wrapping.
- Bullet.
+ Bullet.
* Bullet.
</pre>
</div>
<ul class="org-ul">
<li>Item with some lengthy text wrapping hopefully across several lines. We add
a few words to really show the line wrapping.</li>
<li>Bullet.
<ul class="org-ul">
<li>Bullet.
<ul class="org-ul">
<li>Bullet.</li>
</ul></li>
</ul></li>
</ul>
</div>
</div>
<div id="outline-container-org6706c8d" class="outline-3">
<h3 id="org6706c8d">Checklists</h3>
<div class="outline-text-3" id="text-org6706c8d">
<div class="org-src-container">
<pre class="src src-org">- <span class="org-org-checkbox">[X]</span> Checked.
- <span class="org-org-checkbox">[-]</span> Half-checked.
- <span class="org-org-checkbox">[ ]</span> Not checked.
- Normal list item.
</pre>
</div>
<ul class="org-ul">
<li class="on">☑ Checked.</li>
<li class="trans">☐ Half-checked.</li>
<li class="off">☐ Not checked.</li>
<li>Normal list item.</li>
</ul>
</div>
</div>
<div id="outline-container-org24b2792" class="outline-3">
<h3 id="org24b2792">Ordered lists</h3>
<div class="outline-text-3" id="text-org24b2792">
<p>
Enumerated lists are marked with numbers or letters:
</p>
<div class="org-src-container">
<pre class="src src-org">1. Arabic (decimal) numbered list item. We add a few words to show the line
wrapping.
A. Upper case alpha (letter) numbered list item.
a. Lower alpha.
b. Lower alpha.
B. Upper alpha.
2. Number.
</pre>
</div>
<ol class="org-ol">
<li>Arabic (decimal) numbered list item. We add a few words to show the line
wrapping.
<ol class="org-ol">
<li>Upper case alpha (letter) numbered list item.
<ol class="org-ol">
<li>Lower alpha.</li>
<li>Lower alpha.</li>
</ol></li>
<li>Upper alpha.</li>
</ol></li>
<li>Number.</li>
</ol>
<p>
You can have ordered lists with jumping numbers:
</p>
<div class="org-src-container">
<pre class="src src-org">2. [@2] We start with point number 2.
3. Automatically numbered item.
</pre>
</div>
<ol class="org-ol">
<li value="2">We start with point number 2.</li>
<li>Automatically numbered item.</li>
</ol>
</div>
</div>
<div id="outline-container-org0441a3f" class="outline-3">
<h3 id="org0441a3f">Definition lists</h3>
<div class="outline-text-3" id="text-org0441a3f">
<p>
Labeled, multi-line lists.