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