Mercurial > emacs
comparison etc/orgcard.tex @ 69930:2f524fd75dec
*** empty log message ***
author | Carsten Dominik <dominik@science.uva.nl> |
---|---|
date | Tue, 11 Apr 2006 09:12:02 +0000 |
parents | 33d6f57bf01e |
children | 2960c72baf2a |
comparison
equal
deleted
inserted
replaced
69929:beebc22085fe | 69930:2f524fd75dec |
---|---|
1 % Reference Card for Org Mode 4.10 | 1 % Reference Card for Org Mode |
2 \def\orgversionnumber{4.21} | |
3 \def\year{2006} | |
2 % | 4 % |
3 %**start of header | 5 %**start of header |
4 \newcount\columnsperpage | 6 \newcount\columnsperpage |
5 | 7 |
6 % This file can be printed with 1, 2, or 3 columns per page (see below). | 8 % This file can be printed with 1, 2, or 3 columns per page (see below). |
55 % Stephen Gildea | 57 % Stephen Gildea |
56 % Internet: gildea@stop.mail-abuse.org | 58 % Internet: gildea@stop.mail-abuse.org |
57 % | 59 % |
58 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik | 60 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik |
59 % for their many good ideas. | 61 % for their many good ideas. |
60 | |
61 \def\orgversionnumber{4.10} | |
62 \def\year{2006} | |
63 | 62 |
64 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill | 63 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
65 \centerline{\small \copyright\ 2004, 2005, 2006\ Free Software Foundation, Inc. | 64 \centerline{\small \copyright\ 2004, 2005, 2006\ Free Software Foundation, Inc. |
66 Permissions on back. v\orgversionnumber}} | 65 Permissions on back. v\orgversionnumber}} |
67 | 66 |
365 \key{Like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME | 364 \key{Like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME |
366 \key{insert DEADLINE timestamp}{C-c C-d} | 365 \key{insert DEADLINE timestamp}{C-c C-d} |
367 \key{insert SCHEDULED timestamp}{C-c C-s} | 366 \key{insert SCHEDULED timestamp}{C-c C-s} |
368 \key{create sparse tree with all deadlines due}{C-c C-w} | 367 \key{create sparse tree with all deadlines due}{C-c C-w} |
369 \key{the time between 2 dates in a time range}{C-c C-y} | 368 \key{the time between 2 dates in a time range}{C-c C-y} |
370 \key{change timestamp at cursor by $-1$ day}{S-LEFT$^4$} | 369 \key{change timestamp at cursor by $\pm 1$ day}{S-RIGHT/LEFT$^4$} |
371 \key{change timestamp at cursor by $+1$ day}{S-RIGHT$^4$} | 370 \key{change year/month/day at cursor by $\pm 1$}{S-UP/DOWN$^4$} |
372 \key{change year/month/day at cursor by $-1$}{S-DOWN$^4$} | |
373 \key{change year/month/day at cursor by $+1$}{S-UP$^4$} | |
374 \key{access the calendar for the current date}{C-c >} | 371 \key{access the calendar for the current date}{C-c >} |
375 \key{insert timestamp matching date in calendar}{C-c <} | 372 \key{insert timestamp matching date in calendar}{C-c <} |
376 \key{access agenda for current date}{C-c C-o} | 373 \key{access agenda for current date}{C-c C-o} |
377 \key{Select date while prompted}{mouse-1/RET} | 374 \key{Select date while prompted}{mouse-1/RET} |
378 %\key{... select date in calendar}{mouse-1/RET} | 375 %\key{... select date in calendar}{mouse-1/RET} |
384 \section{Links} | 381 \section{Links} |
385 | 382 |
386 \key{globally store link to the current location}{C-c l$^2$} | 383 \key{globally store link to the current location}{C-c l$^2$} |
387 \key{insert a link (TAB completes stored links)}{C-c C-l} | 384 \key{insert a link (TAB completes stored links)}{C-c C-l} |
388 \key{insert file link with file name completion}{C-u C-c C-l} | 385 \key{insert file link with file name completion}{C-u C-c C-l} |
386 \key{edit (also hidden part of) link at point}{C-c C-l} | |
389 | 387 |
390 \key{open file links in emacs (\kbd{C-u} : in emacs)}{C-c C-o} | 388 \key{open file links in emacs (\kbd{C-u} : in emacs)}{C-c C-o} |
391 \key{open link at point (3: in emacs)}{mouse-2/3} | 389 \key{open link at point (3: in emacs)}{mouse-2/3} |
392 %\key{open file links in emacs}{mouse-3} | 390 %\key{open file links in emacs}{mouse-3} |
393 \key{record a position in mark ring}{C-c \%} | 391 \key{record a position in mark ring}{C-c \%} |
397 | 395 |
398 \key{\kbd{<<My Target>>}}{\rm target} | 396 \key{\kbd{<<My Target>>}}{\rm target} |
399 \key{\kbd{<<<My Target>>>}}{\rm radio target$^3$} | 397 \key{\kbd{<<<My Target>>>}}{\rm radio target$^3$} |
400 \key{\kbd{[[*this text]]}}{\rm find headline} | 398 \key{\kbd{[[*this text]]}}{\rm find headline} |
401 \metax{\kbd{[[this text]]}}{\rm find target or text in buffer} | 399 \metax{\kbd{[[this text]]}}{\rm find target or text in buffer} |
400 \metax{\kbd{[[this text][description]]}}{\rm optional link text} | |
402 | 401 |
403 {\bf External Links} | 402 {\bf External Links} |
404 | 403 |
405 \key{\kbd{<file:/home/dominik/img/mars.jpg>}}{\rm file, absolute} | 404 \key{\kbd{file:/home/dominik/img/mars.jpg}}{\rm file, absolute} |
406 \key{\kbd{<file:papers/last.pdf>}}{\rm file, relative} | 405 \key{\kbd{file:papers/last.pdf}}{\rm file, relative} |
407 \key{\kbd{<file:projects.org::*that text>}}{\rm find headline} | 406 \key{\kbd{file:projects.org::*that text}}{\rm find headline} |
408 \key{\kbd{<file:projects.org::find me>}}{\rm find tgt/string} | 407 \key{\kbd{file:projects.org::find me}}{\rm find tgt/string} |
409 \key{\kbd{<file:projects.org::/regexp/>}}{\rm regexp search} | 408 \key{\kbd{file:projects.org::/regexp/}}{\rm regexp search} |
410 \key{\kbd{<http://www.astro.uva.nl/~dominik>}}{\rm on the web} | 409 \key{\kbd{http://www.astro.uva.nl/~dominik}}{\rm on the web} |
411 \key{\kbd{<mailto:adent@galaxy.net>}}{\rm EMail address} | 410 \key{\kbd{mailto:adent@galaxy.net}}{\rm EMail address} |
412 \key{\kbd{<news:comp.emacs>}}{\rm Usenet group} | 411 \key{\kbd{news:comp.emacs}}{\rm Usenet group} |
413 \key{\kbd{<bbdb:Richard Stallman>}}{\rm BBDB person} | 412 \key{\kbd{bbdb:Richard Stallman}}{\rm BBDB person} |
414 \key{\kbd{<shell:ls *.org>}}{\rm shell command} | 413 \key{\kbd{shell:ls *.org}}{\rm shell command} |
415 \key{\kbd{<gnus:group>}}{\rm GNUS group} | 414 \key{\kbd{gnus:group}}{\rm GNUS group} |
416 \key{\kbd{<gnus:group\#id>}}{\rm GNUS message} | 415 \key{\kbd{gnus:group\#id}}{\rm GNUS message} |
417 \key{\kbd{<vm|wl|mhe|rmail:folder>}}{\rm Mail folder} | 416 \key{\kbd{vm|wl|mhe|rmail:folder}}{\rm Mail folder} |
418 \key{\kbd{<vm|wl|mhe|rmail:folder\#id>}}{\rm Mail message} | 417 \key{\kbd{vm|wl|mhe|rmail:folder\#id}}{\rm Mail message} |
419 %\key{\kbd{<vm://myself@some.where.org/folder\#id>}}{\rm VM remote} | 418 \metax{\kbd{[[external link][description]]}}{\rm optional link text} |
419 %\key{\kbd{vm://myself@some.where.org/folder\#id}}{\rm VM remote} | |
420 | 420 |
421 \section{Tables} | 421 \section{Tables} |
422 | 422 |
423 %Org-mode has its own built-in intuitive table editor with unique | 423 %Org-mode has its own built-in intuitive table editor with unique |
424 %capabilities. | 424 %capabilities. |
425 | 425 |
426 {\bf Creating a table} | 426 {\bf Creating a table} |
427 | 427 |
428 \metax{insert a new Org-mode table}{M-x org-table-create} | 428 %\metax{insert a new Org-mode table}{M-x org-table-create} |
429 \metax{... or just start typing, e.g.}{|Name|Phone|Age RET |- TAB} | 429 \metax{just start typing, e.g.}{|Name|Phone|Age RET |- TAB} |
430 \key{convert region to table}{C-c C-c} | 430 \key{convert region to table}{C-c |} |
431 \key{... separator at least 3 spaces}{C-3 C-c C-c} | 431 \key{... separator at least 3 spaces}{C-3 C-c |} |
432 %\key{... prompt for separator regexp}{C-u C-c C-c} | |
433 | 432 |
434 {\bf Commands available inside tables} | 433 {\bf Commands available inside tables} |
435 | 434 |
436 The following commands work when the cursor is {\it inside a table}. | 435 The following commands work when the cursor is {\it inside a table}. |
437 Outside of tables, the same keys may have other functionality. | 436 Outside of tables, the same keys may have other functionality. |
463 \key{cut rectangular region}{C-c C-x C-w} | 462 \key{cut rectangular region}{C-c C-x C-w} |
464 \key{copy rectangular region}{C-c C-x M-w} | 463 \key{copy rectangular region}{C-c C-x M-w} |
465 \key{paste rectangular region}{C-c C-x C-y} | 464 \key{paste rectangular region}{C-c C-x C-y} |
466 \key{fill paragraph across selected cells}{C-c C-q} | 465 \key{fill paragraph across selected cells}{C-c C-q} |
467 | 466 |
468 {\bf Calculations} | 467 {\bf Calculations} (in combination with Emacs \kbd{calc} package) |
469 | |
470 These need the Emacs calc package installed. | |
471 | 468 |
472 \key{set and eval column formula}{C-c =} | 469 \key{set and eval column formula}{C-c =} |
473 \key{set and eval named-field formula}{C-u C-c =} | 470 \key{set and eval named-field formula}{C-u C-c =} |
474 \key{edit formulas in separate buffer}{C-c '} | 471 \key{edit formulas in separate buffer}{C-c '} |
475 \key{re-apply all stored equations to current line}{C-c *} | 472 \key{re-apply all stored equations to current line}{C-c *} |
476 \key{re-apply all stored equations to entire table}{C-u C-c *} | 473 \key{re-apply all stored equations to entire table}{C-u C-c *} |
477 | 474 |
478 \kbd{TAB}, \kbd{RET} and \kbd{C-c C-c} trigger automatic recalculation | 475 %\kbd{TAB}, \kbd{RET} and \kbd{C-c C-c} trigger automatic recalculation |
479 in lines starting with: {\tt | \# |}. | 476 %in lines starting with: {\tt | \# |}. |
480 | 477 |
481 \key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#} | 478 \key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#} |
482 | 479 |
483 \key{display column number cursor is in}{C-c ?} | 480 \key{display column number cursor is in}{C-c ?} |
484 \key{sum numbers in current column/rectangle}{C-c +} | 481 \key{sum numbers in current column/rectangle}{C-c +} |
485 \key{copy down with increment}{S-RET$^4$} | 482 \key{copy down with increment}{S-RET$^4$} |
486 | 483 |
487 A formula can also be typed directly into into a field and will | 484 Formulas typed in field are executed by \kbd{TAB}, |
488 executed by \kbd{TAB}, \kbd{RET} and \kbd{C-c C-c}. A leading \kbd{=} | 485 \kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column |
489 introduces a column formula, \kbd{:=} a named-field formula. | 486 formula, \kbd{:=} a named-field formula. |
490 | 487 |
491 \key{Example: Add Col1 and Col2}{=\$1+\$2} | 488 \key{Example: Add Col1 and Col2}{=\$1+\$2} |
492 \key{... with printf format specification}{=\$1+\$2;\%.2f} | 489 \key{... with printf format specification}{=\$1+\$2;\%.2f} |
493 \key{... with constants from constants.el}{=\$1/\$c/\$cm} | 490 \key{... with constants from constants.el}{=\$1/\$c/\$cm} |
494 \key{sum from 3rd hline above to here}{:=vsum(\&III)} | 491 \key{sum from 3rd hline above to here}{:=vsum(\&III)} |
495 \key{apply current column formula}{=} | 492 \key{apply current column formula}{=} |
496 | 493 |
497 {\bf Miscellaneous} | 494 {\bf Miscellaneous} |
498 | 495 |
499 \key{toggle visibility of vertical lines}{C-c |} | 496 \key{to limit column width to \kbd{N} characters, use}{...| <N> |...} |
497 \key{edit the current field in a separate window}{C-c `} | |
498 \key{make current field fully visible}{C-u TAB} | |
500 \metax{export as tab-separated file}{M-x org-table-export} | 499 \metax{export as tab-separated file}{M-x org-table-export} |
501 \metax{import tab-separated file}{M-x org-table-import} | 500 \metax{import tab-separated file}{M-x org-table-import} |
502 | 501 |
503 {\bf Tables created with the \kbd{table.el} package} | 502 {\bf Tables created with the \kbd{table.el} package} |
504 | 503 |