├── cheat_sheet.pdf ├── cheat_sheet_pandoc.pdf ├── nickhighamwordpress.jpg ├── readme.md ├── cheat_sheet_pandoc.txt ├── cheat_sheet.org ├── cheat_sheet.txt ├── cheat_sheet.tex ├── cheat_sheet_pandoc.html ├── cheat_sheet_pandoc.tex └── cheat_sheet.html /cheat_sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higham/org-mode-syntax-cheat-sheet/HEAD/cheat_sheet.pdf -------------------------------------------------------------------------------- /cheat_sheet_pandoc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higham/org-mode-syntax-cheat-sheet/HEAD/cheat_sheet_pandoc.pdf -------------------------------------------------------------------------------- /nickhighamwordpress.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/higham/org-mode-syntax-cheat-sheet/HEAD/nickhighamwordpress.jpg -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | Org Mode Syntax Cheat Sheet 2 | =========================== 3 | 4 | A document `cheat_sheet.org` showing the most important aspects of Org mode 5 | syntax. It is adapted from an example of Org syntax in the article 6 | [Org-Mode Is One of the Most Reasonable Markup Language to Use for 7 | Text](http://karl-voit.at/2017/09/23/orgmode-as-markup-only/) by Karl Voit. 8 | 9 | Contents 10 | --------- 11 | 12 | * `cheat_sheet.org`: The cheat sheet (an Org mode file). If you are viewing 13 | it on GitHub make sure to click "Raw", as GitHub automatically 14 | interprets and formats Org files. 15 | 16 | * `cheat_sheet.html`: The cheat sheet exported to an html file. 17 | 18 | * `cheat_sheet.txt`: The cheat sheet exported to a txt file. 19 | 20 | * `cheat_sheet.tex`: The cheat sheet exported to a LaTeX file. 21 | 22 | * `cheat_sheet.pdf`: A PDF cheat sheet produced from the LateX file. 23 | 24 | * `cheat_sheet_pandoc.html`: Version exported by Pandoc. 25 | 26 | * `cheat_sheet_pandoc.txt`: Version exported by Pandoc. 27 | 28 | * `cheat_sheet_pandoc.tex`: Version exported by Pandoc. 29 | 30 | * `cheat_sheet_pandoc.pdf`: Version exported by Pandoc. 31 | 32 | Note 33 | ---- 34 | 35 | The exported files were produced in Emacs using 36 | the `org-export-dispatch` command (C-c C-e) or, 37 | for the files with `_pandoc` at the end of their name, 38 | by Pandoc with a call such as 39 | `pandoc -s cheat_sheet.org -o cheat_sheet_pandoc.html`. 40 | 41 | GitHub renders the Org file. 42 | Click "Raw" to see it in its original plain text form. 43 | -------------------------------------------------------------------------------- /cheat_sheet_pandoc.txt: -------------------------------------------------------------------------------- 1 | --- 2 | tblfm: '$4=$3/$2;%.1f' 3 | title: Org Mode Syntax Cheat Sheet 4 | --- 5 | 6 | Top Level Heading 7 | ================= 8 | 9 | Second Level Heading 10 | -------------------- 11 | 12 | ### Third Level Heading 13 | 14 | Paragraphs are separated by at least one empty line. 15 | 16 | **bold** *italic* **underlined** ~~strikethrough~~ `monospaced` 17 | 18 | [Link description](https://nickhigham.wordpress.com/) 19 | 20 | A link without a description. 21 | 22 | A DOI (digital object identifier) link: [Matching Exponential-Based and 23 | Resolvent-Based Centrality Measures](doi:10.1093/comnet/cnv016) 24 | 25 | A horizontal line, fill-width across the page: 26 | 27 | ------------------------------------------------------------------------ 28 | 29 | - First item in a list. 30 | - Second item. 31 | - Sub-item 32 | 1. Numbered item. 33 | 2. Another item. 34 | - \[ \] Item yet to be done. 35 | - \[X\] Item that has been done. 36 | 37 | LaTeX macros can be included: $x_2 = \alpha + \beta^2 - \gamma$. 38 | 39 | 1. [TODO]{.todo .TODO} A todo item. 40 | 41 | 2. [DONE]{.done .DONE} A todo item that has been done. 42 | 43 | > This text will be indented on both the left margin and the right 44 | > margin. 45 | 46 | ``` {.example} 47 | Text to be displayed verbatim (as-is), without markup 48 | (*bold* does not change font), e.g., for source code. 49 | Line breaks are respected. 50 | ``` 51 | 52 | Some MATLAB source code: 53 | 54 | ``` {.matlab} 55 | >> rand(1,3) 56 | ans = 57 | 5.5856e-01 7.5663e-01 9.9548e-01 58 | ``` 59 | 60 | Some arbitrary text to be typeset verbatim in monospace font: 61 | 62 | ``` {.text} 63 | Apples, oranges, 64 | cucumbers, tomatoes 65 | ``` 66 | 67 | Country Abstracts Downloads Ratio 68 | ---------------- ----------- ----------- ------- 69 | United States 7 497 71.0 70 | Unknown 4 83 20.8 71 | United Kingdom 3 41 13.7 72 | Germany 3 29 9.7 73 | Netherlands 2 21 10.5 74 | Japan 1 18 18.0 75 | 76 | Include an image: 77 | -------------------------------------------------------------------------------- /cheat_sheet.org: -------------------------------------------------------------------------------- 1 | #+TITLE: Org Mode Syntax Cheat Sheet 2 | #+OPTIONS: toc:nil 3 | # Adapted from http://karl-voit.at/2017/09/23/orgmode-as-markup-only/ 4 | 5 | * Top Level Heading 6 | ** Second Level Heading 7 | *** Third Level Heading 8 | 9 | # A comment line. This line will not be exported. 10 | 11 | Paragraphs are separated by at least one empty line. 12 | 13 | *bold* /italic/ _underlined_ +strikethrough+ =monospaced= 14 | 15 | [[https://nickhigham.wordpress.com/][Link description]] 16 | 17 | https://nickhigham.wordpress.com/ A link without a description. 18 | 19 | A DOI (digital object identifier) link: 20 | [[doi:10.1093/comnet/cnv016][Matching Exponential-Based and Resolvent-Based Centrality Measures]] 21 | 22 | A horizontal line, fill-width across the page: 23 | ----- 24 | 25 | - First item in a list. 26 | - Second item. 27 | - Sub-item 28 | 1. Numbered item. 29 | 2. Another item. 30 | - [ ] Item yet to be done. 31 | - [X] Item that has been done. 32 | 33 | LaTeX macros can be included: $x_2 = \alpha + \beta^2 - \gamma$. 34 | 35 | **** TODO A todo item. 36 | **** DONE A todo item that has been done. 37 | 38 | #+BEGIN_QUOTE 39 | This text will be indented on both the left margin and the right margin. 40 | #+END_QUOTE 41 | 42 | : Text to be displayed verbatim (as-is), without markup 43 | : (*bold* does not change font), e.g., for source code. 44 | : Line breaks are respected. 45 | 46 | Some MATLAB source code: 47 | #+BEGIN_SRC matlab 48 | >> rand(1,3) 49 | ans = 50 | 5.5856e-01 7.5663e-01 9.9548e-01 51 | #+END_SRC 52 | 53 | Some arbitrary text to be typeset verbatim in monospace font: 54 | #+BEGIN_SRC text 55 | Apples, oranges, 56 | cucumbers, tomatoes 57 | #+END_SRC 58 | 59 | # Table and spreadsheet. The column headed "Ratio" is automatically 60 | # calculated by hitting C-c C-c in Emacs on the #+TBLFM line. 61 | 62 | |----------------+-----------+-----------+-------| 63 | | Country | Abstracts | Downloads | Ratio | 64 | |----------------+-----------+-----------+-------| 65 | | United States | 7 | 497 | 71.0 | 66 | | Unknown | 4 | 83 | 20.8 | 67 | | United Kingdom | 3 | 41 | 13.7 | 68 | | Germany | 3 | 29 | 9.7 | 69 | | Netherlands | 2 | 21 | 10.5 | 70 | | Japan | 1 | 18 | 18.0 | 71 | |----------------+-----------+-----------+-------| 72 | #+TBLFM: $4=$3/$2;%.1f 73 | 74 | Include an image: 75 | file:nickhighamwordpress.jpg 76 | 77 | -------------------------------------------------------------------------------- /cheat_sheet.txt: -------------------------------------------------------------------------------- 1 | _____________________________ 2 | 3 | ORG MODE SYNTAX CHEAT SHEET 4 | 5 | Nick Higham 6 | _____________________________ 7 | 8 | 9 | 10 | 11 | 12 | 1 Top Level Heading 13 | =================== 14 | 15 | 1.1 Second Level Heading 16 | ~~~~~~~~~~~~~~~~~~~~~~~~ 17 | 18 | 1.1.1 Third Level Heading 19 | ------------------------- 20 | 21 | Paragraphs are separated by at least one empty line. 22 | 23 | *bold* /italic/ _underlined_ +strikethrough+ `monospaced' 24 | 25 | [Link description] 26 | 27 | [https://nickhigham.wordpress.com/] A link without a description. 28 | 29 | A DOI (digital object identifier) link: [Matching Exponential-Based 30 | and Resolvent-Based Centrality Measures] 31 | 32 | A horizontal line, fill-width across the page: 33 | ---------------------------------------------------------------------- 34 | 35 | - First item in a list. 36 | - Second item. 37 | - Sub-item 38 | 1. Numbered item. 39 | 2. Another item. 40 | - [ ] Item yet to be done. 41 | - [X] Item that has been done. 42 | 43 | LaTeX macros can be included: $x_2 = \alpha + \beta^2 - \gamma$. 44 | 45 | 46 | [Link description] https://nickhigham.wordpress.com/ 47 | 48 | [Matching Exponential-Based and Resolvent-Based Centrality Measures] 49 | https://doi.org/10.1093/comnet/cnv016 50 | 51 | * 1.1.1.1 TODO A todo item. 52 | 53 | 54 | * 1.1.1.2 DONE A todo item that has been done. 55 | 56 | This text will be indented on both the left margin and the 57 | right margin. 58 | 59 | ,---- 60 | | Text to be displayed verbatim (as-is), without markup 61 | | (*bold* does not change font), e.g., for source code. 62 | | Line breaks are respected. 63 | `---- 64 | 65 | Some MATLAB source code: 66 | ,---- 67 | | >> rand(1,3) 68 | | ans = 69 | | 5.5856e-01 7.5663e-01 9.9548e-01 70 | `---- 71 | 72 | Some arbitrary text to be typeset verbatim in monospace font: 73 | ,---- 74 | | Apples, oranges, 75 | | cucumbers, tomatoes 76 | `---- 77 | 78 | --------------------------------------------- 79 | Country Abstracts Downloads Ratio 80 | --------------------------------------------- 81 | United States 7 497 71.0 82 | Unknown 4 83 20.8 83 | United Kingdom 3 41 13.7 84 | Germany 3 29 9.7 85 | Netherlands 2 21 10.5 86 | Japan 1 18 18.0 87 | --------------------------------------------- 88 | 89 | Include an image: [file:nickhighamwordpress.jpg] 90 | -------------------------------------------------------------------------------- /cheat_sheet.tex: -------------------------------------------------------------------------------- 1 | % Created 2017-11-02 Thu 14:47 2 | % Intended LaTeX compiler: pdflatex 3 | \documentclass[11pt]{article} 4 | \usepackage[utf8]{inputenc} 5 | \usepackage[T1]{fontenc} 6 | \usepackage{graphicx} 7 | \usepackage{grffile} 8 | \usepackage{longtable} 9 | \usepackage{wrapfig} 10 | \usepackage{rotating} 11 | \usepackage[normalem]{ulem} 12 | \usepackage{amsmath} 13 | \usepackage{textcomp} 14 | \usepackage{amssymb} 15 | \usepackage{capt-of} 16 | \usepackage{hyperref} 17 | \author{Nick Higham} 18 | \date{\today} 19 | \title{Org Mode Syntax Cheat Sheet} 20 | \hypersetup{ 21 | pdfauthor={Nick Higham}, 22 | pdftitle={Org Mode Syntax Cheat Sheet}, 23 | pdfkeywords={}, 24 | pdfsubject={}, 25 | pdfcreator={Emacs 25.2.1 (Org mode 9.0.5)}, 26 | pdflang={English}} 27 | \begin{document} 28 | 29 | \maketitle 30 | 31 | \section{Top Level Heading} 32 | \label{sec:org598edd9} 33 | \subsection{Second Level Heading} 34 | \label{sec:org431a9ba} 35 | \subsubsection{Third Level Heading} 36 | \label{sec:org0117eb8} 37 | 38 | Paragraphs are separated by at least one empty line. 39 | 40 | \textbf{bold} \emph{italic} \uline{underlined} \sout{strikethrough} \texttt{monospaced} 41 | 42 | \href{https://nickhigham.wordpress.com/}{Link description} 43 | 44 | \url{https://nickhigham.wordpress.com/} A link without a description. 45 | 46 | A DOI (digital object identifier) link: 47 | \href{https://doi.org/10.1093/comnet/cnv016}{Matching Exponential-Based and Resolvent-Based Centrality Measures} 48 | 49 | A horizontal line, fill-width across the page: 50 | 51 | \rule{\linewidth}{0.5pt} 52 | 53 | \begin{itemize} 54 | \item First item in a list. 55 | \item Second item. 56 | \begin{itemize} 57 | \item Sub-item 58 | \begin{enumerate} 59 | \item Numbered item. 60 | \item Another item. 61 | \end{enumerate} 62 | \end{itemize} 63 | \item $\square$ Item yet to be done. 64 | \item $\boxtimes$ Item that has been done. 65 | \end{itemize} 66 | 67 | \LaTeX{} macros can be included: \(x_2 = \alpha + \beta^2 - \gamma\). 68 | 69 | \begin{enumerate} 70 | \item {\bfseries\sffamily TODO} A todo item. 71 | \label{sec:org0d9137d} 72 | \item {\bfseries\sffamily DONE} A todo item that has been done. 73 | \label{sec:orge343ed2} 74 | 75 | \begin{quote} 76 | This text will be indented on both the left margin and the right margin. 77 | \end{quote} 78 | 79 | \begin{verbatim} 80 | Text to be displayed verbatim (as-is), without markup 81 | (*bold* does not change font), e.g., for source code. 82 | Line breaks are respected. 83 | \end{verbatim} 84 | 85 | Some MATLAB source code: 86 | \begin{verbatim} 87 | >> rand(1,3) 88 | ans = 89 | 5.5856e-01 7.5663e-01 9.9548e-01 90 | \end{verbatim} 91 | 92 | Some arbitrary text to be typeset verbatim in monospace font: 93 | \begin{verbatim} 94 | Apples, oranges, 95 | cucumbers, tomatoes 96 | \end{verbatim} 97 | 98 | \begin{center} 99 | \begin{tabular}{lrrr} 100 | \hline 101 | Country & Abstracts & Downloads & Ratio\\ 102 | \hline 103 | United States & 7 & 497 & 71.0\\ 104 | Unknown & 4 & 83 & 20.8\\ 105 | United Kingdom & 3 & 41 & 13.7\\ 106 | Germany & 3 & 29 & 9.7\\ 107 | Netherlands & 2 & 21 & 10.5\\ 108 | Japan & 1 & 18 & 18.0\\ 109 | \hline 110 | \end{tabular} 111 | \end{center} 112 | 113 | Include an image: 114 | \begin{center} 115 | \includegraphics[width=.9\linewidth]{nickhighamwordpress.jpg} 116 | \end{center} 117 | \end{enumerate} 118 | \end{document} -------------------------------------------------------------------------------- /cheat_sheet_pandoc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Org Mode Syntax Cheat Sheet 8 | 9 | 46 | 47 | 48 | 51 |

Top Level Heading

52 |

Second Level Heading

53 |

Third Level Heading

54 |

Paragraphs are separated by at least one empty line.

55 |

bold italic underlined strikethrough monospaced

56 |

Link description

57 |

https://nickhigham.wordpress.com/ A link without a description.

58 |

A DOI (digital object identifier) link: Matching Exponential-Based and Resolvent-Based Centrality Measures

59 |

A horizontal line, fill-width across the page:

60 |
61 | 74 |

LaTeX macros can be included: x2 = α + β2 − γ.

75 |
    76 |
  1. TODO A todo item.

  2. 77 |
  3. DONE A todo item that has been done.

    78 |
    79 |

    This text will be indented on both the left margin and the right margin.

    80 |
    81 |
    Text to be displayed verbatim (as-is), without markup 
     82 | (*bold* does not change font), e.g., for source code. 
     83 | Line breaks are respected. 
     84 | 
    85 |

    Some MATLAB source code:

    86 |
    >> rand(1,3)
     87 | ans =
     88 |    5.5856e-01   7.5663e-01   9.9548e-01
    89 |

    Some arbitrary text to be typeset verbatim in monospace font:

    90 |
    Apples, oranges,
     91 | cucumbers, tomatoes
     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 |
    CountryAbstractsDownloadsRatio
    United States749771.0
    Unknown48320.8
    United Kingdom34113.7
    Germany3299.7
    Netherlands22110.5
    Japan11818.0
    141 |

    Include an image: file:nickhighamwordpress.jpg

  4. 142 |
143 | 144 | 145 | -------------------------------------------------------------------------------- /cheat_sheet_pandoc.tex: -------------------------------------------------------------------------------- 1 | \documentclass[]{article} 2 | \usepackage{lmodern} 3 | \usepackage{amssymb,amsmath} 4 | \usepackage{ifxetex,ifluatex} 5 | \usepackage{fixltx2e} % provides \textsubscript 6 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex 7 | \usepackage[T1]{fontenc} 8 | \usepackage[utf8]{inputenc} 9 | \else % if luatex or xelatex 10 | \ifxetex 11 | \usepackage{mathspec} 12 | \else 13 | \usepackage{fontspec} 14 | \fi 15 | \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase} 16 | \fi 17 | % use upquote if available, for straight quotes in verbatim environments 18 | \IfFileExists{upquote.sty}{\usepackage{upquote}}{} 19 | % use microtype if available 20 | \IfFileExists{microtype.sty}{% 21 | \usepackage{microtype} 22 | \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts 23 | }{} 24 | \usepackage[unicode=true]{hyperref} 25 | \hypersetup{ 26 | pdftitle={Org Mode Syntax Cheat Sheet}, 27 | pdfborder={0 0 0}, 28 | breaklinks=true} 29 | \urlstyle{same} % don't use monospace font for urls 30 | \usepackage{color} 31 | \usepackage{fancyvrb} 32 | \newcommand{\VerbBar}{|} 33 | \newcommand{\VERB}{\Verb[commandchars=\\\{\}]} 34 | \DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}} 35 | % Add ',fontsize=\small' for more characters per line 36 | \newenvironment{Shaded}{}{} 37 | \newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{{#1}}}} 38 | \newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.56,0.13,0.00}{{#1}}} 39 | \newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}} 40 | \newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}} 41 | \newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}} 42 | \newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.53,0.00,0.00}{{#1}}} 43 | \newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} 44 | \newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} 45 | \newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} 46 | \newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} 47 | \newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.73,0.40,0.53}{{#1}}} 48 | \newcommand{\ImportTok}[1]{{#1}} 49 | \newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{{#1}}}} 50 | \newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.73,0.13,0.13}{\textit{{#1}}}} 51 | \newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}} 52 | \newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}} 53 | \newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{{#1}}} 54 | \newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{{#1}}} 55 | \newcommand{\VariableTok}[1]{\textcolor[rgb]{0.10,0.09,0.49}{{#1}}} 56 | \newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{{#1}}}} 57 | \newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.40,0.40,0.40}{{#1}}} 58 | \newcommand{\BuiltInTok}[1]{{#1}} 59 | \newcommand{\ExtensionTok}[1]{{#1}} 60 | \newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.74,0.48,0.00}{{#1}}} 61 | \newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.49,0.56,0.16}{{#1}}} 62 | \newcommand{\RegionMarkerTok}[1]{{#1}} 63 | \newcommand{\InformationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}} 64 | \newcommand{\WarningTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}} 65 | \newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}} 66 | \newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}} 67 | \newcommand{\NormalTok}[1]{{#1}} 68 | \usepackage{longtable,booktabs} 69 | % Fix footnotes in tables (requires footnote package) 70 | \IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{} 71 | \usepackage[normalem]{ulem} 72 | % avoid problems with \sout in headers with hyperref: 73 | \pdfstringdefDisableCommands{\renewcommand{\sout}{}} 74 | \IfFileExists{parskip.sty}{% 75 | \usepackage{parskip} 76 | }{% else 77 | \setlength{\parindent}{0pt} 78 | \setlength{\parskip}{6pt plus 2pt minus 1pt} 79 | } 80 | \setlength{\emergencystretch}{3em} % prevent overfull lines 81 | \providecommand{\tightlist}{% 82 | \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} 83 | \setcounter{secnumdepth}{0} 84 | % Redefines (sub)paragraphs to behave more like sections 85 | \ifx\paragraph\undefined\else 86 | \let\oldparagraph\paragraph 87 | \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}} 88 | \fi 89 | \ifx\subparagraph\undefined\else 90 | \let\oldsubparagraph\subparagraph 91 | \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}} 92 | \fi 93 | 94 | % set default figure placement to htbp 95 | \makeatletter 96 | \def\fps@figure{htbp} 97 | \makeatother 98 | 99 | 100 | \title{Org Mode Syntax Cheat Sheet} 101 | \date{} 102 | 103 | \begin{document} 104 | \maketitle 105 | 106 | \section{Top Level Heading}\label{top-level-heading} 107 | 108 | \subsection{Second Level Heading}\label{second-level-heading} 109 | 110 | \subsubsection{Third Level Heading}\label{third-level-heading} 111 | 112 | Paragraphs are separated by at least one empty line. 113 | 114 | \textbf{bold} \emph{italic} \textbf{underlined} \sout{strikethrough} 115 | \texttt{monospaced} 116 | 117 | \href{https://nickhigham.wordpress.com/}{Link description} 118 | 119 | \url{https://nickhigham.wordpress.com/} A link without a description. 120 | 121 | A DOI (digital object identifier) link: 122 | \href{doi:10.1093/comnet/cnv016}{Matching Exponential-Based and 123 | Resolvent-Based Centrality Measures} 124 | 125 | A horizontal line, fill-width across the page: 126 | 127 | \begin{center}\rule{0.5\linewidth}{\linethickness}\end{center} 128 | 129 | \begin{itemize} 130 | \tightlist 131 | \item 132 | First item in a list. 133 | \item 134 | Second item. 135 | 136 | \begin{itemize} 137 | \tightlist 138 | \item 139 | Sub-item 140 | 141 | \begin{enumerate} 142 | \tightlist 143 | \item 144 | Numbered item. 145 | \item 146 | Another item. 147 | \end{enumerate} 148 | \end{itemize} 149 | \item 150 | {[} {]} Item yet to be done. 151 | \item 152 | {[}X{]} Item that has been done. 153 | \end{itemize} 154 | 155 | LaTeX macros can be included: \(x_2 = \alpha + \beta^2 - \gamma\). 156 | 157 | \begin{enumerate} 158 | \item 159 | {TODO} A todo item. 160 | \item 161 | {DONE} A todo item that has been done. 162 | 163 | \begin{quote} 164 | This text will be indented on both the left margin and the right 165 | margin. 166 | \end{quote} 167 | 168 | \begin{verbatim} 169 | Text to be displayed verbatim (as-is), without markup 170 | (*bold* does not change font), e.g., for source code. 171 | Line breaks are respected. 172 | \end{verbatim} 173 | 174 | Some MATLAB source code: 175 | 176 | \begin{Shaded} 177 | \begin{Highlighting}[] 178 | \NormalTok{>> rand(}\FloatTok{1}\NormalTok{,}\FloatTok{3}\NormalTok{)} 179 | \NormalTok{ans =} 180 | \FloatTok{5.5856e-01} \FloatTok{7.5663e-01} \FloatTok{9.9548e-01} 181 | \end{Highlighting} 182 | \end{Shaded} 183 | 184 | Some arbitrary text to be typeset verbatim in monospace font: 185 | 186 | \begin{verbatim} 187 | Apples, oranges, 188 | cucumbers, tomatoes 189 | \end{verbatim} 190 | 191 | \begin{longtable}[]{@{}llll@{}} 192 | \toprule 193 | Country & Abstracts & Downloads & Ratio\tabularnewline 194 | \midrule 195 | \endhead 196 | United States & 7 & 497 & 71.0\tabularnewline 197 | Unknown & 4 & 83 & 20.8\tabularnewline 198 | United Kingdom & 3 & 41 & 13.7\tabularnewline 199 | Germany & 3 & 29 & 9.7\tabularnewline 200 | Netherlands & 2 & 21 & 10.5\tabularnewline 201 | Japan & 1 & 18 & 18.0\tabularnewline 202 | \bottomrule 203 | \end{longtable} 204 | 205 | Include an image: \url{file:nickhighamwordpress.jpg} 206 | \end{enumerate} 207 | 208 | \end{document} 209 | -------------------------------------------------------------------------------- /cheat_sheet.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | Org Mode Syntax Cheat-Sheet 10 | 11 | 12 | 182 | 228 | 248 | 250 | 251 | 252 |
253 |

Org Mode Syntax Cheat-Sheet

254 | 255 |
256 |

1 Top Level Heading

257 |
258 |
259 |

1.1 Second Level Heading

260 |
261 |
262 |

1.1.1 Third Level Heading

263 |
264 |

265 | Paragraphs are separated by at least one empty line. 266 |

267 | 268 |

269 | bold italic underlined strikethrough monospaced 270 |

271 | 272 |

273 | Link description 274 |

275 | 276 |

277 | https://nickhigham.wordpress.com/ A link without a description. 278 |

279 | 280 |

281 | A DOI (digital object identifier) link: 282 | Matching Exponential-Based and Resolvent-Based Centrality Measures 283 |

284 | 285 |

286 | A horizontal line, fill-width across the page: 287 |

288 |
289 | 290 |
    291 |
  • First item in a list.
  • 292 |
  • Second item. 293 |
      294 |
    • Sub-item 295 |
        296 |
      1. Numbered item.
      2. 297 |
      3. Another item.
      4. 298 |
    • 299 |
  • 300 |
  • [ ] Item yet to be done.
  • 301 |
  • [X] Item that has been done.
  • 302 |
303 | 304 |

305 | LaTeX macros can be included: \(x_2 = \alpha + \beta^2 - \gamma\). 306 |

307 |
308 | 309 |
  1. TODO A todo item.
  2. 310 |
  3. DONE A todo item that has been done.
    311 |
    312 |

    313 | This text will be indented on both the left margin and the right margin. 314 |

    315 |
    316 | 317 |
    318 | Text to be displayed verbatim (as-is), without markup 
    319 | (*bold* does not change font), e.g., for source code. 
    320 | Line breaks are respected. 
    321 | 
    322 | 323 |

    324 | Some MATLAB source code: 325 |

    326 |
    327 |
    >> rand(1,3)
    328 | ans =
    329 |    5.5856e-01   7.5663e-01   9.9548e-01
    330 | 
    331 |
    332 | 333 |

    334 | Some arbitrary text to be typeset verbatim in monospace font: 335 |

    336 |
    337 |
    Apples, oranges,
    338 | cucumbers, tomatoes
    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 |
    CountryAbstractsDownloadsRatio
    United States749771.0
    Unknown48320.8
    United Kingdom34113.7
    Germany3299.7
    Netherlands22110.5
    Japan11818.0
    406 | 407 |

    408 | Include an image: 409 | nickhighamwordpress.jpg 410 |

    411 |
412 |
413 |
414 |
415 |
416 |
417 |

Author: Nick Higham

418 |

Created: 2017-10-26 Thu 15:30

419 |

Validate

420 |
421 | 422 | 423 | --------------------------------------------------------------------------------