Mercurial > emacs
annotate etc/orgcard.tex @ 65163:ef138cf4be94
(eshell-parse-double-quote): If a double-quoted argument resolves to
nil, return it as an empty string rather than as nil. This made it
impossible to pass "" to a shell script as a null string argument.
author | John Wiegley <johnw@newartisans.com> |
---|---|
date | Fri, 26 Aug 2005 22:35:48 +0000 |
parents | f05a048483cc |
children | faa1e406a29b |
rev | line source |
---|---|
64517 | 1 % Reference Card for Org Mode 3.14 |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
2 % |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
3 %**start of header |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
4 \newcount\columnsperpage |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
5 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
6 % This file can be printed with 1, 2, or 3 columns per page (see below). |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
7 % At the moment this card works quite nicely in 3 column format and |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
8 % currently takes most of 2 pages. It is thus suited to producing one |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
9 % double-side page when printed. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
10 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
11 % There are a couple of tweaks in the format of this card which make it work |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
12 % slightly better on A4 paper. The changes due, I think, to Stephen Eglen, |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
13 % are commented below. Revert the changes if you want letter sized paper. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
14 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
15 % Try running something like |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
16 % tex org-mode-ref.tex; dvips -t landscape org-mode-ref.dvi |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
17 % to print the card |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
18 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
19 \columnsperpage=3 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
20 |
65088
f05a048483cc
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64523
diff
changeset
|
21 % Copyright (C) 2004 Philip Rooke |
f05a048483cc
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64523
diff
changeset
|
22 % Coypright (C) 2005 Free Software Foundation, Inc. |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
23 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
24 % GNU Emacs is free software; you can redistribute it and/or modify |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
25 % it under the terms of the GNU General Public License as published by |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
26 % the Free Software Foundation; either version 2, or (at your option) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
27 % any later version. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
28 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
29 % GNU Emacs is distributed in the hope that it will be useful, |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
30 % but WITHOUT ANY WARRANTY; without even the implied warranty of |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
31 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
32 % GNU General Public License for more details. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
33 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
34 % You should have received a copy of the GNU General Public License |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
35 % along with GNU Emacs; see the file COPYING. If not, write to |
64517 | 36 % the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
37 % Boston, MA 02111-1307, USA. | |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
38 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
39 % This file is intended to be processed by plain TeX (TeX82). |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
40 % |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
41 % The final reference card has six columns, three on each side. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
42 % This file can be used to produce it in any of three ways: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
43 % 1 column per page |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
44 % produces six separate pages, each of which needs to be reduced to 80%. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
45 % This gives the best resolution. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
46 % 2 columns per page |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
47 % produces three already-reduced pages. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
48 % You will still need to cut and paste. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
49 % 3 columns per page |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
50 % produces two pages which must be printed sideways to make a |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
51 % ready-to-use 8.5 x 11 inch reference card. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
52 % For this you need a dvi device driver that can print sideways. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
53 % Which mode to use is controlled by setting \columnsperpage above. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
54 % |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
55 % Author: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
56 % Stephen Gildea |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
57 % Internet: gildea@stop.mail-abuse.org |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
58 % |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
59 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
60 % for their many good ideas. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
61 |
64517 | 62 \def\orgversionnumber{3.14} |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
63 \def\year{2005} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
64 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
65 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
65088
f05a048483cc
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64523
diff
changeset
|
66 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
67 Permissions on back. v\orgversionnumber}} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
68 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
69 \def\copyrightnotice{ |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
70 \vskip 1ex plus 100 fill\begingroup\small |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
71 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
72 \centerline{v\orgversionnumber{} for Org-Mode \orgversionnumber{}, \year} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
73 \centerline{Author: Philip Rooke} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
74 \centerline{based on refcard design and format by Stephen Gildea} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
75 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
76 Permission is granted to make and distribute copies of |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
77 this card provided the copyright notice and this permission notice |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
78 are preserved on all copies. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
79 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
80 \endgroup} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
81 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
82 % make \bye not \outer so that the \def\bye in the \else clause below |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
83 % can be scanned without complaint. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
84 \def\bye{\par\vfill\supereject\end} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
85 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
86 \newdimen\intercolumnskip %horizontal space between columns |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
87 \newbox\columna %boxes to hold columns already built |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
88 \newbox\columnb |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
89 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
90 \def\ncolumns{\the\columnsperpage} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
91 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
92 \message{[\ncolumns\space |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
93 column\if 1\ncolumns\else s\fi\space per page]} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
94 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
95 \def\scaledmag#1{ scaled \magstep #1} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
96 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
97 % This multi-way format was designed by Stephen Gildea October 1986. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
98 % Note that the 1-column format is fontfamily-independent. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
99 \if 1\ncolumns %one-column format uses normal size |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
100 \hsize 4in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
101 \vsize 10in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
102 \voffset -.7in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
103 \font\titlefont=\fontname\tenbf \scaledmag3 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
104 \font\headingfont=\fontname\tenbf \scaledmag2 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
105 \font\smallfont=\fontname\sevenrm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
106 \font\smallsy=\fontname\sevensy |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
107 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
108 \footline{\hss\folio} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
109 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
110 \else %2 or 3 columns uses prereduced size |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
111 \hsize 3.2in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
112 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
113 % FIXME - Try to make things more A4 friendly |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
114 % \vsize 7.95in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
115 \vsize 7.65in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
116 % \hoffset -.75in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
117 \hoffset -.25in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
118 \voffset -.745in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
119 \font\titlefont=cmbx10 \scaledmag2 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
120 \font\headingfont=cmbx10 \scaledmag1 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
121 \font\smallfont=cmr6 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
122 \font\smallsy=cmsy6 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
123 \font\eightrm=cmr8 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
124 \font\eightbf=cmbx8 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
125 \font\eightit=cmti8 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
126 \font\eighttt=cmtt8 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
127 \font\eightmi=cmmi8 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
128 \font\eightsy=cmsy8 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
129 \textfont0=\eightrm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
130 \textfont1=\eightmi |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
131 \textfont2=\eightsy |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
132 \def\rm{\eightrm} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
133 \def\bf{\eightbf} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
134 \def\it{\eightit} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
135 \def\tt{\eighttt} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
136 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
137 % FIXME - Try to make things more A4 friendly |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
138 % \normalbaselineskip=.8\normalbaselineskip |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
139 \normalbaselineskip=.7\normalbaselineskip |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
140 \normallineskip=.8\normallineskip |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
141 \normallineskiplimit=.8\normallineskiplimit |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
142 \normalbaselines\rm %make definitions take effect |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
143 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
144 \if 2\ncolumns |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
145 \let\maxcolumn=b |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
146 \footline{\hss\rm\folio\hss} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
147 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
148 \else \if 3\ncolumns |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
149 \let\maxcolumn=c |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
150 \nopagenumbers |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
151 \else |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
152 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
153 \errmessage{Illegal number of columns per page} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
154 \fi\fi |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
155 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
156 \intercolumnskip=.46in |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
157 \def\abc{a} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
158 \output={% %see The TeXbook page 257 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
159 % This next line is useful when designing the layout. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
160 %\immediate\write16{Column \folio\abc\space starts with \firstmark} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
161 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
162 \else\if a\abc |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
163 \global\setbox\columna\columnbox \global\def\abc{b} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
164 %% in case we never use \columnb (two-column mode) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
165 \global\setbox\columnb\hbox to -\intercolumnskip{} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
166 \else |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
167 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
168 \def\multicolumnformat{\shipout\vbox{\makeheadline |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
169 \hbox{\box\columna\hskip\intercolumnskip |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
170 \box\columnb\hskip\intercolumnskip\columnbox} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
171 \makefootline}\advancepageno} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
172 \def\columnbox{\leftline{\pagebody}} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
173 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
174 \def\bye{\par\vfill\supereject |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
175 \if a\abc \else\null\vfill\eject\fi |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
176 \if a\abc \else\null\vfill\eject\fi |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
177 \end} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
178 \fi |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
179 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
180 % we won't be using math mode much, so redefine some of the characters |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
181 % we might want to talk about |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
182 %\catcode`\^=12 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
183 \catcode`\_=12 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
184 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
185 % we also need the tilde, for file names. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
186 \catcode`\~=12 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
187 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
188 \chardef\\=`\\ |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
189 \chardef\{=`\{ |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
190 \chardef\}=`\} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
191 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
192 \hyphenation{mini-buf-fer} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
193 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
194 \parindent 0pt |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
195 \parskip 1ex plus .5ex minus .5ex |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
196 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
197 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
198 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
199 % newcolumn - force a new column. Use sparingly, probably only for |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
200 % the first column of a page, which should have a title anyway. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
201 \outer\def\newcolumn{\vfill\eject} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
202 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
203 % title - page title. Argument is title text. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
204 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
205 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
206 % section - new major section. Argument is section name. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
207 \outer\def\section#1{\par\filbreak |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
208 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
209 \vskip 2ex plus 1ex minus 1.5ex} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
210 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
211 \newdimen\keyindent |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
212 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
213 % beginindentedkeys...endindentedkeys - key definitions will be |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
214 % indented, but running text, typically used as headings to group |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
215 % definitions, will not. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
216 \def\beginindentedkeys{\keyindent=1em} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
217 \def\endindentedkeys{\keyindent=0em} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
218 \endindentedkeys |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
219 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
220 % paralign - begin paragraph containing an alignment. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
221 % If an \halign is entered while in vertical mode, a parskip is never |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
222 % inserted. Using \paralign instead of \halign solves this problem. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
223 \def\paralign{\vskip\parskip\halign} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
224 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
225 % \<...> - surrounds a variable name in a code example |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
226 \def\<#1>{{\it #1\/}} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
227 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
228 % kbd - argument is characters typed literally. Like the Texinfo command. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
229 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
230 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
231 % beginexample...endexample - surrounds literal text, such a code example. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
232 % typeset in a typewriter font with line breaks preserved |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
233 \def\beginexample{\par\leavevmode\begingroup |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
234 \obeylines\obeyspaces\parskip0pt\tt} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
235 {\obeyspaces\global\let =\ } |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
236 \def\endexample{\endgroup} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
237 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
238 % key - definition of a key. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
239 % \key{description of key}{key-name} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
240 % prints the description left-justified, and the key-name in a \kbd |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
241 % form near the right margin. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
242 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
243 {\hsize=.75\hsize\rightskip=1em |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
244 \hskip\keyindent\relax#1}\kbd{#2}\hfil}} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
245 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
246 \newbox\metaxbox |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
247 \setbox\metaxbox\hbox{\kbd{M-x }} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
248 \newdimen\metaxwidth |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
249 \metaxwidth=\wd\metaxbox |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
250 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
251 % metax - definition of a M-x command. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
252 % \metax{description of command}{M-x command-name} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
253 % Tries to justify the beginning of the command name at the same place |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
254 % as \key starts the key name. (The "M-x " sticks out to the left.) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
255 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
256 {\hskip\keyindent\relax#1\hfil}% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
257 \hskip -\metaxwidth minus 1fil |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
258 \kbd{#2}\hfil}} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
259 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
260 % threecol - like "key" but with two key names. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
261 % for example, one for doing the action backward, and one for forward. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
262 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
263 &\kbd{#3}\hfil\quad\cr} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
264 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
265 %**end of header |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
266 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
267 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
268 \title{Org-Mode Reference Card (1/2)} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
269 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
270 \centerline{(for version \orgversionnumber)} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
271 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
272 \section{Getting Started} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
273 % |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
274 Put the following in your \kbd{~/.emacs}$^1$ |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
275 \vskip -1mm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
276 \beginexample% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
277 (autoload 'org-mode "org" "Org mode" t) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
278 (autoload 'org-diary "org" "Org mode diary entries") |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
279 (autoload 'org-agenda "org" "Agenda from Org files" t) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
280 (autoload 'org-store-link "org" "Store org link" t) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
281 (autoload 'orgtbl-mode "org" "Orgtbl minor mode" t) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
282 (autoload 'turn-on-orgtbl "org" "Orgtbl minor mode") |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
283 (add-to-list 'auto-mode-alist '("\\\\.org\$" . org-mode)) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
284 (define-key global-map "\\C-cl" 'org-store-link)$^2$ |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
285 (define-key global-map "\\C-ca" 'org-agenda)$^2$ |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
286 \endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
287 % |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
288 \metax{For the many customization options try}{M-x org-customize} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
289 \metax{To read the on-line documentation try}{M-x org-info} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
290 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
291 \section{Visibility Cycling} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
292 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
293 \key{rotate current subtree between states}{TAB} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
294 \key{rotate entire buffer between states}{S-TAB} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
295 \key{show the whole file}{C-c C-a} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
296 %\key{show branches}{C-c C-k} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
297 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
298 \section{Motion} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
299 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
300 \key{next heading}{C-c C-n} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
301 \key{previous heading}{C-c C-p} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
302 \key{next heading, same level}{C-c C-f} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
303 \key{previous heading, same level}{C-c C-b} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
304 \key{backward to higher level heading}{C-c C-u} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
305 \key{jump to another place in document}{C-c C-j} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
306 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
307 \section{Structure Editing} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
308 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
309 \key{insert new heading at same level as current}{M-RET} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
310 \key{insert new TODO entry}{M-S-RET} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
311 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
312 \key{promote current heading up one level}{M-LEFT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
313 \key{demote current heading down one level}{M-RIGHT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
314 \key{promote current subtree up one level}{M-S-LEFT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
315 \key{demote current subtree down one level}{M-S-RIGHT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
316 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
317 \key{move subtree up}{M-S-UP} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
318 \key{move subtree down}{M-S-DOWN} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
319 \key{kill subtree}{C-c C-h C-w} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
320 \key{copy subtree}{C-c C-h M-w} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
321 \key{yank subtree}{C-c C-h C-y} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
322 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
323 \key{archive subtree}{C-c \$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
324 To set archive location for current file, add a line like$^3$: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
325 \vskip -1mm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
326 \beginexample% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
327 \#+ARCHIVE: archfile::* Archived Tasks |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
328 \endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
329 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
330 \section{Filtering and Sparse Trees} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
331 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
332 \key{show sparse tree for all matches of a regexp}{C-c /} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
333 \key{view TODO's in sparse tree}{C-c C-v} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
334 \key{create sparse tree with all deadlines due}{C-c C-w} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
335 \key{time sorted view of current org file}{C-c C-r} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
336 \key{agenda for the week}{C-c a$1$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
337 \key{agenda for date at cursor}{C-c C-o} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
338 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
339 \section{TODO Items} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
340 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
341 \key{rotate the state of the current item}{C-c C-t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
342 \key{view TODO items in a sparse tree}{C-c C-v} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
343 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
344 \key{set the priority of the current item}{C-c , [ABC]} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
345 \key{remove priority cookie from current item}{C-c , SPC} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
346 \key{raise priority of current item}{S-UP$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
347 \key{lower priority of current item}{S-DOWN$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
348 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
349 \vskip 1mm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
350 per-file TODO workflow states: add line(s) like$^3$: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
351 \vskip -1mm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
352 \beginexample% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
353 \#+SEQ_TODO: TODO PROCRASTINATE BLUFF DONE |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
354 \endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
355 \vskip -1mm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
356 per-file TODO keywords: add line(s) like$^3$: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
357 \vskip -1mm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
358 \beginexample% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
359 \#+TYP_TODO: Phil home work DONE |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
360 \endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
361 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
362 \section{Timestamps} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
363 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
364 \key{prompt for date and insert timestamp}{C-c .} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
365 \key{like \kbd{C-c} . but insert date and time format}{C-u C-c .} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
366 \key{insert DEADLINE timestamp}{C-c C-d} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
367 \key{insert SCHEDULED timestamp}{C-c C-s} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
368 \key{create sparse tree with all deadlines due}{C-c C-w} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
369 \key{the time between 2 dates in a time range}{C-c C-y} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
370 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
371 \key{change timestamp at cursor by $-1$ day}{S-LEFT$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
372 \key{change timestamp at cursor by $+1$ day}{S-RIGHT$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
373 \key{change year/month/day at cursor by $-1$}{S-DOWN$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
374 \key{change year/month/day at cursor by $+1$}{S-UP$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
375 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
376 \key{access the calendar for the current date}{C-c >} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
377 \key{insert timestamp matching date in calendar}{C-c <} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
378 \key{access agenda for current date}{C-c C-o} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
379 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
380 \key{While prompted for a date:}{} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
381 \key{... select date in calendar}{mouse-1/RET} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
382 \key{... scroll calendar back/forward one month}{< / >} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
383 \key{... forward/backward one day}{S-LEFT/RIGHT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
384 \key{... forward/backward one week}{S-UP/DOWN} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
385 \key{... forward/backward one month}{M-S-LEFT/RIGT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
386 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
387 \section{Links} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
388 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
389 \key{globally store link to the current location}{C-c l$^2$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
390 \key{insert a link (TAB completes stored links)}{C-c C-l} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
391 \key{insert file link with file name completion}{C-u C-c C-l} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
392 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
393 \key{open link at point}{C-c C-o} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
394 \key{open file links in emacs}{C-u C-c C-o} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
395 \key{open link at point}{mouse-2} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
396 \key{open file links in emacs}{mouse-3} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
397 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
398 {\bf Link types} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
399 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
400 \key{\kbd{<http://www.astro.uva.nl/~dominik>}}{\rm on the web} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
401 \key{\kbd{<mailto:adent@galaxy.net>}}{\rm EMail address} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
402 \key{\kbd{<news:comp.emacs>}}{\rm Usenet group} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
403 \key{\kbd{<file:/home/dominik/img/mars.jpg>}}{\rm file, absolute} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
404 \key{\kbd{<file:papers/last.pdf>}}{\rm file, relative} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
405 \key{\kbd{<file:~/code/main.c:255>}}{\rm file with line nr.} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
406 \key{\kbd{<bbdb:Richard Stallman>}}{\rm BBDB person} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
407 \key{\kbd{<shell:ls *.org>}}{\rm shell command} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
408 \key{\kbd{<gnus:group>}}{\rm GNUS group} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
409 \key{\kbd{<gnus:group\#id>}}{\rm GNUS message} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
410 \key{\kbd{<vm:folder>}}{\rm VM folder} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
411 \key{\kbd{<vm:folder\#id>}}{\rm VM message} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
412 \key{\kbd{<vm://myself@some.where.org/folder\#id>}}{\rm VM remote} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
413 Wanderlust \kbd{<wl:...>} and RMAIL \kbd{<rmail:...>} like VM |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
414 %\key{\kbd{<wl:folder>}}{\rm Wanderlust f.} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
415 %\key{\kbd{<wl:folder\#id>}}{\rm Wanderlust m.} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
416 %\key{\kbd{<rmail:folder>}}{\rm RMAIL folder} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
417 %\key{\kbd{<rmail:folder\#id>}}{\rm RMAIL msg} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
418 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
419 \section{Tables} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
420 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
421 %Org-mode has its own built-in intuitive table editor with unique |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
422 %capabilities. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
423 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
424 {\bf Creating a table} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
425 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
426 \metax{insert a new Org-mode table}{M-x org-table-create} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
427 \metax{... or just start typing, e.g.}{|Name|Phone|Age RET |- TAB} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
428 \key{convert region to table}{C-c C-c} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
429 \key{... separator at least 3 spaces}{C-3 C-c C-c} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
430 %\key{... prompt for separator regexp}{C-u C-c C-c} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
431 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
432 {\bf Commands available inside tables} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
433 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
434 The following commands work when the cursor is {\it inside a table}. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
435 Outside of tables, the same keys may have other functionality. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
436 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
437 {\bf Re-aligning and field motion} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
438 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
439 \key{re-align the table without moving the cursor}{C-c C-c} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
440 \key{re-align the table, move to next field}{TAB} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
441 \key{move to previous field}{S-TAB} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
442 \key{re-align the table, move to next row}{RET} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
443 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
444 {\bf Row and column editing} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
445 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
446 \key{move the current column left}{M-LEFT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
447 \key{move the current column right}{M-RIGHT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
448 \key{kill the current column}{M-S-LEFT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
449 \key{insert new column to left of cursor position}{M-S-RIGHT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
450 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
451 \key{move the current row up}{M-UP} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
452 \key{move the current row down}{M-DOWN} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
453 \key{kill the current row or horizontal line}{M-S-UP} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
454 \key{insert new row above the current row}{M-S-DOWN} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
455 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
456 \key{insert horizontal line below the current row}{C-c -} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
457 \key{insert horizontal line above the current row}{C-u C-c -} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
458 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
459 {\bf Regions} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
460 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
461 \key{cut rectangular region}{C-c C-h C-w} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
462 \key{copy rectangular region}{C-c C-h M-w} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
463 \key{paste rectangular region}{C-c C-h C-y} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
464 \key{fill paragraph across selected cells}{C-c C-q} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
465 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
466 {\bf Calculations} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
467 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
468 Except for the summation commands, these need the Emacs calc package |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
469 installed. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
470 |
64517 | 471 \key{set and eval column formula}{C-c =} |
472 \key{set and eval named-field formula}{C-u C-c =} | |
473 \key{edit formulas in separate buffer}{C-c '} | |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
474 \key{re-apply all stored equations to current line}{C-c *} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
475 \key{re-apply all stored equations to entire table}{C-u C-c *} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
476 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
477 \kbd{TAB}, \kbd{RET} and \kbd{C-c C-c} trigger automatic recalculation |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
478 in lines starting with: {\tt | \# |}. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
479 |
64517 | 480 \key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#} |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
481 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
482 \key{display column number cursor is in}{C-c ?} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
483 \key{sum numbers in current column/rectangle}{C-c +} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
484 \key{copy down with increment}{S-RET$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
485 |
64517 | 486 A formula can also be typed directly into into a field and will |
487 executed by \kbd{TAB}, \kbd{RET} and \kbd{C-c C-c}. A leading \kbd{=} | |
488 introduces a column formula, \kbd{:=} a named-field formula. | |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
489 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
490 \key{Example: Add Col1 and Col2}{=\$1+\$2} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
491 \key{... with printf format specification}{=\$1+\$2;\%.2f} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
492 \key{... with constants from constants.el}{=\$1/\$c/\$cm} |
64517 | 493 \key{sum from 3rd hline above to here}{:=vsum(\&III)} |
494 \key{apply current column formula}{=} | |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
495 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
496 {\bf Miscellaneous} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
497 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
498 \key{toggle visibility of vertical lines}{C-c |} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
499 \metax{export as tab-separated file}{M-x org-table-export} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
500 \metax{import tab-separated file}{M-x org-table-import} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
501 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
502 {\bf Tables created with the \kbd{table.el} package} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
503 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
504 \key{insert a new \kbd{table.el} table}{C-c ~} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
505 \key{recognize existing table.el table}{C-c C-c} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
506 \key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
507 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
508 \newcolumn |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
509 \title{Org-Mode Reference Card (2/2)} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
510 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
511 \centerline{(for version \orgversionnumber)} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
512 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
513 \section{Timeline and Agenda} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
514 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
515 \key{show timeline of current org file}{C-c C-r} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
516 \key{... include past dates}{C-u C-c C-r} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
517 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
518 \key{add current file to your agenda}{C-c [} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
519 \key{remove current file from your agenda}{C-c ]} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
520 \key{compile agenda for the current week}{C-c a$^2$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
521 \key{agenda for date at cursor}{C-c C-o} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
522 \vskip 1mm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
523 To set category for current file, add line$^3$: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
524 \vskip -1mm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
525 \beginexample% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
526 \#+CATEGORY: MyCateg |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
527 \endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
528 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
529 {\bf Commands available in an agenda buffer} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
530 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
531 The agenda buffer is electric: single key presses execute commands. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
532 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
533 {\bf View org file} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
534 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
535 \key{show original location of item}{SPC} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
536 \key{... also available with}{mouse-3} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
537 \key{show and recenter window}{l} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
538 \key{goto original location in other window}{TAB} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
539 \key{... also available with}{mouse-2} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
540 \key{goto original location, delete other windows}{RET} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
541 \key{toggle follow-mode}{f} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
542 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
543 {\bf Change display} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
544 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
545 \key{delete other windows}{o} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
546 \key{switch to weekly view}{w} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
547 \key{switch to daily view}{d} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
548 \key{toggle inclusion of diary entries}{D} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
549 \key{toggle time grid for daily schedule}{g} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
550 \key{refresh agenda buffer with any changes}{r} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
551 \key{display the following \kbd{org-agenda-ndays}}{RIGHT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
552 \key{display the previous \kbd{org-agenda-ndays}}{LEFT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
553 \key{goto today}{.} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
554 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
555 {\bf Remote editing} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
556 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
557 \key{digit argument}{0-9} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
558 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
559 \key{change state of current TODO item}{t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
560 \key{set priority of current item}{p} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
561 \key{raise priority of current item}{S-UP$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
562 \key{lower priority of current item}{S-DOWN$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
563 \key{display weighted priority of current item}{P} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
564 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
565 \key{change timestamp to one day earlier}{S-LEFT$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
566 \key{change timestamp to one day later}{S-RIGHT$^4$} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
567 \key{change timestamp to today}{>} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
568 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
569 \key{insert new entry into diary}{i} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
570 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
571 {\bf Calendar commands} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
572 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
573 \key{find agenda cursor date in calendar}{c} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
574 \key{compute agenda for calendar cursor date}{c} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
575 \key{show phases of the moon}{M} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
576 \key{show sunrise/sunset times}{S} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
577 \key{show holidays}{H} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
578 \key{convert date to other calendars}{C} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
579 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
580 {\bf Quit and Exit} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
581 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
582 \key{quit agenda, remove agenda buffer}{q} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
583 \key{exit agenda, remove all agenda buffers}{x} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
584 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
585 \section{Exporting} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
586 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
587 Exporting creates files with extensions {\it .txt\/} and {\it .html\/} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
588 in the current directory. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
589 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
590 \key{export as ASCII file}{C-c C-x a} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
591 \key{export visible text only (e.g. for printing)}{C-c C-x v} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
592 \key{export as HTML file}{C-c C-x h} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
593 \key{export as HTML and open in browser}{C-c C-x C-h} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
594 \key{prefix arg sets nb. of headline levels, e.g.}{C-3 C-c C-x h} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
595 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
596 \key{insert template of export options}{C-c C-x t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
597 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
598 \key{toggle fixed width for line or region}{C-c :} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
599 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
600 {\bf HTML formatting} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
601 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
602 \key{make words {\bf bold}}{*bold*} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
603 \key{make words {\it italic}}{/italic/} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
604 \key{make words \underbar{underlined}}{_underlined_} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
605 \key{sub- and superscripts}{x\^{}3, J_dust} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
606 \key{\TeX{}-like macros}{\\alpha, \\to} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
607 \key{typeset lines in fixed width font}{start with :} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
608 \key{tables are exported as HTML tables}{start with |} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
609 \key{links become HTML links}{http:... etc} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
610 \key{include html tags}{@<b>...@</b>} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
611 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
612 {\bf Export options} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
613 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
614 Include additional information for export by putting these anywhere in the |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
615 org file. Use {\tt M-TAB} completion to make sure to get the right |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
616 keywords. {\tt M-TAB} again just after keyword is complete inserts examples. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
617 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
618 \key{the title to be shown}{\#+TITLE:} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
619 \key{the author}{\#+AUTHOR:} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
620 \key{authors email address}{\#+EMAIL:} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
621 \key{language code for html}{\#+LANGUAGE:} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
622 \key{free text description of file}{\#+TEXT:} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
623 \key{... which can carry over multiple lines}{\#+TEXT:} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
624 \key{settings for the export process - see below}{\#+OPTIONS:} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
625 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
626 {\bf Settings for the OPTIONS line} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
627 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
628 \key{set number of headline levels for export}{H:2} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
629 \key{turn on/off section numbers}{num:t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
630 \key{turn on/off table of contents}{toc:t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
631 \key{turn on/off linebreak preservation}{\\n:nil} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
632 \key{turn on/off quoted html tags}{@:t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
633 \key{turn on/off fixed width sections}{::t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
634 \key{turn on/off tables}{|:t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
635 \key{turn on/off \TeX\ syntax for sub/super-scripts}{\^{}:t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
636 \key{turn on/off emphasised text}{*:nil} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
637 \key{turn on/off \TeX\ macros}{TeX:t} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
638 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
639 {\bf Comments: Text not being exported} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
640 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
641 Text before the first headline is not considered part of the document |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
642 and is therefore never exported. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
643 Lines starting with \kbd{\#} are comments and are not exported. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
644 Subtrees whose header starts with COMMENT are never exported. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
645 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
646 \key{toggle COMMENT keyword on entry}{C-c ;} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
647 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
648 \section{Completion} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
649 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
650 In-buffer completion completes TODO keywords at headline start, TeX |
64517 | 651 macros after ``{\tt \\}'', option keywords after ``{\tt \#-}'', and |
652 dictionary words elsewhere. | |
63845
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
653 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
654 \key{Complete word at point}{M-TAB} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
655 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
656 \newcolumn |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
657 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
658 \section{Calendar and Diary Integration} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
659 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
660 To include entries from the Emacs diary in your Org-mode agenda: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
661 \beginexample% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
662 (setq org-agenda-include-diary t) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
663 \endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
664 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
665 To include your Org-mode agenda in your normal diary, make sure you're |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
666 using the fancy diary display |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
667 % |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
668 %\beginexample% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
669 %(add-hook 'diary-display-hook 'fancy-diary-display) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
670 %\endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
671 % |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
672 and in your \kbd{~/diary} file add |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
673 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
674 \beginexample% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
675 \&\%\%(org-diary) |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
676 \endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
677 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
678 to include all the files listed in \kbd{org-agenda-files}. For more |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
679 selective file inclusion use a line for each file: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
680 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
681 \beginexample% |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
682 \&\%\%(org-diary) ~/path/to/some/org-file.org |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
683 \endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
684 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
685 \section{Remember-mode Integration} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
686 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
687 See the manual for how to make remember.el use Org-mode links and |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
688 files. The note-finishing command \kbd{C-c C-c} will first prompt for |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
689 an org file. In the file, find a location with: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
690 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
691 \key{rotate subtree visibility}{TAB} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
692 \key{next heading}{DOWN} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
693 \key{previous heading}{UP} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
694 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
695 Insert the note with one of the following: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
696 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
697 \key{as sublevel of heading at cursor}{RET} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
698 \key{right here (cursor not on heading)}{RET} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
699 \key{before current heading}{LEFT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
700 \key{after current heading}{RIGHT} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
701 \key{shortcut to end of buffer (cursor at buf-start)}{RET} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
702 \key{Abort}{q} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
703 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
704 \section{CUA and pc-select compatibility} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
705 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
706 Configure the variable {\tt org-CUA-compatibility} to make Org-mode |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
707 avoid the \kbd{S-<cursor>} bindings used by these modes. When set, |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
708 Org-mode will change the following keybindings (also in the agenda |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
709 buffer, but not during date selection). See note mark four$^4$ |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
710 throughout the reference card. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
711 %\vskip-mm |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
712 \beginexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
713 S-UP $\to$ M-p S-DOWN $\to$ M-n |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
714 S-LEFT $\to$ M-- S-RIGHT $\to$ M-+ |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
715 S-RET $\to$ C-S-RET |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
716 \endexample |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
717 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
718 \section{Notes} |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
719 $^1$ The six autoload forms are only needed if Org-mode is not part of |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
720 Emacs, or an XEmacs package. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
721 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
722 $^2$ This is only a suggestion for a binding of this command. Choose |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
723 you own key as shown under INSTALLATION. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
724 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
725 $^3$ After changing a \kbd{\#+KEYWORD} line, press \kbd{C-c C-c} with |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
726 the cursor still in a line to make Org-mode notice the change. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
727 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
728 $^4$ Keybinding affected by {\tt org-CUA-compatibility}. |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
729 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
730 \copyrightnotice |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
731 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
732 \bye |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
733 |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
734 % Local variables: |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
735 % compile-command: "tex ord-mode-ref" |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
736 % TeX-master: t |
6ef67fb45efd
New files, the reference card for org-mode.
Carsten Dominik <dominik@science.uva.nl>
parents:
diff
changeset
|
737 % End: |
64523 | 738 |
739 % arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290 |