# intro

## Table of Contents

- 1 Intro
- 2 Outlines
  - 2.1 Hiding with repeated TAB or S-TAB
  - 2.2 rearranging headings
  - 2.3 Promotion / demotion `M-S-arrow`
    - 2.3.1 Example of third-level heading
  - 2.4 navigating headings
- 3 Formatting
  - 3.1 Recognises simple formats
  - 3.2 Math formatting recognised upon export
- 4 Lists
- 5 Tables and spreadsheets

## 1 Intro

This is a short introduction to what Org mode can do.

## 2 Outlines

### 2.1 Hiding with repeated TAB or S-TAB

TAB on a heading will toggle its visibily; three dots (ellipsis) denotes material is hidden shift works the whole document

### 2.2 rearranging headings

Try moving sections around

### 2.3 Promotion / demotion `M-S-arrow`

Levels of headings can be dynamically altered. Affects all subtrees, e.g. this one.

#### 2.3.1 Example of third-level heading

### 2.4 navigating headings

- `C-c C-n` next heading
- `C-c C-f` next heading, same level
- `C-c C-u` up a level

## 3 Formatting

### 3.1 Recognises simple formats

e.g. bold text italics underscore `some verbatim text` and `some code`.

α + β = γ

### 3.2 Math formatting recognised upon export

Even in html, using nice math support

$$\frac{1}{\sqrt{2\pi\sigma^2}}e^{ -\frac{(x-\mu)^2}{2\sigma^2} }$$

## 4 Lists

Org mode handles unorderd lists, such as:

- apples
- oranges
- bananas

and ordered lists such as:

1. oranges
2. apples
3. bananas

In both cases, you can rearrange the list order using M-S-up/down. You can add new items with M-RET, or when you kill items, hit `C-c C-c` to reformat lists.

## 5 Tables and spreadsheets

Org mode has nice support for editing tables. e.g. let's make a price list from the above data. We'll recreate the following table dynamically so that you can see how it is built up.

item | weight (kg)
apples | 0.7
bananas | 0.3
oranges | 0.2

item | weight (kg)
apples | 0.7
bananas | 0.3
oranges | 0.2

Even better, we can even get org mode to add up the weights and add some nice horizontal separators.

item | weight (kg)
--- | ---
apples | 0.7
bananas | 0.3
oranges | 0.7
total | 1.7

If you change the values in the table, hit `C-u C-c C-c` in the table to recalculate. To help with table calculations, you might wish to label col/rows:

    (org-table-toggle-coordinate-overlays)

These overlays are temporary.

- Export We can export the org file into several formats, such as pdf (via latex), html, or ASCII.

Date: 2011-08-15 16:57:29 BST

Author: Stephen Eglen

Org version 7.7 with Emacs version 23

Validate XHTML 1.0