yatex

annotate docs/yatexref.eng @ 566:2ef9f21dd13b

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