Mercurial > emacs
annotate etc/refcards/pt-br-refcard.tex @ 112453:06719a229a46 default tip
* calc/calc.el (calc-default-power-reference-level)
(calc-default-field-reference-level): New variables.
* calc/calc-units.el (math-standard-units): Add dB and Np.
(math-logunits): New variable.
(math-extract-logunits, math-logcombine, calcFunc-luplus)
(calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
(calcFunc-fieldlevel, calcFunc-powerlevel, calc-level): New
functions.
(math-find-base-units-rec): Add entry for ln(10).
* calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
(calc-ul-prefix-help): New function.
* calc/calc-ext.el (calc-init-extensions): Autoload new units
functions. Add keybindings for new units functions.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Sun, 23 Jan 2011 23:08:04 -0600 |
parents | 1e3cae16f7b0 |
children |
rev | line source |
---|---|
104005 | 1 % Reference Card for GNU Emacs |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
2 |
104005 | 3 % Copyright (C) 1987, 1993, 1996, 1997, 2002, 2003, 2004, 2006, 2007, |
112218
376148b31b5e
Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents:
107297
diff
changeset
|
4 % 2008, 2009, 2010, 2011 Free Software Foundation, Inc. |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 |
104005 | 6 % Author: Stephen Gildea <gildea@stop.mail-abuse.org> |
7 % Portuguese translation: Rodrigo Real <rreal@ucpel.tche.br> | |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
8 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
9 % This file is part of GNU Emacs. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
10 |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
11 % GNU Emacs is free software: you can redistribute it and/or modify |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
12 % it under the terms of the GNU General Public License as published by |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
13 % the Free Software Foundation, either version 3 of the License, or |
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
14 % (at your option) any later version. |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
15 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
16 % GNU Emacs is distributed in the hope that it will be useful, |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
17 % but WITHOUT ANY WARRANTY; without even the implied warranty of |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
18 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
19 % GNU General Public License for more details. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
20 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
21 % You should have received a copy of the GNU General Public License |
95010
9f4d6f3769da
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
22 % along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
23 |
104005 | 24 |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
25 % This file is intended to be processed by plain TeX (TeX82). |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
26 % |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
27 % The final reference card has six columns, three on each side. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
28 % This file can be used to produce it in any of three ways: |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
29 % 1 column per page |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
30 % produces six separate pages, each of which needs to be reduced to 80%. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
31 % This gives the best resolution. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
32 % 2 columns per page |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
33 % produces three already-reduced pages. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
34 % You will still need to cut and paste. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
35 % 3 columns per page |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
36 % produces two pages which must be printed sideways to make a |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
37 % ready-to-use 8.5 x 11 inch reference card. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
38 % For this you need a dvi device driver that can print sideways. |
104005 | 39 % Which mode to use is controlled by setting \columnsperpage. |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
40 % |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
41 % To compile and print this document: |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
42 % tex refcard.tex |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
43 % dvips -t landscape refcard.dvi |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
44 |
104005 | 45 % Thanks to Mario Goulart for the opinions. |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
46 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
47 |
104005 | 48 %**start of header |
49 \newcount\columnsperpage | |
50 \newcount\letterpaper | |
51 | |
52 % This file can be printed with 1, 2, or 3 columns per page. | |
53 % Specify how many you want here. | |
54 \columnsperpage=3 | |
55 | |
56 % Set letterpaper to 0 for A4 paper, 1 for letter (US) paper. Useful | |
57 % only when columnsperpage is 2 or 3. | |
58 \letterpaper=0 | |
59 | |
60 % PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for | |
61 % a landscape layout. | |
62 \input pdflayout.sty | |
63 \pdflayout=(0l) | |
64 | |
65 \def\versionemacs{23} % version of Emacs this is for | |
112221
1e3cae16f7b0
Update refcards/*.tex short copyright year to 2011.
Glenn Morris <rgm@gnu.org>
parents:
112218
diff
changeset
|
66 \def\year{2011} % latest copyright year |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
67 |
104005 | 68 % Nothing else needs to be changed below this line. |
69 | |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
70 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
71 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc. |
104005 | 72 Permissions on back.}} |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
73 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
74 \def\copyrightnotice{ |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
75 \vskip 1ex plus 2 fill\begingroup\small |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
76 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.} |
104005 | 77 \centerline{For GNU Emacs version \versionemacs} |
78 \centerline{Designed by Stephen Gildea} | |
79 \centerline{Translated by Rodrigo Real} | |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
80 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
81 Permission is granted to make and distribute copies of |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
82 this card provided the copyright notice and this permission notice |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
83 are preserved on all copies. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
84 |
104005 | 85 For copies of the GNU Emacs manual, see: |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
86 |
104005 | 87 {\tt http://www.gnu.org/software/emacs/\#Manuals} |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
88 \endgroup} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
89 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
90 % make \bye not \outer so that the \def\bye in the \else clause below |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
91 % can be scanned without complaint. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
92 \def\bye{\par\vfill\supereject\end} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
93 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
94 \newdimen\intercolumnskip %horizontal space between columns |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
95 \newbox\columna %boxes to hold columns already built |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
96 \newbox\columnb |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
97 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
98 \def\ncolumns{\the\columnsperpage} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
99 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
100 \message{[\ncolumns\space |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
101 column\if 1\ncolumns\else s\fi\space per page]} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
102 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
103 \def\scaledmag#1{ scaled \magstep #1} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
104 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
105 % This multi-way format was designed by Stephen Gildea October 1986. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
106 % Note that the 1-column format is fontfamily-independent. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
107 \if 1\ncolumns %one-column format uses normal size |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
108 \hsize 4in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
109 \vsize 10in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
110 \voffset -.7in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
111 \font\titlefont=\fontname\tenbf \scaledmag3 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
112 \font\headingfont=\fontname\tenbf \scaledmag2 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
113 \font\smallfont=\fontname\sevenrm |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
114 \font\smallsy=\fontname\sevensy |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
115 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
116 \footline{\hss\folio} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
117 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
118 \else %2 or 3 columns uses prereduced size |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
119 \hsize 3.2in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
120 \if 1\the\letterpaper |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
121 \vsize 7.95in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
122 \else |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
123 \vsize 7.65in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
124 \fi |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
125 \hoffset -.75in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
126 \voffset -.745in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
127 \font\titlefont=cmbx10 \scaledmag2 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
128 \font\headingfont=cmbx10 \scaledmag1 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
129 \font\smallfont=cmr6 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
130 \font\smallsy=cmsy6 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
131 \font\eightrm=cmr8 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
132 \font\eightbf=cmbx8 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
133 \font\eightit=cmti8 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
134 \font\eighttt=cmtt8 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
135 \font\eightmi=cmmi8 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
136 \font\eightsy=cmsy8 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
137 \textfont0=\eightrm |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
138 \textfont1=\eightmi |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
139 \textfont2=\eightsy |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
140 \def\rm{\eightrm} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
141 \def\bf{\eightbf} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
142 \def\it{\eightit} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
143 \def\tt{\eighttt} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
144 \if 1\the\letterpaper |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
145 \normalbaselineskip=.8\normalbaselineskip |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
146 \else |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
147 \normalbaselineskip=.7\normalbaselineskip |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
148 \fi |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
149 \normallineskip=.8\normallineskip |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
150 \normallineskiplimit=.8\normallineskiplimit |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
151 \normalbaselines\rm %make definitions take effect |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
152 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
153 \if 2\ncolumns |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
154 \let\maxcolumn=b |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
155 \footline{\hss\rm\folio\hss} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
156 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
157 \else \if 3\ncolumns |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
158 \let\maxcolumn=c |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
159 \nopagenumbers |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
160 \else |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
161 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
162 \errmessage{Illegal number of columns per page} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
163 \fi\fi |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
164 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
165 %% \intercolumnskip=.46in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
166 \intercolumnskip=.65in |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
167 \def\abc{a} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
168 \output={% %see The TeXbook page 257 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
169 % This next line is useful when designing the layout. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
170 %\immediate\write16{Column \folio\abc\space starts with \firstmark} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
171 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
172 \else\if a\abc |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
173 \global\setbox\columna\columnbox \global\def\abc{b} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
174 %% in case we never use \columnb (two-column mode) |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
175 \global\setbox\columnb\hbox to -\intercolumnskip{} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
176 \else |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
177 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
178 \def\multicolumnformat{\shipout\vbox{\makeheadline |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
179 \hbox{\box\columna\hskip\intercolumnskip |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
180 \box\columnb\hskip\intercolumnskip\columnbox} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
181 \makefootline}\advancepageno} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
182 \def\columnbox{\leftline{\pagebody}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
183 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
184 \def\bye{\par\vfill\supereject |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
185 \if a\abc \else\null\vfill\eject\fi |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
186 \if a\abc \else\null\vfill\eject\fi |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
187 \end} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
188 \fi |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
189 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
190 % we won't be using math mode much, so redefine some of the characters |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
191 % we might want to talk about |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
192 \catcode`\^=12 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
193 \catcode`\_=12 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
194 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
195 \chardef\\=`\\ |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
196 \chardef\{=`\{ |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
197 \chardef\}=`\} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
198 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
199 \hyphenation{mini-buf-fer} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
200 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
201 \parindent 0pt |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
202 \parskip 1ex plus .5ex minus .5ex |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
203 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
204 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
205 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
206 % newcolumn - force a new column. Use sparingly, probably only for |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
207 % the first column of a page, which should have a title anyway. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
208 \outer\def\newcolumn{\vfill\eject} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
209 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
210 % title - page title. Argument is title text. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
211 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
212 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
213 % section - new major section. Argument is section name. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
214 \outer\def\section#1{\par\filbreak |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
215 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}% |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
216 \vskip 2ex plus 1ex minus 1.5ex} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
217 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
218 \newdimen\keyindent |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
219 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
220 % beginindentedkeys...endindentedkeys - key definitions will be |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
221 % indented, but running text, typically used as headings to group |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
222 % definitions, will not. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
223 \def\beginindentedkeys{\keyindent=1em} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
224 \def\endindentedkeys{\keyindent=0em} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
225 \endindentedkeys |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
226 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
227 % paralign - begin paragraph containing an alignment. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
228 % If an \halign is entered while in vertical mode, a parskip is never |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
229 % inserted. Using \paralign instead of \halign solves this problem. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
230 \def\paralign{\vskip\parskip\halign} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
231 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
232 % \<...> - surrounds a variable name in a code example |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
233 \def\<#1>{{\it #1\/}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
234 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
235 % kbd - argument is characters typed literally. Like the Texinfo command. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
236 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
237 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
238 % beginexample...endexample - surrounds literal text, such a code example. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
239 % typeset in a typewriter font with line breaks preserved |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
240 \def\beginexample{\par\leavevmode\begingroup |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
241 \obeylines\obeyspaces\parskip0pt\tt} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
242 {\obeyspaces\global\let =\ } |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
243 \def\endexample{\endgroup} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
244 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
245 % key - definition of a key. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
246 % \key{description of key}{key-name} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
247 % prints the description left-justified, and the key-name in a \kbd |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
248 % form near the right margin. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
249 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
250 {\hsize=.75\hsize\rightskip=1em |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
251 \hskip\keyindent\relax#1}\kbd{#2}\hfil}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
252 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
253 \newbox\metaxbox |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
254 \setbox\metaxbox\hbox{\kbd{M-x }} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
255 \newdimen\metaxwidth |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
256 \metaxwidth=\wd\metaxbox |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
257 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
258 % metax - definition of a M-x command. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
259 % \metax{description of command}{M-x command-name} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
260 % Tries to justify the beginning of the command name at the same place |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
261 % as \key starts the key name. (The "M-x " sticks out to the left.) |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
262 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
263 {\hskip\keyindent\relax#1\hfil}% |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
264 \hskip -\metaxwidth minus 1fil |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
265 \kbd{#2}\hfil}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
266 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
267 % threecol - like "key" but with two key names. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
268 % for example, one for doing the action backward, and one for forward. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
269 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
270 &\kbd{#3}\hfil\quad\cr} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
271 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
272 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
273 %**end of header |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
274 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
275 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
276 \title{GNU Emacs: Cart\~ao de Refer\^encia} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
277 \centerline{(para vers\~ao \versionemacs)} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
278 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
279 \section{Iniciando o Emacs} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
280 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
281 Para entrar no GNU Emacs, digite: \kbd{emacs} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
282 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
283 \section{Saindo do Emacs} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
284 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
285 \key{suspende ou minimiza o Emacs}{C-z} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
286 \key{encerra o Emacs}{C-x C-c} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
287 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
288 \section{Arquivos} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
289 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
290 \key{{\bf abre} um arquivo}{C-x C-f} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
291 \key{{\bf salva} um arquivo em disco}{C-x C-s} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
292 \key{salva {\bf todos} arquivos abertos}{C-x s} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
293 \key{{\bf insere} outro arquivo neste buffer}{C-x i} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
294 \key{substitui este arquivo por outro}{C-x C-v} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
295 \key{salva o buffer em um arquivo especificado}{C-x C-w} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
296 \key{alterna o estado de somente leitura do buffer}{C-x C-q} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
297 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
298 \section{Ajuda (Help)} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
299 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
300 Tecle \kbd{C-h} (ou \kbd{F1}) e siga as instru{\c{c}}{\~o}es. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
301 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
302 \key{remove a janela de ajuda}{C-x 1} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
303 \key{rola a janela de ajuda}{C-M-v} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
304 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
305 \key{apropos: mostra comandos que casam com a string}{C-h a} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
306 \key{descreve fun{\c{c}}{\~a}o associada a teclas}{C-h k} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
307 \key{descreve uma fun{\c{c}}{\~a}o}{C-h f} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
308 \key{busca informa{\c{c}}{\~o}es espec{\'\i}ficas do modo}{C-h m} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
309 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
310 \section{Recuperando-se de Erros} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
311 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
312 \key{{\bf aborta} uma opera{\c{c}}{\~a}o}{C-g} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
313 \metax{{\bf recupera} arquivos ap{\'o}s crash}{M-x recover-session} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
314 \metax{desfaz uma altera{\c{c}}{\~a}o ({\bf undo})}{C-x u, C-_ {\rm or} C-/} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
315 \metax{restaura um buffer para o arquivo}{M-x revert-buffer} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
316 \key{redesenha a tela}{C-l} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
317 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
318 \section{Busca Incremental} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
319 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
320 \key{busca para frente}{C-s} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
321 \key{busca para tr{\'a}s}{C-r} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
322 \key{busca por express{\~a}o regular}{C-M-s} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
323 \key{busca por express{\~a}o regular para tr{\'a}s}{C-M-r} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
324 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
325 \key{seleciona a string de pesquisa anterior}{M-p} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
326 \key{seleciona a string seguinte de pesquisa}{M-n} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
327 \key{sai da busca incremental}{RET} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
328 \key{desfaz o efeito do {\'u}ltimo caracter}{DEL} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
329 \key{encerra a busca}{C-g} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
330 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
331 Use \kbd{C-s} ou \kbd{C-r} novamente para repetir a busca. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
332 \kbd{C-g} cancela apenas o que ainda n{\~a}o foi feito. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
333 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
334 \shortcopyrightnotice |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
335 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
336 \section{Movimenta{\c{c}}{\~a}o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
337 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
338 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
339 \threecol{{\bf avan{\c{c}}ar}}{{\bf tr{\'a}s}}{{\bf frente}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
340 \threecol{um caracter}{C-b}{C-f} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
341 \threecol{uma palavra}{M-b}{M-f} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
342 \threecol{uma linha}{C-p}{C-n} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
343 \threecol{para in{\'\i}cio ou fim de linha}{C-a}{C-e} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
344 \threecol{senten{\c{c}}a}{M-a}{M-e} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
345 \threecol{par{\'a}grafo}{M-\{}{M-\}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
346 \threecol{p{\'a}gina}{C-x [}{C-x ]} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
347 \threecol{sexp}{C-M-b}{C-M-f} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
348 \threecol{fun{\c{c}}{\~a}o}{C-M-a}{C-M-e} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
349 \threecol{para in{\'\i}cio ou fim do buffer}{M-<}{M->} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
350 } |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
351 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
352 \key{rolar para pr{\'o}xima tela}{C-v} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
353 \key{rolar para tela anterior}{M-v} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
354 \key{rolar para esquerda}{C-x <} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
355 \key{rolar para direita}{C-x >} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
356 \key{rolar a linha corrente para o centro da tela}{C-u C-l} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
357 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
358 \section{Cortando e Apagando} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
359 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
360 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
361 \threecol{{\bf entidade a cortar}}{{\bf tr{\'a}s}}{{\bf frente}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
362 \threecol{caracter (apaga, n{\~a}o corta)}{DEL}{C-d} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
363 \threecol{palavra}{M-DEL}{M-d} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
364 \threecol{linha (at{\'e} o final)}{M-0 C-k}{C-k} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
365 \threecol{senten{\c{c}}a}{C-x DEL}{M-k} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
366 \threecol{sexp}{M-- C-M-k}{C-M-k} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
367 } |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
368 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
369 \key{corta {\bf regi{\~a}o}}{C-w} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
370 \key{copia a {\bf regi{\~a}o}}{M-w} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
371 \key{cortar at{\'e} a pr{\'o}xima ocorr{\^e}ncia de {\it char}}{M-z {\it char}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
372 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
373 \key{colar a {\'u}ltima coisa cortada}{C-y} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
374 \key{substitui a {\'u}lt. colagem pela c{\'o}pia anterior}{M-y} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
375 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
376 \section{Marcando} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
377 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
378 \key{posiciona a marca aqui}{C-@ {\rm or} C-SPC} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
379 \key{troca a marca pelo ponto e vice-versa}{C-x C-x} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
380 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
381 \key{coloca a marca {\it arg\/} {\bf palavras} adiante}{M-@} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
382 \key{marca o {\bf par{\'a}grafo}}{M-h} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
383 \key{marca a {\bf p{\'a}gina}}{C-x C-p} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
384 \key{marca a {\bf sexp}}{C-M-@} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
385 \key{marca uma {\bf fun{\c{c}}{\~a}o}}{C-M-h} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
386 \key{marca todo {\bf buffer}}{C-x h} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
387 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
388 \section{Busca e Substitui{\c{c}}{\~a}o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
389 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
390 \key{Substitui interativamente uma string}{M-\%} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
391 % query-replace-regexp is bound to C-M-% but that can't be typed on |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
392 % consoles. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
393 \metax{usando express{\~a}o regular}{M-x query-replace-regexp} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
394 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
395 Respostas v{\'a}lidas no modo de busca e substitui{\c{c}}{\~a}o |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
396 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
397 \key{{\bf substitui} esta, e prossegue}{SPC} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
398 \key{substitui esta e entrada e n{\~a}o avan{\c{c}}a}{,} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
399 \key{{\bf pula} para a pr{\'o}xima sem substituir}{DEL} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
400 \key{substitui em todo o texto restante}{!} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
401 \key{{\bf volta} para a palavra anterior}{^} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
402 \key{{\bf encerra}}{RET} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
403 \key{entra na edi{\c{c}}{\~a}o recursiva (\kbd{C-M-c} para sair)}{C-r} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
404 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
405 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
406 \section{M{\'u}ltiplas Janelas} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
407 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
408 Quando forem mostrados 2 comandos, o segundo tem comportamento similar |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
409 para frame. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
410 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
411 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
412 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
413 \threecol{elimina todas outras janelas}{C-x 1\ \ \ \ }{C-x 5 1} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
414 \threecol{divide a janela, acima e abaixo}{C-x 2\ \ \ \ }{C-x 5 2} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
415 \threecol{elimina esta janela}{C-x 0\ \ \ \ }{C-x 5 0} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
416 }} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
417 \key{divide a janela, lado a lado}{C-x 3} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
418 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
419 \key{rola a outra janela}{C-M-v} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
420 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
421 {\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
422 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
423 \threecol{leva o cursor para outra janela}{C-x o}{C-x 5 o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
424 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
425 \threecol{seleciona um buffer em outra janela}{C-x 4 b}{C-x 5 b} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
426 \threecol{mostra um buffer em outra janela}{C-x 4 C-o}{C-x 5 C-o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
427 \threecol{busca um arquivo em outra janela}{C-x 4 f}{C-x 5 f} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
428 \threecol{busca arquivo (ro) em outra janela}{C-x 4 r}{C-x 5 r} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
429 \threecol{executa Dired em outra janela}{C-x 4 d}{C-x 5 d} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
430 \threecol{busca tag em outra janela}{C-x 4 .}{C-x 5 .} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
431 }} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
432 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
433 \key{aumenta a janela na vertical}{C-x ^} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
434 \key{estreita a janela}{C-x \{} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
435 \key{alarga a janela}{C-x \}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
436 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
437 \section{Formatando} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
438 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
439 \key{identa a {\bf linha} corrente (modo)}{TAB} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
440 \key{identa a {\bf regi{\~a}o} (modo)}{C-M-\\} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
441 \key{identa a {\bf sexp} (modo)}{C-M-q} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
442 \key{identa regi{\~a}o rigidamente {\it arg\/} colunas}{C-x TAB} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
443 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
444 \key{insere uma nova linha ap{\'o}s o ponto}{C-o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
445 \key{move o restante da linha para baixo}{C-M-o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
446 \key{apaga linhas em branco em torno do ponto}{C-x C-o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
447 \key{junta a linha com a anterior}{M-^} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
448 \key{apaga todos brancos em torno do ponto}{M-\\} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
449 \key{insere um espa{\c{c}}o em branco}{M-SPC} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
450 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
451 \key{preenche o par{\'a}grafo}{M-q} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
452 \key{define a coluna limite de preenchimento}{C-x f} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
453 \key{define um prefixo para cada linha}{C-x .} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
454 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
455 \key{formata fonte}{M-o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
456 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
457 \section{Mai{\'u}sculas e Min{\'u}sculas} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
458 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
459 \key{Palavra para mai{\'u}sculas}{M-u} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
460 \key{Palavra para min{\'u}sculas}{M-l} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
461 \key{Primeira letra mai{\'u}scula (capitalize)}{M-c} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
462 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
463 \key{Regi{\~a}o para mai{\'u}sculas}{C-x C-u} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
464 \key{Regi{\~a}o para min{\'u}sculas}{C-x C-l} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
465 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
466 \section{O Minibuffer} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
467 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
468 As teclas seguintes s{\~a}o definidas no minibuffer. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
469 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
470 \key{complete o m{\'a}ximo possi{\'\i}vel}{TAB} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
471 \key{complete at{\'e} uma palavra}{SPC} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
472 \key{complete e execute}{RET} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
473 \key{mostre as op{\c{c}}{\~o}es para completar}{?} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
474 \key{busca a entrada anterior no minibuffer}{M-p} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
475 \key{busca a pr{\'o}xima entrada no minibuffer ou o default}{M-n} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
476 \key{busca regexp no hist{\'o}rico para tr{\'a}s}{M-r} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
477 \key{busca regexp no hist{\'o}rico para frente}{M-s} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
478 \key{encerra o comando}{C-g} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
479 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
480 Tecle \kbd{C-x ESC ESC} para editar e repetir o {\'u}ltimo comando |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
481 utilizado. Tecle \kbd{F10} para ativar o menu. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
482 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
483 \newcolumn |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
484 \title{GNU Emacs: Cart\~ao de Refer\^encia} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
485 \centerline{(para vers\~ao \versionemacs)} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
486 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
487 \section{Buffers} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
488 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
489 \key{seleciona outro buffer}{C-x b} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
490 \key{lista todos buffers}{C-x C-b} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
491 \key{mata um buffer}{C-x k} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
492 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
493 \section{Transposi{\c{c}}{\~a}o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
494 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
495 \key{transp{\~o}e {\bf caracteres}}{C-t} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
496 \key{transp{\~o}e {\bf palavras}}{M-t} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
497 \key{transp{\~o}e {\bf linhas}}{C-x C-t} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
498 \key{transp{\~o}e {\bf sexps}}{C-M-t} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
499 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
500 \section{Verifica{\c{c}}{\~a}o Ortogr{\'a}fica} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
501 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
502 \key{verifica a palavra corrente}{M-\$} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
503 \metax{verifica todas palavras de uma regi{\~a}o}{M-x ispell-region} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
504 \metax{verifica todo o buffer}{M-x ispell-buffer} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
505 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
506 \section{Tags} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
507 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
508 \key{busca uma tag (uma defini{\c{c}}{\~a}o)}{M-.} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
509 \key{encontra a pr{\'o}xima ocorr{\^e}ncia da tag}{C-u M-.} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
510 \metax{especifica um novo arquivo de tags}{M-x visit-tags-table} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
511 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
512 \metax{busca por regexp em todos arquivos}{M-x tags-search} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
513 \metax{busca e subst. em todos arquivos}{M-x tags-query-replace} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
514 \key{continua a {\'u}ltima busca ou busca e substitui{\c{c}}{\~a}o}{M-,} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
515 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
516 \section{Shells} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
517 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
518 \key{executa um comando do shell}{M-!} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
519 \key{executa um comando do shell na regi{\~a}o}{M-|} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
520 \key{filtra uma regi{\~a}o por um comando do shell}{C-u M-|} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
521 \key{inicia um shell na janela \kbd{*shell*}}{M-x shell} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
522 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
523 \section{Ret{\^a}ngulos} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
524 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
525 \key{copia o ret{\^a}ngulo para o registrador}{C-x r r} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
526 \key{corta o ret{\^a}ngulo}{C-x r k} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
527 \key{cola o ret{\^a}ngulo}{C-x r y} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
528 \key{abre o ret{\^a}ngulo, move o texto para direita}{C-x r o} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
529 \key{troca por espa{\c{c}}os o conte{\'u}do do ret{\^a}ngulo}{C-x r c} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
530 \key{antep{\~o}e uma linha a string}{C-x r t} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
531 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
532 \section{Abreviaturas} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
533 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
534 \key{adiciona uma abreviatura global}{C-x a g} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
535 \key{adiciona abreviatura ao modo local}{C-x a l} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
536 \key{adiciona globalmente expans{\~a}o de abrev.}{C-x a i g} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
537 \key{adiciona localmente expans{\~a}o de abrev.}{C-x a i l} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
538 \key{explicitamente expande uma abrev}{C-x a e} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
539 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
540 \key{completa com base em palavras anteriores}{M-/} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
541 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
542 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
543 \section{Express{\~o}es Regulares} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
544 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
545 \key{qualquer caracter exceto nova linha}{. {\rm(dot)}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
546 \key{zero ou mais repeti{\c{c}}{\~o}es}{*} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
547 \key{uma ou mais repeti{\c{c}}{\~o}es}{+} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
548 \key{zero ou uma repeti{\c{c}}{\~a}o}{?} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
549 \key{protege o caracter especial {\it c\/}}{\\{\it c}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
550 \key{(``or'')}{\\|} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
551 \key{agrupamento}{\\( {\rm$\ldots$} \\)} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
552 \key{mesmo texto que {\it n\/}-{\'e}simo grupo}{\\{\it n}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
553 \key{quebra de palavra}{\\b} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
554 \key{sem quebra de palavra}{\\B} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
555 |
a30fc728dcd5
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 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
557 \threecol{{\bf entidade}}{{\bf casa in{\'\i}cio}}{{\bf casa fim}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
558 \threecol{linha}{^}{\$} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
559 \threecol{palavra}{\\<}{\\>} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
560 \threecol{buffer}{\\`}{\\'} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
561 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
562 \threecol{{\bf classe de caracteres}}{{\bf casa esses}}{{\bf casa os outros}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
563 \threecol{conjunto expl{\'\i}cito}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
564 \threecol{caracter de sintaxe de palavra}{\\w}{\\W} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
565 \threecol{caracter de sintaxe de {\it c}}{\\s{\it c}}{\\S{\it c}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
566 } |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
567 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
568 \section{Conjuntos de Carac. Internacionais} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
569 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
570 \key{especifica uma l{\'\i}ngua principal}{C-x RET l} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
571 \metax{mostra todos m{\'e}todos de inser{\c{c}}{\~a}o}{M-x list-input-methods} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
572 \key{habilita/desabilita um m{\'e}todo de inser{\c{c}}{\~a}o}{C-\\} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
573 \key{determina o sistema de codifica{\c{c}}{\~a}o}{C-x RET c} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
574 \metax{mostra sistemas de codifica{\c{c}}{\~a}o}{M-x list-coding-systems} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
575 \metax{escolhe a codifica{\c{c}}{\~a}o preferida}{M-x prefer-coding-system} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
576 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
577 \section{Info} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
578 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
579 \key{entra no leitor de Info}{C-h i} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
580 \key{busca fun{\c{c}}{\~a}o ou arquivo no Info}{C-h S} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
581 \beginindentedkeys |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
582 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
583 Movimenta{\c{c}}{\~a}o em um nodo: |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
584 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
585 \key{rola para frente}{SPC} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
586 \key{rola para tr{\'a}s}{DEL} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
587 \key{in{\'\i}cio do nodo}{. {\rm (dot)}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
588 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
589 Movimenta{\c{c}}{\~a}o entre nodos: |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
590 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
591 \key{{\bf pr{\'o}ximo} nodo}{n} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
592 \key{nodo {\bf anterior}}{p} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
593 \key{mover cima {\bf cima}}{u} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
594 \key{seleciona item do menu pelo nome}{m} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
595 \key{seleciona {\it n\/}-{\'e}simo item do menu}{{\it n}} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
596 \key{segue refer{\^e}ncia cruzada (retorna com \kbd{l})}{f} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
597 \key{retorna {\'u}ltimo nodo visitado}{l} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
598 \key{retorna ao diret{\'o}rio de nodos}{d} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
599 \key{ir para o topo do arquivo Info}{t} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
600 \key{ir para qualquer nodo por nome}{g} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
601 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
602 Outros: |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
603 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
604 \key{executar {\bf tutorial} do Info}{h} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
605 \key{busca pelo assunto no {\'\i}ndice}{i} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
606 \key{busca por express{\~a}o regular}{s} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
607 \key{{\bf sair} Info}{q} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
608 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
609 \endindentedkeys |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
610 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
611 \section{Registrador} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
612 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
613 \key{salva regi{\~a}o em um registrador}{C-x r s} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
614 \key{insere o conte{\'u}do do registrador no buffer}{C-x r i} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
615 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
616 \key{salva valor do ponto no registrador}{C-x r SPC} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
617 \key{salta para o ponto salvo no registrador}{C-x r j} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
618 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
619 \section{Macros de Teclado} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
620 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
621 \key{{\bf inicia} a defini{\c{c}}{\~a}o de uma macro}{C-x (} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
622 \key{{\bf encerra} a defini{\c{c}}{\~a}o de uma macro}{C-x )} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
623 \key{{\bf executa} a {\'u}ltima macro definida}{C-x e} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
624 \key{adiciona a {\'u}ltima macro definida}{C-u C-x (} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
625 \metax{nomeia a {\'u}ltima macro definida}{M-x name-last-kbd-macro} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
626 \metax{insere uma defini{\c{c}}{\~a}o em Lisp}{M-x insert-kbd-macro} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
627 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
628 \section{Lidando com Emacs Lisp} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
629 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
630 \key{avalia {\bf sexp} antes do ponto}{C-x C-e} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
631 \key{avalia a {\bf defun} corrente}{C-M-x} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
632 \metax{avalia a {\bf regi{\~a}o}}{M-x eval-region} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
633 \key{l{\^e} e avalia o minibuffer}{M-:} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
634 \metax{carrega do diret{\'o}rio padr{\~a}o do sistema}{M-x load-library} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
635 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
636 \section{Personaliza{\c{c}}{\~a}o Simples} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
637 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
638 \metax{personaliza vari{\'a}veis e fontes}{M-x customize} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
639 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
640 % The intended audience here is the person who wants to make simple |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
641 % customizations and knows Lisp syntax. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
642 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
643 Fazendo teclas de atalho globais em Emacs Lisp (exemplos): |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
644 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
645 \beginexample% |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
646 (global-set-key "\\C-cg" 'goto-line) |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
647 (global-set-key "\\M-\#" 'query-replace-regexp) |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
648 \endexample |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
649 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
650 \section{Escrevendo Comandos} |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
651 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
652 \beginexample% |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
653 (defun \<command-name> (\<args>) |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
654 "\<documentation>" (interactive "\<template>") |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
655 \<body>) |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
656 \endexample |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
657 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
658 Um exemplo: |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
659 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
660 \beginexample% |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
661 (defun this-line-to-top-of-window (line) |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
662 "Reposition line point is on to top of window. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
663 With ARG, put point on line ARG." |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
664 (interactive "P") |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
665 (recenter (if (null line) |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
666 0 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
667 (prefix-numeric-value line)))) |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
668 \endexample |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
669 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
670 A especifica{\c{c}}{\~a}o \kbd{interactive} explica como ler |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
671 interativamente argumentos. Tecle \kbd{C-h f interactive} para mais |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
672 detalhes. |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
673 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
674 \copyrightnotice |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
675 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
676 \bye |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
677 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
678 % Local variables: |
82872
63495d138f2f
Specify PDF layout, use a PDF `compile-command' local variable.
Michaël Cadilhac <michael.cadilhac@lrde.org>
parents:
82668
diff
changeset
|
679 % compile-command: "pdftex pt-br-refcard" |
82668
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
680 % coding: iso-latin-1 |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
681 % End: |
a30fc728dcd5
Move refcards from etc/ to etc/refcards/
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
682 |