yatex

view docs/yatexref.eng @ 83:680d92784c1a

Initial revision
author yuuji
date Sun, 27 Sep 2009 13:04:14 +0000
parents 807c1e7e68b7
children 09a2b5a3b3d8
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 bibtex [prefix] tb
51 *invoke latex [prefix] tj
52 *invoke makeindex [prefix] ti
53 *kill current typesetting process [prefix] tk **
54 *lpr dvi-file [prefix] tl
55 *lpr dvi-file (all pages) C-u [prefix] tl
56 *invoke previewer [prefix] tp
57 *invoke lpq [prefix] tq
58 *invoke jlatex (on region) [prefix] tr
60 Hitting [prefix] t will get you the menu, so there is no need to
61 remember the key after [prefix] t.
63 **Unavailable on MS-DOS
65 The region used in [prefix] tr are the lines between %#BEGIN and
66 %#END. If %#END is not found then from %#BEGIN and the end of
67 the text. If both are missing then from the mark to the
68 present point.
70 [Cursor Jump]
71 *To the typeset error [prefix] '
73 Will jump to the position where the typeset error occurred from the
74 end. Only effective when there was a error returned from latex.
76 *Jump to corresponding object [prefix] g
77 *Jump to corresponding object (in another her window) [prefix] 4g
79 Where to jump will be decided by what's on the line [prefix] g was
80 hit.
82 -on a \begin{} or \end{} to a matching \end{} or \begin{}
83 -on a %#BEGIN or %#END to a matching %#END or %#BEGIN
84 -on a \include(only) or \input to the matching file
85 -on a \ref or \label to the matching \label or \ref
86 -on a \cite or \bibitem to the matching \bibitem or \cite
88 *Jump to the main file [prefix] ^
89 *Jump to the main file in another window [prefix] 4^
91 To tell YaTeX which the main file is, write
92 %#jlatex MAIN_FILE_NAME
93 somewhere in the file you are creating.
95 *Jump to beginning of environment ESC C-a
96 *Jump to end of environment ESC C-e
97 *Mark whole environment ESC C-h
99 [Commenting out by %]
101 *Comment out the region/environment [prefix] >
102 *Uncomment the region/environment [prefix] <
104 If the point is on a line with \begin{} or \end{}, everything
105 within the environment will be (un)commented. Otherwise,
106 everything between the mark and point will be (un)commented.
108 *Comment out a paragraph or environment declaration [prefix] .
109 *Uncomment out a paragraph or environment declaration [prefix] ,
111 If the point is on a line with \begin{} or \end, the two lines
112 with it will be (un)commented. Otherwise the paragraph that the
113 point is in will be (un)commented.
115 [ETC]
117 *Align and fill item [prefix] i
119 Available only in an environment. Will do a hanging indent on the
120 \item.
122 *Change LaTeX command [prefix] c
124 On a line with \begin{} or \end{}, will change the name of the
125 environment. On a section-type command, will change the command
126 name, and also change arguments if invoked on the argument. For
127 large-type command, will change font/size definitions. On a math
128 mode command entered using image-type completion, will return to
129 the completion operation.
131 *Kill commands [prefix] k
133 For \begin{}/\end{}, %#BEGIN/%#END, and parenthesis, will delete
134 them in pairs. For section-type commands, font/size definition,
135 will delete the command ant parenthesis surrounding them.
137 *Enclose region with () [prefix] )
138 *Enclose region with {} [prefix] }
139 *Enclose region with [] [prefix] ]
140 *Enclose region with $$ [prefix] $
142 *Toggle modes [prefix] w
144 Will toggle between modify mode and math mode.
146 *%# editing [prefix] %
147 *Show columns in tabular/array [prefix] &
148 *Online help [prefix] h
149 *Online apropos [prefix] /
150 *Intelligent return ESC RET
152 Intelligent return can be used in tabular, array, itemize,
153 enumerate, list and description environments.
155 *Browse included structure [prefix] d
157 HIROSE Yuuji
158 yuuji@yatex.org
160 Local variables:
161 mode: text
162 fill-prefix: " "
163 End: