deft/org-mode-cheat-sheet.org
2020-01-24 09:59:54 +01:00

75 lines
2 KiB
Org Mode

#+Title: org-mode cheat sheet
#+TODO: TODO IN-PROGRESS WAIT | DONE CANCELED
M = Command
* Style
** *bold*
** /italic/
** _underlined_
** =code=
** ~verbatim~
** +stroked+
* Change Nodes Level
** =M-RIGHT= : move one level deeper the current node
** =M-S-RIGHT= : move one level deeper the current subtree
* Move nodes
** =M-UP= : move the node upper
** =M-DOWN= : move the node one line lower
** =M-A-UP= : move the subtree before the previous same level subtree
** =M-A-DOWN= : move the subtree after the next same level subtree
* Create Nodes
** =C-RET= Insert new heading after subtree
** =SPC m -= Turn (head)line into item (cycle item type)
** =SPC m *= Turn item/line into headline
* Editing
** =SPC m n= narrow view to subtree
** =SPC m N= widen view
** =SPC m b= focus subtree buffer
** =SPC m i l= insert link
* work with todos
** type =t= or =S-RIGHT= / =S-LEFT= to cycle from todo, done, nothing
** =, T= show todo tree
** DONE [#B] Full Task Example :tag1:tag2:
CLOSED: [2019-08-08 Thu 15:13] DEADLINE: <2019-03-10>
:PROPERTIES: []
:Effort: 2h
:Cost: $200
:END:
* Tables
#+PLOT: title:"example" ind:1 type:2d with:lines
#+PLOT: labels:("first new label" "second column" "last column")
#+TBLNAME:org-plot-example-1
| var | x | y |
|-----+----+-----|
| 0.1 | -1 | 0 |
| 0.2 | 1 | 30 |
| 0.3 | 2 | 80 |
| 0.4 | 3 | 110 |
* LaTeX integration
- \alpha \beta
- $O(n)$
\begin{align*}
3 * 2 &= 5 + 1 \\
&= 6
\end{align*}
* Figures
** UML
#+BEGIN_SRC plantuml :file img/tryout.png
(*) --> "Go to CTR Login page"
--> [user click on link] "Go to IDB"
--> [user agent redirected] "Go to AMP or TG login page"
--> [user enter creds] "Go back to IDB with users infos"
--> [user agent redirected] "Go back to CTR with users infos"
--> [CTR create code] "CTR login page with code"
--> [CTR POST code] "CTR returns a JWT"
--> [CTR saves JWT] "User is logged in"
--> (*)
#+END_SRC
#+RESULTS:
[[file:img/tryout.png]]