Mercurial > emacs
annotate etc/refcards/sk-refcard.tex @ 96775:cb62bfe8f09c
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1340
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 17 Jul 2008 23:19:11 +0000 |
parents | 9f4d6f3769da |
children | c90853557b90 |
rev | line source |
---|---|
82676
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
1 % Reference Card for GNU Emacs version 21 on Unix systems |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
2 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
3 % Slovak hyphenation rules applied |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
4 \shyph |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
6 %**start of header |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
7 \newcount\columnsperpage |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
9 % This file can be printed with 1, 2, or 3 columns per page (see below). |
82876
70d5d7529472
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82676
diff
changeset
|
10 % Specify how many you want here. |
82676
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
11 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
12 \columnsperpage=1 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
13 |
82876
70d5d7529472
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82676
diff
changeset
|
14 % PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for |
70d5d7529472
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82676
diff
changeset
|
15 % a landscape layout. |
70d5d7529472
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82676
diff
changeset
|
16 |
70d5d7529472
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82676
diff
changeset
|
17 \input pdflayout.sty |
70d5d7529472
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82676
diff
changeset
|
18 \pdflayout=(0) |
70d5d7529472
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82676
diff
changeset
|
19 |
70d5d7529472
Specify PDF layout.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82676
diff
changeset
|
20 % Nothing else needs to be changed. |
82676
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
21 % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004, |
87649 | 22 % 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
82676
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
23 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
24 % This file is part of GNU Emacs. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
25 |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
26 % GNU Emacs is free software: you can redistribute it and/or modify |
82676
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
27 % it under the terms of the GNU General Public License as published by |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
28 % the Free Software Foundation, either version 3 of the License, or |
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
29 % (at your option) any later version. |
82676
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
30 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
31 % GNU Emacs is distributed in the hope that it will be useful, |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
32 % but WITHOUT ANY WARRANTY; without even the implied warranty of |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
34 % GNU General Public License for more details. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
35 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
36 % You should have received a copy of the GNU General Public License |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
37 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
82676
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
38 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
39 % This file is intended to be processed by plain TeX (TeX82). |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
40 % |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
41 % The final reference card has six columns, three on each side. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
42 % This file can be used to produce it in any of three ways: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
43 % 1 column per page |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
44 % produces six separate pages, each of which needs to be reduced to 80%. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
45 % This gives the best resolution. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
46 % 2 columns per page |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
47 % produces three already-reduced pages. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
48 % You will still need to cut and paste. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
49 % 3 columns per page |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
50 % produces two pages which must be printed sideways to make a |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
51 % ready-to-use 8.5 x 11 inch reference card. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
52 % For this you need a dvi device driver that can print sideways. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
53 % Which mode to use is controlled by setting \columnsperpage above. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
54 % |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
55 % Author: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
56 % Stephen Gildea |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
57 % Internet: gildea@stop.mail-abuse.org |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
58 % |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
59 % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
60 % for their many good ideas. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
61 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
62 % If there were room, it would be nice to see a section on Dired. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
63 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
64 % Translated to Czech by Jan Buchal <buchal@brailcom.cz> in January 1999 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
65 % Corrections and improvements of the translation |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
66 % by Milan Zamazal <pdm@zamazal.org> in August 1999 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
67 % More work on better integration with GNU Emacs 21 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
68 % by Pavel Janík <Pavel@Janik.cz> in November 2000 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
69 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
70 % Translated to Slovak by Miroslav Vaško <vasko@debian.cz> in March 2001 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
71 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
72 % Process the file with `csplain' from the `CSTeX' distribution (included |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
73 % e.g. in the TeX Live CD). |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
74 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
75 \def\versionnumber{2.2} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
76 \def\versionemacs{21} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
77 \def\versionyear{2006} % last update |
87649 | 78 \def\year{2008} % latest copyright year |
82676
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
79 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
80 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
81 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
82 Permissions on back. v\versionnumber}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
83 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
84 \def\copyrightnotice{ |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
85 \vskip 1ex plus 2 fill\begingroup\small |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
86 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
87 \centerline{v\versionnumber{} for GNU Emacs version \versionemacs, \versionyear} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
88 \centerline{designed by Stephen Gildea} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
89 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
90 Permission is granted to make and distribute copies of |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
91 this card provided the copyright notice and this permission notice |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
92 are preserved on all copies. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
93 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
94 For copies of the GNU Emacs manual, write to the Free Software |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
95 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
96 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
97 \endgroup} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
98 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
99 % make \bye not \outer so that the \def\bye in the \else clause below |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
100 % can be scanned without complaint. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
101 \def\bye{\par\vfill\supereject\end} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
102 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
103 \newdimen\intercolumnskip %horizontal space between columns |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
104 \newbox\columna %boxes to hold columns already built |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
105 \newbox\columnb |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
106 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
107 \def\ncolumns{\the\columnsperpage} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
108 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
109 \message{[\ncolumns\space |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
110 column\if 1\ncolumns\else s\fi\space per page]} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
111 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
112 \def\scaledmag#1{ scaled \magstep #1} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
113 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
114 % This multi-way format was designed by Stephen Gildea October 1986. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
115 % Note that the 1-column format is fontfamily-independent. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
116 \if 1\ncolumns %one-column format uses normal size |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
117 \hsize 4in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
118 \vsize 10in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
119 \voffset -.7in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
120 \font\titlefont=\fontname\tenbf \scaledmag3 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
121 \font\headingfont=\fontname\tenbf \scaledmag2 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
122 \font\smallfont=\fontname\sevenrm |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
123 \font\smallsy=\fontname\sevensy |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
124 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
125 \footline{\hss\folio} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
126 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
127 \else %2 or 3 columns uses prereduced size |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
128 \hsize 3.2in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
129 \vsize 7.95in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
130 \hoffset -.75in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
131 \voffset -.745in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
132 \font\titlefont=csbx10 \scaledmag2 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
133 \font\headingfont=csbx10 \scaledmag1 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
134 \font\smallfont=csr6 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
135 \font\smallsy=cmsy6 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
136 \font\eightrm=csr8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
137 \font\eightbf=csbx8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
138 \font\eightit=csti8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
139 \font\eighttt=cstt8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
140 \font\eightmi=cmmi8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
141 \font\eightsy=cmsy8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
142 \textfont0=\eightrm |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
143 \textfont1=\eightmi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
144 \textfont2=\eightsy |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
145 \def\rm{\eightrm} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
146 \def\bf{\eightbf} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
147 \def\it{\eightit} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
148 \def\tt{\eighttt} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
149 \normalbaselineskip=.8\normalbaselineskip |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
150 \normallineskip=.8\normallineskip |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
151 \normallineskiplimit=.8\normallineskiplimit |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
152 \normalbaselines\rm %make definitions take effect |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
153 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
154 \if 2\ncolumns |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
155 \let\maxcolumn=b |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
156 \footline{\hss\rm\folio\hss} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
157 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
158 \else \if 3\ncolumns |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
159 \let\maxcolumn=c |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
160 \nopagenumbers |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
161 \else |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
162 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
163 \errmessage{Illegal number of columns per page} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
164 \fi\fi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
165 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
166 \intercolumnskip=.46in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
167 \def\abc{a} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
168 \output={% %see The TeXbook page 257 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
169 % This next line is useful when designing the layout. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
170 %\immediate\write16{Column \folio\abc\space starts with \firstmark} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
171 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
172 \else\if a\abc |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
173 \global\setbox\columna\columnbox \global\def\abc{b} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
174 %% in case we never use \columnb (two-column mode) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
175 \global\setbox\columnb\hbox to -\intercolumnskip{} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
176 \else |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
177 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
178 \def\multicolumnformat{\shipout\vbox{\makeheadline |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
179 \hbox{\box\columna\hskip\intercolumnskip |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
180 \box\columnb\hskip\intercolumnskip\columnbox} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
181 \makefootline}\advancepageno} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
182 \def\columnbox{\leftline{\pagebody}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
183 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
184 \def\bye{\par\vfill\supereject |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
185 \if a\abc \else\null\vfill\eject\fi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
186 \if a\abc \else\null\vfill\eject\fi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
187 \end} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
188 \fi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
189 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
190 % we won't be using math mode much, so redefine some of the characters |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
191 % we might want to talk about |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
192 \catcode`\^=12 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
193 \catcode`\_=12 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
194 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
195 \chardef\\=`\\ |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
196 \chardef\{=`\{ |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
197 \chardef\}=`\} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
198 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
199 \hyphenation{mini-buf-fer} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
200 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
201 \parindent 0pt |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
202 \parskip 1ex plus .5ex minus .5ex |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
203 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
204 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
205 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
206 % newcolumn - force a new column. Use sparingly, probably only for |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
207 % the first column of a page, which should have a title anyway. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
208 \outer\def\newcolumn{\vfill\eject} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
209 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
210 % title - page title. Argument is title text. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
211 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
212 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
213 % section - new major section. Argument is section name. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
214 \outer\def\section#1{\par\filbreak |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
215 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}% |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
216 \vskip 2ex plus 1ex minus 1.5ex} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
217 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
218 \newdimen\keyindent |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
219 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
220 % beginindentedkeys...endindentedkeys - key definitions will be |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
221 % indented, but running text, typically used as headings to group |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
222 % definitions, will not. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
223 \def\beginindentedkeys{\keyindent=1em} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
224 \def\endindentedkeys{\keyindent=0em} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
225 \endindentedkeys |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
226 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
227 % paralign - begin paragraph containing an alignment. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
228 % If an \halign is entered while in vertical mode, a parskip is never |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
229 % inserted. Using \paralign instead of \halign solves this problem. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
230 \def\paralign{\vskip\parskip\halign} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
231 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
232 % \<...> - surrounds a variable name in a code example |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
233 \def\<#1>{{\it #1\/}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
234 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
235 % kbd - argument is characters typed literally. Like the Texinfo command. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
236 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
237 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
238 % beginexample...endexample - surrounds literal text, such a code example. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
239 % typeset in a typewriter font with line breaks preserved |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
240 \def\beginexample{\par\leavevmode\begingroup |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
241 \obeylines\obeyspaces\parskip0pt\tt} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
242 {\obeyspaces\global\let =\ } |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
243 \def\endexample{\endgroup} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
244 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
245 % key - definition of a key. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
246 % \key{description of key}{key-name} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
247 % prints the description left-justified, and the key-name in a \kbd |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
248 % form near the right margin. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
249 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
250 {\hsize=.75\hsize\rightskip=1em |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
251 \hskip\keyindent\relax#1}\kbd{#2}\hfil}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
252 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
253 \newbox\metaxbox |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
254 \setbox\metaxbox\hbox{\kbd{M-x }} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
255 \newdimen\metaxwidth |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
256 \metaxwidth=\wd\metaxbox |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
257 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
258 % metax - definition of a M-x command. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
259 % \metax{description of command}{M-x command-name} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
260 % Tries to justify the beginning of the command name at the same place |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
261 % as \key starts the key name. (The "M-x " sticks out to the left.) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
262 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
263 {\hskip\keyindent\relax#1\hfil}% |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
264 \hskip -\metaxwidth minus 1fil |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
265 \kbd{#2}\hfil}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
266 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
267 % threecol - like "key" but with two key names. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
268 % for example, one for doing the action backward, and one for forward. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
269 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
270 &\kbd{#3}\hfil\quad\cr} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
271 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
272 %**end of header |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
273 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
274 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
275 \title{GNU Emacs -- Referenčná karta} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
276 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
277 \centerline{(pre verziu \versionemacs)} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
278 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
279 \section{Spustenie Emacsu} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
280 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
281 Pre spustenie GNU~Emacsu~\versionemacs{} napíšte jeho meno: \kbd{emacs} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
282 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
283 Ako načítať a editovať súbory sa dozviete nižšie v~oddiele Súbory. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
284 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
285 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
286 \section{Ukončenie Emacsu} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
287 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
288 \key{pozastavenie (zmenšenie do ikony v~X11)}{C-z} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
289 \key{definitívny odchod z~Emacsu}{C-x C-c} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
290 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
291 \section{Súbory} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
292 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
293 \key{{\bf načítať} súbor do Emacsu}{C-x C-f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
294 \key{{\bf uložiť} súbor späť na disk}{C-x C-s} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
295 \key{uložiť {\bf všetky} súbory}{C-x s} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
296 \key{{\bf vložiť} obsah iného súboru do bufferu}{C-x i} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
297 \key{zameniť tento súbor iným súborom}{C-x C-v} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
298 \key{zapísať buffer do zadaného súboru}{C-x C-w} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
299 \key{vložiť do systému správy verzií}{C-x C-q} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
300 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
301 \section{Používanie nápovedy} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
302 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
303 Systém nápovedy je jednoduchý. Stlačte \kbd{C-h} (alebo \kbd{F1}) a sledujte |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
304 inštrukcie. Úvodný {\bf tútorial} je možné spustiť pomocou \kbd{C-h t}. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
305 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
306 \key{odstrániť okno s~nápovedou}{C-x 1} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
307 \key{rolovať okno s~nápovedou}{C-M-v} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
308 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
309 \key{apropos: príkazy zodpovedajúce reťazcu}{C-h a} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
310 \key{zobraziť funkciu danej klávesy}{C-h c} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
311 \key{zobraziť popis funkcie}{C-h f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
312 \key{zobraziť informácie o~aktuálnych módoch}{C-h m} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
313 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
314 \section{Opravy chýb} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
315 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
316 \key{{\bf prerušiť} vkladaný alebo vykonávaný príkaz}{C-g} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
317 \metax{{\bf obnoviť} súbor stratený pádom systému}{M-x recover-file} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
318 \key{{\bf zrušiť} nechcenú zmenu}{C-x u {\it n.} C-_} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
319 \metax{vrátiť pôvodný obsah bufferu}{M-x revert-buffer} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
320 \key{prekresliť \uv{rozpadnutú} obrazovku}{C-l} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
321 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
322 \section{Inkrementálne vyhľadávanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
323 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
324 \key{vyhľadať vpred}{C-s} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
325 \key{vyhľadať vzad}{C-r} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
326 \key{vyhľadať regulárny výraz}{C-M-s} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
327 \key{vyhľadať regulárny výraz dozadu}{C-M-r} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
328 \key{predchádzajúci vyhľadávaný reťazec}{M-p} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
329 \key{nasledujúcí novší vyhľadávaný reťazec}{M-n} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
330 \key{ukončiť inkrementálne vyhľadávanie}{RET} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
331 \key{zrušiť efekt posledného zadaného znaku}{DEL} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
332 \key{prerušiť prebiehajúce vyhľadávanie}{C-g} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
333 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
334 Ďalšie \kbd{C-s} alebo \kbd{C-r} zopakuje vyhľadávanie v~danom smere. Ak |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
335 Emacs vyhľadáva, \kbd{C-g} zruší iba nenájdenú časť reťazca. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
336 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
337 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
338 \shortcopyrightnotice |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
339 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
340 \section{Pohyb} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
341 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
342 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
343 \threecol{{\bf posuv o }}{{\bf vzad}}{{\bf vpred}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
344 \threecol{znak}{C-b}{C-f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
345 \threecol{slovo}{M-b}{M-f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
346 \threecol{riadok}{C-p}{C-n} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
347 \threecol{na začiatok alebo koniec riadku}{C-a}{C-e} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
348 \threecol{vetu}{M-a}{M-e} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
349 \threecol{odstavec}{M-\{}{M-\}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
350 \threecol{stránku}{C-x [}{C-x ]} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
351 \threecol{symbolický výraz}{C-M-b}{C-M-f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
352 \threecol{funkciu}{C-M-a}{C-M-e} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
353 \threecol{na začiatok alebo koniec bufferu}{M-<}{M->} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
354 } |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
355 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
356 \key{rolovať na ďalšiu obrazovku}{C-v} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
357 \key{rolovať na predchádzajúcu obrazovku}{M-v} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
358 \key{rolovať vľavo}{C-x <} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
359 \key{rolovať vpravo}{C-x >} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
360 \key{aktuálny riadok do stredu obrazovky}{C-u C-l} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
361 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
362 \section{Rušenie a mazanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
363 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
364 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
365 \threecol{{\bf rušený objekt }}{{\bf vzad}}{{\bf vpred}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
366 \threecol{znak (mazanie, nie rušenie)}{DEL}{C-d} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
367 \threecol{slovo}{M-DEL}{M-d} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
368 \threecol{riadok (do konca)}{M-0 C-k}{C-k} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
369 \threecol{veta}{C-x DEL}{M-k} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
370 \threecol{symbolický výraz}{M-- C-M-k}{C-M-k} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
371 } |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
372 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
373 \key{zrušiť {\bf oblasť}}{C-w} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
374 \key{skopírovať oblasť do schránky}{M-w} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
375 \key{zrušiť až po najbližší výskyt znaku {\it znak}}{M-z {\it znak}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
376 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
377 \key{vhodiť naposledy zrušený objekt}{C-y} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
378 \key{nahradiť vhodený objekt predchádzajúcim zrušeným}{M-y} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
379 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
380 \section{Označovanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
381 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
382 \key{vložiť značku}{C-@ {\it n.} C-SPC} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
383 \key{prehodiť kurzor a značku}{C-x C-x} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
384 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
385 \key{označiť zadaný počet {\bf slov}}{M-@} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
386 \key{označiť {\bf odstavec}}{M-h} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
387 \key{označiť {\bf stránku}}{C-x C-p} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
388 \key{označiť {\bf symbolický výraz}}{C-M-@} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
389 \key{označiť {\bf funkciu}}{C-M-h} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
390 \key{označiť celý {\bf buffer}}{C-x h} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
391 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
392 \section{Interaktívne nahradzovanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
393 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
394 \key{interaktívne nahradiť textový reťazec}{M-\%} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
395 \metax{s~použitím regulárneho výrazu}{M-x query-replace-regexp} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
396 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
397 Platné odpovede v~móde query-replace sú |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
398 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
399 \key{{\bf nahradiť} a ísť na ďalšie}{SPC} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
400 \key{nahradiť a zostať na mieste}{,} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
401 \key{{\bf skočiť} na ďalšie bez nahradenia}{DEL} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
402 \key{zameniť všetky zostávajúce výskyty}{!} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
403 \key{{\bf späť} na predchádzajúci výskyt reťazca}{^} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
404 \key{{\bf koniec} nahradzovania}{RET} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
405 \key{rekurzívne editovanie (ukončí sa \kbd{C-M-c})}{C-r} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
406 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
407 \section{Okná} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
408 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
409 Ak sú zobrazené dva príkazy, potom ten druhý platí pre Xové okno. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
410 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
411 \key{zrušiť všetky ostatné okná}{C-x 1} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
412 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
413 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
414 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
415 \threecol{rozdeliť okno na horné a dolné}{C-x 2\ \ \ \ }{C-x 5 2} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
416 \threecol{zrušiť toto okno}{C-x 0\ \ \ \ }{C-x 5 0} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
417 }} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
418 \key{rozdeliť okno na ľavé a pravé}{C-x 3} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
419 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
420 \key{rolovať iné okno}{C-M-v} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
421 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
422 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
423 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
424 \threecol{prepnúť kurzor do iného okna}{C-x o}{C-x 5 o} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
425 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
426 \threecol{vybrať buffer v~inom okne}{C-x 4 b}{C-x 5 b} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
427 \threecol{zobraziť buffer v~inom okne}{C-x 4 C-o}{C-x 5 C-o} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
428 \threecol{otvoriť súbor v~inom okne}{C-x 4 f}{C-x 5 f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
429 \threecol{otvoriť súbor iba pre čítanie v~inom okne}{C-x 4 r}{C-x 5 r} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
430 \threecol{spustiť Dired v~inom okne}{C-x 4 d}{C-x 5 d} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
431 \threecol{nájsť tag v~inom okne}{C-x 4 .}{C-x 5 .} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
432 }} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
433 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
434 \key{zväčšiť okno}{C-x ^} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
435 \key{zúžiť okno}{C-x \{} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
436 \key{rozšíriť okno}{C-x \}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
437 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
438 \section{Formátovanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
439 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
440 \key{odsadiť aktuálny {\bf riadok} (podľa módu)}{TAB} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
441 \key{odsadiť {\bf oblasť} (podľa módu)}{C-M-\\} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
442 \key{odsadiť {\bf symbolický výraz} (podľa módu)}{C-M-q} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
443 \key{odsadiť oblasť napevno o~{\it argument\/} stĺpcov}{C-x TAB} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
444 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
445 \key{vložiť znak nového riadku za kurzor}{C-o} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
446 \key{posunúť zbytok riadku zvisle dole}{C-M-o} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
447 \key{zmazať prázdne riadky okolo kurzoru}{C-x C-o} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
448 \key{spojiť riadok s~predchádzajúcim (s~arg.~s~nasl.)}{M-^} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
449 \key{zmazať prázdne miesto okolo kurzoru}{M-\\} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
450 \key{nechať presne jednu medzeru okolo kurzoru}{M-SPC} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
451 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
452 \key{zalomiť odstavec}{M-q} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
453 \key{nastaviť stĺpec pre zalamovanie}{C-x f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
454 \key{nastaviť prefix, ktorým začínajú riadky}{C-x .} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
455 \key{nastaviť font}{M-g} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
456 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
457 \section{Zmena veľkosti písmen} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
458 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
459 \key{zmeniť písmená slova na veľké}{M-u} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
460 \key{zmeniť písmená slova na malé}{M-l} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
461 \key{zmeniť začiatočné písmeno slova na veľké}{M-c} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
462 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
463 \key{zmeniť písmená oblasti na veľké}{C-x C-u} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
464 \key{zmeniť písmená oblasti na malé}{C-x C-l} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
465 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
466 \section{Minibuffer} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
467 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
468 Nasledujúce klávesy sú platné pre minibuffer. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
469 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
470 \key{doplniť z~ponuky}{TAB} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
471 \key{doplniť do najbližšieho slova}{SPC} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
472 \key{doplniť a vykonať}{RET} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
473 \key{zobraziť možné doplnenia}{?} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
474 \key{predchádzajúci príkaz z~minibufferu}{M-p} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
475 \key{novší alebo implicitný príkaz z~minibufferu}{M-n} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
476 \key{vyhľadať regulárny výraz v~histórii vzad}{M-r} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
477 \key{vyhľadať regulárny výraz v~histórii vpred}{M-s} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
478 \key{zrušiť príkaz}{C-g} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
479 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
480 Stlačte \kbd{C-x ESC ESC} pre editovanie a zopakovanie posledného príkazu |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
481 z~minibufferu. Stlačte \kbd{F10} pre aktiváciu menu v~minibufferi. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
482 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
483 \newcolumn |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
484 \title{GNU Emacs -- Referenčná karta} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
485 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
486 \section{Buffery} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
487 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
488 \key{vybrať iný buffer}{C-x b} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
489 \key{zoznam všetkých bufferov}{C-x C-b} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
490 \key{zrušiť buffer}{C-x k} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
491 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
492 \section{Výmeny} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
493 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
494 \key{prehodiť {\bf znaky}}{C-t} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
495 \key{prehodiť {\bf slová}}{M-t} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
496 \key{prehodiť {\bf riadky}}{C-x C-t} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
497 \key{prehodiť {\bf symbolické výrazy}}{C-M-t} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
498 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
499 \section{Kontrola pravopisu} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
500 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
501 \key{kontrola pravopisu aktuálneho slova}{M-\$} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
502 \metax{kontrola pravopisu všetkých slov v oblasti}{M-x ispell-region} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
503 \metax{kontrola pravopisu celého bufferu}{M-x ispell-buffer} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
504 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
505 \section{Tagy} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
506 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
507 \key{nájsť tag (definíciu)}{M-.} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
508 \key{nájsť ďalší výskyt tagu}{C-u M-.} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
509 \metax{zadať súbor s novými tagmi}{M-x visit-tags-table} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
510 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
511 \metax{vyhľadať reg.\ výraz v~súboroch s~tagmi}{M-x tags-search} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
512 \metax{spustiť nahradzovanie pre dotyčné súbory}{M-x tags-query-replace} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
513 \key{pokračovať v~prehľadávaní alebo nahradzovaní}{M-,} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
514 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
515 \section{Príkazový interprét} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
516 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
517 \key{vykonať shellovský príkaz}{M-!} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
518 \key{vykonať shellovský príkaz nad oblasťou}{M-|} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
519 \key{prefiltrovať oblasť shellovským príkazom}{C-u M-|} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
520 \key{spustiť shell v okne \kbd{*shell*}}{M-x shell} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
521 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
522 \section{Obdĺžniky} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
523 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
524 \key{skopírovať obdĺžnik do registra}{C-x r r} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
525 \key{zrušiť obdĺžnik}{C-x r k} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
526 \key{vhodiť obdĺžnik}{C-x r y} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
527 \key{vložiť obdĺžnik medzier}{C-x r o} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
528 \key{nahradiť obdĺžnik obdĺžnikom medzier}{C-x r c} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
529 \key{nahradiť riadky obdĺžniku zadaným reťazcom}{C-x r t} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
530 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
531 \section{Skratky} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
532 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
533 \key{pridať globálnu skratku}{C-x a g} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
534 \key{pridať lokálnu skratku}{C-x a l} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
535 \key{pridať globálnu expanziu pre skratku }{C-x a i g} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
536 \key{pridať lokálnu expanziu pre skratku}{C-x a i l} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
537 \key{expandovať skratku}{C-x a e} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
538 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
539 \key{dynamická expanzia predchádzajúceho slova}{M-/} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
540 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
541 \section{Regulárne výrazy} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
542 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
543 \key{ľubovoľný znak okrem nového riadku}{. {\rm(tečka)}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
544 \key{žiadne alebo niekoľko opakovaní}{*} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
545 \key{jedno alebo viac opakovaní}{+} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
546 \key{žiadne alebo jedno opakovanie}{?} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
547 \key{zrušiť zvláštny význam znaku {\it c\/} vo výraze}{\\{\it c}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
548 \key{alternatíva (\uv{alebo})}{\\|} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
549 \key{skupina}{\\( {\rm$\ldots$} \\)} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
550 \key{rovnaký text ako {\it n\/}-tá skupina}{\\{\it n}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
551 \key{hranice slova}{\\b} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
552 \key{nie hranice slova}{\\B} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
553 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
554 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
555 \threecol{{\bf element}}{{\bf začiatok}}{{\bf koniec}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
556 \threecol{riadok}{^}{\$} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
557 \threecol{slovo}{\\<}{\\>} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
558 \threecol{buffer}{\\`}{\\'} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
559 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
560 \threecol{{\bf trieda znakov}}{{\bf zodpovedá}}{{\bf nezodpovedá}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
561 \threecol{explicitná množina}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
562 \threecol{slovotvorný znak}{\\w}{\\W} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
563 \threecol{znak so syntaxou {\it c}}{\\s{\it c}}{\\S{\it c}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
564 } |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
565 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
566 \section{Medzinárodné znakové sady} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
567 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
568 \metax{zadať hlavný jazyk}{M-x set-language-environment} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
569 \metax{zobraziť všetky vstupné metódy}{M-x list-input-methods} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
570 \key{zapnúť alebo vypnúť vstupnú metódu}{C-\\} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
571 \key{zadať kódovanie pre nasledujúci príkaz}{C-x RET c} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
572 \metax{zobraziť všetky kódovania}{M-x list-coding-systems} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
573 \metax{zmeniť preferované kódovanie}{M-x prefer-coding-system} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
574 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
575 \section{Info} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
576 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
577 \key{spustiť Info}{C-h i} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
578 \key{nájsť zadanú funkciu alebo premennú v~Info}{C-h C-i} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
579 \beginindentedkeys |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
580 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
581 Pohyb vo vnútri uzlov: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
582 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
583 \key{rolovanie vpred}{SPC} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
584 \key{rolovanie vzad}{DEL} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
585 \key{na začiatok uzla}{. {\rm (tečka)}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
586 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
587 Pohyb medzi uzlami: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
588 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
589 \key{{\bf ďalší} uzol}{n} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
590 \key{{\bf predchádzajúci} uzol}{p} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
591 \key{{\bf nadradený} uzol}{u} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
592 \key{vybrať z~menu podľa názvu}{m} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
593 \key{vybrať {\it n\/}-tú položku menu (1--9)}{{\it n}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
594 \key{najbližší nasledujúci krížový odkaz (návrat \kbd{l})}{f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
595 \key{vrátiť sa do naposledy prezeraného uzlu}{l} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
596 \key{vrátiť sa do adresára uzlov}{d} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
597 \key{prejsť do ktoréhokoľvek uzlu podľa mena}{g} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
598 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
599 Ďalšie: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
600 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
601 \key{spustiť {\bf tútorial} k~Infu}{h} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
602 % \key{look up a subject in the indices}{i} % FIXME |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
603 \key{vyhľadať reťazec v uzloch}{M-s} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
604 \key{{\bf skončiť} Info}{q} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
605 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
606 \endindentedkeys |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
607 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
608 \section{Registre} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
609 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
610 \key{uložiť oblasť do registra}{C-x r s} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
611 \key{vložiť obsah registra do buffera}{C-x r i} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
612 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
613 \key{uložiť pozíciu kurzoru do registra}{C-x r SPC} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
614 \key{skočiť na pozíciu uloženú v~registri}{C-x r j} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
615 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
616 \section{Klávesové makrá} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
617 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
618 \key{{\bf začať} definovanie klávesového makra}{C-x (} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
619 \key{{\bf skončiť} definovanie klávesového makra}{C-x )} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
620 \key{{\bf vykonať} naposledy definované makro}{C-x e} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
621 \key{pripojiť k~poslednému klávesovému makru}{C-u C-x (} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
622 \metax{pomenovať posledné makro}{M-x name-last-kbd-macro} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
623 \metax{vložiť do buffera lispovú definíciu}{M-x insert-kbd-macro} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
624 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
625 \section{Príkazy súvisiace s~Emacs Lispom} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
626 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
627 \key{vyhodnotiť {\bf výraz} pred kurzorom}{C-x C-e} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
628 \key{vyhodnotiť {\bf funkciu} pod kurzorom}{C-M-x} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
629 \metax{vyhodnotiť {\bf oblasť}}{M-x eval-region} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
630 \key{načítať a vyhodnotiť výraz v~minibufferi}{M-:} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
631 \metax{načítať súbor zo systémového adresára}{M-x load-library} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
632 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
633 \section{Jednoduché prispôsobenia} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
634 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
635 \metax{nastaviť premenné a faces}{M-x customize} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
636 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
637 % The intended audience here is the person who wants to make simple |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
638 % customizations and knows Lisp syntax. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
639 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
640 Definícia všeobecnej klávesovej skratky v~Emacs Lispe (príklad): |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
641 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
642 \beginexample% |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
643 (global-set-key "\\C-cg" 'goto-line) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
644 (global-set-key "\\M-\#" 'query-replace-regexp) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
645 \endexample |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
646 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
647 \section{Zápis príkazov} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
648 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
649 \beginexample% |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
650 (defun \<command-name> (\<args>) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
651 "\<documentation>" (interactive "\<template>") |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
652 \<body>) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
653 \endexample |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
654 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
655 Príklad: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
656 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
657 \beginexample% |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
658 (defun this-line-to-top-of-window (line) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
659 "Reposition line point is on to top of window. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
660 With ARG, put point on line ARG." |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
661 (interactive "P") |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
662 (recenter (if (null line) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
663 0 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
664 (prefix-numeric-value line)))) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
665 \endexample |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
666 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
667 Špecifikácia \kbd{interactive} vraví, ako interaktívne načítať ar\-gu\-men\-ty. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
668 Viac sa dozviete po vykonaní \kbd{C-h f interactive}. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
669 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
670 \copyrightnotice |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
671 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
672 \bye |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
673 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
674 % Local variables: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
675 % compile-command: "csplain sk-refcard" |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
676 % coding: iso-latin-2 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
677 % End: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
678 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
679 % arch-tag: 9f8eacf2-daf9-4162-bc8d-4af7b269f3d3 |