comparison etc/calccard.tex @ 67206:73793709af3a

Change the prefix from `M-#' to `C-x *'.
author Jay Belanger <jay.p.belanger@gmail.com>
date Tue, 29 Nov 2005 18:39:52 +0000
parents 27e3e349108d
children 6bf177f8065b 7beb78bc1f8e
comparison
equal deleted inserted replaced
67205:06635bf17a9e 67206:73793709af3a
252 \def\stkkey#1#2#3#4{\par\line{\hskip1em\rlap{\kbd{#1}}\hskip4.5em% 252 \def\stkkey#1#2#3#4{\par\line{\hskip1em\rlap{\kbd{#1}}\hskip4.5em%
253 \rlap{{#2}}\hskip7.5em\rlap{{#3}}\hskip7.5em\rlap{{#4}}\hfill}\par} 253 \rlap{{#2}}\hskip7.5em\rlap{{#3}}\hskip7.5em\rlap{{#4}}\hfill}\par}
254 \def\S#1{$S_{\scriptscriptstyle #1}$} 254 \def\S#1{$S_{\scriptscriptstyle #1}$}
255 \def\swap{$\leftrightarrow$} 255 \def\swap{$\leftrightarrow$}
256 256
257 \def\mhash{M-\#\ } 257 \def\calcprefix{C-x *\ }
258 \def\,{{\rm ,\hskip.55em}\ignorespaces} 258 \def\,{{\rm ,\hskip.55em}\ignorespaces}
259 \def\lesssectionskip{\vskip-1.5ex} 259 \def\lesssectionskip{\vskip-1.5ex}
260 260
261 \def\iline#1{\par\line{\hskip1em\relax #1\hfill}\par} 261 \def\iline#1{\par\line{\hskip1em\relax #1\hfill}\par}
262 262
275 275
276 \centerline{(for version \versionnumber)} 276 \centerline{(for version \versionnumber)}
277 277
278 \section{Starting and Stopping} 278 \section{Starting and Stopping}
279 279
280 \wkey{start/stop standard Calc}{\mhash c} 280 \wkey{start/stop standard Calc}{\calcprefix c}
281 \wkey{start/stop X keypad Calc}{\mhash k} 281 \wkey{start/stop X keypad Calc}{\calcprefix k}
282 \wkey{\quad start/stop either: \kbd{\mhash \#} or \kbd{\mhash \mhash}}{} 282 \wkey{\quad start/stop either: \kbd{\calcprefix *}}{}
283 \wkey{stop standard Calc}{q} 283 \wkey{stop standard Calc}{q}
284 284
285 \wkey{Calc tutorial}{\mhash t} 285 \wkey{Calc tutorial}{\calcprefix t}
286 \wkey{run Calc in other window}{\mhash o} 286 \wkey{run Calc in other window}{\calcprefix o}
287 \wkey{quick calculation in minibuffer}{\mhash q} 287 \wkey{quick calculation in minibuffer}{\calcprefix q}
288 288
289 \section{Getting Help} 289 \section{Getting Help}
290 290
291 \lesssectionskip 291 \lesssectionskip
292 The \kbd{h} prefix key is Calc's analogue of \kbd{C-h} in Emacs. 292 The \kbd{h} prefix key is Calc's analogue of \kbd{C-h} in Emacs.
293 293
294 \key{quick summary of keys}{?} 294 \key{quick summary of keys}{?}
295 \key{describe key briefly}{h c} 295 \key{describe key briefly}{h c}
296 \key{describe key fully}{h k} 296 \key{describe key fully}{h k}
297 \key{describe function or command}{h f} 297 \key{describe function or command}{h f}
298 \key{read on-line manual}{h i{\rm\enskip or\enskip}\mhash i} 298 \key{read on-line manual}{h i{\rm\enskip or\enskip}\calcprefix i}
299 \key{read full Calc summary}{h s{\rm\enskip or\enskip}\mhash s} 299 \key{read full Calc summary}{h s{\rm\enskip or\enskip}\calcprefix s}
300 300
301 \section{Error Recovery} 301 \section{Error Recovery}
302 302
303 \key{abort command in progress}{C-g} 303 \key{abort command in progress}{C-g}
304 \key{display recent error messages}{w} 304 \key{display recent error messages}{w}
305 \key{undo last operation}{U} 305 \key{undo last operation}{U}
306 \key{redo last operation}{D} 306 \key{redo last operation}{D}
307 \key{recall last arguments}{M-RET} 307 \key{recall last arguments}{M-RET}
308 \key{edit top of stack}{`} 308 \key{edit top of stack}{`}
309 \wkey{reset Calc to initial state}{\mhash 0 {\rm (zero)}} 309 \wkey{reset Calc to initial state}{\calcprefix 0 {\rm (zero)}}
310 310
311 \section{Transferring Data} 311 \section{Transferring Data}
312 312
313 \wkey{grab region from a buffer}{\mhash g} 313 \wkey{grab region from a buffer}{\calcprefix g}
314 \wkey{grab rectangle from a buffer}{\mhash r} 314 \wkey{grab rectangle from a buffer}{\calcprefix r}
315 \wkey{grab rectangle, summing columns}{\mhash :} 315 \wkey{grab rectangle, summing columns}{\calcprefix :}
316 \wkey{grab rectangle, summing rows}{\mhash \_} 316 \wkey{grab rectangle, summing rows}{\calcprefix \_}
317 317
318 \wkey{yank data to a buffer}{\mhash y} 318 \wkey{yank data to a buffer}{\calcprefix y}
319 319
320 Also, try \kbd{C-k}/\kbd{C-y} or X cut and paste. 320 Also, try \kbd{C-k}/\kbd{C-y} or X cut and paste.
321 321
322 \section{Examples} 322 \section{Examples}
323 323
643 643
644 \section{Programming} 644 \section{Programming}
645 645
646 \key{begin, end recording a macro}{C-x (\, C-x )} 646 \key{begin, end recording a macro}{C-x (\, C-x )}
647 \key{replay keyboard macro}{X} 647 \key{replay keyboard macro}{X}
648 \wkey{read region as written-out macro}{\mhash m} 648 \wkey{read region as written-out macro}{\calcprefix m}
649 \key{if, else, endif}{Z [\, Z :\, Z ]} 649 \key{if, else, endif}{Z [\, Z :\, Z ]}
650 \key{equal to, less than, member of}{a =\, a <\, a \{} 650 \key{equal to, less than, member of}{a =\, a <\, a \{}
651 \key{repeat {\it n} times, break from loop}{Z <\, Z >\, Z /} 651 \key{repeat {\it n} times, break from loop}{Z <\, Z >\, Z /}
652 \key{``for'' loop: start, end; body, step}{Z (\, Z )} 652 \key{``for'' loop: start, end; body, step}{Z (\, Z )}
653 \key{save, restore mode settings}{Z `\, Z '} 653 \key{save, restore mode settings}{Z `\, Z '}