yuuji@54: ---------------------------------------------------------------------------- yuuji@54: YaTeX yuuji@54: Quick Reference yuuji@54: ---------------------------------------------------------------------------- yuuji@54: yuuji@54: yuuji@54: [Caution] yuuji@54: yuuji@54: You can customize the prefix key (C-c by default) so this will be yuuji@54: written as [prefix] in this document. If you have not customized yuuji@54: [prefix] a will stand for C-c a. yuuji@54: yuuji@54: Begin-type commands are those like \begin-\end, Section-type yuuji@54: commands are those that take arguments as \section{NAME}, yuuji@54: Large-type commands are font/size definition commands that are put yuuji@54: in parenthesis as {\tt}, Maketitle-type commands are commands that yuuji@54: don't take arguments as \maketitle. yuuji@54: yuuji@54: [Completion] yuuji@54: yuuji@54: *Accent completion [prefix] a yuuji@54: *Begin-type completion [prefix] b SPC yuuji@54: *Begin-type completion (region) [prefix] B SPC yuuji@54: *Begin-type completion (immediate) [prefix] b initial_of_environment yuuji@54: *Begin-type completion (immediate on region) yuuji@54: [prefix] B initial_of_environment yuuji@54: *End completion [prefix] e yuuji@54: *Large-type completion [prefix] l yuuji@54: *Large-type completion (region) [prefix] L yuuji@54: *Maketitle-type completion [prefix] m yuuji@54: *Section-type completion [prefix] s yuuji@54: *Section-type completion (region) [prefix] S yuuji@54: *General completion [prefix] SPC yuuji@54: yuuji@54: For the initials used in immediate Begin-type completions, see the yuuji@54: Info manual. In the (region)-mode, region between the mark and yuuji@54: the present point will be put within a \begin{foo}...\end{foo} or yuuji@54: {\large } and such. yuuji@54: yuuji@54: *Math sign image completion ; yuuji@54: *Greek letter image completion : yuuji@54: yuuji@54: Above two commands may be used only in the math environment. If yuuji@54: you want to use the completion in other environments, do C-u and yuuji@54: then ; or :. yuuji@54: yuuji@54: yuuji@54: [Process invoking] yuuji@54: yuuji@379: *invoke latex [prefix] tj yuuji@379: *invoke latex (on region) [prefix] tr yuuji@379: *on-the-fly preview environment [prefix] te yuuji@54: *invoke bibtex [prefix] tb yuuji@54: *invoke makeindex [prefix] ti yuuji@54: *kill current typesetting process [prefix] tk ** yuuji@54: *lpr dvi-file [prefix] tl yuuji@54: *lpr dvi-file (all pages) C-u [prefix] tl yuuji@54: *invoke previewer [prefix] tp yuuji@54: *invoke lpq [prefix] tq yuuji@54: yuuji@54: Hitting [prefix] t will get you the menu, so there is no need to yuuji@54: remember the key after [prefix] t. yuuji@54: yuuji@54: **Unavailable on MS-DOS yuuji@54: yuuji@54: The region used in [prefix] tr are the lines between %#BEGIN and yuuji@54: %#END. If %#END is not found then from %#BEGIN and the end of yuuji@54: the text. If both are missing then from the mark to the yuuji@54: present point. yuuji@54: yuuji@54: [Cursor Jump] yuuji@54: *To the typeset error [prefix] ' yuuji@54: yuuji@54: Will jump to the position where the typeset error occurred from the yuuji@379: end. Only effective when there was a error returned from typesetter. yuuji@54: yuuji@54: *Jump to corresponding object [prefix] g yuuji@54: *Jump to corresponding object (in another her window) [prefix] 4g yuuji@54: yuuji@54: Where to jump will be decided by what's on the line [prefix] g was yuuji@54: hit. yuuji@54: yuuji@54: -on a \begin{} or \end{} to a matching \end{} or \begin{} yuuji@54: -on a %#BEGIN or %#END to a matching %#END or %#BEGIN yuuji@54: -on a \include(only) or \input to the matching file yuuji@54: -on a \ref or \label to the matching \label or \ref yuuji@54: -on a \cite or \bibitem to the matching \bibitem or \cite yuuji@379: -other to the matching line in previewer yuuji@54: yuuji@54: *Jump to the main file [prefix] ^ yuuji@54: *Jump to the main file in another window [prefix] 4^ yuuji@54: yuuji@54: To tell YaTeX which the main file is, write yuuji@54: %#jlatex MAIN_FILE_NAME yuuji@54: somewhere in the file you are creating. yuuji@54: yuuji@54: *Jump to beginning of environment ESC C-a yuuji@54: *Jump to end of environment ESC C-e yuuji@54: *Mark whole environment ESC C-h yuuji@54: yuuji@54: [Commenting out by %] yuuji@54: yuuji@54: *Comment out the region/environment [prefix] > yuuji@54: *Uncomment the region/environment [prefix] < yuuji@54: yuuji@54: If the point is on a line with \begin{} or \end{}, everything yuuji@54: within the environment will be (un)commented. Otherwise, yuuji@54: everything between the mark and point will be (un)commented. yuuji@54: yuuji@54: *Comment out a paragraph or environment declaration [prefix] . yuuji@54: *Uncomment out a paragraph or environment declaration [prefix] , yuuji@54: yuuji@54: If the point is on a line with \begin{} or \end, the two lines yuuji@54: with it will be (un)commented. Otherwise the paragraph that the yuuji@54: point is in will be (un)commented. yuuji@54: yuuji@54: [ETC] yuuji@54: yuuji@54: *Align and fill item [prefix] i yuuji@54: yuuji@54: Available only in an environment. Will do a hanging indent on the yuuji@54: \item. yuuji@54: yuuji@54: *Change LaTeX command [prefix] c yuuji@54: yuuji@54: On a line with \begin{} or \end{}, will change the name of the yuuji@54: environment. On a section-type command, will change the command yuuji@54: name, and also change arguments if invoked on the argument. For yuuji@54: large-type command, will change font/size definitions. On a math yuuji@54: mode command entered using image-type completion, will return to yuuji@54: the completion operation. yuuji@54: yuuji@54: *Kill commands [prefix] k yuuji@54: yuuji@54: For \begin{}/\end{}, %#BEGIN/%#END, and parenthesis, will delete yuuji@54: them in pairs. For section-type commands, font/size definition, yuuji@54: will delete the command ant parenthesis surrounding them. yuuji@54: yuuji@54: *Enclose region with () [prefix] ) yuuji@54: *Enclose region with {} [prefix] } yuuji@54: *Enclose region with [] [prefix] ] yuuji@54: *Enclose region with $$ [prefix] $ yuuji@54: yuuji@54: *Toggle modes [prefix] w yuuji@54: yuuji@54: Will toggle between modify mode and math mode. yuuji@54: yuuji@54: *%# editing [prefix] % yuuji@54: *Show columns in tabular/array [prefix] & yuuji@54: *Online help [prefix] h yuuji@54: *Online apropos [prefix] / yuuji@54: *Intelligent return ESC RET yuuji@54: yuuji@54: Intelligent return can be used in tabular, array, itemize, yuuji@54: enumerate, list and description environments. yuuji@54: yuuji@54: *Browse included structure [prefix] d yuuji@379: *Force re-highlight font-lock [prefix] u yuuji@54: yuuji@69: HIROSE Yuuji yuuji@70: yuuji@yatex.org yuuji@54: yuuji@54: Local variables: yuuji@54: mode: text yuuji@54: fill-prefix: " " yuuji@54: End: