Release 5.10a
[org-mode.git] / orgcard.tex
blob2260c9f393df118095173111365c4a0b01a4e3e8
1 % Reference Card for Org Mode
2 \def\orgversionnumber{5.10}
3 \def\versionyear{2007} % latest update
4 \def\year{2007} % 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.
13 \columnsperpage=3
15 % Set letterpapaer to 0 for A4 paper, 1 for letter (US) paper. Useful
16 % only when columnsperpage is 2 or 3.
18 \letterpaper=0
20 % Nothing else needs to be changed below this line.
21 % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
22 % 2005, 2006, 2007 Free Software Foundation, Inc.
24 % This file is part of GNU Emacs.
26 % GNU Emacs is free software; you can redistribute it and/or modify
27 % it under the terms of the GNU General Public License as published by
28 % the Free Software Foundation; either version 2, or (at your option)
29 % any later version.
31 % GNU Emacs is distributed in the hope that it will be useful,
32 % but WITHOUT ANY WARRANTY; without even the implied warranty of
33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 % GNU General Public License for more details.
36 % You should have received a copy of the GNU General Public License
37 % along with GNU Emacs; see the file COPYING. If not, write to
38 % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
39 % Boston, MA 02110-1301, USA.
41 % This file is intended to be processed by plain TeX (TeX82).
43 % The final reference card has six columns, three on each side.
44 % This file can be used to produce it in any of three ways:
45 % 1 column per page
46 % produces six separate pages, each of which needs to be reduced to 80%.
47 % This gives the best resolution.
48 % 2 columns per page
49 % produces three already-reduced pages.
50 % You will still need to cut and paste.
51 % 3 columns per page
52 % produces two pages which must be printed sideways to make a
53 % ready-to-use 8.5 x 11 inch reference card.
54 % For this you need a dvi device driver that can print sideways.
55 % Which mode to use is controlled by setting \columnsperpage above.
57 % To compile and print this document:
58 % tex refcard.tex
59 % dvips -t landscape refcard.dvi
61 % Author:
62 % Stephen Gildea
63 % Internet: gildea@stop.mail-abuse.org
65 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
66 % for their many good ideas.
68 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
69 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
70 Permissions on back. v\orgversionnumber}}
72 \def\copyrightnotice{
73 \vskip 1ex plus 100 fill\begingroup\small
74 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
75 \centerline{v\orgversionnumber{} for Org-Mode \orgversionnumber{}, \versionyear}
76 \centerline{Author: Philip Rooke}
77 \centerline{based on refcard design and format by Stephen Gildea}
79 Permission is granted to make and distribute copies of
80 this card provided the copyright notice and this permission notice
81 are preserved on all copies.
83 \endgroup}
85 % make \bye not \outer so that the \def\bye in the \else clause below
86 % can be scanned without complaint.
87 \def\bye{\par\vfill\supereject\end}
89 \newdimen\intercolumnskip %horizontal space between columns
90 \newbox\columna %boxes to hold columns already built
91 \newbox\columnb
93 \def\ncolumns{\the\columnsperpage}
95 \message{[\ncolumns\space
96 column\if 1\ncolumns\else s\fi\space per page]}
98 \def\scaledmag#1{ scaled \magstep #1}
100 % This multi-way format was designed by Stephen Gildea October 1986.
101 % Note that the 1-column format is fontfamily-independent.
102 \if 1\ncolumns %one-column format uses normal size
103 \hsize 4in
104 \vsize 10in
105 \voffset -.7in
106 \font\titlefont=\fontname\tenbf \scaledmag3
107 \font\headingfont=\fontname\tenbf \scaledmag2
108 \font\smallfont=\fontname\sevenrm
109 \font\smallsy=\fontname\sevensy
111 \footline{\hss\folio}
112 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
113 \else %2 or 3 columns uses prereduced size
114 \if 1\the\letterpaper
115 \hsize 3.2in
116 \vsize 7.95in
117 \hoffset -.75in
118 \voffset -.745in
119 \else
120 \hsize 3.2in
121 \vsize 7.65in
122 \hoffset -.25in
123 \voffset -.745in
125 \font\titlefont=cmbx10 \scaledmag2
126 \font\headingfont=cmbx10 \scaledmag1
127 \font\smallfont=cmr6
128 \font\smallsy=cmsy6
129 \font\eightrm=cmr8
130 \font\eightbf=cmbx8
131 \font\eightit=cmti8
132 \font\eighttt=cmtt8
133 \font\eightmi=cmmi8
134 \font\eightsy=cmsy8
135 \textfont0=\eightrm
136 \textfont1=\eightmi
137 \textfont2=\eightsy
138 \def\rm{\eightrm}
139 \def\bf{\eightbf}
140 \def\it{\eightit}
141 \def\tt{\eighttt}
142 \if 1\the\letterpaper
143 \normalbaselineskip=.8\normalbaselineskip
144 \else
145 \normalbaselineskip=.7\normalbaselineskip
147 \normallineskip=.8\normallineskip
148 \normallineskiplimit=.8\normallineskiplimit
149 \normalbaselines\rm %make definitions take effect
151 \if 2\ncolumns
152 \let\maxcolumn=b
153 \footline{\hss\rm\folio\hss}
154 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
155 \else \if 3\ncolumns
156 \let\maxcolumn=c
157 \nopagenumbers
158 \else
159 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
160 \errmessage{Illegal number of columns per page}
161 \fi\fi
163 \intercolumnskip=.46in
164 \def\abc{a}
165 \output={% %see The TeXbook page 257
166 % This next line is useful when designing the layout.
167 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
168 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
169 \else\if a\abc
170 \global\setbox\columna\columnbox \global\def\abc{b}
171 %% in case we never use \columnb (two-column mode)
172 \global\setbox\columnb\hbox to -\intercolumnskip{}
173 \else
174 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
175 \def\multicolumnformat{\shipout\vbox{\makeheadline
176 \hbox{\box\columna\hskip\intercolumnskip
177 \box\columnb\hskip\intercolumnskip\columnbox}
178 \makefootline}\advancepageno}
179 \def\columnbox{\leftline{\pagebody}}
181 \def\bye{\par\vfill\supereject
182 \if a\abc \else\null\vfill\eject\fi
183 \if a\abc \else\null\vfill\eject\fi
184 \end}
187 % we won't be using math mode much, so redefine some of the characters
188 % we might want to talk about
189 %\catcode`\^=12
190 \catcode`\_=12
192 % we also need the tilde, for file names.
193 \catcode`\~=12
195 \chardef\\=`\\
196 \chardef\{=`\{
197 \chardef\}=`\}
199 \hyphenation{mini-buf-fer}
201 \parindent 0pt
202 \parskip 1ex plus .5ex minus .5ex
204 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
206 % newcolumn - force a new column. Use sparingly, probably only for
207 % the first column of a page, which should have a title anyway.
208 \outer\def\newcolumn{\vfill\eject}
210 % title - page title. Argument is title text.
211 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
213 % section - new major section. Argument is section name.
214 \outer\def\section#1{\par\filbreak
215 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
216 \vskip 2ex plus 1ex minus 1.5ex}
218 \newdimen\keyindent
220 % beginindentedkeys...endindentedkeys - key definitions will be
221 % indented, but running text, typically used as headings to group
222 % definitions, will not.
223 \def\beginindentedkeys{\keyindent=1em}
224 \def\endindentedkeys{\keyindent=0em}
225 \endindentedkeys
227 % paralign - begin paragraph containing an alignment.
228 % If an \halign is entered while in vertical mode, a parskip is never
229 % inserted. Using \paralign instead of \halign solves this problem.
230 \def\paralign{\vskip\parskip\halign}
232 % \<...> - surrounds a variable name in a code example
233 \def\<#1>{{\it #1\/}}
235 % kbd - argument is characters typed literally. Like the Texinfo command.
236 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
238 % beginexample...endexample - surrounds literal text, such a code example.
239 % typeset in a typewriter font with line breaks preserved
240 \def\beginexample{\par\leavevmode\begingroup
241 \obeylines\obeyspaces\parskip0pt\tt}
242 {\obeyspaces\global\let =\ }
243 \def\endexample{\endgroup}
245 % key - definition of a key.
246 % \key{description of key}{key-name}
247 % prints the description left-justified, and the key-name in a \kbd
248 % form near the right margin.
249 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
250 {\hsize=.75\hsize\rightskip=1em
251 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
253 \newbox\metaxbox
254 \setbox\metaxbox\hbox{\kbd{M-x }}
255 \newdimen\metaxwidth
256 \metaxwidth=\wd\metaxbox
258 % metax - definition of a M-x command.
259 % \metax{description of command}{M-x command-name}
260 % Tries to justify the beginning of the command name at the same place
261 % as \key starts the key name. (The "M-x " sticks out to the left.)
262 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
263 {\hskip\keyindent\relax#1\hfil}%
264 \hskip -\metaxwidth minus 1fil
265 \kbd{#2}\hfil}}
267 % threecol - like "key" but with two key names.
268 % for example, one for doing the action backward, and one for forward.
269 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
270 &\kbd{#3}\hfil\quad\cr}
272 %**end of header
275 \title{Org-Mode Reference Card (1/2)}
277 \centerline{(for version \orgversionnumber)}
279 \section{Getting Started}
281 \vskip -1mm
282 \beginexample%
283 (add-to-list 'auto-mode-alist '("\\\\.org\$" . org-mode))
284 (define-key global-map "\\C-cl" 'org-store-link)$^1$
285 (define-key global-map "\\C-ca" 'org-agenda)$^1$
286 \endexample
288 \metax{For the many customization options try}{M-x org-customize}
289 \metax{To read the on-line documentation try}{M-x org-info}
291 \section{Visibility Cycling}
293 \key{rotate current subtree between states}{TAB}
294 \key{rotate entire buffer between states}{S-TAB}
295 \key{show the whole file}{C-c C-a}
296 \key{reveal context around point}{C-c C-r}
297 \key{show subtree in indirect buffer, ded.\ frame}{C-c C-k}
298 %\key{show branches}{C-c C-k}
300 \section{Motion}
302 \key{next/previous heading}{C-c C-n/p}
303 \key{next/previous heading, same level}{C-c C-f/b}
304 \key{backward to higher level heading}{C-c C-u}
305 \key{jump to another place in document}{C-c C-j}
306 \key{previous/next plain list item}{S-UP/DOWN$^3$}
308 \section{Structure Editing}
310 \key{insert new heading/item at current level}{M-RET}
311 \key{insert new heading after subtree}{C-RET}
312 \key{insert new TODO entry/checkbox item}{M-S-RET}
314 \key{promote current heading up one level}{M-LEFT}
315 \key{demote current heading down one level}{M-RIGHT}
316 \key{promote current subtree up one level}{M-S-LEFT}
317 \key{demote current subtree down one level}{M-S-RIGHT}
319 \key{move subtree/list item up/down}{M-S-UP/DOWN}
320 \key{kill subtree}{C-c C-x C-w}
321 \key{copy subtree}{C-c C-x M-w}
322 \key{yank subtree}{C-c C-x C-y}
323 \key{narrow buffer to current subtree}{C-x n s}
325 \section{Archiving}
327 \key{toggle ARCHIVE tag}{C-c C-x C-a}
328 %\metax{mark fully done children}{C-u C-c C-x C-a}
329 \key{force cycling of an ARCHIVEd tree}{C-TAB}
330 \key{move subtree to archive file}{C-c C-x C-s}
331 %\metax{move all fully done children}{C-u C-c C-x C-s}
332 %To set archive location for current file, add a line like$^2$:
333 %\vskip -1mm
334 %\beginexample%
335 %\#+ARCHIVE: archfile::* Archived Tasks
336 %\endexample
338 \section{Filtering and Sparse Trees}
340 \key{show sparse tree for all matches of a regexp}{C-c /}
341 \key{view TODO's in sparse tree}{C-c C-v}
342 \key{global TODO list in agenda mode}{C-c t$^1$}
343 \key{create sparse tree with all deadlines due}{C-c C-w}
344 \key{time sorted view of current org file}{C-c a L}
345 %\key{agenda for the week}{C-c a$^1$}
346 %\key{agenda for date at cursor}{C-c C-o}
348 \section{Tables}
350 {\bf Creating a table}
352 %\metax{insert a new Org-mode table}{M-x org-table-create}
353 \metax{just start typing, e.g.}{|Name|Phone|Age RET |- TAB}
354 \key{convert region to table}{C-c |}
355 \key{... separator at least 3 spaces}{C-3 C-c |}
357 {\bf Commands available inside tables}
359 The following commands work when the cursor is {\it inside a table}.
360 Outside of tables, the same keys may have other functionality.
362 {\bf Re-aligning and field motion}
364 \key{re-align the table without moving the cursor}{C-c C-c}
365 \key{re-align the table, move to next field}{TAB}
366 \key{move to previous field}{S-TAB}
367 \key{re-align the table, move to next row}{RET}
369 {\bf Row and column editing}
371 \key{move the current column left}{M-LEFT/RIGHT}
372 \key{kill the current column}{M-S-LEFT}
373 \key{insert new column to left of cursor position}{M-S-RIGHT}
375 \key{move the current row up/down}{M-UP/DOWN}
376 \key{kill the current row or horizontal line}{M-S-UP}
377 \key{insert new row above the current row}{M-S-DOWN}
378 \key{insert hline below (\kbd{C-u} : above) current row}{C-c -}
379 \key{sort lines in region}{C-c \^{}}
381 {\bf Regions}
383 \key{cut rectangular region}{C-c C-x C-w}
384 \key{copy rectangular region}{C-c C-x M-w}
385 \key{paste rectangular region}{C-c C-x C-y}
386 \key{fill paragraph across selected cells}{C-c C-q}
388 {\bf Miscellaneous}
390 \key{to limit column width to \kbd{N} characters, use}{...| <N> |...}
391 \key{edit the current field in a separate window}{C-c `}
392 \key{make current field fully visible}{C-u TAB}
393 \metax{export as tab-separated file}{M-x org-table-export}
394 \metax{import tab-separated file}{M-x org-table-import}
395 \key{sum numbers in current column/rectangle}{C-c +}
397 {\bf Tables created with the \kbd{table.el} package}
399 \key{insert a new \kbd{table.el} table}{C-c ~}
400 \key{recognize existing table.el table}{C-c C-c}
401 \key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~}
403 {\bf Spreadsheet}
405 Formulas typed in field are executed by \kbd{TAB},
406 \kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column
407 formula, \kbd{:=} a field formula.
409 \key{Example: Add Col1 and Col2}{|=\$1+\$2 |}
410 \key{... with printf format specification}{|=\$1+\$2;\%.2f|}
411 \key{... with constants from constants.el}{|=\$1/\$c/\$cm |}
412 \metax{sum from 2nd to 3rd hline}{|:=vsum(@II..@III)|}
413 \key{apply current column formula}{| = |}
415 \key{set and eval column formula}{C-c =}
416 \key{set and eval field formula}{C-u C-c =}
417 \key{re-apply all stored equations to current line}{C-c *}
418 \key{re-apply all stored equations to entire table}{C-u C-c *}
419 \key{iterate table to stability}{C-u C-u C-c *}
420 \key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
421 \key{show line, column, formula reference}{C-c ?}
422 \key{toggle coordinate grid}{C-c \}}
423 \key{toggle formula debugger}{C-c \{}
425 \newcolumn
426 {\it Formula Editor}
428 \key{edit formulas in separate buffer}{C-c '}
429 \key{exit and install new formulas}{C-c C-c}
430 \key{exit, install, and apply new formulas}{C-u C-c C-c}
431 \key{abort}{C-c C-q}
432 \key{toggle reference style}{C-c C-r}
433 \key{pretty-print Lisp formula}{TAB}
434 \key{complete Lisp symbol}{M-TAB}
435 \key{shift reference point}{S-cursor}
436 \key{shift test line for column references}{M-up/down}
437 \key{scroll the window showing the table}{M-S-up/down}
438 \key{toggle table coordinate grid}{C-c \}}
440 \section{Links}
442 \key{globally store link to the current location}{C-c l$^1$}
443 \key{insert a link (TAB completes stored links)}{C-c C-l}
444 \key{insert file link with file name completion}{C-u C-c C-l}
445 \key{edit (also hidden part of) link at point}{C-c C-l}
447 \key{open file links in emacs}{C-c C-o}
448 \key{...force open in emacs/other window}{C-u C-c C-o}
449 \key{open link at point}{mouse-1/2}
450 \key{...force open in emacs/other window}{mouse-3}
451 \key{record a position in mark ring}{C-c \%}
452 \key{jump back to last followed link(s)}{C-c \&}
453 \key{Find next link}{C-c C-x C-n}
454 \key{Find previous link}{C-c C-x C-p}
456 {\bf Internal Links}
458 \key{\kbd{<<My Target>>}}{\rm target}
459 \key{\kbd{<<<My Target>>>}}{\rm radio target$^2$}
460 \key{\kbd{[[*this text]]}}{\rm find headline}
461 \metax{\kbd{[[this text]]}}{\rm find target or text in buffer}
462 \metax{\kbd{[[this text][description]]}}{\rm optional link text}
464 {\bf External Links}
466 \key{\kbd{file:/home/dominik/img/mars.jpg}}{\rm file, absolute}
467 \key{\kbd{file:papers/last.pdf}}{\rm file, relative}
468 \key{\kbd{file:projects.org::*that text}}{\rm find headline}
469 \key{\kbd{file:projects.org::find me}}{\rm find trgt/string}
470 %\key{\kbd{file:projects.org::/regexp/}}{\rm regexp search}
471 \key{\kbd{http://www.astro.uva.nl/~dominik}}{\rm on the web}
472 \key{\kbd{mailto:adent@galaxy.net}}{\rm Email address}
473 \key{\kbd{news:comp.emacs}}{\rm Usenet group}
474 \key{\kbd{bbdb:Richard Stallman}}{\rm BBDB person}
475 \key{\kbd{gnus:group}}{\rm GNUS group}
476 \key{\kbd{gnus:group\#id}}{\rm GNUS message}
477 \key{\kbd{vm|wl|mhe|rmail:folder}}{\rm Mail folder}
478 \key{\kbd{vm|wl|mhe|rmail:folder\#id}}{\rm Mail message}
479 \key{\kbd{info:emacs:Regexps}}{\rm Info file:node}
480 \key{\kbd{shell:ls *.org}}{\rm shell command}
481 \key{\kbd{elisp:(calendar)}}{\rm elisp form}
482 \metax{\kbd{[[external link][description]]}}{\rm optional link text}
483 %\key{\kbd{vm://myself@some.where.org/folder\#id}}{\rm VM remote}
486 % \section{Remember-mode Integration}
488 % See the manual for how to make remember.el use Org-mode links and
489 % files. The note-finishing command \kbd{C-c C-c} will first prompt for
490 % an org file. In the file, find a location with:
492 % \key{rotate subtree visibility}{TAB}
493 % \key{next heading}{DOWN}
494 % \key{previous heading}{UP}
496 % Insert the note with one of the following:
498 % \key{as sublevel of heading at cursor}{RET}
499 % \key{right here (cursor not on heading)}{RET}
500 % \key{before current heading}{LEFT}
501 % \key{after current heading}{RIGHT}
502 % \key{shortcut to end of buffer (cursor at buf-start)}{RET}
503 % \key{Abort}{q}
505 \section{Completion}
507 In-buffer completion completes TODO keywords at headline start, TeX
508 macros after ``{\tt \\}'', option keywords after ``{\tt \#-}'', TAGS
509 after ``{\tt :}'', and dictionary words elsewhere.
511 \key{Complete word at point}{M-TAB}
514 \newcolumn
515 \title{Org-Mode Reference Card (2/2)}
517 \centerline{(for version \orgversionnumber)}
519 \section{TODO Items and Checkboxes}
521 \key{rotate the state of the current item}{C-c C-t}
522 \metax{select next/previous state}{S-LEFT/RIGHT}
523 \metax{select next/previous set}{C-S-LEFT/RIGHT}
524 \key{view TODO items in a sparse tree}{C-c C-v}
525 \key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v}
527 \key{set the priority of the current item}{C-c , [ABC]}
528 \key{remove priority cookie from current item}{C-c , SPC}
529 \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
530 %\key{lower priority of current item}{S-DOWN$^3$}
532 %\key{\kbd{\#+SEQ_TODO: TODO TRY BLUFF DONE}}{\rm todo workflow}
533 %\key{\kbd{\#+TYP_TODO: Phil home work DONE}}{\rm todo types}
535 \key{insert new checkbox item in plain list}{M-S-RET}
536 \key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b}
537 \key{toggle checkbox at point}{C-c C-c}
538 \metax{checkbox statistics cookies: insert {\tt [/]} or {\tt [\%]}}{}
539 \key{update checkbox statistics (\kbd{C-u} : whole file)}{C-c \#}
541 \section{Tags}
543 \key{set tags for current heading}{C-c C-c}
544 \key{realign tags in all headings}{C-u C-c C-c}
545 \key{create sparse tree with matching tags}{C-c \\}
546 \key{globally (agenda) match tags at cursor}{C-c C-o}
548 \section{Properties and Column View}
550 \key{special commands in property lines}{C-c C-c}
551 \key{next/previous allowed value}{S-left/right}
552 \key{turn on column view}{C-c C-x C-c}
554 \key{quit column view}{q}
555 \key{next/previous allowed value}{S-left/right}
556 \key{next/previous allowed value}{n / p}
557 \key{edit value}{e}
558 \key{edit allowed values list}{a}
559 \key{show value}{v}
560 \key{make column wider/narrower}{> / <}
561 \key{move column left/right}{M-left/right}
562 \key{add new column}{M-S-right}
563 \key{Delete current column}{M-S-left}
566 \section{Timestamps}
568 \key{prompt for date and insert timestamp}{C-c .}
569 \key{like \kbd{C-c} . but insert date and time format}{C-u C-c .}
570 \key{Like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME
571 \key{insert DEADLINE timestamp}{C-c C-d}
572 \key{insert SCHEDULED timestamp}{C-c C-s}
573 \key{create sparse tree with all deadlines due}{C-c C-w}
574 \key{the time between 2 dates in a time range}{C-c C-y}
575 \key{change timestamp at cursor by $\pm 1$ day}{S-RIGHT/LEFT$^3$}
576 \key{change year/month/day at cursor by $\pm 1$}{S-UP/DOWN$^3$}
577 \key{access the calendar for the current date}{C-c >}
578 \key{insert timestamp matching date in calendar}{C-c <}
579 \key{access agenda for current date}{C-c C-o}
580 \key{Select date while prompted}{mouse-1/RET}
581 %\key{... select date in calendar}{mouse-1/RET}
582 %\key{... scroll calendar back/forward one month}{< / >}
583 %\key{... forward/backward one day}{S-LEFT/RIGHT}
584 %\key{... forward/backward one week}{S-UP/DOWN}
585 %\key{... forward/backward one month}{M-S-LEFT/RIGT}
586 \key{Toggle custom format display for dates/times}{C-c C-x C-t}
588 \newcolumn
590 {\bf Clocking time}
592 \key{start clock on current item}{C-c C-x C-i}
593 \key{stop clock on current item}{C-c C-x C-o}
594 \key{cancel current clock}{C-c C-x C-x}
595 \key{display total subtree times}{C-c C-x C-d}
596 \key{remove displayed times}{C-c C-c}
597 \key{insert/update table with clock report}{C-c C-x C-r}
599 \section{Agenda Views}
601 \key{add/move current file to front of agenda}{C-c [}
602 \key{remove current file from your agenda}{C-c ]}
603 \key{cycle through agenda file list}{C-'}
605 \key{compile agenda for the current week}{C-c a a$^1$}
606 \key{compile global TODO list}{C-c a t$^1$}
607 \key{compile TODO list for specific keyword}{C-c a T$^1$}
608 \key{match tags in agenda files}{C-c a m$^1$}
609 \key{match tags in TODO entries}{C-c a M$^1$}
610 \key{find stuck projects}{C-c a \#$^1$}
611 \key{show timeline of current org file}{C-c a L$^1$}
612 \key{configure custom commands}{C-c a C$^1$}
613 \key{configure stuck projects}{C-c a !$^1$}
614 \key{agenda for date at cursor}{C-c C-o}
616 %\vskip 1mm
617 %To set categories, add lines like$^2$:
618 %\vskip -1mm
619 %\beginexample%
620 %\#+CATEGORY: MyCateg
621 %\endexample
623 {\bf Commands available in an agenda buffer}
625 {\bf View Org file}
627 \key{show original location of item}{SPC/mouse-3}
628 %\key{... also available with}{mouse-3}
629 \key{show and recenter window}{L}
630 \key{goto original location in other window}{TAB/mouse-2}
631 %\key{... also available with}{mouse-2}
632 \key{goto original location, delete other windows}{RET}
633 \key{show subtree in indirect buffer, ded.\ frame}{b}
634 \key{toggle follow-mode}{f}
636 {\bf Change display}
638 \key{delete other windows}{o}
639 \key{switch to day/week/month/year view}{d w m y}
640 \key{toggle inclusion of diary entries}{D}
641 \key{toggle time grid for daily schedule}{g}
642 \key{toggle display of logbook entries}{l}
643 \key{refresh agenda buffer with any changes}{r}
644 \key{save all org-mode buffers}{s}
645 \key{display the following \kbd{org-agenda-ndays}}{RIGHT}
646 \key{display the previous \kbd{org-agenda-ndays}}{LEFT}
647 \key{goto today}{.}
649 {\bf Remote editing}
651 \key{digit argument}{0-9}
652 \key{change state of current TODO item}{t}
653 \key{kill item and source}{C-k}
654 \key{archive the subtree}{\$}
655 \key{show tags of current headline}{T}
656 \key{set tags for current headline/region}{:}
657 \key{toggle ARCHIVE tag}{a}
658 \key{set priority of current item}{p}
659 \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
660 \key{display weighted priority of current item}{P}
661 \key{schedule/set deadline for this item}{C-c C-s/d}
662 \key{change timestamp to one day earlier/later}{S-LEFT/RIGHT$^3$}
663 \key{change timestamp to today}{>}
664 \key{insert new entry into diary}{i}
666 \newcolumn
667 \key{start the clock on current item (clock-in)}{I}
668 \key{stop the clock (clock-out)}{O}
669 \key{cancel current clock}{X}
671 {\bf Misc}
673 \key{Open link in current line}{C-c C-o}
675 {\bf Calendar commands}
677 \key{find agenda cursor date in calendar}{c}
678 \key{compute agenda for calendar cursor date}{c}
679 \key{show phases of the moon}{M}
680 \key{show sunrise/sunset times}{S}
681 \key{show holidays}{H}
682 \key{convert date to other calendars}{C}
684 {\bf Quit and Exit}
686 \key{quit agenda, remove agenda buffer}{q}
687 \key{exit agenda, remove all agenda buffers}{x}
689 \section{Calendar and Diary Integration}
691 Include Emacs diary entries into Org-mode agenda with:
692 \beginexample%
693 (setq org-agenda-include-diary t)
694 \endexample
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)}{` / '}
702 \section{Exporting and Publishing}
704 Exporting creates files with extensions {\it .txt\/} and {\it .html\/}
705 in the current directory. Publishing puts the resulting file into
706 some other place.
708 \key{export/publish dispatcher}{C-c C-e}
710 \key{export visible part only}{C-c C-e v}
711 \key{insert template of export options}{C-c C-x t}
712 \key{toggle fixed width for entry or region}{C-c :}
714 %{\bf HTML formatting}
716 %\key{make words {\bf bold}}{*bold*}
717 %\key{make words {\it italic}}{/italic/}
718 %\key{make words \underbar{underlined}}{_underlined_}
719 %\key{sub- and superscripts}{x\^{}3, J_dust}
720 %\key{\TeX{}-like macros}{\\alpha, \\to}
721 %\key{typeset lines in fixed width font}{start with :}
722 %\key{tables are exported as HTML tables}{start with |}
723 %\key{links become HTML links}{http:... etc}
724 %\key{include html tags}{@<b>...@</b>}
726 %{\bf Export options}
728 %Include additional information for export by putting these anywhere in the
729 %org file. Use {\tt M-TAB} completion to make sure to get the right
730 %keywords. {\tt M-TAB} again just after keyword is complete inserts examples.
732 %\key{the title to be shown}{\#+TITLE:}
733 %\key{the author}{\#+AUTHOR:}
734 %\key{authors email address}{\#+EMAIL:}
735 %\key{language code for html}{\#+LANGUAGE:}
736 %\key{free text description of file}{\#+TEXT:}
737 %\key{... which can carry over multiple lines}{\#+TEXT:}
738 %\key{settings for the export process}{\#+OPTIONS:}
740 %\key{set number of headline levels for export}{H:2}
741 %\key{turn on/off section numbers}{num:t}
742 %\key{turn on/off table of contents}{toc:t}
743 %\key{turn on/off linebreak preservation}{\\n:nil}
744 %\key{turn on/off quoted html tags}{@:t}
745 %\key{turn on/off fixed width sections}{::t}
746 %\key{turn on/off tables}{|:t}
747 %\key{turn on/off \TeX\ syntax for sub/super-scripts}{\^{}:t}
748 %\key{turn on/off emphasised text}{*:nil}
749 %\key{turn on/off \TeX\ macros}{TeX:t}
751 {\bf Comments: Text not being exported}
753 Text before the first headline is not considered part of the document
754 and is therefore never exported.
755 Lines starting with \kbd{\#} are comments and are not exported.
756 Subtrees whose header starts with COMMENT are 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 you 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-CUA-compatibility}.
774 \copyrightnotice
776 \bye
778 % Local variables:
779 % compile-command: "tex refcard"
780 % End:
782 % arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290