annotate etc/calccard.tex @ 66703:6cfb275aa300

Use split-string OMIT-NULLS argument. (rcirc-print): Force redisplay before running hooks. Do long buffer truncation after making new text read-only. Deal with nil text when decoding strings. If TARGET is nil, use either the currently selected buffer, if it is an rcirc buffer and of the same process or the process buffer. (rcirc-mode): Remove header-line. Recompute short buffer names. Initialize rcirc-buffer-alist here instead of rcirc-get-buffer-create. (rcirc-short-buffer-name): Add variable. (rcirc-kill-buffer-hook): Recompute short buffer names. Remove nick from private channel. (rcirc-send-input): Send command text to current-buffer. Don't clear overlay arrow here. (rcirc-short-buffer-name): Return a short buffer name. (rcirc-update-short-buffer-names, rcirc-abbreviate) (rcirc-rebuild-tree, rcirc-make-trees): Add functions to generate buffer-name abbreviations. (rcirc-kill-buffer-hook-1): Split to make debugging easier. Do not touch nick-table when killing a parted channel. (rcirc-window-configuration-change): Rename from rcirc-update-activity. Clear arrow from current buffer if it is now hidden. (rcirc-current-buffer): Add variable. (rcirc-my-nick, rcirc-other-nick, rcirc-server) (rcirc-nick-in-message, rcirc-prompt, rcirc-mode-line-nick): Remove -face from names. (rcirc-update-activity-string): Print "DND" when globally ignoring activity. (rcirc-ignore-buffer-activity-flag): Rename from rcirc-ignore-channel-activity. (rcirc-ignore-all-activity-flag): Doc fix. (rcirc-channels): Remove variable. (rcirc-kill-buffer-hook): (rcirc-get-buffer-create): Add nick to private channel. (rcirc-multiline-edit-submit): Remove tabs. (rcirc-put-nick-channel, rcirc-channel-nicks): Look up nicks case folded. (rcirc-remove-nick-channel): Bug fix. (rcirc-toggle-ignore-buffer-activity): Rename from rcirc-toggle-ignore-channel-activity. (rcirc-record-activity): Add buffers to the front of the list. (rcirc-update-activity): Remove killed buffers from list. (rcirc-process-server-response-1): Remove last argument if it is null before calling handler. (rcirc): Add "rcirc" defcustom prefix. (rcirc-prompt): Simplify default prompt. Use custom-initialize-default. (rcirc-private-chats): Remove variable. (rcirc-prompt): Change initialization. (rcirc-version): Remove function. (rcirc-id-string): Add constant. (rcirc-last-buffer): Remove variable. (rcirc-buffer-alist): Add variable. (rcirc-connect): Update variable setup. (rcirc-sentinel, rcirc-update-prompt): Use `rcirc-buffer-alist'. (rcirc-trap-errors-flag): Rename from `rcirc-trap-errors' change default. (rcirc-handler-generic): Trigger activity. (rcirc-send-message): Create the buffor of the target. (rcirc-generate-new-buffer-name): Rename from `rcirc-get-buffer-name'. (rcirc-get-buffer): Just return nil if there is no matching buffer. (rcirc-multiline-edit-cancel): Remove function. (rcirc-set-last-buffer): Remove function. (rcirc-get-any-buffer): Add function. (rcirc-join-channels): Don't print /join text. (rcirc-toggle-ignore-channel-activity): Add and update echo area messages. (rcirc-cmd-ctcp): Use rcirc-send-string to send request. (rcirc-handler-NOTICE): Recognize CTCP responses. (rcirc-handler-332, rcirc-handler-332): Use a temp buffer for constructing TOPIC string for buffers we are not JOINed. (rcirc-handler-CTCP-response): Add handler. (rcirc-multiline-edit-submit): Restore the window-configuration before adjusting point. (rcirc): Add customization group. (rcirc-server, rcirc-port, rcirc-nick, rcirc-user-name) (rcirc-user-full-name, rcirc-startup-channels-alist) (rcirc-fill-flag, rcirc-fill-column, rcirc-fill-prefix) (rcirc-ignore-all-activity-flag, rcirc-time-format) (rcirc-input-ring-size, rcirc-read-only-flag) (rcirc-buffer-maximum-lines, rcirc-authinfo-file-name) (rcirc-auto-authenticate-flag, rcirc-prompt, rcirc-print-hooks): Change defvar to defcustom. (rcirc-update-prompt): Add optional ALL arg, which will update prompts in all rcirc buffers. Regexp quote replacement text. (rcirc-fill-column): Accept 'frame-width as a value. (rcirc-set-changed): Add function. (rcirc-next-active-buffer): Write more meaningful messages. (rcirc-faces): Add customization group. (rcirc-my-nick-face, rcirc-other-nick-face, rcirc-server-face) (rcirc-nick-in-message-face, rcirc-prompt-face) (rcirc-mode-line-nick-face): Move into rcirc-faces group. (with-rcirc-process-buffer): Move before first usage. (rcirc-debug-buffer): Rename from `rcirc-log-buffer'. (rcirc-debug-flag): Rename from `rcirc-log-p'. (rcirc-debug): Rename from `rcirc-log'. (rcirc-format-response-string): Do not print '-' chars for a NOTICE with no sender. Simplify output of server responses. (rcirc-browse-url-map, rcirc-browse-url-at-point) (rcirc-browse-url-at-mouse, rcirc-mangle-text): Make urls mouse and RET clickable.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 04 Nov 2005 15:05:11 +0000
parents 27e3e349108d
children 73793709af3a b1c1fc853d2f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
40862
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 % Reference Card for GNU Emacs Calc 2.02
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
2 %**start of header
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 \newcount\columnsperpage
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 % The format for this file is adapted from the GNU Emacs reference
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 % card version 1.9, by Stephen Gildea.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
8 % This file can be printed with 1, 2, or 3 columns per page (see below).
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 % Specify how many you want here. Nothing else needs to be changed.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
10
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
11 \columnsperpage=3
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 % Typical command to format: tex calccard.tex
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 % Typical command to print (3 cols): dvips -t landscape calccard.dvi
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15
65088
f05a048483cc Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64092
diff changeset
16 % Copyright (C) 1987, 1992, 2001, 2002, 2003, 2004,
f05a048483cc Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64092
diff changeset
17 % 2005 Free Software Foundation, Inc.
40862
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
19 % This file is part of GNU Emacs.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
20
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21 % GNU Emacs is free software; you can redistribute it and/or modify
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 % it under the terms of the GNU General Public License as published by
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 % the Free Software Foundation; either version 1, or (at your option)
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24 % any later version.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 % GNU Emacs is distributed in the hope that it will be useful,
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27 % but WITHOUT ANY WARRANTY; without even the implied warranty of
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 % GNU General Public License for more details.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31 % You should have received a copy of the GNU General Public License
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
32 % along with GNU Emacs; see the file COPYING. If not, write to
64092
e055d02d8b97 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
33 % the Free Software Foundation, 51 Franklin Street, Fifth Floor,
e055d02d8b97 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
34 % Boston, MA 02110-1301, USA.
40862
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 % This file is intended to be processed by plain TeX (TeX82).
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 %
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 % The final reference card has six columns, three on each side.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39 % This file can be used to produce it in any of three ways:
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40 % 1 column per page
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41 % produces six separate pages, each of which needs to be reduced to 80%.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42 % This gives the best resolution.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43 % 2 columns per page
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44 % produces three already-reduced pages.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 % You will still need to cut and paste.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46 % 3 columns per page
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 % produces two pages which must be printed sideways to make a
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 % ready-to-use 8.5 x 11 inch reference card.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
49 % For this you need a dvi device driver that can print sideways.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
50 % Which mode to use is controlled by setting \columnsperpage above.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
51 %
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
52 % Author (Calc reference card):
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
53 % Dave Gillespie
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
54 % UUCP: uunet!synaptx!daveg
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
55 % Internet: daveg@synaptics.com
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
56 %
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
57 % Author (refcard.tex format):
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
58 % Stephen Gildea
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
59 % UUCP: mit-erl!gildea
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
60 % Internet: gildea@stop.mail-abuse.org
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
61
65717
27e3e349108d Update `versionnumber'.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 65088
diff changeset
62 \def\versionnumber{2.1}
65088
f05a048483cc Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64092
diff changeset
63 \def\year{2005}
40862
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
64 \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
65
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
66 \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
67 \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
68 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
69
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
70 \def\copyrightnotice{
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
71 \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
72 \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
73 \centerline{designed by Dave Gillespie and Stephen Gildea, \version}
65717
27e3e349108d Update `versionnumber'.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 65088
diff changeset
74 \centerline{for GNU Emacs Calc version \versionnumber}
40862
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
75
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
76 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
77 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
78 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
79
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
80 For copies of the GNU Emacs Calc manual, write to the Free Software
64092
e055d02d8b97 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
81 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
e055d02d8b97 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
82 MA 02110-1301, USA.
40862
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
83
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
84 \endgroup}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
85
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
86 % 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
87 % 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
88 \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
89
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
90 \newdimen\intercolumnskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
91 \newbox\columna
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
92 \newbox\columnb
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
93
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
94 \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
95
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 40862
diff changeset
96 \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
97 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
98
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
99 \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
100
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
101 % 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
102 % October 1986.
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
103 \if 1\ncolumns
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
104 \hsize 4in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
105 \vsize 10in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
106 \voffset -.7in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
107 \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
108 \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
109 \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
110 \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
111
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
112 \footline{\hss\folio}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
113 \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
114 \else
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
115 \hsize 3.2in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
116 \vsize 7.95in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
117 \hoffset -.75in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
118 \voffset -.745in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
119 \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
120 \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
121 \font\smallfont=cmr6
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
122 \font\smallsy=cmsy6
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
123 \font\eightrm=cmr8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
124 \font\eightbf=cmbx8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
125 \font\eightit=cmti8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
126 \font\eighttt=cmtt8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
127 \font\eightsy=cmsy8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
128 \textfont0=\eightrm
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
129 \textfont2=\eightsy
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
130 \def\rm{\eightrm}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
131 \def\bf{\eightbf}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
132 \def\it{\eightit}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
133 \def\tt{\eighttt}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
134 \normalbaselineskip=.8\normalbaselineskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
135 \normallineskip=.8\normallineskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
136 \normallineskiplimit=.8\normallineskiplimit
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
137 \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
138
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
139 \if 2\ncolumns
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
140 \let\maxcolumn=b
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
141 \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
142 \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
143 \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
144 \let\maxcolumn=c
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
145 \nopagenumbers
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
146 \else
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
147 \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
148 \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
149 \fi\fi
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
150
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
151 \intercolumnskip=.46in
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
152 \def\abc{a}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
153 \output={%
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
154 % 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
155 %\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
156 \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
157 \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
158 \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
159 %% 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
160 \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
161 \else
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
162 \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
163 \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
164 \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
165 \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
166 \makefootline}\advancepageno}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
167 \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
168
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
169 \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
170 \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
171 \if a\abc \else\null\vfill\eject\fi
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 40862
diff changeset
172 \end}
40862
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
173 \fi
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
174
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
175 % 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
176 % 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
177 \catcode`\^=12
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
178 \catcode`\_=12
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
179
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 \chardef\{=`\{
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
182 \chardef\}=`\}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
183
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
184 \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
185
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
186 \parindent 0pt
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
187 \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
188
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
189 \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
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\newcolumn{\vfill\eject}
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\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
194
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
195 \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
196 \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
197 \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
198
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
199 \newdimen\keyindent
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
200
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
201 \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
202 \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
203 \endindentedkeys
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\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
206
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
207 \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
208
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
209 \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
210
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
211 \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
212 \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
213 {\obeyspaces\global\let =\ }
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
214 \def\endexample{\endgroup}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
215
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
216 \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
217 {\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
218 \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
219
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
220 \newbox\metaxbox
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
221 \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
222 \newdimen\metaxwidth
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
223 \metaxwidth=\wd\metaxbox
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
224
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
225 \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
226 {\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
227 \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
228 \kbd{#2}\hfil}}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
229
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
230 \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
231 &\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
232
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 % 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
235 %
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
236
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
237 \let\^=^
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
238 \let\_=_
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
239 \catcode`\^=7
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
240 \catcode`\_=8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
241
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
242 % 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
243 \let\wkbd=\kbd
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
244 \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
245
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
246 \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
247 {\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
248 \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
249 \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
250 &\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
251
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
252 \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
253 \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
254 \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
255 \def\swap{$\leftrightarrow$}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
256
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
257 \def\mhash{M-\#\ }
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
258 \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
259 \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
260
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
261 \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
262
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
263 \if 1\ncolumns
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
264 \else
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
265 \font\eighti=cmmi8
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
266 \textfont1=\eighti
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
267 \fi
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 %**end of header
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
270
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 % Column 1
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 \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
275
65717
27e3e349108d Update `versionnumber'.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 65088
diff changeset
276 \centerline{(for version \versionnumber)}
40862
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 \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
279
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
280 \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
281 \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
282 \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
283 \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
284
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
285 \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
286 \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
287 \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
288
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
289 \section{Getting Help}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
290
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
291 \lesssectionskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
292 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
293
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
294 \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
295 \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
296 \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
297 \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
298 \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
299 \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
300
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
301 \section{Error Recovery}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
302
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
303 \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
304 \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
305 \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
306 \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
307 \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
308 \key{edit top of stack}{`}
65717
27e3e349108d Update `versionnumber'.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 65088
diff changeset
309 \wkey{reset Calc to initial state}{\mhash 0 {\rm (zero)}}
40862
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 \section{Transferring Data}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
312
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
313 \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
314 \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
315 \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
316 \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
317
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
318 \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
319
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
320 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
321
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
322 \section{Examples}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
323
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
324 \lesssectionskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
325 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
326 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
327 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
328
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
329 \beginindentedkeys
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
330 \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
331 \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
332 \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
333 \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
334 \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
335 \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
336 \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
337 }
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
338 \endindentedkeys
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 \shortcopyrightnotice
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 % Column 2
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 \section{Arithmetic}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
345
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
346 \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
347 \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
348 \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
349 \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
350 \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
351
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
352 \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
353 \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
354 \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
355
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
356 \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
357 \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
358 \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
359 \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
360 \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
361
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
362 \section{Stack Commands}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
363
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
364 \lesssectionskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
365 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
366
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
367 \vskip.5ex
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
368 \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
369 \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
370 \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
371 \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
372 \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
373 \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
374 \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
375
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
376 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
377
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
378 \section{Display}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
379
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
380 \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
381 \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
382 \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
383 \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
384
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
385 \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
386 \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
387 \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
388 \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
389
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
390 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
391 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
392
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
393 \section{Notations}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
394
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
395 \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
396 \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
397 \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
398 \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
399 \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
400 \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
401 \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
402 \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
403 \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
404 \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
405 \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
406 \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
407 \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
408
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
409 % Column 3
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 \section{Scientific Functions}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
412
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
413 \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
414 \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
415 \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
416 \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
417 \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
418 \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
419 \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
420 \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
421
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
422 \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
423 \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
424 \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
425 \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
426 \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
427 \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
428 \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
429
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
430 \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
431 \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
432 \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
433 \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
434
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
435 \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
436 \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
437 \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
438
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
439 \section{Financial Functions}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
440
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
441 \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
442 \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
443 \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
444
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
445 \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
446 \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
447 \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
448 \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
449 \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
450 \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
451
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
452 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
453 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
454
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
455 \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
456 \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
457 \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
458
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
459 \section{Units}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
460
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
461 \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
462 \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
463 \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
464 \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
465 \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
466
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
467 Common units:
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
468 \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
469 \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
470 \kbd{point}, \kbd{lyr}}
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 40862
diff changeset
471 \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
472 \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
473 \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
474 \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
475 \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
476 \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
477 \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
478 \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
479
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
480 % Column 4
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
481
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
482 \newcolumn
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
483 \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
484
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
485 \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
486
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
487 \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
488 \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
489 \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
490 \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
491
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
492 \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
493 \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
494 \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
495 \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
496 \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
497 \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
498
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
499 \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
500 \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
501 \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
502
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
503 \section{Variables}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
504
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
505 \lesssectionskip
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
506 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
507
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
508 \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
509 \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
510 \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
511 \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
512 \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
513 \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
514
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
515 \section{Vector Operations}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
516
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 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
518 \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
519 \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
520 \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
521 \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
522 \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
523
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
524 \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
525 \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
526 \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
527 \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
528 \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
529
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
530 \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
531 \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
532 \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
533 \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
534 \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
535
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
536 \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
537 \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
538
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
539 \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
540 \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
541 \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
542 \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
543 \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
544
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
545 % Column 5
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 \section{Algebra}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
548
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
549 \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
550 \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
551
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
552 \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
553 \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
554 \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
555 \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
556 \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
557
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
558 \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
559 \key{C, Pascal, FORTRAN modes}{d C\, d P\, d F}
65717
27e3e349108d Update `versionnumber'.
Jay Belanger <jay.p.belanger@gmail.com>
parents: 65088
diff changeset
560 \key{\TeX, La\TeX, eqn modes}{d T\, d L\, d E}
40862
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
561 \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
562 \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
563
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
564 \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
565 \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
566 \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
567 \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
568 \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
569 \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
570 \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
571 \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
572
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
573 \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
574 \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
575 \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
576 \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
577 \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
578
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
579 \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
580 \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
581 \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
582 \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
583
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
584 \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
585 \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
586 \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
587 \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
588 \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
589 \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
590 \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
591 command.}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
592 \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
593 \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
594
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
595 \section{Numerical Computations}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
596
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
597 \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
598 \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
599 \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
600 \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
601 \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
602 \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
603 \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
604
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
605 \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
606 \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
607 \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
608 \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
609 \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
610 \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
611
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
612 % Column 6
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 \section{Selections}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
615
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
616 \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
617 \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
618 \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
619 \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
620
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
621 \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
622 \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
623
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
624 \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
625 \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
626 \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
627 \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
628 \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
629 \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
630
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
631 \section{Graphics}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
632
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
633 \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
634 \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
635 \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
636 \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
637 \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
638 \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
639 \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
640 \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
641 \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
642 \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
643
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
644 \section{Programming}
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
645
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
646 \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
647 \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
648 \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
649 \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
650 \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
651 \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
652 \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
653 \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
654 \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
655 \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
656
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
657 \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
658 \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
659
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
660 \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
661 \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
662 \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
663
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
664 \copyrightnotice
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
665
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
666 \bye
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
667
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
668 % Local variables:
30c8aff4be6f New file, from the Calc distribution (with Stephen Gildea's email address
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
669 % 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
670 % End:
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
671
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
672 % arch-tag: a2764f34-ec23-4083-bd5c-53f9e70a5da9