Release 4.70
[org-mode.git] / orgcard.tex
blobe4c18b8c8ffddeae4deb6f9b32411c28f60ddb1d
1 % Reference Card for Org Mode
2 \def\orgversionnumber{4.70}
3 \def\versionyear{2007} % latest update
4 \def\year{2007} % latest copyright year
6 %**start of header
7 \newcount\columnsperpage
9 % This file can be printed with 1, 2, or 3 columns per page (see below).
10 % At the moment this card works quite nicely in 3 column format and
11 % currently takes 2 full pages. It is thus suited to producing one
12 % double-side page when printed.
14 % There are a couple of tweaks in the format of this card which make it work
15 % slightly better on A4 paper. The changes due, I think, to Stephen Eglen,
16 % are commented below. Revert the changes if you want letter sized paper.
18 % Try running something like
19 % tex org-mode-ref.tex; dvips -t landscape org-mode-ref.dvi
20 % to print the card
22 \columnsperpage=3
24 % Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc
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., 59 Temple Place - Suite 330,
39 % Boston, MA 02111-1307, 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 % Author:
58 % Stephen Gildea
59 % Internet: gildea@stop.mail-abuse.org
61 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
62 % for their many good ideas.
64 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
65 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
66 Permissions on back. v\orgversionnumber}}
68 \def\copyrightnotice{
69 \vskip 1ex plus 100 fill\begingroup\small
70 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
71 \centerline{v\orgversionnumber{} for Org-Mode \orgversionnumber{}, \versionyear}
72 \centerline{Author: Philip Rooke}
73 \centerline{based on refcard design and format by Stephen Gildea}
75 Permission is granted to make and distribute copies of
76 this card provided the copyright notice and this permission notice
77 are preserved on all copies.
79 \endgroup}
81 % make \bye not \outer so that the \def\bye in the \else clause below
82 % can be scanned without complaint.
83 \def\bye{\par\vfill\supereject\end}
85 \newdimen\intercolumnskip %horizontal space between columns
86 \newbox\columna %boxes to hold columns already built
87 \newbox\columnb
89 \def\ncolumns{\the\columnsperpage}
91 \message{[\ncolumns\space
92 column\if 1\ncolumns\else s\fi\space per page]}
94 \def\scaledmag#1{ scaled \magstep #1}
96 % This multi-way format was designed by Stephen Gildea October 1986.
97 % Note that the 1-column format is fontfamily-independent.
98 \if 1\ncolumns %one-column format uses normal size
99 \hsize 4in
100 \vsize 10in
101 \voffset -.7in
102 \font\titlefont=\fontname\tenbf \scaledmag3
103 \font\headingfont=\fontname\tenbf \scaledmag2
104 \font\smallfont=\fontname\sevenrm
105 \font\smallsy=\fontname\sevensy
107 \footline{\hss\folio}
108 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
109 \else %2 or 3 columns uses prereduced size
110 \hsize 3.2in
112 % FIXME - Try to make things more A4 friendly
113 % \vsize 7.95in
114 \vsize 7.65in
115 % \hoffset -.75in
116 \hoffset -.25in
117 \voffset -.745in
118 \font\titlefont=cmbx10 \scaledmag2
119 \font\headingfont=cmbx10 \scaledmag1
120 \font\smallfont=cmr6
121 \font\smallsy=cmsy6
122 \font\eightrm=cmr8
123 \font\eightbf=cmbx8
124 \font\eightit=cmti8
125 \font\eighttt=cmtt8
126 \font\eightmi=cmmi8
127 \font\eightsy=cmsy8
128 \textfont0=\eightrm
129 \textfont1=\eightmi
130 \textfont2=\eightsy
131 \def\rm{\eightrm}
132 \def\bf{\eightbf}
133 \def\it{\eightit}
134 \def\tt{\eighttt}
136 % FIXME - Try to make things more A4 friendly
137 % \normalbaselineskip=.8\normalbaselineskip
138 \normalbaselineskip=.7\normalbaselineskip
139 \normallineskip=.8\normallineskip
140 \normallineskiplimit=.8\normallineskiplimit
141 \normalbaselines\rm %make definitions take effect
143 \if 2\ncolumns
144 \let\maxcolumn=b
145 \footline{\hss\rm\folio\hss}
146 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
147 \else \if 3\ncolumns
148 \let\maxcolumn=c
149 \nopagenumbers
150 \else
151 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
152 \errmessage{Illegal number of columns per page}
153 \fi\fi
155 \intercolumnskip=.46in
156 \def\abc{a}
157 \output={% %see The TeXbook page 257
158 % This next line is useful when designing the layout.
159 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
160 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
161 \else\if a\abc
162 \global\setbox\columna\columnbox \global\def\abc{b}
163 %% in case we never use \columnb (two-column mode)
164 \global\setbox\columnb\hbox to -\intercolumnskip{}
165 \else
166 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
167 \def\multicolumnformat{\shipout\vbox{\makeheadline
168 \hbox{\box\columna\hskip\intercolumnskip
169 \box\columnb\hskip\intercolumnskip\columnbox}
170 \makefootline}\advancepageno}
171 \def\columnbox{\leftline{\pagebody}}
173 \def\bye{\par\vfill\supereject
174 \if a\abc \else\null\vfill\eject\fi
175 \if a\abc \else\null\vfill\eject\fi
176 \end}
179 % we won't be using math mode much, so redefine some of the characters
180 % we might want to talk about
181 %\catcode`\^=12
182 \catcode`\_=12
184 % we also need the tilde, for file names.
185 \catcode`\~=12
187 \chardef\\=`\\
188 \chardef\{=`\{
189 \chardef\}=`\}
191 \hyphenation{mini-buf-fer}
193 \parindent 0pt
194 \parskip 1ex plus .5ex minus .5ex
196 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
198 % newcolumn - force a new column. Use sparingly, probably only for
199 % the first column of a page, which should have a title anyway.
200 \outer\def\newcolumn{\vfill\eject}
202 % title - page title. Argument is title text.
203 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
205 % section - new major section. Argument is section name.
206 \outer\def\section#1{\par\filbreak
207 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
208 \vskip 2ex plus 1ex minus 1.5ex}
210 \newdimen\keyindent
212 % beginindentedkeys...endindentedkeys - key definitions will be
213 % indented, but running text, typically used as headings to group
214 % definitions, will not.
215 \def\beginindentedkeys{\keyindent=1em}
216 \def\endindentedkeys{\keyindent=0em}
217 \endindentedkeys
219 % paralign - begin paragraph containing an alignment.
220 % If an \halign is entered while in vertical mode, a parskip is never
221 % inserted. Using \paralign instead of \halign solves this problem.
222 \def\paralign{\vskip\parskip\halign}
224 % \<...> - surrounds a variable name in a code example
225 \def\<#1>{{\it #1\/}}
227 % kbd - argument is characters typed literally. Like the Texinfo command.
228 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
230 % beginexample...endexample - surrounds literal text, such a code example.
231 % typeset in a typewriter font with line breaks preserved
232 \def\beginexample{\par\leavevmode\begingroup
233 \obeylines\obeyspaces\parskip0pt\tt}
234 {\obeyspaces\global\let =\ }
235 \def\endexample{\endgroup}
237 % key - definition of a key.
238 % \key{description of key}{key-name}
239 % prints the description left-justified, and the key-name in a \kbd
240 % form near the right margin.
241 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
242 {\hsize=.75\hsize\rightskip=1em
243 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
245 \newbox\metaxbox
246 \setbox\metaxbox\hbox{\kbd{M-x }}
247 \newdimen\metaxwidth
248 \metaxwidth=\wd\metaxbox
250 % metax - definition of a M-x command.
251 % \metax{description of command}{M-x command-name}
252 % Tries to justify the beginning of the command name at the same place
253 % as \key starts the key name. (The "M-x " sticks out to the left.)
254 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
255 {\hskip\keyindent\relax#1\hfil}%
256 \hskip -\metaxwidth minus 1fil
257 \kbd{#2}\hfil}}
259 % threecol - like "key" but with two key names.
260 % for example, one for doing the action backward, and one for forward.
261 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
262 &\kbd{#3}\hfil\quad\cr}
264 %**end of header
267 \title{Org-Mode Reference Card (1/2)}
269 \centerline{(for version \orgversionnumber)}
271 \section{Getting Started}
273 \vskip -1mm
274 \beginexample%
275 (add-to-list 'auto-mode-alist '("\\\\.org\$" . org-mode))
276 (define-key global-map "\\C-cl" 'org-store-link)$^1$
277 (define-key global-map "\\C-ca" 'org-agenda)$^1$
278 \endexample
280 \metax{For the many customization options try}{M-x org-customize}
281 \metax{To read the on-line documentation try}{M-x org-info}
283 \section{Visibility Cycling}
285 \key{rotate current subtree between states}{TAB}
286 \key{rotate entire buffer between states}{S-TAB}
287 \key{show the whole file}{C-c C-a}
288 \key{reveal context around point}{C-c C-r}
289 \key{show subtree in indirect buffer, ded.\ frame}{C-c C-k}
290 %\key{show branches}{C-c C-k}
292 \section{Motion}
294 \key{next/previous heading}{C-c C-n/p}
295 \key{next/previous heading, same level}{C-c C-f/b}
296 \key{backward to higher level heading}{C-c C-u}
297 \key{jump to another place in document}{C-c C-j}
298 \key{previous/next plain list item}{S-UP/DOWN$^3$}
300 \section{Structure Editing}
302 \key{insert new heading/item at current level}{M-RET}
303 \key{insert new TODO entry/checkbox item}{M-S-RET}
305 \key{promote current heading up one level}{M-LEFT}
306 \key{demote current heading down one level}{M-RIGHT}
307 \key{promote current subtree up one level}{M-S-LEFT}
308 \key{demote current subtree down one level}{M-S-RIGHT}
310 \key{move subtree/list item up/down}{M-S-UP/DOWN}
311 \key{kill subtree}{C-c C-x C-w}
312 \key{copy subtree}{C-c C-x M-w}
313 \key{yank subtree}{C-c C-x C-y}
314 \key{narrow buffer to current subtree}{C-x n s}
316 \section{Archiving}
318 \key{toggle ARCHIVE tag}{C-c C-x C-a}
319 \metax{mark fully done children}{C-u C-c C-x C-a}
320 \key{force cycling of an ARCHIVEd tree}{C-TAB}
321 \key{move subtree to archive file}{C-c C-x C-s}
322 \metax{move all fully done children}{C-u C-c C-x C-s}
323 To set archive location for current file, add a line like$^2$:
324 \vskip -1mm
325 \beginexample%
326 \#+ARCHIVE: archfile::* Archived Tasks
327 \endexample
329 \section{Filtering and Sparse Trees}
331 \key{show sparse tree for all matches of a regexp}{C-c /}
332 \key{view TODO's in sparse tree}{C-c C-v}
333 \key{global TODO list in agenda mode}{C-c t$^1$}
334 \key{create sparse tree with all deadlines due}{C-c C-w}
335 \key{time sorted view of current org file}{C-c a L}
336 %\key{agenda for the week}{C-c a$^1$}
337 %\key{agenda for date at cursor}{C-c C-o}
339 \section{Tables}
341 {\bf Creating a table}
343 %\metax{insert a new Org-mode table}{M-x org-table-create}
344 \metax{just start typing, e.g.}{|Name|Phone|Age RET |- TAB}
345 \key{convert region to table}{C-c |}
346 \key{... separator at least 3 spaces}{C-3 C-c |}
348 {\bf Commands available inside tables}
350 The following commands work when the cursor is {\it inside a table}.
351 Outside of tables, the same keys may have other functionality.
353 {\bf Re-aligning and field motion}
355 \key{re-align the table without moving the cursor}{C-c C-c}
356 \key{re-align the table, move to next field}{TAB}
357 \key{move to previous field}{S-TAB}
358 \key{re-align the table, move to next row}{RET}
360 {\bf Row and column editing}
362 \key{move the current column left}{M-LEFT}
363 \key{move the current column right}{M-RIGHT}
364 \key{kill the current column}{M-S-LEFT}
365 \key{insert new column to left of cursor position}{M-S-RIGHT}
367 \key{move the current row up}{M-UP}
368 \key{move the current row down}{M-DOWN}
369 \key{kill the current row or horizontal line}{M-S-UP}
370 \key{insert new row above the current row}{M-S-DOWN}
371 \key{insert hline below (\kbd{C-u} : above) current row}{C-c -}
372 \key{sort lines in region}{C-c \^{}}
374 {\bf Regions}
376 \key{cut rectangular region}{C-c C-x C-w}
377 \key{copy rectangular region}{C-c C-x M-w}
378 \key{paste rectangular region}{C-c C-x C-y}
379 \key{fill paragraph across selected cells}{C-c C-q}
381 {\bf Miscellaneous}
383 \key{to limit column width to \kbd{N} characters, use}{...| <N> |...}
384 \key{edit the current field in a separate window}{C-c `}
385 \key{make current field fully visible}{C-u TAB}
386 \metax{export as tab-separated file}{M-x org-table-export}
387 \metax{import tab-separated file}{M-x org-table-import}
388 \key{sum numbers in current column/rectangle}{C-c +}
389 \key{copy down with increment}{S-RET$^3$}
391 {\bf Tables created with the \kbd{table.el} package}
393 \key{insert a new \kbd{table.el} table}{C-c ~}
394 \key{recognize existing table.el table}{C-c C-c}
395 \key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~}
397 {\bf Spreadsheet}
399 Formulas typed in field are executed by \kbd{TAB},
400 \kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column
401 formula, \kbd{:=} a field formula.
403 \key{Example: Add Col1 and Col2}{|=\$1+\$2 |}
404 \key{... with printf format specification}{|=\$1+\$2;\%.2f|}
405 \key{... with constants from constants.el}{|=\$1/\$c/\$cm |}
406 \metax{sum from 2nd to 3rd hline}{|:=vsum(@II..@III)|}
407 \key{apply current column formula}{| = |}
409 \key{set and eval column formula}{C-c =}
410 \key{set and eval field formula}{C-u C-c =}
411 \key{re-apply all stored equations to current line}{C-c *}
412 \key{re-apply all stored equations to entire table}{C-u C-c *}
413 \key{iterate table to stability}{C-u C-u C-c *}
414 \key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
415 \key{show line, column, formula reference}{C-c ?}
416 \key{toggle coordinate grid}{C-c \}}
417 \key{toggle formula debugger}{C-c \{}
419 {\it Formula Editor}
421 \key{edit formulas in separate buffer}{C-c '}
422 \key{exit and install new formulas}{C-c C-c}
423 \key{exit, install, and apply new formulas}{C-u C-c C-c}
424 \key{abort}{C-c C-q}
425 \key{toggle reference style}{C-c C-r}
426 \key{pretty-print Lisp formula}{TAB}
427 \key{complete Lisp symbol}{M-TAB}
428 \key{shift reference point}{S-cursor}
429 \key{shift test line for column references}{M-up/down}
430 \key{scroll the window showing the table}{M-S-up/down}
431 \key{toggle table coordinate grid}{C-c \}}
433 \section{Links}
435 \key{globally store link to the current location}{C-c l$^1$}
436 \key{insert a link (TAB completes stored links)}{C-c C-l}
437 \key{insert file link with file name completion}{C-u C-c C-l}
438 \key{edit (also hidden part of) link at point}{C-c C-l}
440 \key{open file links in emacs}{C-c C-o}
441 \key{...force open in emacs/other window}{C-u C-c C-o}
442 \key{open link at point}{mouse-1/2}
443 \key{...force open in emacs/other window}{mouse-3}
444 \key{record a position in mark ring}{C-c \%}
445 \key{jump back to last followed link(s)}{C-c \&}
446 \key{Find next link}{C-c C-x C-n}
447 \key{Find previous link}{C-c C-x C-p}
449 {\bf Internal Links}
451 \key{\kbd{<<My Target>>}}{\rm target}
452 \key{\kbd{<<<My Target>>>}}{\rm radio target$^2$}
453 \key{\kbd{[[*this text]]}}{\rm find headline}
454 \metax{\kbd{[[this text]]}}{\rm find target or text in buffer}
455 \metax{\kbd{[[this text][description]]}}{\rm optional link text}
457 {\bf External Links}
459 \key{\kbd{file:/home/dominik/img/mars.jpg}}{\rm file, absolute}
460 \key{\kbd{file:papers/last.pdf}}{\rm file, relative}
461 \key{\kbd{file:projects.org::*that text}}{\rm find headline}
462 \key{\kbd{file:projects.org::find me}}{\rm find trgt/string}
463 %\key{\kbd{file:projects.org::/regexp/}}{\rm regexp search}
464 \key{\kbd{http://www.astro.uva.nl/~dominik}}{\rm on the web}
465 \key{\kbd{mailto:adent@galaxy.net}}{\rm Email address}
466 \key{\kbd{news:comp.emacs}}{\rm Usenet group}
467 \key{\kbd{bbdb:Richard Stallman}}{\rm BBDB person}
468 \key{\kbd{gnus:group}}{\rm GNUS group}
469 \key{\kbd{gnus:group\#id}}{\rm GNUS message}
470 \key{\kbd{vm|wl|mhe|rmail:folder}}{\rm Mail folder}
471 \key{\kbd{vm|wl|mhe|rmail:folder\#id}}{\rm Mail message}
472 \key{\kbd{info:emacs:Regexps}}{\rm Info file:node}
473 \key{\kbd{shell:ls *.org}}{\rm shell command}
474 \key{\kbd{elisp:(calendar)}}{\rm elisp form}
475 \metax{\kbd{[[external link][description]]}}{\rm optional link text}
476 %\key{\kbd{vm://myself@some.where.org/folder\#id}}{\rm VM remote}
479 % \section{Remember-mode Integration}
481 % See the manual for how to make remember.el use Org-mode links and
482 % files. The note-finishing command \kbd{C-c C-c} will first prompt for
483 % an org file. In the file, find a location with:
485 % \key{rotate subtree visibility}{TAB}
486 % \key{next heading}{DOWN}
487 % \key{previous heading}{UP}
489 % Insert the note with one of the following:
491 % \key{as sublevel of heading at cursor}{RET}
492 % \key{right here (cursor not on heading)}{RET}
493 % \key{before current heading}{LEFT}
494 % \key{after current heading}{RIGHT}
495 % \key{shortcut to end of buffer (cursor at buf-start)}{RET}
496 % \key{Abort}{q}
498 \section{Completion}
500 In-buffer completion completes TODO keywords at headline start, TeX
501 macros after ``{\tt \\}'', option keywords after ``{\tt \#-}'', TAGS
502 after ``{\tt :}'', and dictionary words elsewhere.
504 \key{Complete word at point}{M-TAB}
507 \newcolumn
508 \title{Org-Mode Reference Card (2/2)}
510 \centerline{(for version \orgversionnumber)}
512 \section{TODO Items and Checkboxes}
514 \key{rotate the state of the current item}{C-c C-t}
515 \metax{select next/previous state}{S-LEFT/RIGHT}
516 \metax{select next/previous set}{C-S-LEFT/RIGHT}
517 \key{view TODO items in a sparse tree}{C-c C-v}
518 \key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v}
520 \key{set the priority of the current item}{C-c , [ABC]}
521 \key{remove priority cookie from current item}{C-c , SPC}
522 \key{raise priority of current item}{S-UP$^3$}
523 \key{lower priority of current item}{S-DOWN$^3$}
525 \key{\kbd{\#+SEQ_TODO: TODO TRY BLUFF DONE}}{\rm todo workflow}
526 \key{\kbd{\#+TYP_TODO: Phil home work DONE}}{\rm todo types}
528 \key{insert new checkbox item in plain list}{M-S-RET}
529 \key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b}
530 \key{toggle checkbox at point}{C-c C-c}
531 \metax{checkbox statistics cookies: insert {\tt [/]} or {\tt [\%]}}{}
532 \key{update checkbox statistics (\kbd{C-u} : whole file)}{C-c \#}
534 \section{Tags}
536 \key{set tags for current heading}{C-c C-c}
537 \key{realign tags in all headings}{C-u C-c C-c}
538 \key{create sparse tree with matching tags}{C-c \\}
539 \key{globally (agenda) match tags at cursor}{C-c C-o}
541 \section{Timestamps}
543 \key{prompt for date and insert timestamp}{C-c .}
544 \key{like \kbd{C-c} . but insert date and time format}{C-u C-c .}
545 \key{Like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME
546 \key{insert DEADLINE timestamp}{C-c C-d}
547 \key{insert SCHEDULED timestamp}{C-c C-s}
548 \key{create sparse tree with all deadlines due}{C-c C-w}
549 \key{the time between 2 dates in a time range}{C-c C-y}
550 \key{change timestamp at cursor by $\pm 1$ day}{S-RIGHT/LEFT$^3$}
551 \key{change year/month/day at cursor by $\pm 1$}{S-UP/DOWN$^3$}
552 \key{access the calendar for the current date}{C-c >}
553 \key{insert timestamp matching date in calendar}{C-c <}
554 \key{access agenda for current date}{C-c C-o}
555 \key{Select date while prompted}{mouse-1/RET}
556 %\key{... select date in calendar}{mouse-1/RET}
557 %\key{... scroll calendar back/forward one month}{< / >}
558 %\key{... forward/backward one day}{S-LEFT/RIGHT}
559 %\key{... forward/backward one week}{S-UP/DOWN}
560 %\key{... forward/backward one month}{M-S-LEFT/RIGT}
561 \key{Toggle custom format display for dates/times}{C-c C-x C-t}
563 {\bf Clocking time}
565 \key{start clock on current item}{C-c C-x C-i}
566 \key{stop clock on current item}{C-c C-x C-o}
567 \key{cancel current clock}{C-c C-x C-x}
569 \key{display total subtree times}{C-c C-x C-d}
570 \key{remove displayed times}{C-c C-c}
571 \key{insert/update table with clock report}{C-c C-x C-r}
573 \section{LaTeX and cdlatex-mode}
575 \key{preview LaTeX fragment}{C-c C-x C-l}
576 \key{Expand abbreviation (cdlatex-mode)}{TAB}
577 \key{Insert/modify math symbol (cdlatex-mode)}{` / '}
579 \section{Agenda Views}
581 \key{add/move current file to front of agenda}{C-c [}
582 \key{remove current file from your agenda}{C-c ]}
583 \key{cycle through agenda file list}{C-'}
585 \key{compile agenda for the current week}{C-c a a$^1$}
586 \key{compile global TODO list}{C-c a t$^1$}
587 \key{compile TODO list for specific keyword}{C-c a T$^1$}
588 \key{match tags in agenda files}{C-c a m$^1$}
589 \key{match tags in TODO entries}{C-c a M$^1$}
590 \key{find stuck projects}{C-c a \#$^1$}
591 \key{show timeline of current org file}{C-c a L$^1$}
592 \key{configure custom commands}{C-c a C$^1$}
593 \key{configure stuck projects}{C-c a !$^1$}
594 \key{agenda for date at cursor}{C-c C-o}
596 \vskip 1mm
597 To set categories, add lines like$^2$:
598 \vskip -1mm
599 \beginexample%
600 \#+CATEGORY: MyCateg
601 \endexample
603 {\bf Commands available in an agenda buffer}
605 {\bf View Org file}
607 \key{show original location of item}{SPC/mouse-3}
608 %\key{... also available with}{mouse-3}
609 \key{show and recenter window}{L}
610 \key{goto original location in other window}{TAB/mouse-2}
611 %\key{... also available with}{mouse-2}
612 \key{goto original location, delete other windows}{RET}
613 \key{show subtree in indirect buffer, ded.\ frame}{b}
614 \key{toggle follow-mode}{f}
616 {\bf Change display}
618 \key{delete other windows}{o}
619 \key{switch to daily / weekly view}{d / w}
620 \key{toggle inclusion of diary entries}{D}
621 \key{toggle time grid for daily schedule}{g}
622 \key{toggle display of logbook entries}{l}
623 \key{refresh agenda buffer with any changes}{r}
624 \key{save all org-mode buffers}{s}
625 \key{display the following \kbd{org-agenda-ndays}}{RIGHT}
626 \key{display the previous \kbd{org-agenda-ndays}}{LEFT}
627 \key{goto today}{.}
629 {\bf Remote editing}
631 \key{digit argument}{0-9}
632 \key{change state of current TODO item}{t}
633 \key{kill item and source}{C-k}
634 \key{archive the subtree}{\$}
635 \key{show tags of current headline}{T}
636 \key{set tags for current headline}{:}
637 \key{toggle ARCHIVE tag}{a}
638 \key{set priority of current item}{p}
639 \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
640 \key{display weighted priority of current item}{P}
641 \key{schedule/set deadline for this item}{C-c C-s/d}
642 \key{change timestamp to one day earlier/later}{S-LEFT/RIGHT$^3$}
643 \key{change timestamp to today}{>}
644 \key{insert new entry into diary}{i}
646 \key{start the clock on current item (clock-in)}{I}
647 \key{stop the clock (clock-out)}{O}
648 \key{cancel current clock}{X}
650 {\bf Misc}
652 \key{Open link in current line}{C-c C-o}
654 \newcolumn
655 {\bf Calendar commands}
657 \key{find agenda cursor date in calendar}{c}
658 \key{compute agenda for calendar cursor date}{c}
659 \key{show phases of the moon}{M}
660 \key{show sunrise/sunset times}{S}
661 \key{show holidays}{H}
662 \key{convert date to other calendars}{C}
664 {\bf Quit and Exit}
666 \key{quit agenda, remove agenda buffer}{q}
667 \key{exit agenda, remove all agenda buffers}{x}
669 \section{Calendar and Diary Integration}
671 Include Emacs diary entries into Org-mode agenda with:
672 \beginexample%
673 (setq org-agenda-include-diary t)
674 \endexample
676 \section{Exporting and Publishing}
678 Exporting creates files with extensions {\it .txt\/} and {\it .html\/}
679 in the current directory. Publishing puts the resulting file into
680 some other place.
682 \key{export/publish dispatcher}{C-c C-e}
684 \key{export visible part only}{C-c C-e v}
685 \key{insert template of export options}{C-c C-x t}
686 \key{toggle fixed width for entry or region}{C-c :}
688 {\bf HTML formatting}
690 \key{make words {\bf bold}}{*bold*}
691 \key{make words {\it italic}}{/italic/}
692 \key{make words \underbar{underlined}}{_underlined_}
693 \key{sub- and superscripts}{x\^{}3, J_dust}
694 \key{\TeX{}-like macros}{\\alpha, \\to}
695 \key{typeset lines in fixed width font}{start with :}
696 \key{tables are exported as HTML tables}{start with |}
697 \key{links become HTML links}{http:... etc}
698 \key{include html tags}{@<b>...@</b>}
700 %{\bf Export options}
702 %Include additional information for export by putting these anywhere in the
703 %org file. Use {\tt M-TAB} completion to make sure to get the right
704 %keywords. {\tt M-TAB} again just after keyword is complete inserts examples.
706 %\key{the title to be shown}{\#+TITLE:}
707 %\key{the author}{\#+AUTHOR:}
708 %\key{authors email address}{\#+EMAIL:}
709 %\key{language code for html}{\#+LANGUAGE:}
710 %\key{free text description of file}{\#+TEXT:}
711 %\key{... which can carry over multiple lines}{\#+TEXT:}
712 %\key{settings for the export process}{\#+OPTIONS:}
714 %\key{set number of headline levels for export}{H:2}
715 %\key{turn on/off section numbers}{num:t}
716 %\key{turn on/off table of contents}{toc:t}
717 %\key{turn on/off linebreak preservation}{\\n:nil}
718 %\key{turn on/off quoted html tags}{@:t}
719 %\key{turn on/off fixed width sections}{::t}
720 %\key{turn on/off tables}{|:t}
721 %\key{turn on/off \TeX\ syntax for sub/super-scripts}{\^{}:t}
722 %\key{turn on/off emphasised text}{*:nil}
723 %\key{turn on/off \TeX\ macros}{TeX:t}
725 {\bf Comments: Text not being exported}
727 Text before the first headline is not considered part of the document
728 and is therefore never exported.
729 Lines starting with \kbd{\#} are comments and are not exported.
730 Subtrees whose header starts with COMMENT are never exported.
732 \key{toggle COMMENT keyword on entry}{C-c ;}
735 %\section{CUA and pc-select compatibility}%
737 %Configure the variable {\tt org-CUA-compatibility} to make Org-mode
738 %avoid the \kbd{S-<cursor>} bindings used by these modes. When set,
739 %Org-mode will change the following keybindings (also in the agenda
740 %buffer, but not during date selection). See note mark four$^3$
741 %throughout the reference card.
742 %%\vskip-mm
743 %\beginexample
744 %S-UP $\to$ M-p S-DOWN $\to$ M-n
745 %S-LEFT $\to$ M-- S-RIGHT $\to$ M-+
746 %S-RET $\to$ C-S-RET
747 %\endexample
749 \section{Dynamic Blocks}
751 \key{update dynamic block at point}{C-c C-x C-u}
752 \metax{update all dynamic blocks}{C-u C-c C-x C-u}
754 \section{Notes}
755 $^1$ This is only a suggestion for a binding of this command. Choose
756 you own key as shown under INSTALLATION.
758 $^2$ After changing a \kbd{\#+KEYWORD} or \kbd{<<<target>>>} line,
759 press \kbd{C-c C-c} with the cursor still in the line to update.
761 $^3$ Keybinding affected by {\tt org-CUA-compatibility}.
763 \copyrightnotice
765 \bye
768 % arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290
770 %%% Local Variables:
771 %%% mode: latex
772 %%% TeX-master: t
773 %%% End: