annotate etc/calccard.tex @ 65088:f05a048483cc

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