rev |
line source |
yuuji@54
|
1 ----------------------------------------------------------------------------
|
yuuji@54
|
2 YaTeX
|
yuuji@54
|
3 Quick Reference
|
yuuji@54
|
4 ----------------------------------------------------------------------------
|
yuuji@54
|
5
|
yuuji@54
|
6
|
yuuji@54
|
7 [Caution]
|
yuuji@54
|
8
|
yuuji@54
|
9 You can customize the prefix key (C-c by default) so this will be
|
yuuji@54
|
10 written as [prefix] in this document. If you have not customized
|
yuuji@54
|
11 [prefix] a will stand for C-c a.
|
yuuji@54
|
12
|
yuuji@54
|
13 Begin-type commands are those like \begin-\end, Section-type
|
yuuji@54
|
14 commands are those that take arguments as \section{NAME},
|
yuuji@54
|
15 Large-type commands are font/size definition commands that are put
|
yuuji@54
|
16 in parenthesis as {\tt}, Maketitle-type commands are commands that
|
yuuji@54
|
17 don't take arguments as \maketitle.
|
yuuji@54
|
18
|
yuuji@54
|
19 [Completion]
|
yuuji@54
|
20
|
yuuji@54
|
21 *Accent completion [prefix] a
|
yuuji@54
|
22 *Begin-type completion [prefix] b SPC
|
yuuji@54
|
23 *Begin-type completion (region) [prefix] B SPC
|
yuuji@54
|
24 *Begin-type completion (immediate) [prefix] b initial_of_environment
|
yuuji@54
|
25 *Begin-type completion (immediate on region)
|
yuuji@54
|
26 [prefix] B initial_of_environment
|
yuuji@54
|
27 *End completion [prefix] e
|
yuuji@54
|
28 *Large-type completion [prefix] l
|
yuuji@54
|
29 *Large-type completion (region) [prefix] L
|
yuuji@54
|
30 *Maketitle-type completion [prefix] m
|
yuuji@54
|
31 *Section-type completion [prefix] s
|
yuuji@54
|
32 *Section-type completion (region) [prefix] S
|
yuuji@54
|
33 *General completion [prefix] SPC
|
yuuji@54
|
34
|
yuuji@54
|
35 For the initials used in immediate Begin-type completions, see the
|
yuuji@54
|
36 Info manual. In the (region)-mode, region between the mark and
|
yuuji@54
|
37 the present point will be put within a \begin{foo}...\end{foo} or
|
yuuji@54
|
38 {\large } and such.
|
yuuji@54
|
39
|
yuuji@54
|
40 *Math sign image completion ;
|
yuuji@54
|
41 *Greek letter image completion :
|
yuuji@54
|
42
|
yuuji@54
|
43 Above two commands may be used only in the math environment. If
|
yuuji@54
|
44 you want to use the completion in other environments, do C-u and
|
yuuji@54
|
45 then ; or :.
|
yuuji@54
|
46
|
yuuji@54
|
47
|
yuuji@54
|
48 [Process invoking]
|
yuuji@54
|
49
|
yuuji@54
|
50 *invoke bibtex [prefix] tb
|
yuuji@54
|
51 *invoke latex [prefix] tj
|
yuuji@54
|
52 *invoke makeindex [prefix] ti
|
yuuji@54
|
53 *kill current typesetting process [prefix] tk **
|
yuuji@54
|
54 *lpr dvi-file [prefix] tl
|
yuuji@54
|
55 *lpr dvi-file (all pages) C-u [prefix] tl
|
yuuji@54
|
56 *invoke previewer [prefix] tp
|
yuuji@54
|
57 *invoke lpq [prefix] tq
|
yuuji@54
|
58 *invoke jlatex (on region) [prefix] tr
|
yuuji@54
|
59
|
yuuji@54
|
60 Hitting [prefix] t will get you the menu, so there is no need to
|
yuuji@54
|
61 remember the key after [prefix] t.
|
yuuji@54
|
62
|
yuuji@54
|
63 **Unavailable on MS-DOS
|
yuuji@54
|
64
|
yuuji@54
|
65 The region used in [prefix] tr are the lines between %#BEGIN and
|
yuuji@54
|
66 %#END. If %#END is not found then from %#BEGIN and the end of
|
yuuji@54
|
67 the text. If both are missing then from the mark to the
|
yuuji@54
|
68 present point.
|
yuuji@54
|
69
|
yuuji@54
|
70 [Cursor Jump]
|
yuuji@54
|
71 *To the typeset error [prefix] '
|
yuuji@54
|
72
|
yuuji@54
|
73 Will jump to the position where the typeset error occurred from the
|
yuuji@54
|
74 end. Only effective when there was a error returned from latex.
|
yuuji@54
|
75
|
yuuji@54
|
76 *Jump to corresponding object [prefix] g
|
yuuji@54
|
77 *Jump to corresponding object (in another her window) [prefix] 4g
|
yuuji@54
|
78
|
yuuji@54
|
79 Where to jump will be decided by what's on the line [prefix] g was
|
yuuji@54
|
80 hit.
|
yuuji@54
|
81
|
yuuji@54
|
82 -on a \begin{} or \end{} to a matching \end{} or \begin{}
|
yuuji@54
|
83 -on a %#BEGIN or %#END to a matching %#END or %#BEGIN
|
yuuji@54
|
84 -on a \include(only) or \input to the matching file
|
yuuji@54
|
85 -on a \ref or \label to the matching \label or \ref
|
yuuji@54
|
86 -on a \cite or \bibitem to the matching \bibitem or \cite
|
yuuji@54
|
87
|
yuuji@54
|
88 *Jump to the main file [prefix] ^
|
yuuji@54
|
89 *Jump to the main file in another window [prefix] 4^
|
yuuji@54
|
90
|
yuuji@54
|
91 To tell YaTeX which the main file is, write
|
yuuji@54
|
92 %#jlatex MAIN_FILE_NAME
|
yuuji@54
|
93 somewhere in the file you are creating.
|
yuuji@54
|
94
|
yuuji@54
|
95 *Jump to beginning of environment ESC C-a
|
yuuji@54
|
96 *Jump to end of environment ESC C-e
|
yuuji@54
|
97 *Mark whole environment ESC C-h
|
yuuji@54
|
98
|
yuuji@54
|
99 [Commenting out by %]
|
yuuji@54
|
100
|
yuuji@54
|
101 *Comment out the region/environment [prefix] >
|
yuuji@54
|
102 *Uncomment the region/environment [prefix] <
|
yuuji@54
|
103
|
yuuji@54
|
104 If the point is on a line with \begin{} or \end{}, everything
|
yuuji@54
|
105 within the environment will be (un)commented. Otherwise,
|
yuuji@54
|
106 everything between the mark and point will be (un)commented.
|
yuuji@54
|
107
|
yuuji@54
|
108 *Comment out a paragraph or environment declaration [prefix] .
|
yuuji@54
|
109 *Uncomment out a paragraph or environment declaration [prefix] ,
|
yuuji@54
|
110
|
yuuji@54
|
111 If the point is on a line with \begin{} or \end, the two lines
|
yuuji@54
|
112 with it will be (un)commented. Otherwise the paragraph that the
|
yuuji@54
|
113 point is in will be (un)commented.
|
yuuji@54
|
114
|
yuuji@54
|
115 [ETC]
|
yuuji@54
|
116
|
yuuji@54
|
117 *Align and fill item [prefix] i
|
yuuji@54
|
118
|
yuuji@54
|
119 Available only in an environment. Will do a hanging indent on the
|
yuuji@54
|
120 \item.
|
yuuji@54
|
121
|
yuuji@54
|
122 *Change LaTeX command [prefix] c
|
yuuji@54
|
123
|
yuuji@54
|
124 On a line with \begin{} or \end{}, will change the name of the
|
yuuji@54
|
125 environment. On a section-type command, will change the command
|
yuuji@54
|
126 name, and also change arguments if invoked on the argument. For
|
yuuji@54
|
127 large-type command, will change font/size definitions. On a math
|
yuuji@54
|
128 mode command entered using image-type completion, will return to
|
yuuji@54
|
129 the completion operation.
|
yuuji@54
|
130
|
yuuji@54
|
131 *Kill commands [prefix] k
|
yuuji@54
|
132
|
yuuji@54
|
133 For \begin{}/\end{}, %#BEGIN/%#END, and parenthesis, will delete
|
yuuji@54
|
134 them in pairs. For section-type commands, font/size definition,
|
yuuji@54
|
135 will delete the command ant parenthesis surrounding them.
|
yuuji@54
|
136
|
yuuji@54
|
137 *Enclose region with () [prefix] )
|
yuuji@54
|
138 *Enclose region with {} [prefix] }
|
yuuji@54
|
139 *Enclose region with [] [prefix] ]
|
yuuji@54
|
140 *Enclose region with $$ [prefix] $
|
yuuji@54
|
141
|
yuuji@54
|
142 *Toggle modes [prefix] w
|
yuuji@54
|
143
|
yuuji@54
|
144 Will toggle between modify mode and math mode.
|
yuuji@54
|
145
|
yuuji@54
|
146 *%# editing [prefix] %
|
yuuji@54
|
147 *Show columns in tabular/array [prefix] &
|
yuuji@54
|
148 *Online help [prefix] h
|
yuuji@54
|
149 *Online apropos [prefix] /
|
yuuji@54
|
150 *Intelligent return ESC RET
|
yuuji@54
|
151
|
yuuji@54
|
152 Intelligent return can be used in tabular, array, itemize,
|
yuuji@54
|
153 enumerate, list and description environments.
|
yuuji@54
|
154
|
yuuji@54
|
155 *Browse included structure [prefix] d
|
yuuji@54
|
156
|
yuuji@69
|
157 HIROSE Yuuji
|
yuuji@70
|
158 yuuji@yatex.org
|
yuuji@54
|
159
|
yuuji@54
|
160 Local variables:
|
yuuji@54
|
161 mode: text
|
yuuji@54
|
162 fill-prefix: " "
|
yuuji@54
|
163 End:
|