annotate etc/calccard.tex @ 59772:3ee04791024f

*** empty log message ***
author Eli Zaretskii <eliz@gnu.org>
date Sat, 29 Jan 2005 14:05:34 +0000
parents 695cf19ef79e
children e055d02d8b97 375f2633d815
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
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 % Copyright (c) 1987, 1992, 2001 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
17
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 % 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
19
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20 % 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
21 % 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
22 % 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
23 % any later version.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25 % 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
26 % 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
27 % 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
28 % 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
29
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30 % 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
31 % along with GNU Emacs; see the file COPYING. If not, write to
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 % the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34 % 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
35 %
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 % 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
37 % 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
38 % 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
39 % 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
40 % 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
41 % 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
42 % 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
43 % 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
44 % 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
45 % 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
46 % 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
47 % 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
48 % 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
49 %
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50 % 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
51 % Dave Gillespie
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
52 % 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
53 % 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
54 %
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
55 % 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
56 % Stephen Gildea
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
57 % 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
58 % 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
59
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
60 \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
61 \def\versiondate{November 2001}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
62 \def\year{2001}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
63 \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
64
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
65 \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
66 \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
67 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
68
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
69 \def\copyrightnotice{
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
70 \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
71 \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
72 \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
73 \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
74
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
75 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
76 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
77 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
78
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
79 For copies of the GNU Emacs Calc manual, write to the Free Software
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
80 Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
81
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
82 \endgroup}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
83
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
84 % 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
85 % 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
86 \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
87
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
88 \newdimen\intercolumnskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
89 \newbox\columna
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
90 \newbox\columnb
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
91
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
92 \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
93
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 40862
diff changeset
94 \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
95 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
96
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
97 \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
98
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
99 % 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
100 % October 1986.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
101 \if 1\ncolumns
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
102 \hsize 4in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
103 \vsize 10in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
104 \voffset -.7in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
105 \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
106 \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
107 \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
108 \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
109
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
110 \footline{\hss\folio}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
111 \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
112 \else
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
113 \hsize 3.2in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
114 \vsize 7.95in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
115 \hoffset -.75in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
116 \voffset -.745in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
117 \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
118 \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
119 \font\smallfont=cmr6
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
120 \font\smallsy=cmsy6
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
121 \font\eightrm=cmr8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
122 \font\eightbf=cmbx8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
123 \font\eightit=cmti8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
124 \font\eighttt=cmtt8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
125 \font\eightsy=cmsy8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
126 \textfont0=\eightrm
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
127 \textfont2=\eightsy
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
128 \def\rm{\eightrm}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
129 \def\bf{\eightbf}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
130 \def\it{\eightit}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
131 \def\tt{\eighttt}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
132 \normalbaselineskip=.8\normalbaselineskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
133 \normallineskip=.8\normallineskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
134 \normallineskiplimit=.8\normallineskiplimit
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
135 \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
136
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
137 \if 2\ncolumns
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
138 \let\maxcolumn=b
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
139 \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
140 \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
141 \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
142 \let\maxcolumn=c
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
143 \nopagenumbers
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
144 \else
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
145 \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
146 \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
147 \fi\fi
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
148
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
149 \intercolumnskip=.46in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
150 \def\abc{a}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
151 \output={%
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
152 % 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
153 %\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
154 \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
155 \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
156 \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
157 %% 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
158 \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
159 \else
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
160 \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
161 \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
162 \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
163 \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
164 \makefootline}\advancepageno}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
165 \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
166
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
167 \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
168 \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
169 \if a\abc \else\null\vfill\eject\fi
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 40862
diff changeset
170 \end}
40862
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
171 \fi
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
172
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
173 % 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
174 % 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
175 \catcode`\^=12
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
176 \catcode`\_=12
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
177
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
178 \chardef\\=`\\
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
179 \chardef\{=`\{
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
180 \chardef\}=`\}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
181
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
182 \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
183
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
184 \parindent 0pt
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
185 \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
186
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
187 \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
188
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
189 \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
190
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
191 \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
192
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
193 \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
194 \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
195 \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
196
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
197 \newdimen\keyindent
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
198
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
199 \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
200 \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
201 \endindentedkeys
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
202
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
203 \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
204
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
205 \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
206
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
207 \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
208
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
209 \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
210 \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
211 {\obeyspaces\global\let =\ }
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
212 \def\endexample{\endgroup}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
213
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
214 \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
215 {\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
216 \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
217
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
218 \newbox\metaxbox
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
219 \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
220 \newdimen\metaxwidth
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
221 \metaxwidth=\wd\metaxbox
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
222
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
223 \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
224 {\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
225 \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
226 \kbd{#2}\hfil}}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
227
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
228 \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
229 &\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
230
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
231 %
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
232 % 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
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 \let\^=^
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
236 \let\_=_
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
237 \catcode`\^=7
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
238 \catcode`\_=8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
239
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
240 % 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
241 \let\wkbd=\kbd
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
242 \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
243
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
244 \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
245 {\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
246 \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
247 \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
248 &\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
249
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
250 \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
251 \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
252 \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
253 \def\swap{$\leftrightarrow$}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
254
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
255 \def\mhash{M-\#\ }
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
256 \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
257 \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
258
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
259 \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
260
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
261 \if 1\ncolumns
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
262 \else
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
263 \font\eighti=cmmi8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
264 \textfont1=\eighti
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
265 \fi
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
266
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
267 %**end of header
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
268
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 % Column 1
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 \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
273
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
274 \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
275
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
276 \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
277
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
278 \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
279 \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
280 \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
281 \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
282
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
283 \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
284 \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
285 \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
286
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
287 \section{Getting Help}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
288
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
289 \lesssectionskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
290 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
291
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
292 \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
293 \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
294 \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
295 \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
296 \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
297 \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
298
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
299 \section{Error Recovery}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
300
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
301 \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
302 \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
303 \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
304 \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
305 \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
306 \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
307 \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
308
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
309 \section{Transferring Data}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
310
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
311 \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
312 \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
313 \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
314 \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
315
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
316 \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
317
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
318 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
319
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
320 \section{Examples}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
321
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
322 \lesssectionskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
323 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
324 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
325 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
326
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
327 \beginindentedkeys
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
328 \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
329 \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
330 \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
331 \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
332 \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
333 \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
334 \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
335 }
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
336 \endindentedkeys
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
337
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
338 \shortcopyrightnotice
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
339
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
340 % Column 2
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
341
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
342 \section{Arithmetic}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
343
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
344 \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
345 \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
346 \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
347 \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
348 \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
349
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
350 \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
351 \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
352 \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
353
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
354 \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
355 \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
356 \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
357 \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
358 \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
359
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
360 \section{Stack Commands}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
361
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
362 \lesssectionskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
363 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
364
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
365 \vskip.5ex
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
366 \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
367 \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
368 \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
369 \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
370 \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
371 \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
372 \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
373
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
374 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
375
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
376 \section{Display}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
377
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
378 \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
379 \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
380 \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
381 \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
382
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
383 \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
384 \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
385 \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
386 \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
387
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
388 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
389 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
390
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
391 \section{Notations}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
392
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
393 \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
394 \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
395 \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
396 \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
397 \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
398 \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
399 \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
400 \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
401 \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
402 \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
403 \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
404 \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
405 \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
406
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
407 % Column 3
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
408
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
409 \section{Scientific Functions}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
410
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
411 \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
412 \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
413 \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
414 \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
415 \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
416 \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
417 \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
418 \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
419
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
420 \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
421 \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
422 \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
423 \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
424 \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
425 \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
426 \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
427
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
428 \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
429 \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
430 \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
431 \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
432
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
433 \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
434 \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
435 \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
436
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
437 \section{Financial Functions}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
438
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
439 \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
440 \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
441 \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
442
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
443 \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
444 \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
445 \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
446 \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
447 \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
448 \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
449
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
450 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
451 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
452
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
453 \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
454 \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
455 \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
456
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
457 \section{Units}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
458
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
459 \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
460 \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
461 \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
462 \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
463 \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
464
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
465 Common units:
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
466 \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
467 \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
468 \kbd{point}, \kbd{lyr}}
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 40862
diff changeset
469 \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
470 \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
471 \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
472 \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
473 \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
474 \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
475 \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
476 \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
477
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
478 % Column 4
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
479
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
480 \newcolumn
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
481 \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
482
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
483 \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
484
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
485 \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
486 \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
487 \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
488 \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
489
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
490 \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
491 \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
492 \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
493 \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
494 \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
495 \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
496
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
497 \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
498 \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
499 \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
500
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
501 \section{Variables}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
502
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
503 \lesssectionskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
504 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
505
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
506 \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
507 \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
508 \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
509 \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
510 \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
511 \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
512
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
513 \section{Vector Operations}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
514
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
515 \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
516 \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
517 \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
518 \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
519 \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
520 \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
521
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
522 \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
523 \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
524 \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
525 \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
526 \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
527
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
528 \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
529 \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
530 \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
531 \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
532 \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
533
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
534 \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
535 \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
536
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
537 \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
538 \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
539 \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
540 \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
541 \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
542
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
543 % Column 5
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
544
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
545 \section{Algebra}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
546
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
547 \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
548 \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
549
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
550 \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
551 \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
552 \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
553 \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
554 \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
555
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
556 \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
557 \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
558 \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
559 \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
560 \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
561
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
562 \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
563 \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
564 \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
565 \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
566 \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
567 \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
568 \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
569 \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
570
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
571 \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
572 \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
573 \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
574 \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
575 \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
576
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
577 \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
578 \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
579 \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
580 \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
581
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
582 \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
583 \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
584 \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
585 \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
586 \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
587 \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
588 \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
589 command.}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
590 \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
591 \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
592
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
593 \section{Numerical Computations}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
594
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
595 \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
596 \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
597 \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
598 \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
599 \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
600 \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
601 \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
602
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
603 \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
604 \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
605 \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
606 \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
607 \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
608 \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
609
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
610 % Column 6
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
611
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
612 \section{Selections}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
613
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
614 \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
615 \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
616 \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
617 \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
618
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
619 \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
620 \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
621
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
622 \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
623 \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
624 \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
625 \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
626 \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
627 \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
628
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
629 \section{Graphics}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
630
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
631 \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
632 \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
633 \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
634 \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
635 \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
636 \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
637 \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
638 \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
639 \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
640 \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
641
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
642 \section{Programming}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
643
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
644 \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
645 \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
646 \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
647 \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
648 \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
649 \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
650 \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
651 \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
652 \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
653 \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
654 \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
655
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
656 \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
657 \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
658
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
659 \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
660 \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
661 \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
662
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
663 \copyrightnotice
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
664
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
665 \bye
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
666
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
667 % Local variables:
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
668 % 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
669 % End:
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
670
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
671 % arch-tag: a2764f34-ec23-4083-bd5c-53f9e70a5da9