aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Dominik2007-06-06 15:15:29 +0000
committerCarsten Dominik2007-06-06 15:15:29 +0000
commit873f531de6b9759e104ce151e429591d88fd0424 (patch)
treee4760ab53904da5d7beb967f233bafa256db7e7c
parent31e5288cd8d93f111e021c7c901ce8113faf3dc7 (diff)
downloademacs-873f531de6b9759e104ce151e429591d88fd0424.tar.gz
emacs-873f531de6b9759e104ce151e429591d88fd0424.zip
Version 4.77.
-rw-r--r--etc/orgcard.tex227
1 files changed, 111 insertions, 116 deletions
diff --git a/etc/orgcard.tex b/etc/orgcard.tex
index 55a797000c6..ab891a0be13 100644
--- a/etc/orgcard.tex
+++ b/etc/orgcard.tex
@@ -1,27 +1,27 @@
1% Reference Card for Org Mode 1% Reference Card for Org Mode
2\def\orgversionnumber{4.67} 2\def\orgversionnumber{4.77}
3\def\versionyear{2007} % latest update 3\def\versionyear{2007} % latest update
4\def\year{2007} % latest copyright year 4\def\year{2007} % latest copyright year
5% 5
6%**start of header 6%**start of header
7\newcount\columnsperpage 7\newcount\columnsperpage
8\newcount\letterpaper
8 9
9% This file can be printed with 1, 2, or 3 columns per page (see below). 10% 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% Specify how many you want here.
11% currently takes 2 full pages. It is thus suited to producing one
12% double-side page when printed.
13 12
14% There are a couple of tweaks in the format of this card which make it work 13\columnsperpage=3
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.
17 14
18% Try running something like 15% Set letterpapaer to 0 for A4 paper, 1 for letter (US) paper. Useful
19% tex org-mode-ref.tex; dvips -t landscape org-mode-ref.dvi 16% only when columnsperpage is 2 or 3.
20% to print the card
21 17
22\columnsperpage=3 18\letterpaper=0
23 19
24% Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc 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.
23
24% This file is part of GNU Emacs.
25 25
26% GNU Emacs is free software; you can redistribute it and/or modify 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 27% it under the terms of the GNU General Public License as published by
@@ -35,8 +35,8 @@
35 35
36% You should have received a copy of the GNU General Public License 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 37% along with GNU Emacs; see the file COPYING. If not, write to
38% the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 38% the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
39% Boston, MA 02111-1307, USA. 39% Boston, MA 02110-1301, USA.
40 40
41% This file is intended to be processed by plain TeX (TeX82). 41% This file is intended to be processed by plain TeX (TeX82).
42% 42%
@@ -54,6 +54,10 @@
54% For this you need a dvi device driver that can print sideways. 54% For this you need a dvi device driver that can print sideways.
55% Which mode to use is controlled by setting \columnsperpage above. 55% Which mode to use is controlled by setting \columnsperpage above.
56% 56%
57% To compile and print this document:
58% tex refcard.tex
59% dvips -t landscape refcard.dvi
60%
57% Author: 61% Author:
58% Stephen Gildea 62% Stephen Gildea
59% Internet: gildea@stop.mail-abuse.org 63% Internet: gildea@stop.mail-abuse.org
@@ -82,20 +86,20 @@ are preserved on all copies.
82% can be scanned without complaint. 86% can be scanned without complaint.
83\def\bye{\par\vfill\supereject\end} 87\def\bye{\par\vfill\supereject\end}
84 88
85\newdimen\intercolumnskip %horizontal space between columns 89\newdimen\intercolumnskip %horizontal space between columns
86\newbox\columna %boxes to hold columns already built 90\newbox\columna %boxes to hold columns already built
87\newbox\columnb 91\newbox\columnb
88 92
89\def\ncolumns{\the\columnsperpage} 93\def\ncolumns{\the\columnsperpage}
90 94
91\message{[\ncolumns\space 95\message{[\ncolumns\space
92 column\if 1\ncolumns\else s\fi\space per page]} 96 column\if 1\ncolumns\else s\fi\space per page]}
93 97
94\def\scaledmag#1{ scaled \magstep #1} 98\def\scaledmag#1{ scaled \magstep #1}
95 99
96% This multi-way format was designed by Stephen Gildea October 1986. 100% This multi-way format was designed by Stephen Gildea October 1986.
97% Note that the 1-column format is fontfamily-independent. 101% Note that the 1-column format is fontfamily-independent.
98\if 1\ncolumns %one-column format uses normal size 102\if 1\ncolumns %one-column format uses normal size
99 \hsize 4in 103 \hsize 4in
100 \vsize 10in 104 \vsize 10in
101 \voffset -.7in 105 \voffset -.7in
@@ -106,14 +110,14 @@ are preserved on all copies.
106 110
107 \footline{\hss\folio} 111 \footline{\hss\folio}
108 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} 112 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
109\else %2 or 3 columns uses prereduced size 113\else %2 or 3 columns uses prereduced size
110 \hsize 3.2in 114 \hsize 3.2in
111 115 \if 1\the\letterpaper
112% FIXME - Try to make things more A4 friendly 116 \vsize 7.95in
113% \vsize 7.95in 117 \else
114 \vsize 7.65in 118 \vsize 7.65in
115% \hoffset -.75in 119 \fi
116 \hoffset -.25in 120 \hoffset -.75in
117 \voffset -.745in 121 \voffset -.745in
118 \font\titlefont=cmbx10 \scaledmag2 122 \font\titlefont=cmbx10 \scaledmag2
119 \font\headingfont=cmbx10 \scaledmag1 123 \font\headingfont=cmbx10 \scaledmag1
@@ -132,13 +136,14 @@ are preserved on all copies.
132 \def\bf{\eightbf} 136 \def\bf{\eightbf}
133 \def\it{\eightit} 137 \def\it{\eightit}
134 \def\tt{\eighttt} 138 \def\tt{\eighttt}
135 139 \if 1\the\letterpaper
136% FIXME - Try to make things more A4 friendly 140 \normalbaselineskip=.8\normalbaselineskip
137% \normalbaselineskip=.8\normalbaselineskip 141 \else
138 \normalbaselineskip=.7\normalbaselineskip 142 \normalbaselineskip=.7\normalbaselineskip
143 \fi
139 \normallineskip=.8\normallineskip 144 \normallineskip=.8\normallineskip
140 \normallineskiplimit=.8\normallineskiplimit 145 \normallineskiplimit=.8\normallineskiplimit
141 \normalbaselines\rm %make definitions take effect 146 \normalbaselines\rm %make definitions take effect
142 147
143 \if 2\ncolumns 148 \if 2\ncolumns
144 \let\maxcolumn=b 149 \let\maxcolumn=b
@@ -154,16 +159,16 @@ are preserved on all copies.
154 159
155 \intercolumnskip=.46in 160 \intercolumnskip=.46in
156 \def\abc{a} 161 \def\abc{a}
157 \output={% %see The TeXbook page 257 162 \output={% %see The TeXbook page 257
158 % This next line is useful when designing the layout. 163 % This next line is useful when designing the layout.
159 %\immediate\write16{Column \folio\abc\space starts with \firstmark} 164 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
160 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} 165 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
161 \else\if a\abc 166 \else\if a\abc
162 \global\setbox\columna\columnbox \global\def\abc{b} 167 \global\setbox\columna\columnbox \global\def\abc{b}
163 %% in case we never use \columnb (two-column mode) 168 %% in case we never use \columnb (two-column mode)
164 \global\setbox\columnb\hbox to -\intercolumnskip{} 169 \global\setbox\columnb\hbox to -\intercolumnskip{}
165 \else 170 \else
166 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi} 171 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
167 \def\multicolumnformat{\shipout\vbox{\makeheadline 172 \def\multicolumnformat{\shipout\vbox{\makeheadline
168 \hbox{\box\columna\hskip\intercolumnskip 173 \hbox{\box\columna\hskip\intercolumnskip
169 \box\columnb\hskip\intercolumnskip\columnbox} 174 \box\columnb\hskip\intercolumnskip\columnbox}
@@ -173,7 +178,7 @@ are preserved on all copies.
173 \def\bye{\par\vfill\supereject 178 \def\bye{\par\vfill\supereject
174 \if a\abc \else\null\vfill\eject\fi 179 \if a\abc \else\null\vfill\eject\fi
175 \if a\abc \else\null\vfill\eject\fi 180 \if a\abc \else\null\vfill\eject\fi
176 \end} 181 \end}
177\fi 182\fi
178 183
179% we won't be using math mode much, so redefine some of the characters 184% we won't be using math mode much, so redefine some of the characters
@@ -225,7 +230,7 @@ are preserved on all copies.
225\def\<#1>{{\it #1\/}} 230\def\<#1>{{\it #1\/}}
226 231
227% kbd - argument is characters typed literally. Like the Texinfo command. 232% 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 233\def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
229 234
230% beginexample...endexample - surrounds literal text, such a code example. 235% beginexample...endexample - surrounds literal text, such a code example.
231% typeset in a typewriter font with line breaks preserved 236% typeset in a typewriter font with line breaks preserved
@@ -316,15 +321,15 @@ are preserved on all copies.
316\section{Archiving} 321\section{Archiving}
317 322
318\key{toggle ARCHIVE tag}{C-c C-x C-a} 323\key{toggle ARCHIVE tag}{C-c C-x C-a}
319\metax{mark fully done children}{C-u C-c C-x C-a} 324%\metax{mark fully done children}{C-u C-c C-x C-a}
320\key{force cycling of an ARCHIVEd tree}{C-TAB} 325\key{force cycling of an ARCHIVEd tree}{C-TAB}
321\key{move subtree to archive file}{C-c C-x C-s} 326\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} 327%\metax{move all fully done children}{C-u C-c C-x C-s}
323To set archive location for current file, add a line like$^2$: 328%To set archive location for current file, add a line like$^2$:
324\vskip -1mm 329%\vskip -1mm
325\beginexample% 330%\beginexample%
326\#+ARCHIVE: archfile::* Archived Tasks 331%\#+ARCHIVE: archfile::* Archived Tasks
327\endexample 332%\endexample
328 333
329\section{Filtering and Sparse Trees} 334\section{Filtering and Sparse Trees}
330 335
@@ -359,13 +364,11 @@ Outside of tables, the same keys may have other functionality.
359 364
360{\bf Row and column editing} 365{\bf Row and column editing}
361 366
362\key{move the current column left}{M-LEFT} 367\key{move the current column left}{M-LEFT/RIGHT}
363\key{move the current column right}{M-RIGHT}
364\key{kill the current column}{M-S-LEFT} 368\key{kill the current column}{M-S-LEFT}
365\key{insert new column to left of cursor position}{M-S-RIGHT} 369\key{insert new column to left of cursor position}{M-S-RIGHT}
366 370
367\key{move the current row up}{M-UP} 371\key{move the current row up/down}{M-UP/DOWN}
368\key{move the current row down}{M-DOWN}
369\key{kill the current row or horizontal line}{M-S-UP} 372\key{kill the current row or horizontal line}{M-S-UP}
370\key{insert new row above the current row}{M-S-DOWN} 373\key{insert new row above the current row}{M-S-DOWN}
371\key{insert hline below (\kbd{C-u} : above) current row}{C-c -} 374\key{insert hline below (\kbd{C-u} : above) current row}{C-c -}
@@ -378,34 +381,6 @@ Outside of tables, the same keys may have other functionality.
378\key{paste rectangular region}{C-c C-x C-y} 381\key{paste rectangular region}{C-c C-x C-y}
379\key{fill paragraph across selected cells}{C-c C-q} 382\key{fill paragraph across selected cells}{C-c C-q}
380 383
381{\bf Calculations} (in combination with Emacs \kbd{calc} package)
382
383\key{set and eval column formula}{C-c =}
384\key{set and eval field formula}{C-u C-c =}
385\key{edit formulas in separate buffer}{C-c '}
386\key{re-apply all stored equations to current line}{C-c *}
387\key{re-apply all stored equations to entire table}{C-u C-c *}
388\key{iterate table to stability}{C-u C-u C-c *}
389
390%\kbd{TAB}, \kbd{RET} and \kbd{C-c C-c} trigger automatic recalculation
391%in lines starting with: {\tt | \# |}.
392
393\key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
394
395\key{show line, column, formula reference}{C-c ?}
396\key{sum numbers in current column/rectangle}{C-c +}
397\key{copy down with increment}{S-RET$^3$}
398
399Formulas typed in field are executed by \kbd{TAB},
400\kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column
401formula, \kbd{:=} a named-field formula.
402
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}{=}
408
409{\bf Miscellaneous} 384{\bf Miscellaneous}
410 385
411\key{to limit column width to \kbd{N} characters, use}{...| <N> |...} 386\key{to limit column width to \kbd{N} characters, use}{...| <N> |...}
@@ -413,6 +388,7 @@ formula, \kbd{:=} a named-field formula.
413\key{make current field fully visible}{C-u TAB} 388\key{make current field fully visible}{C-u TAB}
414\metax{export as tab-separated file}{M-x org-table-export} 389\metax{export as tab-separated file}{M-x org-table-export}
415\metax{import tab-separated file}{M-x org-table-import} 390\metax{import tab-separated file}{M-x org-table-import}
391\key{sum numbers in current column/rectangle}{C-c +}
416 392
417{\bf Tables created with the \kbd{table.el} package} 393{\bf Tables created with the \kbd{table.el} package}
418 394
@@ -420,6 +396,42 @@ formula, \kbd{:=} a named-field formula.
420\key{recognize existing table.el table}{C-c C-c} 396\key{recognize existing table.el table}{C-c C-c}
421\key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~} 397\key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~}
422 398
399{\bf Spreadsheet}
400
401Formulas typed in field are executed by \kbd{TAB},
402\kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column
403formula, \kbd{:=} a field formula.
404
405\key{Example: Add Col1 and Col2}{|=\$1+\$2 |}
406\key{... with printf format specification}{|=\$1+\$2;\%.2f|}
407\key{... with constants from constants.el}{|=\$1/\$c/\$cm |}
408\metax{sum from 2nd to 3rd hline}{|:=vsum(@II..@III)|}
409\key{apply current column formula}{| = |}
410
411\key{set and eval column formula}{C-c =}
412\key{set and eval field formula}{C-u C-c =}
413\key{re-apply all stored equations to current line}{C-c *}
414\key{re-apply all stored equations to entire table}{C-u C-c *}
415\key{iterate table to stability}{C-u C-u C-c *}
416\key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
417\key{show line, column, formula reference}{C-c ?}
418\key{toggle coordinate grid}{C-c \}}
419\key{toggle formula debugger}{C-c \{}
420
421{\it Formula Editor}
422
423\key{edit formulas in separate buffer}{C-c '}
424\key{exit and install new formulas}{C-c C-c}
425\key{exit, install, and apply new formulas}{C-u C-c C-c}
426\key{abort}{C-c C-q}
427\key{toggle reference style}{C-c C-r}
428\key{pretty-print Lisp formula}{TAB}
429\key{complete Lisp symbol}{M-TAB}
430\key{shift reference point}{S-cursor}
431\key{shift test line for column references}{M-up/down}
432\key{scroll the window showing the table}{M-S-up/down}
433\key{toggle table coordinate grid}{C-c \}}
434
423\section{Links} 435\section{Links}
424 436
425\key{globally store link to the current location}{C-c l$^1$} 437\key{globally store link to the current location}{C-c l$^1$}
@@ -466,24 +478,24 @@ formula, \kbd{:=} a named-field formula.
466%\key{\kbd{vm://myself@some.where.org/folder\#id}}{\rm VM remote} 478%\key{\kbd{vm://myself@some.where.org/folder\#id}}{\rm VM remote}
467 479
468 480
469\section{Remember-mode Integration} 481% \section{Remember-mode Integration}
470 482
471See the manual for how to make remember.el use Org-mode links and 483% See the manual for how to make remember.el use Org-mode links and
472files. The note-finishing command \kbd{C-c C-c} will first prompt for 484% files. The note-finishing command \kbd{C-c C-c} will first prompt for
473an org file. In the file, find a location with: 485% an org file. In the file, find a location with:
474 486
475\key{rotate subtree visibility}{TAB} 487% \key{rotate subtree visibility}{TAB}
476\key{next heading}{DOWN} 488% \key{next heading}{DOWN}
477\key{previous heading}{UP} 489% \key{previous heading}{UP}
478 490
479Insert the note with one of the following: 491% Insert the note with one of the following:
480 492
481\key{as sublevel of heading at cursor}{RET} 493% \key{as sublevel of heading at cursor}{RET}
482\key{right here (cursor not on heading)}{RET} 494% \key{right here (cursor not on heading)}{RET}
483\key{before current heading}{LEFT} 495% \key{before current heading}{LEFT}
484\key{after current heading}{RIGHT} 496% \key{after current heading}{RIGHT}
485\key{shortcut to end of buffer (cursor at buf-start)}{RET} 497% \key{shortcut to end of buffer (cursor at buf-start)}{RET}
486\key{Abort}{q} 498% \key{Abort}{q}
487 499
488\section{Completion} 500\section{Completion}
489 501
@@ -502,16 +514,18 @@ after ``{\tt :}'', and dictionary words elsewhere.
502\section{TODO Items and Checkboxes} 514\section{TODO Items and Checkboxes}
503 515
504\key{rotate the state of the current item}{C-c C-t} 516\key{rotate the state of the current item}{C-c C-t}
517\metax{select next/previous state}{S-LEFT/RIGHT}
518\metax{select next/previous set}{C-S-LEFT/RIGHT}
505\key{view TODO items in a sparse tree}{C-c C-v} 519\key{view TODO items in a sparse tree}{C-c C-v}
506\key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v} 520\key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v}
507 521
508\key{set the priority of the current item}{C-c , [ABC]} 522\key{set the priority of the current item}{C-c , [ABC]}
509\key{remove priority cookie from current item}{C-c , SPC} 523\key{remove priority cookie from current item}{C-c , SPC}
510\key{raise priority of current item}{S-UP$^3$} 524\key{raise/lower priority of current item}{S-UP/DOWN$^3$}
511\key{lower priority of current item}{S-DOWN$^3$} 525%\key{lower priority of current item}{S-DOWN$^3$}
512 526
513\key{\kbd{\#+SEQ_TODO: TODO TRY BLUFF DONE}}{\rm todo workflow} 527%\key{\kbd{\#+SEQ_TODO: TODO TRY BLUFF DONE}}{\rm todo workflow}
514\key{\kbd{\#+TYP_TODO: Phil home work DONE}}{\rm todo types} 528%\key{\kbd{\#+TYP_TODO: Phil home work DONE}}{\rm todo types}
515 529
516\key{insert new checkbox item in plain list}{M-S-RET} 530\key{insert new checkbox item in plain list}{M-S-RET}
517\key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b} 531\key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b}
@@ -548,13 +562,11 @@ after ``{\tt :}'', and dictionary words elsewhere.
548%\key{... forward/backward one month}{M-S-LEFT/RIGT} 562%\key{... forward/backward one month}{M-S-LEFT/RIGT}
549\key{Toggle custom format display for dates/times}{C-c C-x C-t} 563\key{Toggle custom format display for dates/times}{C-c C-x C-t}
550 564
551 565{\bf Clocking time}
552\section{Clocking Time}
553 566
554\key{start clock on current item}{C-c C-x C-i} 567\key{start clock on current item}{C-c C-x C-i}
555\key{stop clock on current item}{C-c C-x C-o} 568\key{stop clock on current item}{C-c C-x C-o}
556\key{cancel current clock}{C-c C-x C-x} 569\key{cancel current clock}{C-c C-x C-x}
557
558\key{display total subtree times}{C-c C-x C-d} 570\key{display total subtree times}{C-c C-x C-d}
559\key{remove displayed times}{C-c C-c} 571\key{remove displayed times}{C-c C-c}
560\key{insert/update table with clock report}{C-c C-x C-r} 572\key{insert/update table with clock report}{C-c C-x C-r}
@@ -720,21 +732,6 @@ Subtrees whose header starts with COMMENT are never exported.
720 732
721\key{toggle COMMENT keyword on entry}{C-c ;} 733\key{toggle COMMENT keyword on entry}{C-c ;}
722 734
723
724%\section{CUA and pc-select compatibility}%
725
726%Configure the variable {\tt org-CUA-compatibility} to make Org-mode
727%avoid the \kbd{S-<cursor>} bindings used by these modes. When set,
728%Org-mode will change the following keybindings (also in the agenda
729%buffer, but not during date selection). See note mark four$^3$
730%throughout the reference card.
731%%\vskip-mm
732%\beginexample
733%S-UP $\to$ M-p S-DOWN $\to$ M-n
734%S-LEFT $\to$ M-- S-RIGHT $\to$ M-+
735%S-RET $\to$ C-S-RET
736%\endexample
737
738\section{Dynamic Blocks} 735\section{Dynamic Blocks}
739 736
740\key{update dynamic block at point}{C-c C-x C-u} 737\key{update dynamic block at point}{C-c C-x C-u}
@@ -753,10 +750,8 @@ $^3$ Keybinding affected by {\tt org-CUA-compatibility}.
753 750
754\bye 751\bye
755 752
753% Local variables:
754% compile-command: "tex refcard"
755% End:
756 756
757% arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290 757% arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290
758
759%%% Local Variables:
760%%% mode: latex
761%%% TeX-master: t
762%%% End: