Mercurial > emacs
annotate etc/refcards/sk-refcard.tex @ 94492:15e98f48709e
Reorder, place things related to version control together.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 30 Apr 2008 05:50:02 +0000 |
parents | 107ccd98fa12 |
children | 9f4d6f3769da |
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 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
26 % GNU Emacs is free software; you can redistribute it and/or modify |
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 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
28 % the Free Software Foundation; either version 3, or (at your option) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
29 % any later version. |
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 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
37 % along with GNU Emacs; see the file COPYING. If not, write to |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
38 % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
39 % Boston, MA 02110-1301, USA. |
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 % 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
|
42 % |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
43 % 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
|
44 % 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
|
45 % 1 column per page |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
46 % 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
|
47 % This gives the best resolution. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
48 % 2 columns per page |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
49 % produces three already-reduced pages. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
50 % You will still need to cut and paste. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
51 % 3 columns per page |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
52 % 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
|
53 % 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
|
54 % 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
|
55 % 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
|
56 % |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
57 % Author: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
58 % Stephen Gildea |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
59 % Internet: gildea@stop.mail-abuse.org |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
60 % |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
61 % 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
|
62 % for their many good ideas. |
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 % 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
|
65 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
66 % 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
|
67 % Corrections and improvements of the translation |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
68 % 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
|
69 % 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
|
70 % 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
|
71 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
72 % 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
|
73 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
74 % 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
|
75 % e.g. in the TeX Live CD). |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
76 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
77 \def\versionnumber{2.2} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
78 \def\versionemacs{21} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
79 \def\versionyear{2006} % last update |
87649 | 80 \def\year{2008} % latest copyright year |
82676
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
81 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
82 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
83 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
84 Permissions on back. v\versionnumber}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
85 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
86 \def\copyrightnotice{ |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
87 \vskip 1ex plus 2 fill\begingroup\small |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
88 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
89 \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
|
90 \centerline{designed by Stephen Gildea} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
91 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
92 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
|
93 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
|
94 are preserved on all copies. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
95 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
96 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
|
97 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
|
98 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
99 \endgroup} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
100 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
101 % 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
|
102 % can be scanned without complaint. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
103 \def\bye{\par\vfill\supereject\end} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
104 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
105 \newdimen\intercolumnskip %horizontal space between columns |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
106 \newbox\columna %boxes to hold columns already built |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
107 \newbox\columnb |
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 \def\ncolumns{\the\columnsperpage} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
110 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
111 \message{[\ncolumns\space |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
112 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
|
113 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
114 \def\scaledmag#1{ scaled \magstep #1} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
115 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
116 % 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
|
117 % 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
|
118 \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
|
119 \hsize 4in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
120 \vsize 10in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
121 \voffset -.7in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
122 \font\titlefont=\fontname\tenbf \scaledmag3 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
123 \font\headingfont=\fontname\tenbf \scaledmag2 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
124 \font\smallfont=\fontname\sevenrm |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
125 \font\smallsy=\fontname\sevensy |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
126 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
127 \footline{\hss\folio} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
128 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
129 \else %2 or 3 columns uses prereduced size |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
130 \hsize 3.2in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
131 \vsize 7.95in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
132 \hoffset -.75in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
133 \voffset -.745in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
134 \font\titlefont=csbx10 \scaledmag2 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
135 \font\headingfont=csbx10 \scaledmag1 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
136 \font\smallfont=csr6 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
137 \font\smallsy=cmsy6 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
138 \font\eightrm=csr8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
139 \font\eightbf=csbx8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
140 \font\eightit=csti8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
141 \font\eighttt=cstt8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
142 \font\eightmi=cmmi8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
143 \font\eightsy=cmsy8 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
144 \textfont0=\eightrm |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
145 \textfont1=\eightmi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
146 \textfont2=\eightsy |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
147 \def\rm{\eightrm} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
148 \def\bf{\eightbf} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
149 \def\it{\eightit} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
150 \def\tt{\eighttt} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
151 \normalbaselineskip=.8\normalbaselineskip |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
152 \normallineskip=.8\normallineskip |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
153 \normallineskiplimit=.8\normallineskiplimit |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
154 \normalbaselines\rm %make definitions take effect |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
155 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
156 \if 2\ncolumns |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
157 \let\maxcolumn=b |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
158 \footline{\hss\rm\folio\hss} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
159 \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
|
160 \else \if 3\ncolumns |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
161 \let\maxcolumn=c |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
162 \nopagenumbers |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
163 \else |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
164 \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
|
165 \errmessage{Illegal number of columns per page} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
166 \fi\fi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
167 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
168 \intercolumnskip=.46in |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
169 \def\abc{a} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
170 \output={% %see The TeXbook page 257 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
171 % 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
|
172 %\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
|
173 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
174 \else\if a\abc |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
175 \global\setbox\columna\columnbox \global\def\abc{b} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
176 %% 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
|
177 \global\setbox\columnb\hbox to -\intercolumnskip{} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
178 \else |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
179 \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
|
180 \def\multicolumnformat{\shipout\vbox{\makeheadline |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
181 \hbox{\box\columna\hskip\intercolumnskip |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
182 \box\columnb\hskip\intercolumnskip\columnbox} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
183 \makefootline}\advancepageno} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
184 \def\columnbox{\leftline{\pagebody}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
185 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
186 \def\bye{\par\vfill\supereject |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
187 \if a\abc \else\null\vfill\eject\fi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
188 \if a\abc \else\null\vfill\eject\fi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
189 \end} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
190 \fi |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
191 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
192 % 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
|
193 % we might want to talk about |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
194 \catcode`\^=12 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
195 \catcode`\_=12 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
196 |
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 \chardef\{=`\{ |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
199 \chardef\}=`\} |
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 \hyphenation{mini-buf-fer} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
202 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
203 \parindent 0pt |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
204 \parskip 1ex plus .5ex minus .5ex |
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 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
207 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
208 % 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
|
209 % 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
|
210 \outer\def\newcolumn{\vfill\eject} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
211 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
212 % title - page title. Argument is title text. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
213 \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
|
214 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
215 % section - new major section. Argument is section name. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
216 \outer\def\section#1{\par\filbreak |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
217 \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
|
218 \vskip 2ex plus 1ex minus 1.5ex} |
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 \newdimen\keyindent |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
221 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
222 % beginindentedkeys...endindentedkeys - key definitions will be |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
223 % 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
|
224 % definitions, will not. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
225 \def\beginindentedkeys{\keyindent=1em} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
226 \def\endindentedkeys{\keyindent=0em} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
227 \endindentedkeys |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
228 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
229 % paralign - begin paragraph containing an alignment. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
230 % 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
|
231 % 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
|
232 \def\paralign{\vskip\parskip\halign} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
233 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
234 % \<...> - surrounds a variable name in a code example |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
235 \def\<#1>{{\it #1\/}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
236 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
237 % 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
|
238 \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
|
239 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
240 % 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
|
241 % 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
|
242 \def\beginexample{\par\leavevmode\begingroup |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
243 \obeylines\obeyspaces\parskip0pt\tt} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
244 {\obeyspaces\global\let =\ } |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
245 \def\endexample{\endgroup} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
246 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
247 % key - definition of a key. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
248 % \key{description of key}{key-name} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
249 % 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
|
250 % form near the right margin. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
251 \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
|
252 {\hsize=.75\hsize\rightskip=1em |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
253 \hskip\keyindent\relax#1}\kbd{#2}\hfil}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
254 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
255 \newbox\metaxbox |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
256 \setbox\metaxbox\hbox{\kbd{M-x }} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
257 \newdimen\metaxwidth |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
258 \metaxwidth=\wd\metaxbox |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
259 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
260 % metax - definition of a M-x command. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
261 % \metax{description of command}{M-x command-name} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
262 % 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
|
263 % 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
|
264 \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
|
265 {\hskip\keyindent\relax#1\hfil}% |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
266 \hskip -\metaxwidth minus 1fil |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
267 \kbd{#2}\hfil}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
268 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
269 % threecol - like "key" but with two key names. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
270 % 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
|
271 \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
|
272 &\kbd{#3}\hfil\quad\cr} |
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 %**end of header |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
275 |
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 \title{GNU Emacs -- Referenčná karta} |
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 \centerline{(pre verziu \versionemacs)} |
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 \section{Spustenie Emacsu} |
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 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
|
284 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
285 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
|
286 |
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 \section{Ukončenie Emacsu} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
289 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
290 \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
|
291 \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
|
292 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
293 \section{Súbory} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
294 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
295 \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
|
296 \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
|
297 \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
|
298 \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
|
299 \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
|
300 \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
|
301 \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
|
302 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
303 \section{Používanie nápovedy} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
304 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
305 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
|
306 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
|
307 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
308 \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
|
309 \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
|
310 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
311 \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
|
312 \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
|
313 \key{zobraziť popis funkcie}{C-h f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
314 \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
|
315 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
316 \section{Opravy chýb} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
317 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
318 \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
|
319 \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
|
320 \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
|
321 \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
|
322 \key{prekresliť \uv{rozpadnutú} obrazovku}{C-l} |
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 \section{Inkrementálne vyhľadávanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
325 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
326 \key{vyhľadať vpred}{C-s} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
327 \key{vyhľadať vzad}{C-r} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
328 \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
|
329 \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
|
330 \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
|
331 \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
|
332 \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
|
333 \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
|
334 \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
|
335 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
336 Ď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
|
337 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
|
338 |
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 \shortcopyrightnotice |
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 \section{Pohyb} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
343 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
344 \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
|
345 \threecol{{\bf posuv o }}{{\bf vzad}}{{\bf vpred}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
346 \threecol{znak}{C-b}{C-f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
347 \threecol{slovo}{M-b}{M-f} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
348 \threecol{riadok}{C-p}{C-n} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
349 \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
|
350 \threecol{vetu}{M-a}{M-e} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
351 \threecol{odstavec}{M-\{}{M-\}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
352 \threecol{stránku}{C-x [}{C-x ]} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
353 \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
|
354 \threecol{funkciu}{C-M-a}{C-M-e} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
355 \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
|
356 } |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
357 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
358 \key{rolovať na ďalšiu obrazovku}{C-v} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
359 \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
|
360 \key{rolovať vľavo}{C-x <} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
361 \key{rolovať vpravo}{C-x >} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
362 \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
|
363 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
364 \section{Rušenie a mazanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
365 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
366 \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
|
367 \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
|
368 \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
|
369 \threecol{slovo}{M-DEL}{M-d} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
370 \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
|
371 \threecol{veta}{C-x DEL}{M-k} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
372 \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
|
373 } |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
374 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
375 \key{zrušiť {\bf oblasť}}{C-w} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
376 \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
|
377 \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
|
378 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
379 \key{vhodiť naposledy zrušený objekt}{C-y} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
380 \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
|
381 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
382 \section{Označovanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
383 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
384 \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
|
385 \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
|
386 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
387 \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
|
388 \key{označiť {\bf odstavec}}{M-h} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
389 \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
|
390 \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
|
391 \key{označiť {\bf funkciu}}{C-M-h} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
392 \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
|
393 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
394 \section{Interaktívne nahradzovanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
395 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
396 \key{interaktívne nahradiť textový reťazec}{M-\%} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
397 \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
|
398 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
399 Platné odpovede v~móde query-replace sú |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
400 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
401 \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
|
402 \key{nahradiť a zostať na mieste}{,} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
403 \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
|
404 \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
|
405 \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
|
406 \key{{\bf koniec} nahradzovania}{RET} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
407 \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
|
408 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
409 \section{Okná} |
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 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
|
412 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
413 \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
|
414 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
415 {\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
|
416 \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
|
417 \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
|
418 \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
|
419 }} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
420 \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
|
421 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
422 \key{rolovať iné okno}{C-M-v} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
423 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
424 {\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
|
425 \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
|
426 \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
|
427 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
428 \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
|
429 \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
|
430 \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
|
431 \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
|
432 \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
|
433 \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
|
434 }} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
435 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
436 \key{zväčšiť okno}{C-x ^} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
437 \key{zúžiť okno}{C-x \{} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
438 \key{rozšíriť okno}{C-x \}} |
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 \section{Formátovanie} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
441 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
442 \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
|
443 \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
|
444 \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
|
445 \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
|
446 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
447 \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
|
448 \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
|
449 \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
|
450 \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
|
451 \key{zmazať prázdne miesto okolo kurzoru}{M-\\} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
452 \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
|
453 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
454 \key{zalomiť odstavec}{M-q} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
455 \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
|
456 \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
|
457 \key{nastaviť font}{M-g} |
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 \section{Zmena veľkosti písmen} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
460 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
461 \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
|
462 \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
|
463 \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
|
464 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
465 \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
|
466 \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
|
467 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
468 \section{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 Nasledujúce klávesy sú platné pre minibuffer. |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
471 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
472 \key{doplniť z~ponuky}{TAB} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
473 \key{doplniť do najbližšieho slova}{SPC} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
474 \key{doplniť a vykonať}{RET} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
475 \key{zobraziť možné doplnenia}{?} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
476 \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
|
477 \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
|
478 \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
|
479 \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
|
480 \key{zrušiť príkaz}{C-g} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
481 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
482 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
|
483 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
|
484 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
485 \newcolumn |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
486 \title{GNU Emacs -- Referenčná karta} |
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 \section{Buffery} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
489 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
490 \key{vybrať iný buffer}{C-x b} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
491 \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
|
492 \key{zrušiť buffer}{C-x k} |
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 \section{Výmeny} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
495 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
496 \key{prehodiť {\bf znaky}}{C-t} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
497 \key{prehodiť {\bf slová}}{M-t} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
498 \key{prehodiť {\bf riadky}}{C-x C-t} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
499 \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
|
500 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
501 \section{Kontrola pravopisu} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
502 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
503 \key{kontrola pravopisu aktuálneho slova}{M-\$} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
504 \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
|
505 \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
|
506 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
507 \section{Tagy} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
508 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
509 \key{nájsť tag (definíciu)}{M-.} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
510 \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
|
511 \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
|
512 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
513 \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
|
514 \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
|
515 \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
|
516 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
517 \section{Príkazový interprét} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
518 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
519 \key{vykonať shellovský príkaz}{M-!} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
520 \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
|
521 \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
|
522 \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
|
523 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
524 \section{Obdĺžniky} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
525 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
526 \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
|
527 \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
|
528 \key{vhodiť obdĺžnik}{C-x r y} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
529 \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
|
530 \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
|
531 \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
|
532 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
533 \section{Skratky} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
534 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
535 \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
|
536 \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
|
537 \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
|
538 \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
|
539 \key{expandovať skratku}{C-x a e} |
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 \key{dynamická expanzia predchádzajúceho slova}{M-/} |
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 \section{Regulárne výrazy} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
544 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
545 \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
|
546 \key{žiadne alebo niekoľko opakovaní}{*} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
547 \key{jedno alebo viac opakovaní}{+} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
548 \key{žiadne alebo jedno opakovanie}{?} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
549 \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
|
550 \key{alternatíva (\uv{alebo})}{\\|} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
551 \key{skupina}{\\( {\rm$\ldots$} \\)} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
552 \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
|
553 \key{hranice slova}{\\b} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
554 \key{nie hranice slova}{\\B} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
555 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
556 \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
|
557 \threecol{{\bf element}}{{\bf začiatok}}{{\bf koniec}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
558 \threecol{riadok}{^}{\$} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
559 \threecol{slovo}{\\<}{\\>} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
560 \threecol{buffer}{\\`}{\\'} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
561 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
562 \threecol{{\bf trieda znakov}}{{\bf zodpovedá}}{{\bf nezodpovedá}} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
563 \threecol{explicitná množina}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
564 \threecol{slovotvorný znak}{\\w}{\\W} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
565 \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
|
566 } |
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 \section{Medzinárodné znakové sady} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
569 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
570 \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
|
571 \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
|
572 \key{zapnúť alebo vypnúť vstupnú metódu}{C-\\} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
573 \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
|
574 \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
|
575 \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
|
576 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
577 \section{Info} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
578 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
579 \key{spustiť Info}{C-h i} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
580 \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
|
581 \beginindentedkeys |
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 Pohyb vo vnútri uzlov: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
584 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
585 \key{rolovanie vpred}{SPC} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
586 \key{rolovanie vzad}{DEL} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
587 \key{na začiatok uzla}{. {\rm (tečka)}} |
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 Pohyb medzi uzlami: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
590 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
591 \key{{\bf ďalší} uzol}{n} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
592 \key{{\bf predchádzajúci} uzol}{p} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
593 \key{{\bf nadradený} uzol}{u} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
594 \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
|
595 \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
|
596 \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
|
597 \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
|
598 \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
|
599 \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
|
600 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
601 Ďalšie: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
602 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
603 \key{spustiť {\bf tútorial} k~Infu}{h} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
604 % \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
|
605 \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
|
606 \key{{\bf skončiť} Info}{q} |
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 \endindentedkeys |
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 \section{Registre} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
611 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
612 \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
|
613 \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
|
614 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
615 \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
|
616 \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
|
617 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
618 \section{Klávesové makrá} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
619 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
620 \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
|
621 \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
|
622 \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
|
623 \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
|
624 \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
|
625 \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
|
626 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
627 \section{Príkazy súvisiace s~Emacs Lispom} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
628 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
629 \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
|
630 \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
|
631 \metax{vyhodnotiť {\bf oblasť}}{M-x eval-region} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
632 \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
|
633 \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
|
634 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
635 \section{Jednoduché prispôsobenia} |
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 \metax{nastaviť premenné a faces}{M-x customize} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
638 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
639 % 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
|
640 % customizations and knows Lisp syntax. |
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 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
|
643 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
644 \beginexample% |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
645 (global-set-key "\\C-cg" 'goto-line) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
646 (global-set-key "\\M-\#" 'query-replace-regexp) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
647 \endexample |
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 \section{Zápis príkazov} |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
650 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
651 \beginexample% |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
652 (defun \<command-name> (\<args>) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
653 "\<documentation>" (interactive "\<template>") |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
654 \<body>) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
655 \endexample |
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 Príklad: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
658 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
659 \beginexample% |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
660 (defun this-line-to-top-of-window (line) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
661 "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
|
662 With ARG, put point on line ARG." |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
663 (interactive "P") |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
664 (recenter (if (null line) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
665 0 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
666 (prefix-numeric-value line)))) |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
667 \endexample |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
668 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
669 Š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
|
670 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
|
671 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
672 \copyrightnotice |
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 \bye |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
675 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
676 % Local variables: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
677 % compile-command: "csplain sk-refcard" |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
678 % coding: iso-latin-2 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
679 % End: |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
680 |
839f4537be92
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
681 % arch-tag: 9f8eacf2-daf9-4162-bc8d-4af7b269f3d3 |