Release 7.3
[org-mode/org-mode-NeilSmithlineMods.git] / doc / orgcard.tex
blobcd1a2d9c1a474ffe07b6983dcb83fc0f1db41add
1 % Reference Card for Org Mode
2 \def\orgversionnumber{7.3}
3 \def\versionyear{2010} % latest update
4 \def\year{2010} % latest copyright year
6 %**start of header
7 \newcount\columnsperpage
8 \newcount\letterpaper
10 % This file can be printed with 1, 2, or 3 columns per page (see below).
11 % Specify how many you want here.
12 \columnsperpage=3
14 % PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
15 % a landscape layout.
16 \input pdflayout.sty
17 \pdflayout=(0l)
19 % Nothing else needs to be changed below this line.
20 % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004, 2005,
21 % 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
23 % This file is part of GNU Emacs.
25 % GNU Emacs is free software: you can redistribute it and/or modify
26 % it under the terms of the GNU General Public License as published by
27 % the Free Software Foundation, either version 3 of the License, or
28 % (at your option) any later version.
30 % GNU Emacs is distributed in the hope that it will be useful,
31 % but WITHOUT ANY WARRANTY; without even the implied warranty of
32 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 % GNU General Public License for more details.
35 % You should have received a copy of the GNU General Public License
36 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
38 % This file is intended to be processed by plain TeX (TeX82).
40 % The final reference card has six columns, three on each side.
41 % This file can be used to produce it in any of three ways:
42 % 1 column per page
43 % produces six separate pages, each of which needs to be reduced to 80%.
44 % This gives the best resolution.
45 % 2 columns per page
46 % produces three already-reduced pages.
47 % You will still need to cut and paste.
48 % 3 columns per page
49 % produces two pages which must be printed sideways to make a
50 % ready-to-use 8.5 x 11 inch reference card.
51 % For this you need a dvi device driver that can print sideways.
52 % Which mode to use is controlled by setting \columnsperpage above.
54 % To compile and print this document:
55 % tex refcard.tex
56 % dvips -t landscape refcard.dvi
58 % Author:
59 % Stephen Gildea
60 % Internet: gildea@stop.mail-abuse.org
62 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
63 % for their many good ideas.
65 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
66 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
67 Permissions on back. v\orgversionnumber}}
69 \def\copyrightnotice{
70 \vskip 1ex plus 100 fill\begingroup\small
71 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
72 \centerline{v\orgversionnumber{} for Org-Mode \orgversionnumber{}, \versionyear}
73 \centerline{Author: Philip Rooke}
74 \centerline{based on refcard design and format by Stephen Gildea}
76 Permission is granted to make and distribute copies of
77 this card provided the copyright notice and this permission notice
78 are preserved on all copies.
80 \endgroup}
82 % make \bye not \outer so that the \def\bye in the \else clause below
83 % can be scanned without complaint.
84 \def\bye{\par\vfill\supereject\end}
86 \newdimen\intercolumnskip %horizontal space between columns
87 \newbox\columna %boxes to hold columns already built
88 \newbox\columnb
90 \def\ncolumns{\the\columnsperpage}
92 \message{[\ncolumns\space
93 column\if 1\ncolumns\else s\fi\space per page]}
95 \def\scaledmag#1{ scaled \magstep #1}
97 % This multi-way format was designed by Stephen Gildea October 1986.
98 % Note that the 1-column format is fontfamily-independent.
99 \if 1\ncolumns %one-column format uses normal size
100 \hsize 4in
101 \vsize 10in
102 \voffset -.7in
103 \font\titlefont=\fontname\tenbf \scaledmag3
104 \font\headingfont=\fontname\tenbf \scaledmag2
105 \font\smallfont=\fontname\sevenrm
106 \font\smallsy=\fontname\sevensy
108 \footline{\hss\folio}
109 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
110 \else %2 or 3 columns uses prereduced size
111 \if 1\the\letterpaper
112 \hsize 3.2in
113 \vsize 7.95in
114 \hoffset -.75in
115 \voffset -.745in
116 \else
117 \hsize 3.2in
118 \vsize 7.65in
119 \hoffset -.25in
120 \voffset -.745in
122 \font\titlefont=cmbx10 \scaledmag2
123 \font\headingfont=cmbx10 \scaledmag1
124 \font\smallfont=cmr6
125 \font\smallsy=cmsy6
126 \font\eightrm=cmr8
127 \font\eightbf=cmbx8
128 \font\eightit=cmti8
129 \font\eighttt=cmtt8
130 \font\eightmi=cmmi8
131 \font\eightsy=cmsy8
132 \textfont0=\eightrm
133 \textfont1=\eightmi
134 \textfont2=\eightsy
135 \def\rm{\eightrm}
136 \def\bf{\eightbf}
137 \def\it{\eightit}
138 \def\tt{\eighttt}
139 \if 1\the\letterpaper
140 \normalbaselineskip=.8\normalbaselineskip
141 \else
142 \normalbaselineskip=.7\normalbaselineskip
144 \normallineskip=.8\normallineskip
145 \normallineskiplimit=.8\normallineskiplimit
146 \normalbaselines\rm %make definitions take effect
148 \if 2\ncolumns
149 \let\maxcolumn=b
150 \footline{\hss\rm\folio\hss}
151 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
152 \else \if 3\ncolumns
153 \let\maxcolumn=c
154 \nopagenumbers
155 \else
156 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
157 \errmessage{Illegal number of columns per page}
158 \fi\fi
160 \intercolumnskip=.46in
161 \def\abc{a}
162 \output={% %see The TeXbook page 257
163 % This next line is useful when designing the layout.
164 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
165 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
166 \else\if a\abc
167 \global\setbox\columna\columnbox \global\def\abc{b}
168 %% in case we never use \columnb (two-column mode)
169 \global\setbox\columnb\hbox to -\intercolumnskip{}
170 \else
171 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
172 \def\multicolumnformat{\shipout\vbox{\makeheadline
173 \hbox{\box\columna\hskip\intercolumnskip
174 \box\columnb\hskip\intercolumnskip\columnbox}
175 \makefootline}\advancepageno}
176 \def\columnbox{\leftline{\pagebody}}
178 \def\bye{\par\vfill\supereject
179 \if a\abc \else\null\vfill\eject\fi
180 \if a\abc \else\null\vfill\eject\fi
181 \end}
184 % we won't be using math mode much, so redefine some of the characters
185 % we might want to talk about
186 %\catcode`\^=12
187 \catcode`\_=12
189 % we also need the tilde, for file names.
190 \catcode`\~=12
192 \chardef\\=`\\
193 \chardef\{=`\{
194 \chardef\}=`\}
196 \hyphenation{mini-buf-fer}
198 \parindent 0pt
199 \parskip 1ex plus .5ex minus .5ex
201 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
203 % newcolumn - force a new column. Use sparingly, probably only for
204 % the first column of a page, which should have a title anyway.
205 \outer\def\newcolumn{\vfill\eject}
207 % title - page title. Argument is title text.
208 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
210 % section - new major section. Argument is section name.
211 \outer\def\section#1{\par\filbreak
212 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
213 \vskip 2ex plus 1ex minus 1.5ex}
215 \newdimen\keyindent
217 % beginindentedkeys...endindentedkeys - key definitions will be
218 % indented, but running text, typically used as headings to group
219 % definitions, will not.
220 \def\beginindentedkeys{\keyindent=1em}
221 \def\endindentedkeys{\keyindent=0em}
222 \endindentedkeys
224 % paralign - begin paragraph containing an alignment.
225 % If an \halign is entered while in vertical mode, a parskip is never
226 % inserted. Using \paralign instead of \halign solves this problem.
227 \def\paralign{\vskip\parskip\halign}
229 % \<...> - surrounds a variable name in a code example
230 \def\<#1>{{\it #1\/}}
232 % kbd - argument is characters typed literally. Like the Texinfo command.
233 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
235 % beginexample...endexample - surrounds literal text, such a code example.
236 % typeset in a typewriter font with line breaks preserved
237 \def\beginexample{\par\leavevmode\begingroup
238 \obeylines\obeyspaces\parskip0pt\tt}
239 {\obeyspaces\global\let =\ }
240 \def\endexample{\endgroup}
242 % key - definition of a key.
243 % \key{description of key}{key-name}
244 % prints the description left-justified, and the key-name in a \kbd
245 % form near the right margin.
246 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
247 {\hsize=.75\hsize\rightskip=1em
248 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
250 \newbox\metaxbox
251 \setbox\metaxbox\hbox{\kbd{M-x }}
252 \newdimen\metaxwidth
253 \metaxwidth=\wd\metaxbox
255 % metax - definition of a M-x command.
256 % \metax{description of command}{M-x command-name}
257 % Tries to justify the beginning of the command name at the same place
258 % as \key starts the key name. (The "M-x " sticks out to the left.)
259 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
260 {\hskip\keyindent\relax#1\hfil}%
261 \hskip -\metaxwidth minus 1fil
262 \kbd{#2}\hfil}}
264 % threecol - like "key" but with two key names.
265 % for example, one for doing the action backward, and one for forward.
266 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
267 &\kbd{#3}\hfil\quad\cr}
269 %**end of header
272 \title{Org-Mode Reference Card (1/2)}
274 \centerline{(for version \orgversionnumber)}
276 \section{Getting Started}
278 %\vskip -2mm
279 %\beginexample%
280 %(add-to-list 'auto-mode-alist '("\\\\.org\$" . org-mode))
281 %(define-key global-map "\\C-cl" 'org-store-link)$^1$
282 %(define-key global-map "\\C-ca" 'org-agenda)$^1$
283 %\endexample
285 \metax{To read the on-line documentation try}{M-x org-info}
287 \section{Visibility Cycling}
289 \key{rotate current subtree between states}{TAB}
290 \key{rotate entire buffer between states}{S-TAB}
291 \key{restore property-dependent startup visibility}{C-u C-u TAB}
292 \metax{show the whole file, including drawers}{C-u C-u C-u TAB}
293 \key{reveal context around point}{C-c C-r}
295 \section{Motion}
297 \key{next/previous heading}{C-c C-n/p}
298 \key{next/previous heading, same level}{C-c C-f/b}
299 \key{backward to higher level heading}{C-c C-u}
300 \key{jump to another place in document}{C-c C-j}
301 \key{previous/next plain list item}{S-UP/DOWN$^3$}
303 \section{Structure Editing}
305 \key{insert new heading/item at current level}{M-RET}
306 \key{insert new heading after subtree}{C-RET}
307 \key{insert new TODO entry/checkbox item}{M-S-RET}
308 \key{insert TODO entry/ckbx after subtree}{C-S-RET}
309 \key{turn (head)line into item, cycle item type}{C-c -}
310 \key{turn item/line into headline}{C-c *}
311 \key{promote/demote heading}{M-LEFT/RIGHT}
312 \metax{promote/demote current subtree}{M-S-LEFT/RIGHT}
314 \metax{move subtree/list item up/down}{M-S-UP/DOWN}
315 \metax{sort subtree/region/plain-list}{C-c \^{}}
316 \metax{clone a subtree}{C-c C-x c}
317 \metax{refile subtree}{C-c C-w}
318 \metax{kill/copy subtree}{C-c C-x C-w/M-w}
319 \metax{yank subtree}{C-c C-x C-y or C-y}
320 \metax{narrow buffer to subtree / widen}{C-x n s/w}
322 \section{Archiving}
324 \key{archive subtree using the default command}{C-c C-x C-a}
325 \key{move subtree to archive file}{C-c C-x C-s}
326 \key{toggle ARCHIVE tag / to ARCHIVE sibling}{C-c C-x a/A}
327 \key{force cycling of an ARCHIVEd tree}{C-TAB}
329 \section{Filtering and Sparse Trees}
331 \key{construct a sparse tree by various criteria}{C-c /}
332 \key{view TODO's in sparse tree}{C-c / t/T}
333 \key{global TODO list in agenda mode}{C-c a t$^1$}
334 \key{time sorted view of current org file}{C-c a L}
336 \section{Tables}
338 {\bf Creating a table}
340 %\metax{insert a new Org-mode table}{M-x org-table-create}
341 \metax{just start typing, e.g.}{|Name|Phone|Age RET |- TAB}
342 \key{convert region to table}{C-c |}
343 \key{... separator at least 3 spaces}{C-3 C-c |}
345 {\bf Commands available inside tables}
347 The following commands work when the cursor is {\it inside a table}.
348 Outside of tables, the same keys may have other functionality.
350 {\bf Re-aligning and field motion}
352 \key{re-align the table without moving the cursor}{C-c C-c}
353 \key{re-align the table, move to next field}{TAB}
354 \key{move to previous field}{S-TAB}
355 \key{re-align the table, move to next row}{RET}
356 \key{move to beginning/end of field}{M-a/e}
358 {\bf Row and column editing}
360 \key{move the current column left}{M-LEFT/RIGHT}
361 \key{kill the current column}{M-S-LEFT}
362 \key{insert new column to left of cursor position}{M-S-RIGHT}
364 \key{move the current row up/down}{M-UP/DOWN}
365 \key{kill the current row or horizontal line}{M-S-UP}
366 \key{insert new row above the current row}{M-S-DOWN}
367 \key{insert hline below (\kbd{C-u} : above) current row}{C-c -}
368 \key{insert hline and move to line below it}{C-c RET}
369 \key{sort lines in region}{C-c \^{}}
371 {\bf Regions}
373 \metax{cut/copy/paste rectangular region}{C-c C-x C-w/M-w/C-y}
374 %\key{copy rectangular region}{C-c C-x M-w}
375 %\key{paste rectangular region}{C-c C-x C-y}
376 \key{fill paragraph across selected cells}{C-c C-q}
378 {\bf Miscellaneous}
380 \key{to limit column width to \kbd{N} characters, use}{...| <N> |...}
381 \key{edit the current field in a separate window}{C-c `}
382 \key{make current field fully visible}{C-u TAB}
383 \metax{export as tab-separated file}{M-x org-table-export}
384 \metax{import tab-separated file}{M-x org-table-import}
385 \key{sum numbers in current column/rectangle}{C-c +}
387 {\bf Tables created with the \kbd{table.el} package}
389 \key{insert a new \kbd{table.el} table}{C-c ~}
390 \key{recognize existing table.el table}{C-c C-c}
391 \key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~}
393 {\bf Spreadsheet}
395 Formulas typed in field are executed by \kbd{TAB},
396 \kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column
397 formula, \kbd{:=} a field formula.
399 \key{Example: Add Col1 and Col2}{|=\$1+\$2 |}
400 \key{... with printf format specification}{|=\$1+\$2;\%.2f|}
401 \key{... with constants from constants.el}{|=\$1/\$c/\$cm |}
402 \metax{sum from 2nd to 3rd hline}{|:=vsum(@II..@III)|}
403 \key{apply current column formula}{| = |}
405 \key{set and eval column formula}{C-c =}
406 \key{set and eval field formula}{C-u C-c =}
407 \key{re-apply all stored equations to current line}{C-c *}
408 \key{re-apply all stored equations to entire table}{C-u C-c *}
409 \key{iterate table to stability}{C-u C-u C-c *}
410 \key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
411 \key{show line, column, formula reference}{C-c ?}
412 \key{toggle grid / debugger}{C-c \}/\{}
414 \newcolumn
415 {\it Formula Editor}
417 \key{edit formulas in separate buffer}{C-c '}
418 \key{exit and install new formulas}{C-c C-c}
419 \key{exit, install, and apply new formulas}{C-u C-c C-c}
420 \key{abort}{C-c C-q}
421 \key{toggle reference style}{C-c C-r}
422 \key{pretty-print Lisp formula}{TAB}
423 \key{complete Lisp symbol}{M-TAB}
424 \key{shift reference point}{S-cursor}
425 \key{shift test line for column references}{M-up/down}
426 \key{scroll the window showing the table}{M-S-up/down}
427 \key{toggle table coordinate grid}{C-c \}}
429 \section{Links}
431 \key{globally store link to the current location}{C-c l$^1$}
432 \key{insert a link (TAB completes stored links)}{C-c C-l}
433 \key{insert file link with file name completion}{C-u C-c C-l}
434 \key{edit (also hidden part of) link at point}{C-c C-l}
436 \key{open file links in emacs}{C-c C-o}
437 \key{...force open in emacs/other window}{C-u C-c C-o}
438 \key{open link at point}{mouse-1/2}
439 \key{...force open in emacs/other window}{mouse-3}
440 \key{record a position in mark ring}{C-c \%}
441 \key{jump back to last followed link(s)}{C-c \&}
442 \key{find next link}{C-c C-x C-n}
443 \key{find previous link}{C-c C-x C-p}
444 \key{edit code snippet of file at point}{C-c '}
445 \key{toggle inline display of linked images}{C-c C-x C-v}
447 % {\bf Internal Links}
449 % \key{\kbd{<<My Target>>}}{\rm target}
450 % \key{\kbd{<<<My Target>>>}}{\rm radio target$^2$}
451 % \key{\kbd{[[*this text]]}}{\rm find headline}
452 % \metax{\kbd{[[this text]]}}{\rm find target or text in buffer}
453 % \metax{\kbd{[[this text][description]]}}{\rm optional link text}
455 % {\bf External Links}
457 % \key{\kbd{file:/home/dominik/img/mars.jpg}}{\rm file, absolute}
458 % \key{\kbd{file:papers/last.pdf}}{\rm file, relative}
459 % \key{\kbd{file:projects.org::*that text}}{\rm find headline}
460 % \key{\kbd{file:projects.org::find me}}{\rm find trgt/string}
461 % %\key{\kbd{file:projects.org::/regexp/}}{\rm regexp search}
462 % \key{\kbd{http://www.astro.uva.nl/~dominik}}{\rm on the web}
463 % \key{\kbd{mailto:adent@galaxy.net}}{\rm Email address}
464 % \key{\kbd{news:comp.emacs}}{\rm Usenet group}
465 % \key{\kbd{bbdb:Richard Stallman}}{\rm BBDB person}
466 % \key{\kbd{gnus:group}}{\rm GNUS group}
467 % \key{\kbd{gnus:group\#id}}{\rm GNUS message}
468 % \key{\kbd{vm|wl|mhe|rmail:folder}}{\rm Mail folder}
469 % \key{\kbd{vm|wl|mhe|rmail:folder\#id}}{\rm Mail message}
470 % \key{\kbd{info:emacs:Regexps}}{\rm Info file:node}
471 % \key{\kbd{shell:ls *.org}}{\rm shell command}
472 % \key{\kbd{elisp:(calendar)}}{\rm elisp form}
473 % \metax{\kbd{[[external link][description]]}}{\rm optional link text}
474 % %\key{\kbd{vm://myself@some.where.org/folder\#id}}{\rm VM remote}
476 \section{Working with Code (Babel)}
478 \key{execute code block at point}{C-c C-c}
479 \key{open results of code block at point}{C-c C-o}
480 \key{view expanded body of code block at point}{C-c C-v v}
481 \key{go to named code block}{C-c C-v g}
482 \key{go to named result}{C-c C-v r}
483 \key{go to the head of the current code block}{C-c C-v u}
484 \key{go to the next code block}{C-c C-v n}
485 \key{go to the previous code block}{C-c C-v p}
486 \key{demarcate a code block}{C-c C-v d}
487 \key{execute the next key sequence in the code edit buffer}{C-c C-v x}
488 \key{execute all code blocks in current buffer}{C-c C-v b}
489 \key{execute all code blocks in current subtree}{C-c C-v s}
490 \key{tangle code blocks in current file}{C-c C-v t}
491 \key{tangle code blocks in supplied file}{C-c C-v f}
492 \key{ingest all code blocks in supplied file into the Library of Babel}{C-c C-v i}
493 \key{switch to the session of the current code block}{C-c C-v z}
494 \key{load expanded body of the current code block into a session}{C-c C-v l}
495 \key{view sha1 hash of the current code block}{C-c C-v a}
497 % \section{Remember-mode Integration}
499 % See the manual for how to make remember.el use Org-mode links and
500 % files. The note-finishing command \kbd{C-c C-c} will first prompt for
501 % an org file. In the file, find a location with:
503 % \key{rotate subtree visibility}{TAB}
504 % \key{next heading}{DOWN}
505 % \key{previous heading}{UP}
507 % Insert the note with one of the following:
509 % \key{as sublevel of heading at cursor}{RET}
510 % \key{right here (cursor not on heading)}{RET}
511 % \key{before current heading}{LEFT}
512 % \key{after current heading}{RIGHT}
513 % \key{shortcut to end of buffer (cursor at buf-start)}{RET}
514 % \key{Abort}{q}
516 \section{Completion}
518 In-buffer completion completes TODO keywords at headline start, TeX
519 macros after ``{\tt \\}'', option keywords after ``{\tt \#-}'', TAGS
520 after ``{\tt :}'', and dictionary words elsewhere.
522 \key{complete word at point}{M-TAB}
525 \newcolumn
526 \title{Org-Mode Reference Card (2/2)}
528 \centerline{(for version \orgversionnumber)}
530 \section{TODO Items and Checkboxes}
532 \key{rotate the state of the current item}{C-c C-t}
533 \metax{select next/previous state}{S-LEFT/RIGHT}
534 \metax{select next/previous set}{C-S-LEFT/RIGHT}
535 \key{toggle ORDERED property}{C-c C-x o}
536 \key{view TODO items in a sparse tree}{C-c C-v}
537 \key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v}
539 \key{set the priority of the current item}{C-c , [ABC]}
540 \key{remove priority cookie from current item}{C-c , SPC}
541 \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
542 %\key{lower priority of current item}{S-DOWN$^3$}
544 %\key{\kbd{\#+SEQ_TODO: TODO TRY BLUFF DONE}}{\rm todo workflow}
545 %\key{\kbd{\#+TYP_TODO: Phil home work DONE}}{\rm todo types}
547 \key{insert new checkbox item in plain list}{M-S-RET}
548 \key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b}
549 \key{toggle checkbox at point}{C-c C-c}
550 %\metax{checkbox statistics cookies: insert {\tt [/]} or {\tt [\%]}}{}
551 \key{update checkbox statistics (\kbd{C-u} : whole file)}{C-c \#}
553 \section{Tags}
555 \key{set tags for current heading}{C-c C-q}
556 \key{realign tags in all headings}{C-u C-c C-q}
557 \key{create sparse tree with matching tags}{C-c \\}
558 \key{globally (agenda) match tags at cursor}{C-c C-o}
560 \section{Properties and Column View}
562 \key{set property/effort}{C-c C-x p/e}
563 \key{special commands in property lines}{C-c C-c}
564 \key{next/previous allowed value}{S-left/right}
565 \key{turn on column view}{C-c C-x C-c}
566 \key{capture columns view in dynamic block}{C-c C-x i}
568 \key{quit column view}{q}
569 \key{show full value}{v}
570 \key{edit value}{e}
571 \metax{next/previous allowed value}{n/p or S-left/right}
572 \key{edit allowed values list}{a}
573 \key{make column wider/narrower}{> / <}
574 \key{move column left/right}{M-left/right}
575 \key{add new column}{M-S-right}
576 \key{Delete current column}{M-S-left}
579 \section{Timestamps}
581 \key{prompt for date and insert timestamp}{C-c .}
582 \key{like \kbd{C-c} . but insert date and time format}{C-u C-c .}
583 \key{like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME
584 \key{insert DEADLINE timestamp}{C-c C-d}
585 \key{insert SCHEDULED timestamp}{C-c C-s}
586 \key{create sparse tree with all deadlines due}{C-c / d}
587 \key{the time between 2 dates in a time range}{C-c C-y}
588 \key{change timestamp at cursor by $\pm 1$ day}{S-RIGHT/LEFT$^3$}
589 \key{change year/month/day at cursor by $\pm 1$}{S-UP/DOWN$^3$}
590 \key{access the calendar for the current date}{C-c >}
591 \key{insert timestamp matching date in calendar}{C-c <}
592 \key{access agenda for current date}{C-c C-o}
593 \key{select date while prompted}{mouse-1/RET}
594 %\key{... select date in calendar}{mouse-1/RET}
595 %\key{... scroll calendar back/forward one month}{< / >}
596 %\key{... forward/backward one day}{S-LEFT/RIGHT}
597 %\key{... forward/backward one week}{S-UP/DOWN}
598 %\key{... forward/backward one month}{M-S-LEFT/RIGHT}
599 \key{toggle custom format display for dates/times}{C-c C-x C-t}
601 \newcolumn
603 {\bf Clocking time}
605 \key{start clock on current item}{C-c C-x C-i}
606 \key{stop/cancel clock on current item}{C-c C-x C-o/x}
607 \key{display total subtree times}{C-c C-x C-d}
608 \key{remove displayed times}{C-c C-c}
609 \key{insert/update table with clock report}{C-c C-x C-r}
611 \section{Agenda Views}
613 \key{add/move current file to front of agenda}{C-c [}
614 \key{remove current file from your agenda}{C-c ]}
615 \key{cycle through agenda file list}{C-'}
616 \key{set/remove restriction lock}{C-c C-x </>}
618 \key{compile agenda for the current week}{C-c a a$^1$}
619 \key{compile global TODO list}{C-c a t$^1$}
620 \key{compile TODO list for specific keyword}{C-c a T$^1$}
621 \key{match tags, TODO kwds, properties}{C-c a m$^1$}
622 \key{match only in TODO entries}{C-c a M$^1$}
623 \key{find stuck projects}{C-c a \#$^1$}
624 \key{show timeline of current org file}{C-c a L$^1$}
625 \key{configure custom commands}{C-c a C$^1$}
626 %\key{configure stuck projects}{C-c a !$^1$}
627 \key{agenda for date at cursor}{C-c C-o}
629 {\bf Commands available in an agenda buffer}
631 {\bf View Org file}
633 \key{show original location of item}{SPC/mouse-3}
634 %\key{... also available with}{mouse-3}
635 \key{show and recenter window}{L}
636 \key{goto original location in other window}{TAB/mouse-2}
637 %\key{... also available with}{mouse-2}
638 \key{goto original location, delete other windows}{RET}
639 \key{show subtree in indirect buffer, ded.\ frame}{C-c C-x b}
640 \key{toggle follow-mode}{F}
642 {\bf Change display}
644 \key{delete other windows}{o}
645 \key{view mode dispatcher}{v}
646 \key{switch to day/week/month/year view}{d w vm vy}
647 \key{toggle diary entries / time grid / habits}{D / G / K}
648 \key{toggle entry text / clock report}{E / R}
649 \key{toggle display of logbook entries}{l / v l/L}
650 \key{toggle inclusion of archived trees/files}{v a/A}
651 \key{refresh agenda buffer with any changes}{r / g}
652 \key{filter with respect to a tag}{/}
653 \key{save all org-mode buffers}{s}
654 \key{display next/previous day,week,...}{f / b}
655 \key{goto today / some date (prompt)}{. / j}
657 {\bf Remote editing}
659 \key{digit argument}{0-9}
660 \key{change state of current TODO item}{t}
661 \key{kill item and source}{C-k}
662 \key{archive default}{\$ / a}
663 \key{refile the subtree}{C-c C-w}
664 \key{set/show tags of current headline}{: / T}
665 \key{set effort property (prefix=nth)}{e}
666 \key{set / compute priority of current item}{, / P}
667 \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
668 \key{run an attachment command}{C-c C-a}
669 \key{schedule/set deadline for this item}{C-c C-s/d}
670 \key{change timestamp to one day earlier/later}{S-LEFT/RIGHT$^3$}
671 \key{change timestamp to today}{>}
672 \key{insert new entry into diary}{i}
673 \newcolumn
674 \key{start/stop/cancel the clock on current item}{I / O / X}
675 \key{jump to running clock entry}{J}
676 \key{mark / unmark / execute bulk action}{m / u / B}
678 {\bf Misc}
680 \key{follow one or offer all links in current entry}{C-c C-o}
682 {\bf Calendar commands}
684 \key{find agenda cursor date in calendar}{c}
685 \key{compute agenda for calendar cursor date}{c}
686 \key{show phases of the moon}{M}
687 \key{show sunrise/sunset times}{S}
688 \key{show holidays}{H}
689 \key{convert date to other calendars}{C}
691 {\bf Quit and Exit}
693 \key{quit agenda, remove agenda buffer}{q}
694 \key{exit agenda, remove all agenda buffers}{x}
696 \section{LaTeX and cdlatex-mode}
698 \key{preview LaTeX fragment}{C-c C-x C-l}
699 \key{expand abbreviation (cdlatex-mode)}{TAB}
700 \key{insert/modify math symbol (cdlatex-mode)}{` / '}
701 \key{insert citation using RefTeX}{C-c C-x [}
703 \section{Exporting and Publishing}
705 Exporting creates files with extensions {\it .txt\/} and {\it .html\/}
706 in the current directory. Publishing puts the resulting file into
707 some other place.
709 \key{export/publish dispatcher}{C-c C-e}
711 \key{export visible part only}{C-c C-e v}
712 \key{insert template of export options}{C-c C-e t}
713 \key{toggle fixed width for entry or region}{C-c :}
714 \key{toggle pretty display of scripts, entities}{C-c C-x {\tt\char`\\}}
716 %{\bf HTML formatting}
718 %\key{make words {\bf bold}}{*bold*}
719 %\key{make words {\it italic}}{/italic/}
720 %\key{make words \underbar{underlined}}{_underlined_}
721 %\key{sub- and superscripts}{x\^{}3, J_dust}
722 %\key{\TeX{}-like macros}{\\alpha, \\to}
723 %\key{typeset lines in fixed width font}{start with :}
724 %\key{tables are exported as HTML tables}{start with |}
725 %\key{links become HTML links}{http:... etc}
726 %\key{include html tags}{@<b>...@</b>}
728 %{\bf Export options}
730 %Include additional information for export by putting these anywhere in the
731 %org file. Use {\tt M-TAB} completion to make sure to get the right
732 %keywords. {\tt M-TAB} again just after keyword is complete inserts examples.
734 %\key{the title to be shown}{\#+TITLE:}
735 %\key{the author}{\#+AUTHOR:}
736 %\key{authors email address}{\#+EMAIL:}
737 %\key{language code for html}{\#+LANGUAGE:}
738 %\key{free text description of file}{\#+TEXT:}
739 %\key{... which can carry over multiple lines}{\#+TEXT:}
740 %\key{settings for the export process}{\#+OPTIONS:}
742 %\key{set number of headline levels for export}{H:2}
743 %\key{turn on/off section numbers}{num:t}
744 %\key{turn on/off table of contents}{toc:t}
745 %\key{turn on/off linebreak preservation}{\\n:nil}
746 %\key{turn on/off quoted html tags}{@:t}
747 %\key{turn on/off fixed width sections}{::t}
748 %\key{turn on/off tables}{|:t}
749 %\key{turn on/off \TeX\ syntax for sub/super-scripts}{\^{}:t}
750 %\key{turn on/off emphasised text}{*:nil}
751 %\key{turn on/off \TeX\ macros}{TeX:t}
753 {\bf Comments: Text not being exported}
755 Lines starting with \kbd{\#} and subtrees starting with COMMENT are
756 never exported.
758 \key{toggle COMMENT keyword on entry}{C-c ;}
760 \section{Dynamic Blocks}
762 \key{update dynamic block at point}{C-c C-x C-u}
763 \metax{update all dynamic blocks}{C-u C-c C-x C-u}
765 \section{Notes}
766 $^1$ This is only a suggestion for a binding of this command. Choose
767 your own key as shown under INSTALLATION.
769 $^2$ After changing a \kbd{\#+KEYWORD} or \kbd{<<<target>>>} line,
770 press \kbd{C-c C-c} with the cursor still in the line to update.
772 $^3$ Keybinding affected by {\tt org-support-shift-select} and
773 {\tt org-replace-disputed-keys}.
775 \copyrightnotice
777 \bye
779 % Local variables:
780 % compile-command: "tex refcard"
781 % End:
783 % arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290