Minor diary include improvement.
[emacs.git] / etc / refcards / orgcard.tex
blobc1f604a64dd6bb0554c944fabb2080681c67caae
1 % Reference Card for Org Mode
2 \def\orgversionnumber{7.01}
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 next code block}{C-c C-v n}
484 \key{go to the previous code block}{C-c C-v p}
485 \key{execute all code blocks in current buffer}{C-c C-v b}
486 \key{execute all code blocks in current subtree}{C-c C-v s}
487 \key{tangle code blocks in current file}{C-c C-v t}
488 \key{tangle code blocks in supplied file}{C-c C-v f}
489 \key{ingest all code blocks in supplied file into the Library of Babel}{C-c C-v l}
490 \key{switch to the session of the current code block}{C-c C-v z}
491 \key{view sha1 hash of the current code block}{C-c C-v a}
493 % \section{Remember-mode Integration}
495 % See the manual for how to make remember.el use Org-mode links and
496 % files. The note-finishing command \kbd{C-c C-c} will first prompt for
497 % an org file. In the file, find a location with:
499 % \key{rotate subtree visibility}{TAB}
500 % \key{next heading}{DOWN}
501 % \key{previous heading}{UP}
503 % Insert the note with one of the following:
505 % \key{as sublevel of heading at cursor}{RET}
506 % \key{right here (cursor not on heading)}{RET}
507 % \key{before current heading}{LEFT}
508 % \key{after current heading}{RIGHT}
509 % \key{shortcut to end of buffer (cursor at buf-start)}{RET}
510 % \key{Abort}{q}
512 \section{Completion}
514 In-buffer completion completes TODO keywords at headline start, TeX
515 macros after ``{\tt \\}'', option keywords after ``{\tt \#-}'', TAGS
516 after ``{\tt :}'', and dictionary words elsewhere.
518 \key{complete word at point}{M-TAB}
521 \newcolumn
522 \title{Org-Mode Reference Card (2/2)}
524 \centerline{(for version \orgversionnumber)}
526 \section{TODO Items and Checkboxes}
528 \key{rotate the state of the current item}{C-c C-t}
529 \metax{select next/previous state}{S-LEFT/RIGHT}
530 \metax{select next/previous set}{C-S-LEFT/RIGHT}
531 \key{toggle ORDERED property}{C-c C-x o}
532 \key{view TODO items in a sparse tree}{C-c C-v}
533 \key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v}
535 \key{set the priority of the current item}{C-c , [ABC]}
536 \key{remove priority cookie from current item}{C-c , SPC}
537 \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
538 %\key{lower priority of current item}{S-DOWN$^3$}
540 %\key{\kbd{\#+SEQ_TODO: TODO TRY BLUFF DONE}}{\rm todo workflow}
541 %\key{\kbd{\#+TYP_TODO: Phil home work DONE}}{\rm todo types}
543 \key{insert new checkbox item in plain list}{M-S-RET}
544 \key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b}
545 \key{toggle checkbox at point}{C-c C-c}
546 %\metax{checkbox statistics cookies: insert {\tt [/]} or {\tt [\%]}}{}
547 \key{update checkbox statistics (\kbd{C-u} : whole file)}{C-c \#}
549 \section{Tags}
551 \key{set tags for current heading}{C-c C-q}
552 \key{realign tags in all headings}{C-u C-c C-q}
553 \key{create sparse tree with matching tags}{C-c \\}
554 \key{globally (agenda) match tags at cursor}{C-c C-o}
556 \section{Properties and Column View}
558 \key{set property/effort}{C-c C-x p/e}
559 \key{special commands in property lines}{C-c C-c}
560 \key{next/previous allowed value}{S-left/right}
561 \key{turn on column view}{C-c C-x C-c}
562 \key{capture columns view in dynamic block}{C-c C-x i}
564 \key{quit column view}{q}
565 \key{show full value}{v}
566 \key{edit value}{e}
567 \metax{next/previous allowed value}{n/p or S-left/right}
568 \key{edit allowed values list}{a}
569 \key{make column wider/narrower}{> / <}
570 \key{move column left/right}{M-left/right}
571 \key{add new column}{M-S-right}
572 \key{Delete current column}{M-S-left}
575 \section{Timestamps}
577 \key{prompt for date and insert timestamp}{C-c .}
578 \key{like \kbd{C-c} . but insert date and time format}{C-u C-c .}
579 \key{like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME
580 \key{insert DEADLINE timestamp}{C-c C-d}
581 \key{insert SCHEDULED timestamp}{C-c C-s}
582 \key{create sparse tree with all deadlines due}{C-c / d}
583 \key{the time between 2 dates in a time range}{C-c C-y}
584 \key{change timestamp at cursor by $\pm 1$ day}{S-RIGHT/LEFT$^3$}
585 \key{change year/month/day at cursor by $\pm 1$}{S-UP/DOWN$^3$}
586 \key{access the calendar for the current date}{C-c >}
587 \key{insert timestamp matching date in calendar}{C-c <}
588 \key{access agenda for current date}{C-c C-o}
589 \key{select date while prompted}{mouse-1/RET}
590 %\key{... select date in calendar}{mouse-1/RET}
591 %\key{... scroll calendar back/forward one month}{< / >}
592 %\key{... forward/backward one day}{S-LEFT/RIGHT}
593 %\key{... forward/backward one week}{S-UP/DOWN}
594 %\key{... forward/backward one month}{M-S-LEFT/RIGHT}
595 \key{toggle custom format display for dates/times}{C-c C-x C-t}
597 \newcolumn
599 {\bf Clocking time}
601 \key{start clock on current item}{C-c C-x C-i}
602 \key{stop/cancel clock on current item}{C-c C-x C-o/x}
603 \key{display total subtree times}{C-c C-x C-d}
604 \key{remove displayed times}{C-c C-c}
605 \key{insert/update table with clock report}{C-c C-x C-r}
607 \section{Agenda Views}
609 \key{add/move current file to front of agenda}{C-c [}
610 \key{remove current file from your agenda}{C-c ]}
611 \key{cycle through agenda file list}{C-'}
612 \key{set/remove restriction lock}{C-c C-x </>}
614 \key{compile agenda for the current week}{C-c a a$^1$}
615 \key{compile global TODO list}{C-c a t$^1$}
616 \key{compile TODO list for specific keyword}{C-c a T$^1$}
617 \key{match tags, TODO kwds, properties}{C-c a m$^1$}
618 \key{match only in TODO entries}{C-c a M$^1$}
619 \key{find stuck projects}{C-c a \#$^1$}
620 \key{show timeline of current org file}{C-c a L$^1$}
621 \key{configure custom commands}{C-c a C$^1$}
622 %\key{configure stuck projects}{C-c a !$^1$}
623 \key{agenda for date at cursor}{C-c C-o}
625 {\bf Commands available in an agenda buffer}
627 {\bf View Org file}
629 \key{show original location of item}{SPC/mouse-3}
630 %\key{... also available with}{mouse-3}
631 \key{show and recenter window}{L}
632 \key{goto original location in other window}{TAB/mouse-2}
633 %\key{... also available with}{mouse-2}
634 \key{goto original location, delete other windows}{RET}
635 \key{show subtree in indirect buffer, ded.\ frame}{C-c C-x b}
636 \key{toggle follow-mode}{F}
638 {\bf Change display}
640 \key{delete other windows}{o}
641 \key{view mode dispatcher}{v}
642 \key{switch to day/week/month/year view}{d w vm vy}
643 \key{toggle diary entries / time grid / habits}{D / G / K}
644 \key{toggle entry text / clock report}{E / R}
645 \key{toggle display of logbook entries}{l / v l/L}
646 \key{toggle inclusion of archived trees/files}{v a/A}
647 \key{refresh agenda buffer with any changes}{r / g}
648 \key{filter with respect to a tag}{/}
649 \key{save all org-mode buffers}{s}
650 \key{display next/previous day,week,...}{f / b}
651 \key{goto today / some date (prompt)}{. / j}
653 {\bf Remote editing}
655 \key{digit argument}{0-9}
656 \key{change state of current TODO item}{t}
657 \key{kill item and source}{C-k}
658 \key{archive default}{\$ / a}
659 \key{refile the subtree}{C-c C-w}
660 \key{set/show tags of current headline}{: / T}
661 \key{set effort property (prefix=nth)}{e}
662 \key{set / compute priority of current item}{, / P}
663 \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
664 \key{run an attachment command}{C-c C-a}
665 \key{schedule/set deadline for this item}{C-c C-s/d}
666 \key{change timestamp to one day earlier/later}{S-LEFT/RIGHT$^3$}
667 \key{change timestamp to today}{>}
668 \key{insert new entry into diary}{i}
669 \newcolumn
670 \key{start/stop/cancel the clock on current item}{I / O / X}
671 \key{jump to running clock entry}{J}
672 \key{mark / unmark / execute bulk action}{m / u / B}
674 {\bf Misc}
676 \key{follow one or offer all links in current entry}{C-c C-o}
678 {\bf Calendar commands}
680 \key{find agenda cursor date in calendar}{c}
681 \key{compute agenda for calendar cursor date}{c}
682 \key{show phases of the moon}{M}
683 \key{show sunrise/sunset times}{S}
684 \key{show holidays}{H}
685 \key{convert date to other calendars}{C}
687 {\bf Quit and Exit}
689 \key{quit agenda, remove agenda buffer}{q}
690 \key{exit agenda, remove all agenda buffers}{x}
692 \section{LaTeX and cdlatex-mode}
694 \key{preview LaTeX fragment}{C-c C-x C-l}
695 \key{expand abbreviation (cdlatex-mode)}{TAB}
696 \key{insert/modify math symbol (cdlatex-mode)}{` / '}
697 \key{insert citation using RefTeX}{C-c C-x [}
699 \section{Exporting and Publishing}
701 Exporting creates files with extensions {\it .txt\/} and {\it .html\/}
702 in the current directory. Publishing puts the resulting file into
703 some other place.
705 \key{export/publish dispatcher}{C-c C-e}
707 \key{export visible part only}{C-c C-e v}
708 \key{insert template of export options}{C-c C-e t}
709 \key{toggle fixed width for entry or region}{C-c :}
710 \key{toggle pretty display of scripts, entities}{C-c C-x {\tt\char`\\}}
712 %{\bf HTML formatting}
714 %\key{make words {\bf bold}}{*bold*}
715 %\key{make words {\it italic}}{/italic/}
716 %\key{make words \underbar{underlined}}{_underlined_}
717 %\key{sub- and superscripts}{x\^{}3, J_dust}
718 %\key{\TeX{}-like macros}{\\alpha, \\to}
719 %\key{typeset lines in fixed width font}{start with :}
720 %\key{tables are exported as HTML tables}{start with |}
721 %\key{links become HTML links}{http:... etc}
722 %\key{include html tags}{@<b>...@</b>}
724 %{\bf Export options}
726 %Include additional information for export by putting these anywhere in the
727 %org file. Use {\tt M-TAB} completion to make sure to get the right
728 %keywords. {\tt M-TAB} again just after keyword is complete inserts examples.
730 %\key{the title to be shown}{\#+TITLE:}
731 %\key{the author}{\#+AUTHOR:}
732 %\key{authors email address}{\#+EMAIL:}
733 %\key{language code for html}{\#+LANGUAGE:}
734 %\key{free text description of file}{\#+TEXT:}
735 %\key{... which can carry over multiple lines}{\#+TEXT:}
736 %\key{settings for the export process}{\#+OPTIONS:}
738 %\key{set number of headline levels for export}{H:2}
739 %\key{turn on/off section numbers}{num:t}
740 %\key{turn on/off table of contents}{toc:t}
741 %\key{turn on/off linebreak preservation}{\\n:nil}
742 %\key{turn on/off quoted html tags}{@:t}
743 %\key{turn on/off fixed width sections}{::t}
744 %\key{turn on/off tables}{|:t}
745 %\key{turn on/off \TeX\ syntax for sub/super-scripts}{\^{}:t}
746 %\key{turn on/off emphasised text}{*:nil}
747 %\key{turn on/off \TeX\ macros}{TeX:t}
749 {\bf Comments: Text not being exported}
751 Lines starting with \kbd{\#} and subtrees starting with COMMENT are
752 never exported.
754 \key{toggle COMMENT keyword on entry}{C-c ;}
756 \section{Dynamic Blocks}
758 \key{update dynamic block at point}{C-c C-x C-u}
759 \metax{update all dynamic blocks}{C-u C-c C-x C-u}
761 \section{Notes}
762 $^1$ This is only a suggestion for a binding of this command. Choose
763 your own key as shown under INSTALLATION.
765 $^2$ After changing a \kbd{\#+KEYWORD} or \kbd{<<<target>>>} line,
766 press \kbd{C-c C-c} with the cursor still in the line to update.
768 $^3$ Keybinding affected by {\tt org-support-shift-select} and
769 {\tt org-replace-disputed-keys}.
771 \copyrightnotice
773 \bye
775 % Local variables:
776 % compile-command: "tex refcard"
777 % End:
779 % arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290