yatex
diff docs/yatexj.tex @ 28:0f8b77d22c8a
Add docs on intelligent-newline.
author | yuuji |
---|---|
date | Mon, 11 Jul 1994 14:56:13 +0000 |
parents | b6127058e365 |
children | 56f7676ed8ca |
line diff
1.1 --- a/docs/yatexj.tex Thu Jul 07 16:37:05 1994 +0000 1.2 +++ b/docs/yatexj.tex Mon Jul 11 14:56:13 1994 +0000 1.3 @@ -1,5 +1,4 @@ 1.4 \input texinfo @c -*- texinfo -*- 1.5 -%#!bigjtex 1.6 @setfilename yatexj 1.7 @settitle Yet Another tex-mode for Emacs 1.8 1.9 @@ -34,6 +33,7 @@ 1.10 * Local dictionary - ローカル辞書(神経質な人へ):: 1.11 * Includeonly - 勝手にincludeonly:: 1.12 * Where am I? - 今はどこ?:: 1.13 +* Intelligent newline - おまかせ改行:: 1.14 * Online help - オンラインヘルプ:: 1.15 * Cooperation with other packages - 他パッケージとの連携:: 1.16 * Customizations - カスタマイズ:: 1.17 @@ -151,7 +151,7 @@ 1.18 * Print out - プリントアウト用コマンドの起動:: 1.19 @end menu 1.20 1.21 -@node Calling typesetter - タイプセッタ起動, Print out - プリントアウト用コマンドの起動, Invocation - 外部コマンドの起動, Invocation - 外部コマンドの起動 1.22 +@node Calling typesetter - タイプセッタ起動, Print out - プリントアウト用コマンドの起動, , Invocation - 外部コマンドの起動 1.23 @comment node-name, next, previous, up 1.24 @section タイプセッタ起動 1.25 @cindex タイプセッタ起動 1.26 @@ -219,7 +219,7 @@ 1.27 * Editing %# notation - %#記法の編集:: 1.28 @end menu 1.29 1.30 -@node Changing typesetter - タイプセット用コマンドの変更, Splitting input files - 入力ファイル分割, %#記法, %#記法 1.31 +@node Changing typesetter - タイプセット用コマンドの変更, Splitting input files - 入力ファイル分割, , %#記法 1.32 @comment node-name, next, previous, up 1.33 @section タイプセット用コマンド変更 1.34 1.35 @@ -426,7 +426,7 @@ 1.36 * Greek letter completion - ギリシャ文字補完:: 1.37 @end menu 1.38 1.39 -@node begin型補完, section型補完, Completion - 補完入力, Completion - 補完入力 1.40 +@node begin型補完, section型補完, , Completion - 補完入力 1.41 @comment node-name, next, previous, up 1.42 @section begin型補完 1.43 @cindex begin型補完[beginがたほかん] 1.44 @@ -604,7 +604,7 @@ 1.45 * view-sectioning - セクション区切りのアウトライン表示:: 1.46 @end menu 1.47 1.48 -@node 2個以上の引数をとる section型コマンド, Input argument without copletion - 引数入力時に補完しない, section型補完, section型補完 1.49 +@node 2個以上の引数をとる section型コマンド, Input argument without copletion - 引数入力時に補完しない, , section型補完 1.50 @comment node-name, next, previous, up 1.51 @subsection 2個以上の引数をとる section型コマンド 1.52 @cindex 引数[ひきすう] 1.53 @@ -1177,7 +1177,7 @@ 1.54 @code{\includeonly} の行をコメントアウトして無効化したい時には、@kbd{%}を 1.55 それぞれ押して下さい。 1.56 1.57 -@node Where am I? - 今はどこ?, Online help - オンラインヘルプ, Includeonly - 勝手にincludeonly, Top 1.58 +@node Where am I? - 今はどこ?, Intelligent newline - おまかせ改行, Includeonly - 勝手にincludeonly, Top 1.59 @comment node-name, next, previous, up 1.60 @chapter 今はどこ? 1.61 @cindex 今はどこ?[いまはどこ] 1.62 @@ -1213,7 +1213,52 @@ 1.63 す。もし項目名として別のものを与えたい場合は、行頭を@code{%}にしてダミーの 1.64 項目並びを作っておくと良いでしょう。 1.65 1.66 -@node Online help - オンラインヘルプ, Cooperation with other packages - 他パッケージとの連携, Where am I? - 今はどこ?, Top 1.67 +@node Intelligent newline - おまかせ改行, Online help - オンラインヘルプ, Where am I? - 今はどこ?, Top 1.68 +@comment node-name, next, previous, up 1.69 +@chapter おまかせ改行 1.70 +@cindex おまかせ改行[おまかせかいぎょう] 1.71 +@cindex &入力[&にゅうりょく] 1.72 +@cindex prefix & 1.73 + 1.74 + tabular[*], array, itemize, enumerate, tabbing 環境で 1.75 + 1.76 +@table @kbd 1.77 +@item ESC RET 1.78 + @dots{} おまかせ改行 1.79 +@end table 1.80 + 1.81 +@noindent 1.82 +を押すと、その環境に応じた行エントリを次の行に挿入します。例えば、tabular 1.83 +環境では、その環境のカラム数に対応した個数の @code{&} にくわえ、行末の 1.84 +@code{\\} を入れます。この時それ以前に @code{\hline} があればそれも付け加 1.85 +えます。環境とそれに応じて自動入力するものの対応は以下のようになります。 1.86 + 1.87 +@itemize 1.88 +@item @code{tabular}, @code{tabular*}, @code{array} 1.89 + 1.90 + カラム数-1 だけの @code{&} と @code{\\}。必要に応じて @code{\hline} 1.91 + 1.92 +@item @code{tabbing} 1.93 + 1.94 + 一行目で定義している @code{\=} と同じ個数の @code{\>}。 1.95 + 1.96 +@item @code{itemize}, @code{enumerate}, @code{description}, @code{list} 1.97 + 1.98 + @code{\item} または @code{item[]} 1.99 +@end itemize 1.100 + 1.101 + tabular 環境の例のように、本機能は各環境の一行目の内容を参考にして動作す 1.102 +るので、なるべく二行目以降で呼び出すようにしてください。 1.103 + 1.104 + もし、その他の環境、例えば @code{foo}、に対して@code{おまかせ改行}を動作 1.105 +させたい時は、@code{YaTeX-intelligent-newline-foo} という名前の関数を定義 1.106 +します。定義した関数は、現在の行に改行を挿入した直後の行頭の位置で呼ばれま 1.107 +す。関数 @code{YaTeX-indent-line} を呼ぶと現在の環境のネストに応じた深さに 1.108 +インデントされるので、これを呼んでから何かを挿入するようなコードを書くとよ 1.109 +いでしょう。関数 @code{YaTeX-intelligent-newline-itemize} の定義などを参考 1.110 +にしてください。 1.111 + 1.112 +@node Online help - オンラインヘルプ, Cooperation with other packages - 他パッケージとの連携, Intelligent newline - おまかせ改行, Top 1.113 @comment node-name, next, previous, up 1.114 @chapter オンラインヘルプ 1.115 @cindex オンラインヘルプ[おんらいんへるぷ] 1.116 @@ -1296,7 +1341,7 @@ 1.117 * Add-in functions - 付加関数(アドイン関数):: 1.118 @end menu 1.119 1.120 -@node Lisp variables - lisp 変数, Add-in functions - 付加関数(アドイン関数), Customizations - カスタマイズ, Customizations - カスタマイズ 1.121 +@node Lisp variables - lisp 変数, Add-in functions - 付加関数(アドイン関数), , Customizations - カスタマイズ 1.122 @comment node-name, next, previous, up 1.123 @section lisp 変数 1.124 @cindex prefixキー変更[prefixきーへんこう] 1.125 @@ -1317,7 +1362,7 @@ 1.126 * Hook file - hook用ファイル:: 1.127 @end menu 1.128 1.129 -@node All customizable variables - カスタマイズ変数一覧, Sample definitions - カスタマイズ変数設定例, Lisp variables - lisp 変数, Lisp variables - lisp 変数 1.130 +@node All customizable variables - カスタマイズ変数一覧, Sample definitions - カスタマイズ変数設定例, , Lisp variables - lisp 変数 1.131 @comment node-name, next, previous, up 1.132 @subsection カスタマイズ変数一覧 1.133 @cindex カスタマイズ変数一覧[かすたまいずへんすういちらん]