Org Mode Commands
To insert a default template into the HEADER.org document, use: c-c c-e #, then type 'default'.
c-c c-e h h - export as html
- automatically insert a code block begin and end tags: #+BEGIN_SRC ... #+END_SRC
"<s" TAB
subscript upon export
One of the formatting options involves superscripting or subscripting: ^:t upon export. For instance this option will cause an underscore to subscript any following text. To disable this, change the t to either nil, or curly braces. With curly braces you retain the ability to subscript by underscore, but curly braces are required, e.g. my_{subscriptedword}. Whereas using nil disables it altogether.
OPTIONS
tangle
#+PROPERTY: tangle yes #+PROPERTY: tangle Myanalysis.R
Using tangle is a way to export code blocks to a file. The lines above will allow code blocks to be exported to the file (or path) named in the second line.
exports
#+PROPERTY: exports both
The exports property determines what happens to code blocks upon export from org to something else (e.g. HTML). The options are code|results|both|none.
- The lines above will allow code blocks to be exported to the file
(or path) named in the second line.