annotate etc/refcards/calccard.tex @ 102734:c4853c1bf38c

* align.el (align-large-region, align-perl-modes, align-rules-list) (align-open-comment-modes): Fix typos in docstrings. (align-region-separate): Doc fixes.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 26 Mar 2009 16:21:25 +0000
parents c11dcd02fa88
children 47f2fb12a08a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 % Reference Card for GNU Emacs Calc 2.02
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2 %**start of header
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 \newcount\columnsperpage
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 % The format for this file is adapted from the GNU Emacs reference
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 % card version 1.9, by Stephen Gildea.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 % This file can be printed with 1, 2, or 3 columns per page (see below).
82862
7fda0382dcba Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82644
diff changeset
9 % Specify how many you want here.
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11 \columnsperpage=3
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12
82862
7fda0382dcba Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82644
diff changeset
13 % PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
7fda0382dcba Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82644
diff changeset
14 % a landscape layout.
7fda0382dcba Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82644
diff changeset
15
7fda0382dcba Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82644
diff changeset
16 \input pdflayout.sty
7fda0382dcba Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82644
diff changeset
17 \pdflayout=(1l)
7fda0382dcba Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82644
diff changeset
18
7fda0382dcba Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82644
diff changeset
19 % Nothing else needs to be changed.
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 % Typical command to format: tex calccard.tex
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 % Typical command to print (3 cols): dvips -t landscape calccard.dvi
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 % Copyright (C) 1987, 1992, 2001, 2002, 2003, 2004,
100972
c90853557b90 Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 95010
diff changeset
24 % 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26 % This file is part of GNU Emacs.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27
95010
9f4d6f3769da Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
28 % GNU Emacs is free software: you can redistribute it and/or modify
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 % it under the terms of the GNU General Public License as published by
95010
9f4d6f3769da Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
30 % the Free Software Foundation, either version 3 of the License, or
9f4d6f3769da Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
31 % (at your option) any later version.
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 % GNU Emacs is distributed in the hope that it will be useful,
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 % but WITHOUT ANY WARRANTY; without even the implied warranty of
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 % GNU General Public License for more details.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 % You should have received a copy of the GNU General Public License
95010
9f4d6f3769da Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
39 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 % This file is intended to be processed by plain TeX (TeX82).
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 %
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 % The final reference card has six columns, three on each side.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 % This file can be used to produce it in any of three ways:
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 % 1 column per page
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 % produces six separate pages, each of which needs to be reduced to 80%.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 % This gives the best resolution.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 % 2 columns per page
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 % produces three already-reduced pages.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 % You will still need to cut and paste.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 % 3 columns per page
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 % produces two pages which must be printed sideways to make a
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 % ready-to-use 8.5 x 11 inch reference card.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 % For this you need a dvi device driver that can print sideways.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 % Which mode to use is controlled by setting \columnsperpage above.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 %
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 % Author (Calc reference card):
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 % Dave Gillespie
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 % UUCP: uunet!synaptx!daveg
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 % Internet: daveg@synaptics.com
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 %
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 % Author (refcard.tex format):
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 % Stephen Gildea
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 % UUCP: mit-erl!gildea
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 % Internet: gildea@stop.mail-abuse.org
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66
102016
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
67 \def\emacsversionnumber{23.1}
100975
83a1b016c800 Update printed copyright year to 2009.
Glenn Morris <rgm@gnu.org>
parents: 100972
diff changeset
68 \def\year{2009} % latest copyright year
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
102016
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
72 Permissions on back.}}
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 \def\copyrightnotice{
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 \vskip 1ex plus 2 fill\begingroup\small
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
102016
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
77 \centerline{designed by Dave Gillespie and Stephen Gildea,}
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
78 \centerline{for GNU Emacs Calc.}
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 Permission is granted to make and distribute copies of
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 this card provided the copyright notice and this permission notice
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 are preserved on all copies.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83
102016
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
84 %For copies of the GNU Emacs Calc manual, write to the Free Software
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
85 %Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
86 %MA 02110-1301, USA.
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
87 %
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 \endgroup}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 % make \bye not \outer so that the \def\bye in the \else clause below
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 % can be scanned without complaint.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 \def\bye{\par\vfill\supereject\end}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 \newdimen\intercolumnskip
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 \newbox\columna
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 \newbox\columnb
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 \def\ncolumns{\the\columnsperpage}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 \message{[\ncolumns\space
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 column\if 1\ncolumns\else s\fi\space per page]}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103 \def\scaledmag#1{ scaled \magstep #1}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105 % This multi-way format was designed by Stephen Gildea
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 % October 1986.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 \if 1\ncolumns
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 \hsize 4in
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109 \vsize 10in
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 \voffset -.7in
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 \font\titlefont=\fontname\tenbf \scaledmag3
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 \font\headingfont=\fontname\tenbf \scaledmag2
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 \font\smallfont=\fontname\sevenrm
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 \font\smallsy=\fontname\sevensy
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 \footline{\hss\folio}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 \else
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119 \hsize 3.2in
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120 \vsize 7.95in
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 \hoffset -.75in
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 \voffset -.745in
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 \font\titlefont=cmbx10 \scaledmag2
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 \font\headingfont=cmbx10 \scaledmag1
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125 \font\smallfont=cmr6
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126 \font\smallsy=cmsy6
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 \font\eightrm=cmr8
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128 \font\eightbf=cmbx8
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 \font\eightit=cmti8
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 \font\eighttt=cmtt8
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 \font\eightsy=cmsy8
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132 \textfont0=\eightrm
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133 \textfont2=\eightsy
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 \def\rm{\eightrm}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135 \def\bf{\eightbf}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 \def\it{\eightit}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 \def\tt{\eighttt}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138 \normalbaselineskip=.8\normalbaselineskip
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 \normallineskip=.8\normallineskip
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 \normallineskiplimit=.8\normallineskiplimit
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 \normalbaselines\rm %make definitions take effect
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143 \if 2\ncolumns
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 \let\maxcolumn=b
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 \footline{\hss\rm\folio\hss}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 \else \if 3\ncolumns
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148 \let\maxcolumn=c
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149 \nopagenumbers
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 \else
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152 \errmessage{Illegal number of columns per page}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153 \fi\fi
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155 \intercolumnskip=.46in
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
156 \def\abc{a}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157 \output={%
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
158 % This next line is useful when designing the layout.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
161 \else\if a\abc
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162 \global\setbox\columna\columnbox \global\def\abc{b}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163 %% in case we never use \columnb (two-column mode)
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 \global\setbox\columnb\hbox to -\intercolumnskip{}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165 \else
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167 \def\multicolumnformat{\shipout\vbox{\makeheadline
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
168 \hbox{\box\columna\hskip\intercolumnskip
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
169 \box\columnb\hskip\intercolumnskip\columnbox}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
170 \makefootline}\advancepageno}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
171 \def\columnbox{\leftline{\pagebody}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
172
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
173 \def\bye{\par\vfill\supereject
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
174 \if a\abc \else\null\vfill\eject\fi
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
175 \if a\abc \else\null\vfill\eject\fi
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
176 \end}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
177 \fi
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
178
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
179 % we won't be using math mode much, so redefine some of the characters
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
180 % we might want to talk about
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
181 \catcode`\^=12
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
182 \catcode`\_=12
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
183
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
184 \chardef\\=`\\
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
185 \chardef\{=`\{
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
186 \chardef\}=`\}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
187
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
188 \hyphenation{mini-buf-fer}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
189
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
190 \parindent 0pt
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
191 \parskip 1ex plus .5ex minus .5ex
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
192
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
193 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
194
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
195 \outer\def\newcolumn{\vfill\eject}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
196
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
197 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
198
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
199 \outer\def\section#1{\par\filbreak
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
200 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
201 \vskip 2ex plus 1ex minus 1.5ex}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
202
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
203 \newdimen\keyindent
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
204
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
205 \def\beginindentedkeys{\keyindent=1em}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
206 \def\endindentedkeys{\keyindent=0em}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
207 \endindentedkeys
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
208
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
209 \def\paralign{\vskip\parskip\halign}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
210
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
211 \def\<#1>{$\langle${\rm #1}$\rangle$}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
212
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
213 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
214
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
215 \def\beginexample{\par\leavevmode\begingroup
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
216 \obeylines\obeyspaces\parskip0pt\tt}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
217 {\obeyspaces\global\let =\ }
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
218 \def\endexample{\endgroup}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
219
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
220 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
221 {\hsize=.75\hsize\rightskip=1em
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
222 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
223
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
224 \newbox\metaxbox
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
225 \setbox\metaxbox\hbox{\kbd{M-x }}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
226 \newdimen\metaxwidth
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
227 \metaxwidth=\wd\metaxbox
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
228
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
229 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
230 {\hskip\keyindent\relax#1\hfil}%
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
231 \hskip -\metaxwidth minus 1fil
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
232 \kbd{#2}\hfil}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
233
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
234 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
235 &\kbd{#3}\quad\cr}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
236
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
237 %
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
238 % Calc-specific commands here:
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
239 %
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
240
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
241 \let\^=^
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
242 \let\_=_
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
243 \catcode`\^=7
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
244 \catcode`\_=8
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
245
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
246 % Redefine to make spaces a bit smaller
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
247 \let\wkbd=\kbd
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
248 \def\kbd#1{{\spaceskip=.37em\tt#1}\null}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
249
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
250 \def\wkey#1#2{\leavevmode\hbox to \hsize{\vtop
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
251 {\hsize=.75\hsize\rightskip=1em
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
252 \hskip\keyindent\relax#1}\wkbd{#2}\hfil}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
253 \def\wthreecol#1#2#3{\hskip\keyindent\relax#1\hfil&\wkbd{#2}\quad
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
254 &\wkbd{#3}\quad\cr}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
255
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
256 \def\stkkey#1#2#3#4{\par\line{\hskip1em\rlap{\kbd{#1}}\hskip4.5em%
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
257 \rlap{{#2}}\hskip7.5em\rlap{{#3}}\hskip7.5em\rlap{{#4}}\hfill}\par}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
258 \def\S#1{$S_{\scriptscriptstyle #1}$}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
259 \def\swap{$\leftrightarrow$}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
260
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
261 \def\calcprefix{C-x *\ }
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
262 \def\,{{\rm ,\hskip.55em}\ignorespaces}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
263 \def\lesssectionskip{\vskip-1.5ex}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
264
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
265 \def\iline#1{\par\line{\hskip1em\relax #1\hfill}\par}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
266
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
267 \if 1\ncolumns
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
268 \else
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
269 \font\eighti=cmmi8
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
270 \textfont1=\eighti
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
271 \fi
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
272
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
273 %**end of header
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
274
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
275
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276 % Column 1
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
277
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
278 \title{GNU Calc Reference Card}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
279
102016
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
280 \centerline{(for GNU Emacs version \emacsversionnumber)}
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
281
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282 \section{Starting and Stopping}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
283
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
284 \wkey{start/stop standard Calc}{\calcprefix c}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
285 \wkey{start/stop X keypad Calc}{\calcprefix k}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
286 \wkey{\quad start/stop either: \kbd{\calcprefix *}}{}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
287 \wkey{stop standard Calc}{q}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
288
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
289 \wkey{Calc tutorial}{\calcprefix t}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
290 \wkey{run Calc in other window}{\calcprefix o}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
291 \wkey{quick calculation in minibuffer}{\calcprefix q}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
292
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
293 \section{Getting Help}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
294
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
295 \lesssectionskip
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
296 The \kbd{h} prefix key is Calc's analogue of \kbd{C-h} in Emacs.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
297
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
298 \key{quick summary of keys}{?}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
299 \key{describe key briefly}{h c}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
300 \key{describe key fully}{h k}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
301 \key{describe function or command}{h f}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
302 \key{read on-line manual}{h i{\rm\enskip or\enskip}\calcprefix i}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
303 \key{read full Calc summary}{h s{\rm\enskip or\enskip}\calcprefix s}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
304
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
305 \section{Error Recovery}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
306
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
307 \key{abort command in progress}{C-g}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
308 \key{display recent error messages}{w}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
309 \key{undo last operation}{U}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
310 \key{redo last operation}{D}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
311 \key{recall last arguments}{M-RET}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
312 \key{edit top of stack}{`}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
313 \wkey{reset Calc to initial state}{\calcprefix 0 {\rm (zero)}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
314
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
315 \section{Transferring Data}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
316
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
317 \wkey{grab region from a buffer}{\calcprefix g}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
318 \wkey{grab rectangle from a buffer}{\calcprefix r}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
319 \wkey{grab rectangle, summing columns}{\calcprefix :}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
320 \wkey{grab rectangle, summing rows}{\calcprefix \_}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
321
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
322 \wkey{yank data to a buffer}{\calcprefix y}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
323
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
324 Also, try \kbd{C-k}/\kbd{C-y} or X cut and paste.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
325
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
326 \section{Examples}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
327
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
328 \lesssectionskip
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
329 In RPN, enter numbers first, separated by \kbd{RET} if necessary,
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
330 then type the operator. To enter a calculation in algebraic form,
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
331 press the apostrophe first.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
332
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
333 \beginindentedkeys
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
334 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt\hfil\quad&#\hfil\cr
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
335 \wthreecol{ }{{\bf RPN style:}}{{\bf algebraic style:}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
336 \wthreecol{Example:}{2 RET 3 +}{' 2+3 RET}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
337 \wthreecol{Example:}{2 RET 3 + 4 *}{' (2+3)*4 RET}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
338 \wthreecol{Example:}{2 RET 3 RET 4 + *}{' 2*(3+4) RET}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
339 \wthreecol{Example:}{3 RET 6 + Q 3 \^}{' sqrt(3+6)\^3 RET}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
340 \wthreecol{Example:}{P 3 / n S}{' sin(-pi/3) RET =}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
341 }
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
342 \endindentedkeys
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
343
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
344 \shortcopyrightnotice
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
345
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
346 % Column 2
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
347
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
348 \section{Arithmetic}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
349
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
350 \key{add, subtract, multiply, divide}{+\, -\, *\, /}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
351 \key{raise to a power, {\it n\/}th root}{\^\, I \^}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
352 \key{change sign}{n}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
353 \key{reciprocal $1/x$}{\&}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
354 \key{square root $\sqrt x$}{Q}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
355
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
356 \key{set precision}{p}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
357 \key{round off last two digits}{c 2}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
358 \key{convert to fraction, float}{c F\, c f}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
359
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
360 \wkey{enter using algebraic notation}{' 2+3*4}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
361 \wkey{refer to previous result}{' 3*\$\^2}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
362 \wkey{refer to higher stack entries}{' \$1*\$2\^2}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
363 \key{finish alg entry without evaluating}{LFD}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
364 \key{set mode where alg entry used by default}{m a}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
365
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
366 \section{Stack Commands}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
367
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
368 \lesssectionskip
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
369 Here \S{n} is the $n$th stack entry, and $N$ is the size of the stack.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
370
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
371 \vskip.5ex
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
372 \stkkey{\it key}{\it no prefix}{\it prefix $n$}{\it prefix $-n$}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
373 \stkkey{RET}{copy \S{1}}{copy \S{1..n}}{copy \S{n}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
374 \stkkey{LFD}{copy \S{2}}{copy \S{n}}{copy \S{1..n}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
375 \stkkey{DEL}{delete \S{1}}{delete \S{1..n}}{delete \S{n}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
376 \stkkey{M-DEL}{delete \S{2}}{delete \S{n}}{delete \S{1..n}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
377 \stkkey{TAB}{swap \S{1}\swap\S{2}}{roll \S{1} to \S{n}}{roll \S{n} to \S{N}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
378 \stkkey{M-TAB}{roll \S{3} to \S{1}}{roll \S{n} to \S{1}}{roll \S{N} to \S{n}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
379
102016
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
380 With a 0 prefix, these copy, delete, or reverse the entire stack.
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
381
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
382 \section{Display}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
383
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
384 \wkey{scroll horizontally, vertically}{< >\, \{ \}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
385 \key{home cursor}{o}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
386 \key{line numbers on/off}{d l}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
387 \key{trail display on/off}{t d}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
388
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
389 \key{scientific notation}{d s}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
390 \key{fixed-point notation}{d f}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
391 \key{floating-point (normal) notation}{d n}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
392 \key{group digits with commas}{d g}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
393
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
394 For display mode commands, \kbd{H} prefix prevents screen redraw
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
395 and \kbd{I} prefix temporarily redraws top of stack.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
396
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
397 \section{Notations}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
398
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
399 \wkey{scientific notation}{6.02e23}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
400 \wkey{minus sign in numeric entry}{\_23{\rm\quad or\quad}23 n}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
401 \wkey{fractions}{3:4}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
402 \wkey{complex numbers}{({\it x}, {\it y})}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
403 \wkey{polar complex numbers}{({\it r}; $\theta$)}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
404 \wkey{vectors (commas optional)}{[1, 2, 3]}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
405 \wkey{matrices (or nested vectors)}{[1, 2; 3, 4]}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
406 \wkey{error forms (\kbd{p} key)}{100 +/- 0.5}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
407 \wkey{interval forms}{[2 ..\ 5)}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
408 \wkey{modulo forms (\kbd{M} key)}{6 mod 24}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
409 \wkey{HMS forms}{5@ 30' 0"}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
410 \wkey{date forms}{<Jul 4, 1992>}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
411 \wkey{infinity, indeterminate}{inf\, nan}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
412
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
413 % Column 3
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
414
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
415 \section{Scientific Functions}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
416
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
417 \key{ln, log${}_{\scriptscriptstyle 10}$, log${}_b$}{L\, H L\, B}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
418 \key{exponential {\it e}${}^x$, 10${}^x$}{E\, H E}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
419 \key{sin, cos, tan}{S\, C\, T}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
420 \key{arcsin, arccos, arctan}{I S\, I C\, I T}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
421 \key{inverse, hyperbolic prefix keys}{I\, H}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
422 \key{two-argument arctan}{f T}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
423 \key{degrees, radians modes}{m d\, m r}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
424 \key{pi ($\pi$)}{P}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
425
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
426 \key{factorial, double factorial}{!\, k d}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
427 \key{combinations, permutations}{k c\, H k c}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
428 \key{prime factorization}{k f}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
429 \key{next prime, previous prime}{k n\, I k n}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
430 \key{GCD, LCM}{k g\, k l}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
431 \key{random number, shuffle}{k r\, k h}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
432 \key{minimum, maximum}{f n\, f x}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
433
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
434 \key{error functions erf, erfc}{f e\, I f e}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
435 \key{gamma, beta functions}{f g\, f b}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
436 \key{incomplete gamma, beta functions}{f G\, f B}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
437 \key{Bessel $J_\nu$, $Y_\nu$ functions}{f j\, f y}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
438
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
439 \key{complex magnitude, arg, conjugate}{A\, G\, J}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
440 \key{real, imaginary parts}{f r\, f i}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
441 \key{convert polar/rectangular}{c p}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
442
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
443 \section{Financial Functions}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
444
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
445 \key{enter percentage}{M-\%}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
446 \key{convert to percentage}{c \%}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
447 \key{percentage change}{b \%}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
448
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
449 \key{present value}{b P}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
450 \key{future value}{b F}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
451 \key{rate of return}{b T}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
452 \key{number of payments}{b \#}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
453 \key{size of payments}{b M}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
454 \key{net present value, int.\ rate of return}{b N\, b I}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
455
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
456 Above computations assume payments at end of period. Use \kbd{I}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
457 prefix for beginning of period, or \kbd{H} for a lump sum investment.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
458
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
459 \key{straight-line depreciation}{b S}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
460 \key{sum-of-years'-digits}{b Y}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
461 \key{double declining balance}{b D}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
462
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
463 \section{Units}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
464
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
465 \wkey{enter with units}{' 55 mi/hr}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
466 \key{convert to new units, base units}{u c\, u b}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
467 \key{convert temperature units}{u t}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
468 \key{simplify units expression}{u s}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
469 \key{view units table}{u v}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
470
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
471 Common units:
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
472 \iline{distance: \kbd{m}, \kbd{cm}, \kbd{mm}, \kbd{km};
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
473 \kbd{in}, \kbd{ft}, \kbd{mi}, \kbd{mfi};
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
474 \kbd{point}, \kbd{lyr}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
475 \iline{volume: \kbd{l} or \kbd{L}, \kbd{ml};
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
476 \kbd{gal}, \kbd{qt}, \kbd{pt}, \kbd{cup}, \kbd{floz},
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
477 \kbd{tbsp}, \kbd{tsp}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
478 \iline{mass: \kbd{g}, \kbd{mg}, \kbd{kg}, \kbd{t};
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
479 \kbd{lb}, \kbd{oz}, \kbd{ton}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
480 \iline{time: \kbd{s} or \kbd{sec}, \kbd{ms}, \kbd{us}, \kbd{ns}, \kbd{min},
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
481 \kbd{hr}, \kbd{day}, \kbd{wk}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
482 \iline{temperature: \kbd{degC}, \kbd{degF}, \kbd{K}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
483
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
484 % Column 4
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
485
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
486 \newcolumn
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
487 \title{GNU Calc Reference Card}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
488
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
489 \section{Programmer's Functions}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
490
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
491 \key{binary, octal, hex display}{d 2\, d 8\, d 6}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
492 \key{decimal, other radix display}{d 0\, d r}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
493 \key{display leading zeros}{d z}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
494 \key{entering non-decimal numbers}{16\#7FFF}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
495
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
496 \key{binary word size}{b w}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
497 \key{binary AND, OR, XOR}{b a\, b o\, b x}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
498 \key{binary DIFF, NOT}{b d\, b n}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
499 \key{left shift}{b l}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
500 \key{logical right shift}{b r}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
501 \key{arithmetic right shift}{b R}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
502
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
503 \key{integer quotient, remainder}{\\\, \%}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
504 \key{integer square root, logarithm}{f Q\, f I}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
505 \key{floor, ceiling, round to integer}{F\, I F\, R}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
506
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
507 \section{Variables}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
508
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
509 \lesssectionskip
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
510 Variable names are single digits or whole words.
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
511
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
512 \key{store to variable}{s t}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
513 \key{store and keep on stack}{s s}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
514 \key{recall from variable}{s r}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
515 \key{shorthands for digit variables}{t {\it n}\, s {\it n}\, r {\it n}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
516 \key{unstore, exchange variable}{s u\, s x}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
517 \key{edit variable}{s e}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
518
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
519 \section{Vector Operations}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
520
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
521 \key{vector of 1, 2, $\ldots\mskip\thinmuskip$, {\it n}}{v x {\it n}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
522 \key{vector of {\it n} counts from {\it a} by {\it b}}{C-u v x}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
523 \key{vector of copies of a value}{v b}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
524 \key{concatenate into vector}{|}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
525 \key{pack many stack items into vector}{v p}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
526 \key{unpack vector or object}{v u}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
527
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
528 \key{length of vector (list)}{v l}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
529 \key{reverse vector}{v v}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
530 \key{sort, grade vector}{V S\, V G}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
531 \key{histogram of vector data}{V H}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
532 \key{extract vector element}{v r}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
533
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
534 \key{matrix determinant, inverse}{V D\, \&}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
535 \key{matrix transpose, trace}{v t\, V T}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
536 \key{cross, dot products}{V C\, *}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
537 \key{identity matrix}{v i}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
538 \key{extract matrix row, column}{v r\, v c}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
539
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
540 \key{intersection, union, diff of sets}{V \^\, V V\, V -}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
541 \key{cardinality of set}{V \#}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
542
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
543 \key{add vectors elementwise (i.e., map \kbd{+})}{V M +}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
544 \key{sum elements in vector (i.e., reduce \kbd{+})}{V R +}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
545 \key{sum rows in matrix}{V R \_ +}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
546 \key{sum columns in matrix}{V R : +}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
547 \key{sum elements, accumulate results}{V U +}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
548
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
549 % Column 5
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
550
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
551 \section{Algebra}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
552
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
553 \wkey{enter an algebraic formula}{' 2x+3y\^2}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
554 \wkey{enter an equation}{' 2x\^2=18}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
555
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
556 \key{symbolic (vs.\ numeric) mode}{m s}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
557 \key{fractions (vs.\ float) mode}{m f}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
558 \key{suppress evaluation of formulas}{m O}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
559 \key{simplify formulas automatically}{m S}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
560 \key{return to default evaluation rules}{m D}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
561
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
562 \key{``Big'' display mode}{d B}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
563 \key{C, Pascal, FORTRAN modes}{d C\, d P\, d F}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
564 \key{\TeX, La\TeX, eqn modes}{d T\, d L\, d E}
102016
c11dcd02fa88 Update version number. Mention Maxima mode.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 100975
diff changeset
565 \key{Maxima}{d X}
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
566 \key{Unformatted mode}{d U}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
567 \key{Normal language mode}{d N}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
568
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
569 \key{simplify formula}{a s}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
570 \key{put formula into rational form}{a n}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
571 \key{evaluate variables in formula}{=}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
572 \key{evaluate numerically}{N}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
573 \key{let variable equal a value in formula}{s l {\it x\/}={\it val}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
574 \key{declare properties of variable}{s d}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
575 \iline{Common decls: \kbd{pos}, \kbd{int}, \kbd{real},
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
576 \kbd{scalar}, \kbd{[{\it a}..{\it b}\hskip.1em]}.}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
577
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
578 \key{expand, collect terms}{a x\, a c}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
579 \key{factor, partial fractions}{a f\, a a}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
580 \key{polynomial quotient, remainder, GCD}{a \\\, a \%\, a g}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
581 \key{derivative, integral}{a d\, a i}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
582 \key{taylor series}{a t}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
583
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
584 \key{principal solution to equation(s)}{a S}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
585 \key{list of solutions}{a P}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
586 \key{generic solution}{H a S}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
587 \key{apply function to both sides of eqn}{a M}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
588
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
589 \key{rewrite formula}{a r}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
590 \iline{Example: \wkbd{a r a*b + a*c := a*(b+c)}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
591 \iline{Example: \wkbd{a r sin(x)\^2 := 1-cos(x)\^2}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
592 \iline{Example: \wkbd{a r cos(n pi) := 1 ::\ integer(n) ::\ n\%2 = 0}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
593 \iline{Example: \wkbd{a r [f(0) := 1, f(n) := n f(n-1) ::\ n > 0]}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
594 \iline{Put rules in \kbd{EvalRules} to have them apply automatically.}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
595 \iline{Put rules in \kbd{AlgSimpRules} to apply during \kbd{a s}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
596 command.}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
597 \iline{Common markers: \kbd{opt}, \kbd{plain}, \kbd{quote}, \kbd{eval},
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
598 \kbd{let}, \kbd{remember}.}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
599
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
600 \section{Numerical Computations}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
601
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
602 \key{sum formula over a range}{a +}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
603 \key{product of formula over a range}{a *}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
604 \key{tabulate formula over a range}{a T}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
605 \key{integrate numerically over a range}{a I}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
606 \key{find zero of formula or equation}{a R}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
607 \key{find local min, max of formula}{a N\, a X}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
608 \key{fit data to line or curve}{a F}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
609
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
610 \key{mean of data in vector or variable}{u M}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
611 \key{median of data}{H u M}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
612 \key{geometric mean of data}{u G}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
613 \key{sum, product of data}{u +\, u *}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
614 \key{minimum, maximum of data}{u N\, u X}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
615 \key{sample, pop.\ standard deviation}{u S\, I u S}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
616
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
617 % Column 6
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
618
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
619 \section{Selections}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
620
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
621 \key{select subformula under cursor}{j s}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
622 \key{select {\it n\/}th subformula}{j {\it n}}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
623 \key{select more}{j m}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
624 \key{unselect this, all formulas}{j u\, j c}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
625
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
626 \key{copy indicated subformula}{j RET}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
627 \key{delete indicated subformula}{j DEL}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
628
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
629 \key{commute selected terms}{j C}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
630 \key{commute term leftward, rightward}{j L\, j R}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
631 \key{distribute, merge selection}{j D\, j M}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
632 \key{isolate selected term in equation}{j I}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
633 \key{negate, invert term in context}{j N\, j \&}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
634 \key{rewrite selected term}{j r}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
635
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
636 \section{Graphics}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
637
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
638 \key{graph function or data}{g f}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
639 \key{graph 3D function or data}{g F}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
640 \key{replot current graph}{g p}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
641 \key{print current graph}{g P}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
642 \key{add curve to graph}{g a}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
643 \key{set number of data points}{g N}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
644 \key{set line, point styles}{g s\, g S}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
645 \key{set log vs.\ linear {\it x, y} axis}{g l\, g L}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
646 \key{set range for {\it x, y} axis}{g r\, g R}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
647 \key{close graphics window}{g q}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
648
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
649 \section{Programming}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
650
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
651 \key{begin, end recording a macro}{C-x (\, C-x )}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
652 \key{replay keyboard macro}{X}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
653 \wkey{read region as written-out macro}{\calcprefix m}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
654 \key{if, else, endif}{Z [\, Z :\, Z ]}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
655 \key{equal to, less than, member of}{a =\, a <\, a \{}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
656 \key{repeat {\it n} times, break from loop}{Z <\, Z >\, Z /}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
657 \key{``for'' loop: start, end; body, step}{Z (\, Z )}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
658 \key{save, restore mode settings}{Z `\, Z '}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
659 \key{query user during macro}{Z \#}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
660 \key{put finished macro on a key}{Z K}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
661
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
662 \key{define function with formula}{Z F}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
663 \key{edit definition}{Z E}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
664
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
665 \key{record user-defined command permanently}{Z P}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
666 \key{record variable value permanently}{s p}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
667 \key{record mode settings permanently}{m m}
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
668
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
669 \copyrightnotice
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
670
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
671 \bye
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
672
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
673 % Local variables:
82862
7fda0382dcba Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents: 82644
diff changeset
674 % compile-command: "pdftex calccard"
82644
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
675 % End:
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
676
fcd5634482bc Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
677 % arch-tag: a2764f34-ec23-4083-bd5c-53f9e70a5da9