org-note
Table of Contents
1 Studying note of org mode
1.1 How to use org? (Commands and functions)
1.1.1 editing notes
- structure editing
- using commands to edit the nodes as trees, increase/decrease the level of a subtree, move subtree.
- using commands to automatically complet some structure information like the level information, TODO.
- plain list
hand formatted structure like ordered description list and checkbox
C-c -
to switch the format between *,-,+,1.,1).C-c C-x C-b
invoke functionorg-toggle-checkbox
.
- Table in ASCII, seems have similar function to spreadsheet
C-c |
convert the active region to table, easy to convert the data separated by tab or comma.C-c C-c
Re-align without moving the cursor- re-align, move to next/previous field, next row
- Hyperlinks
- internal link. The link with value
#my-custom-id
points to entry, of which value of property CUSTOM_ID is 'my-custom-id'. This an example, jump to internal link. This link does not work after converting into pdf file. - external link on the web, local file, mail address, etc. It is very similar to the rtf file, very similar function
- internal link. The link with value
- Tags
- Todo
specifying todo keywords at the beginning of file will override the settings loaded in elisp script
- Time stamps
- Deadline
- SCHEDULED
- embed latex
Example of insert latex code into org mode: \[ P_{k}^{n}=Prob(w_{k}|\mathbf{x}_{n})=\frac{\exp(w_{k}f_{n}(k)+w'_{k})}{z_{n}}, \] where \(z_{n}=\sum_{k=1}^{K}\exp(w_{k}f_{n}(k)+w'_{k})\) is a normalization term that ensures that \(\sum_{k=1}^{K}P_{k}^{n}=1\).
1.1.2 display notes
Though the notes are created as full text, they contain structure information. Hence, we should be capable to view them in other views besides full text.
- fold full text
- using TAB to fold and unfold a node from FOLD to CHILDREN to SUBTREE.
- using S TAB/C-u TAB to switch between OVERVIEW(only display the first level heads), CONTENTS (only display all the heads) and SHOW ALL.
- under MAC OS X, the S TAB does not work since it is used as switching applications.
- move between nodes similar to info
- C-c C-[move command], move command can be n,p,f,b,u
- sparse trees
- This is very important! C-c / with prompted options can make you to view the tree with specified contents.
- jump between links and footnotes
- C-c C-c jump between defintion and reference
- jump between link
- C-c C-o open link
- C-c & jump back
1.2 Way of manage project? (Working flow, can be org independent)
examples in org-mode实现GTD
1.2.1 Archive finished jobs.
- archive to file which is %s_archive by default, the buffer
specified file is defined by
#+ARCHIVE: file_name
Another way of hide the finished task is adding ARCHIVE tag.
- For a big task like projects, it is better to archive them together at the end of the project. Archiving sub-tasks can make some conflicts or overlaps, which are hard to track. It is better to see the unfinished tasks from agenda than consult the task tree.
1.2.2 Group the task by tree and tag
It is important to specify the environment of task by tag and group similar things together.
- create a section for things to do someday.
1.2.3 Question2:
automatic move/copy finished tasks from task.org to finished.org when changing the status.
1.2.4 sub heading/todo extends the tag of parent heading/todo
The subtree extends the tag of parent by default, but they are not displayed. Of course, we can use the tag to search them.
1.2.5 How to display the extended tag in agenda
1.2.6 about org-remember and template
Footnotes:
footnote reference