rev |
line source |
yuuji@51
|
1 textfloatsep
|
yuuji@51
|
2 \addtolength{\textfloatsep}{LENGTH}
|
yuuji@51
|
3 Length between the text and, float of the top or bottom of page
|
yuuji@51
|
4
|
yuuji@51
|
5 floatsep
|
yuuji@51
|
6 \addtolength{\floatsep}{LENGTH}
|
yuuji@51
|
7 Length between two floats
|
yuuji@51
|
8
|
yuuji@51
|
9 oddsidemargin
|
yuuji@51
|
10 \setlength{\oddsidemargin}{LENGTH}
|
yuuji@51
|
11 右ページの左端から1インチ(2.54cm)の線と本文の距離
|
yuuji@51
|
12
|
yuuji@51
|
13 pagestyle
|
yuuji@51
|
14 \pagestyle{スタイル}
|
yuuji@51
|
15 出力ページのヘッダとフッタのスタイルを決める。スタイルには以下のものがある:
|
yuuji@51
|
16 plain 標準スタイル. フッタにページ番号だけつける.
|
yuuji@51
|
17 empty ヘッダにもフッタにも何も出力しない.
|
yuuji@51
|
18 headings ヘッダにセクションに応じた見出しとページ番号をつけ
|
yuuji@51
|
19 フッタには何も出力しない.
|
yuuji@51
|
20 myheadings headingsのスタイルで、ヘッダの情報を \markbpth と
|
yuuji@51
|
21 \markright で指定できる.
|
yuuji@51
|
22
|
yuuji@51
|
23 thispagestyle
|
yuuji@51
|
24 \thispagestyle{スタイル}
|
yuuji@51
|
25 現在のページだけのスタイルを決定する。
|
yuuji@51
|
26
|
yuuji@51
|
27 pagenumbering
|
yuuji@51
|
28 \pagenumbering{スタイル}
|
yuuji@51
|
29 ページ番号のスタイルを決める。スタイルには以下のものがある:
|
yuuji@51
|
30 arabic アラビア数字
|
yuuji@51
|
31 alph 小文字の英字
|
yuuji@51
|
32 Alph 大文字の英字
|
yuuji@51
|
33 roman 小文字のローマ数字
|
yuuji@51
|
34 Roman 大文字のローマ数字
|
yuuji@51
|
35
|
yuuji@51
|
36 shortstack
|
yuuji@51
|
37 \shortstack[場所]{重ねて\\表示する\\内容}
|
yuuji@51
|
38 {}内の内容を\\で区切られた単位毎に積み重ねて表示する。
|
yuuji@51
|
39 [場所]は、l(左寄せ)、c(センタリング)、r(右寄せ)のいずれか。
|
yuuji@51
|
40
|
yuuji@51
|
41 newlength
|
yuuji@51
|
42 \newlength{NAME}
|
yuuji@51
|
43 NAMEという長さコマンドを新たに宣言する。
|
yuuji@51
|
44
|
yuuji@51
|
45 addtolength
|
yuuji@51
|
46 \addtolength{長さコマンド}{数値}
|
yuuji@51
|
47 第1引数の長さを第2に引数の数値を足す。
|
yuuji@51
|
48 代表的なスタイルパラメータについては \setlength の項を参照せよ。
|
yuuji@51
|
49
|
yuuji@51
|
50 setlength
|
yuuji@51
|
51 \setlength{長さコマンド}{数値}
|
yuuji@51
|
52 第1引数の長さを第2に引数の数値に設定する。
|
yuuji@51
|
53 代表的なスタイルパラメータは以下の通り:
|
yuuji@51
|
54 (スタイルパラメータの変更はプリアンブルで行うこと)
|
yuuji@51
|
55 \evensidemargin \footheight \footskip \headheight
|
yuuji@51
|
56 \headsep \marginparsep \marginparwidth \oddsidemargin
|
yuuji@51
|
57 \textheight \textwidth \topmargin \topskip
|
yuuji@51
|
58 \parindent \baselineskip \baselinestretch \parskip
|
yuuji@51
|
59 \columnsep \columnseprule \mathindent
|
yuuji@51
|
60
|
yuuji@51
|
61 settowidth{\NAME}{TEXT}
|
yuuji@51
|
62 \hbox{TEXT}の出力結果と同じ幅に長さ\NAME をセットする。
|
yuuji@51
|
63
|
yuuji@51
|
64 evensidemargin
|
yuuji@51
|
65 \setlength{\evensidemargin}{LENGTH}
|
yuuji@51
|
66 左ページの左端から1インチ(2.54cm)の線と本文の距離
|
yuuji@51
|
67
|
yuuji@51
|
68 footheight
|
yuuji@51
|
69 \setlength{\footheight}{LENGTH}
|
yuuji@51
|
70 フッタの高さ
|
yuuji@51
|
71
|
yuuji@51
|
72 footskip
|
yuuji@51
|
73 \setlength{\footskip}{LENGTH}
|
yuuji@51
|
74 本文の箱の下端とフッタの距離
|
yuuji@51
|
75
|
yuuji@51
|
76 headheight
|
yuuji@51
|
77 \addtolength{\headheight}{LENGTH}
|
yuuji@51
|
78 ヘッダの高さ
|
yuuji@51
|
79
|
yuuji@51
|
80 headsep
|
yuuji@51
|
81 \setlength{\headsep}{LENGTH}
|
yuuji@51
|
82 ヘッダと本文の間隔
|
yuuji@51
|
83
|
yuuji@51
|
84 marginparsep
|
yuuji@51
|
85 \addtolength{\marginparsep}{LENGTH}
|
yuuji@51
|
86 傍注と本文の間隔
|
yuuji@51
|
87
|
yuuji@51
|
88 marginparwidth
|
yuuji@51
|
89 \addtolength{\marginparwidth}{LENGTH}
|
yuuji@51
|
90 傍注の幅
|
yuuji@51
|
91
|
yuuji@51
|
92 oddsidemargin
|
yuuji@51
|
93 \addtolength{\oddsidemargin}{LENGTH}
|
yuuji@51
|
94 右ページの左端から1インチ(2.54cm)の線と本文の距離
|
yuuji@51
|
95
|
yuuji@51
|
96 textheight
|
yuuji@51
|
97 \addtolength{\textheight}{LENGTH}
|
yuuji@51
|
98 本文の高さ
|
yuuji@51
|
99
|
yuuji@51
|
100 textwidth
|
yuuji@51
|
101 \addtolength{\textwidth}{LENGTH}
|
yuuji@51
|
102 本文の幅
|
yuuji@51
|
103
|
yuuji@51
|
104 topmargin
|
yuuji@51
|
105 \addtolength{\topmargin}{LENGTH}
|
yuuji@51
|
106 ページ上端から1インチの線とヘッダの距離
|
yuuji@51
|
107
|
yuuji@51
|
108 topskip
|
yuuji@51
|
109 \addtolength{\topskip}{LENGTH}
|
yuuji@51
|
110 本文の箱の上端と一行目のテキストとの間隔
|
yuuji@51
|
111
|
yuuji@51
|
112 parindent
|
yuuji@51
|
113 \setlength{\parindent}{LENGTH}
|
yuuji@51
|
114 \parindent 段落の先頭の字下げ幅.
|
yuuji@51
|
115
|
yuuji@51
|
116 linewidth
|
yuuji@51
|
117 \addtolength{\linewidth}{LENGTH}
|
yuuji@51
|
118 \linewidth 行の幅.
|
yuuji@51
|
119
|
yuuji@51
|
120 baselineskip
|
yuuji@51
|
121 \addtolength{baselineskip}{LENGTH}
|
yuuji@51
|
122 \baselineskip 行のベースライン間の最低限の高さ.
|
yuuji@51
|
123
|
yuuji@51
|
124 baselinestretch
|
yuuji@51
|
125 \renewcommand{baselinestretch}{1.5}
|
yuuji@51
|
126 \baselinestretch \baselineskip に乗ずる係数. (default=1)
|
yuuji@51
|
127 (* \setlengthなどではなく、\renewcommandで再定義する。)
|
yuuji@51
|
128
|
yuuji@51
|
129 parskip
|
yuuji@51
|
130 \addtolength{\parskip}{LENGTH}
|
yuuji@51
|
131 \parskip 段落前の垂直スペース.
|
yuuji@51
|
132
|
yuuji@51
|
133 columnsep
|
yuuji@51
|
134 \addtolength{\columnsep}{LENGTH}
|
yuuji@51
|
135 \columnsep 2段組みの時の段間の幅.
|
yuuji@51
|
136
|
yuuji@51
|
137 columnseprule
|
yuuji@51
|
138 \addtolength{\columnseprule}{LENGTH}
|
yuuji@51
|
139 二段組の時の段間の罫線の太さ.
|
yuuji@51
|
140
|
yuuji@51
|
141 columnwidth
|
yuuji@51
|
142 \addtolength{\columnwidth}{LENGTH}
|
yuuji@51
|
143 二段組の時には (\textwidth - \columnsep)/2
|
yuuji@51
|
144 そうでない時は、\textwidth
|
yuuji@51
|
145
|
yuuji@51
|
146
|
yuuji@51
|
147 columnseprule
|
yuuji@51
|
148 \addtolength{columnseprule}{LENGTH}
|
yuuji@51
|
149 \columnseprule 2段組みの時の段間の罫線の幅. (default=0pt)
|
yuuji@51
|
150
|
yuuji@51
|
151 mathindent
|
yuuji@51
|
152 \addtolength{mathindent}{LENGTH}
|
yuuji@51
|
153 \mathindent スタイルオプションで fleqn を指定した場合の、
|
yuuji@51
|
154 左マージンからの数式の字下げ幅.
|
yuuji@51
|
155
|
yuuji@51
|
156 LaTeX
|
yuuji@51
|
157 \LaTeX
|
yuuji@51
|
158 \LaTeX のロゴを表示。\LaTeX の定義は以下の通り。
|
yuuji@51
|
159 \def\LaTeX{{\rm L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em
|
yuuji@51
|
160 T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
|
yuuji@51
|
161
|
yuuji@51
|
162 fragile
|
yuuji@51
|
163 ** LaTeX用語 **
|
yuuji@51
|
164 引数によって展開結果が変わるようなコマンドをいう。
|
yuuji@51
|
165 その逆は robust なコマンド。
|
yuuji@51
|
166
|
yuuji@51
|
167 robust
|
yuuji@51
|
168 ** LaTeX用語 **
|
yuuji@51
|
169 展開結果が常に変わらないようなコマンドをいう。
|
yuuji@51
|
170 フォント/サイズ指定子、長さコマンド、数式モード中に使う多くのコマンドは
|
yuuji@51
|
171 robustなコマンド。
|
yuuji@51
|
172 (maketitle型コマンドのうちオプション引数を全くとらないものと考えて良い)
|
yuuji@51
|
173
|
yuuji@51
|
174 protect
|
yuuji@51
|
175 \protect「fragileなコマンド」
|
yuuji@51
|
176 引数によって結果が変わるようなコマンドを「fragileなコマンド」と言う。
|
yuuji@51
|
177 一方、引数がいろいろな箇所で参照されるコマンドを「動く引数を取るコマンド
|
yuuji@51
|
178 と言う。これは chapter や caption など目次などから参照される引数をとるも
|
yuuji@51
|
179 のや、tabular/array 環境の @ 表現が該当する。
|
yuuji@51
|
180
|
yuuji@51
|
181 さて、これらの「動く引数を取るコマンド」の引数に「fragileなコマンド」を
|
yuuji@51
|
182 与える時に(fragileなコマンドの直前に)使うのが \protect である。以下は典
|
yuuji@51
|
183 型的な利用例である。
|
yuuji@51
|
184
|
yuuji@51
|
185 \newcommand{\thissystem}[1]{YaTeX version #1}
|
yuuji@51
|
186 \chapter{\protect \thissystem{1.50}について}
|
yuuji@51
|
187
|
yuuji@51
|
188 newcommand
|
yuuji@51
|
189 \newcommand{\コマンド名}[引数の数]{定義}
|
yuuji@51
|
190 「コマンド名」を「引数の数」個の引数を取る「定義」であるマクロとして定義
|
yuuji@51
|
191 する。定義中でn番目の引数は #n として参照する。
|
yuuji@51
|
192 \newcommand{\foo}[1]{\underline{#1}}
|
yuuji@51
|
193 とすると \foo{bar} は \underline{bar} と展開される。したがってフォント指
|
yuuji@51
|
194 定子を含む場合newcommandの{}につられて、
|
yuuji@51
|
195 \newcommand{\foo}[1]{\bf #1}
|
yuuji@51
|
196 とすると \foo{bar} がテキスト中で \bf bar と展開されてしまうので、
|
yuuji@51
|
197 \newcommand{\foo}[1]{{\bf #1}}
|
yuuji@51
|
198 としなければならない。
|
yuuji@51
|
199
|
yuuji@51
|
200 「コマンド名」のマクロが既に定義されている場合はエラーとなる。再定義す
|
yuuji@51
|
201 る場合は、\renewcommandを使う。
|
yuuji@51
|
202
|
yuuji@51
|
203 renewcommand
|
yuuji@51
|
204 \renewcommand{\コマンド名}[引数の数]{定義}
|
yuuji@51
|
205 既に定義されているコマンドを別の内容で再定義する。
|
yuuji@51
|
206 以下は \newcommand の説明。
|
yuuji@51
|
207 <refer newcommand>
|
yuuji@51
|
208
|
yuuji@51
|
209 newenvironment
|
yuuji@51
|
210 \newenvironment{環境名}[引数の数]{定義1}{定義2}
|
yuuji@51
|
211 新たな環境を定義する。
|
yuuji@51
|
212 \begin{環境名}の時の展開内容を「定義1」に\end{環境名}の時の展開内容を
|
yuuji@51
|
213 「定義2」に記述する。
|
yuuji@51
|
214 \newcommand{\環境名}{定義1} \def{\end環境名}{定義2}
|
yuuji@51
|
215 と同値。
|
yuuji@51
|
216
|
yuuji@51
|
217 renewenvironment
|
yuuji@51
|
218 \renewenvironment{環境名}[引数の数]{定義1}{定義2}
|
yuuji@51
|
219 既に定義されている「環境名」を別の内容で再定義する。
|
yuuji@51
|
220 以下は、\newenvironmentの説明。
|
yuuji@51
|
221
|
yuuji@51
|
222 <refer newenvironment>
|
yuuji@51
|
223
|
yuuji@51
|
224 typeout
|
yuuji@51
|
225 \typeout{メッセージ}
|
yuuji@51
|
226 タイプセット中に「メッセージ」を端末に出力する。
|
yuuji@51
|
227
|
yuuji@51
|
228 typein
|
yuuji@51
|
229 \typein{メッセージ} \typein[\マクロ]{メッセージ}
|
yuuji@51
|
230 タイプセット中に「メッセージ」をプロンプトに出し、入力した結果を実行する。
|
yuuji@51
|
231 第二の書式では、「\マクロ」を入力したものに定義する。
|
yuuji@51
|
232
|
yuuji@51
|
233 par
|
yuuji@51
|
234 \par
|
yuuji@51
|
235 段落の区切りの役割をする。空行と同じ。
|
yuuji@51
|
236
|
yuuji@51
|
237 everypar
|
yuuji@51
|
238 \everypar
|
yuuji@51
|
239 RTFM
|
yuuji@51
|
240
|
yuuji@51
|
241 nopagebreak
|
yuuji@51
|
242 \nopagebreak[i] (i = 0,1,2,3,4)
|
yuuji@51
|
243 改頁を強さiで抑制する([i]を省略すると4)。
|
yuuji@51
|
244
|
yuuji@51
|
245 pagebreak
|
yuuji@51
|
246 \pagebreak[i] (i = 0,1,2,3,4)
|
yuuji@51
|
247 改頁を強さiで促す([i]を省略すると4)。
|
yuuji@51
|
248
|
yuuji@51
|
249 linebreak
|
yuuji@51
|
250 \linebreak[i] (i = 0,1,2,3,4)
|
yuuji@51
|
251 改行を強さiで促す([i]を省略すると4)。
|
yuuji@51
|
252
|
yuuji@51
|
253 nolinebreak
|
yuuji@51
|
254 \nolinebreak[i] (i = 0,1,2,3,4)
|
yuuji@51
|
255 改行を強さiで抑制する([i]を省略すると4)。
|
yuuji@51
|
256
|
yuuji@51
|
257 samepage
|
yuuji@51
|
258 \samepage
|
yuuji@51
|
259 改頁を禁止する。
|
yuuji@51
|
260 RTFM
|
yuuji@51
|
261
|
yuuji@51
|
262 obeycr
|
yuuji@51
|
263 \obeycr
|
yuuji@51
|
264 <CR> を \\. に定義する。→\restorecr
|
yuuji@51
|
265
|
yuuji@51
|
266 restorecr
|
yuuji@51
|
267 \restorecr
|
yuuji@51
|
268 \obeycrで変更した<CR>の定義を元に戻す。
|
yuuji@51
|
269
|
yuuji@51
|
270 \
|
yuuji@51
|
271 \\ \\[長さ]
|
yuuji@51
|
272 (任意の場所で)改行する。段落中では、\newline と同じ。
|
yuuji@51
|
273 オプション引数の[長さ]を指定すると、次の行との間隔を
|
yuuji@51
|
274 \vspace{LENGTH}によって確保する。
|
yuuji@51
|
275
|
yuuji@51
|
276 addvspace
|
yuuji@51
|
277 \addvspace{スキップ}
|
yuuji@51
|
278 縦方向の間隔に「スキップ」の値を足す。ただし
|
yuuji@51
|
279 \addvspace{S1} \addvspace{S2} と複数の値を同時に指定しても
|
yuuji@51
|
280 \addvspace{S1,S2のうち大きいほう} と同値になる。
|
yuuji@51
|
281
|
yuuji@51
|
282 vspace
|
yuuji@51
|
283 \vspace{間隔} \vspace*{間隔}
|
yuuji@51
|
284 垂直方向に「間隔」ぶんのスペースを足す。
|
yuuji@51
|
285 \vspace* はどんな場所でもスペースを足すが、\vspace はページの先頭や
|
yuuji@51
|
286 末尾でははたらかない。
|
yuuji@51
|
287
|
yuuji@51
|
288 vspace*
|
yuuji@51
|
289 \vspace{間隔} \vspace*{間隔}
|
yuuji@51
|
290 垂直方向に「間隔」ぶんのスペースを足す。
|
yuuji@51
|
291 \vspace* はどんな場所でもスペースを足すが、\vspace はページの先頭や
|
yuuji@51
|
292 末尾でははたらかない。
|
yuuji@51
|
293
|
yuuji@51
|
294 hspace
|
yuuji@51
|
295 \hspace{間隔} \hspace*{間隔}
|
yuuji@51
|
296 水平方向に「間隔」ぶんのスペースを足す。
|
yuuji@51
|
297 \hspace* はどんな場所でもスペースを足すが、\hspace は行の先頭や末尾では
|
yuuji@51
|
298 はたらかない。
|
yuuji@51
|
299
|
yuuji@51
|
300 hspace*
|
yuuji@51
|
301 \hspace{間隔} \hspace*{間隔}
|
yuuji@51
|
302 水平方向に「間隔」ぶんのスペースを足す。
|
yuuji@51
|
303 \hspace* はどんな場所でもスペースを足すが、\hspace は行の先頭や末尾では
|
yuuji@51
|
304 はたらかない。
|
yuuji@51
|
305
|
yuuji@51
|
306 smallskip
|
yuuji@51
|
307 \smallskip
|
yuuji@51
|
308 垂直方向に小さな間隔を空ける。
|
yuuji@51
|
309 \def\smallskip{\vspace\smallskipamount}
|
yuuji@51
|
310
|
yuuji@51
|
311 medskip
|
yuuji@51
|
312 \medskip
|
yuuji@51
|
313 垂直方向に中くらいの間隔を空ける。
|
yuuji@51
|
314 \def\medskip{\vspace\medskipamount}
|
yuuji@51
|
315
|
yuuji@51
|
316 bigskip
|
yuuji@51
|
317 \bigskip
|
yuuji@51
|
318 垂直方向に大きな間隔を空ける。
|
yuuji@51
|
319 \def\bigskip{\vspace\bigskipamount}
|
yuuji@51
|
320
|
yuuji@51
|
321 ,
|
yuuji@51
|
322 \,
|
yuuji@51
|
323 狭いスペースを空ける。段落モード、LRモード、数式モードいずれでも利用可。
|
yuuji@51
|
324 クォートの中にクォートを書くときなどに用いる。
|
yuuji@51
|
325 例: ``\,`Foo', he said.''
|
yuuji@51
|
326 数式モードで使えるスペースには以下のものがある:
|
yuuji@51
|
327 \: 少し広い
|
yuuji@51
|
328 \! 負で狭い
|
yuuji@51
|
329 \; 広い
|
yuuji@51
|
330
|
yuuji@51
|
331 :
|
yuuji@51
|
332 $\:$
|
yuuji@51
|
333 少し広いスペース。数式モードのみ。
|
yuuji@51
|
334
|
yuuji@51
|
335 !
|
yuuji@51
|
336 $\!$
|
yuuji@51
|
337 狭い負のスペース。数式モードのみ。
|
yuuji@51
|
338
|
yuuji@51
|
339 ;
|
yuuji@51
|
340 $\;$
|
yuuji@51
|
341 広いスペース。数式モードのみ。
|
yuuji@51
|
342
|
yuuji@51
|
343 @whilenum
|
yuuji@51
|
344 \@whilenum TEST \do {BODY}
|
yuuji@51
|
345 この辺あとで
|
yuuji@51
|
346
|
yuuji@51
|
347 nofiles
|
yuuji@51
|
348 \nofiles
|
yuuji@51
|
349 プリアンブルで宣言すると、.aux, .idx, .lof, .lot, .toc ファイルの作成が
|
yuuji@51
|
350 抑制される。
|
yuuji@51
|
351
|
yuuji@51
|
352 includeonly
|
yuuji@51
|
353 \includeonly{sub1} \includeonly{sub1,sub3}
|
yuuji@51
|
354 \include{}で読み込むファイルのうち、実際に読み込み処理するものを指定する。
|
yuuji@51
|
355 (.texは省略可)
|
yuuji@51
|
356 \includeonlyの引数リストにないファイルはまったく処理されない、または前回
|
yuuji@51
|
357 以前に処理されている場合そこから全く変更がないものとして扱われる。
|
yuuji@51
|
358
|
yuuji@51
|
359 include
|
yuuji@51
|
360 \include{FILE}
|
yuuji@51
|
361 \clearpage \input{FILE} \clearpage
|
yuuji@51
|
362 と同じはたらきをする。
|
yuuji@51
|
363
|
yuuji@51
|
364 input
|
yuuji@51
|
365 \input{FILE}
|
yuuji@51
|
366 FILE.tex がそこにあるかのように処理を続ける。
|
yuuji@51
|
367
|
yuuji@51
|
368 setcounter
|
yuuji@51
|
369 \setcounter{FOO}{VAL}
|
yuuji@51
|
370 カウンタFOOの値をVALに設定する。
|
yuuji@51
|
371
|
yuuji@51
|
372 addtocounter
|
yuuji@51
|
373 \addtocounter{FOO}{VAL}
|
yuuji@51
|
374 カウンタFOOの値にVALを加える。
|
yuuji@51
|
375
|
yuuji@51
|
376 newcounter
|
yuuji@51
|
377 \newcounter{COUNTER}[OLDCTR]
|
yuuji@51
|
378 新しいカウンタCOUNTERを設定する。
|
yuuji@51
|
379 オプション引数[OLDCTR]を指定すると、既存のカウンタOLDCTRの値が
|
yuuji@51
|
380 \stepcounter もしくは \addtocounter で変更されるたびにCOUNTERの値もリセッ
|
yuuji@51
|
381 トされる。
|
yuuji@51
|
382
|
yuuji@51
|
383 value
|
yuuji@51
|
384 \value{COUNTER}
|
yuuji@51
|
385 COUNTERの値を返す。\protect を前置してはならない。
|
yuuji@51
|
386
|
yuuji@51
|
387 stepcounter
|
yuuji@51
|
388 \stepcounter{FOO}
|
yuuji@51
|
389 カウンタFOOの値をインクリメントする。FOOに従うカウンタがあればそれらをリ
|
yuuji@51
|
390 セットする。
|
yuuji@51
|
391
|
yuuji@51
|
392 refstepcounter
|
yuuji@51
|
393 \refstepcounter{FOO}
|
yuuji@51
|
394 カウンタFOOの値をインクリメントする。FOOに従うカウンタがあればそれらをリ
|
yuuji@51
|
395 セットする。\stepcounterとの違いは、\refstepcounter{FOO} の直後に
|
yuuji@51
|
396 \label{hoge} があった場合に、\ref{hoge} の値が \value{FOO} を持つように
|
yuuji@51
|
397 「\ref値」を設定することである。
|
yuuji@51
|
398
|
yuuji@51
|
399 arabic
|
yuuji@51
|
400 \arabic{COUNTER}
|
yuuji@51
|
401 アラビア数字でCOUNTERの値を出力。
|
yuuji@51
|
402
|
yuuji@51
|
403 roman
|
yuuji@51
|
404 \roman{COUNTER}
|
yuuji@51
|
405 小文字のローマ数字でCOUNTERの値を出力。
|
yuuji@51
|
406
|
yuuji@51
|
407 Roman
|
yuuji@51
|
408 \Roman{COUNTER}
|
yuuji@51
|
409 大文字のローマ数字でCOUNTERの値を出力。
|
yuuji@51
|
410
|
yuuji@51
|
411 alph
|
yuuji@51
|
412 \alph{COUNTER}
|
yuuji@51
|
413 小文字の英字でCOUNTERの値を出力。
|
yuuji@51
|
414
|
yuuji@51
|
415 Alph
|
yuuji@51
|
416 \Alph{COUNTER}
|
yuuji@51
|
417 大文字の英字でCOUNTERの値を出力。
|
yuuji@51
|
418
|
yuuji@51
|
419 fnsymbol
|
yuuji@51
|
420 \fnsymbol{COUNTER}
|
yuuji@51
|
421 脚注シンボル(1 = *, 2 = \dagger, ...) でCOUNTERの値を出力。数式モードのみ。
|
yuuji@51
|
422
|
yuuji@51
|
423 label
|
yuuji@51
|
424 \label{LABEL}
|
yuuji@51
|
425 ラベルLABELの値をその時の「\ref値」に設定する。
|
yuuji@51
|
426 この値は、\ref{LABEL}によって参照される。また\pageref{LABEL}により
|
yuuji@51
|
427 \label{LABEL}の存在するページ番号が参照される。
|
yuuji@51
|
428 「\ref値」とは \section などのセクションコマンド、enumerate環境での
|
yuuji@51
|
429 \item コマンド、theorem環境などによって設定される値である。例えば、
|
yuuji@51
|
430 enumerate環境中の \item の直後ではそのitemの番号が「\ref値」となり、
|
yuuji@51
|
431 そこにある \label{LABEL} はitemの番号をLABELにセットする。
|
yuuji@51
|
432
|
yuuji@51
|
433 ref
|
yuuji@51
|
434 \ref{LABEL}
|
yuuji@51
|
435 \label{LABEL}で設定したLABELの値を参照する。
|
yuuji@51
|
436 本文中で設定されたラベルにたいしてはページ番号が、
|
yuuji@51
|
437 図表中で設定されたラベルは図表番号が、
|
yuuji@51
|
438 enumerateされたitemで設定されたラベルにたいしては、item番号が返される。
|
yuuji@51
|
439
|
yuuji@51
|
440 pageref
|
yuuji@51
|
441 pageref{LABEL}
|
yuuji@51
|
442 \label{LABEL}の存在するページ番号を参照する。
|
yuuji@51
|
443
|
yuuji@51
|
444 (
|
yuuji@51
|
445 \( 数式 \)
|
yuuji@51
|
446 文中数式を組む。
|
yuuji@51
|
447 \begin{math} 数式 \end{math}
|
yuuji@51
|
448 と同値。\( および \)は fragile.
|
yuuji@51
|
449
|
yuuji@51
|
450 )
|
yuuji@51
|
451 \( x^2 = 4 \)
|
yuuji@51
|
452 文中数式を組む。
|
yuuji@51
|
453 \begin{math} 数式 \end{math}
|
yuuji@51
|
454 と同値。\( および \)は fragile.
|
yuuji@51
|
455
|
yuuji@51
|
456 [
|
yuuji@51
|
457 ディスプレイ数式を組む。
|
yuuji@51
|
458 \[ 数式 \]
|
yuuji@51
|
459 \begin{displaymath} 数式 \end{displaymath}
|
yuuji@51
|
460 と同値。\[ および \]は fragile.
|
yuuji@51
|
461
|
yuuji@51
|
462 )
|
yuuji@51
|
463 \[ 数式 \]
|
yuuji@51
|
464 ディスプレイ数式を組む。
|
yuuji@51
|
465 \begin{displaymath} 数式 \end{displaymath}
|
yuuji@51
|
466 と同値。\[ および \]は fragile.
|
yuuji@51
|
467
|
yuuji@51
|
468 equation
|
yuuji@51
|
469 \begin{equation} 数式 \end{equation}
|
yuuji@51
|
470 番号つきの数式をdisplaymath環境で組む。
|
yuuji@51
|
471
|
yuuji@51
|
472 eqnarray
|
yuuji@51
|
473 \begin{eqnarray} 方程式の並び \end{eqnarray}
|
yuuji@51
|
474 方程式の並びを3つの桁に整理して出力する。3つの桁は&記号によって、
|
yuuji@51
|
475 「左辺 & 等不等号 & 右辺」のように区切られる。例えば以下のようにする。
|
yuuji@51
|
476 \begin{eqnarray}
|
yuuji@51
|
477 3x + 2y & = & 4 \\
|
yuuji@51
|
478 x - 4y & = & -5
|
yuuji@51
|
479 \end{eqnarray}
|
yuuji@51
|
480 eqnarray* 環境は数式番号を出力しないほかはeqnarray環境と同じである。
|
yuuji@51
|
481
|
yuuji@51
|
482 eqnarray*
|
yuuji@51
|
483 \begin{eqnarray*} 方程式の並び \end{eqnarray*}
|
yuuji@51
|
484 数式番号を出力しないほかはeqnarray環境と同じである。
|
yuuji@51
|
485
|
yuuji@51
|
486 frac
|
yuuji@51
|
487 \frac{分子}{分母}
|
yuuji@51
|
488 分子
|
yuuji@51
|
489 ------ のような分数形式を組む。{分子 \over 分母} と同じ。
|
yuuji@51
|
490 分母
|
yuuji@51
|
491
|
yuuji@51
|
492 sqrt
|
yuuji@51
|
493 \sqrt[N]{式}
|
yuuji@51
|
494 「式」のN乗根をあらわす数式。[N]を省略すると平方根。
|
yuuji@51
|
495
|
yuuji@51
|
496 lefteqn
|
yuuji@51
|
497 \lefteqn{式}
|
yuuji@51
|
498 ディスプレイ数式モードにおいて、「式」が幅ゼロであるとみなして、左寄せす
|
yuuji@51
|
499 る。たとえばeqnarray環境において、左辺が長くなってしまう場合に、行を
|
yuuji@51
|
500 折り畳むために利用する。
|
yuuji@51
|
501 \begin{eqnarray}
|
yuuji@51
|
502 \lefteqn{a_1 + a_2 + \cdots + a_n =} \\
|
yuuji@51
|
503 & & a_1 + b_1 + \cdots + z_1 + \\
|
yuuji@51
|
504 & & b_2 + c+2 + \cdost + z_2
|
yuuji@51
|
505 \end{eqnarray}
|
yuuji@51
|
506
|
yuuji@51
|
507 center
|
yuuji@51
|
508 \begin{center} 内容 \end{center}
|
yuuji@51
|
509 「内容」を中央寄せする。各行は\\によって改行位置を指定する。
|
yuuji@51
|
510 → \centering
|
yuuji@51
|
511
|
yuuji@51
|
512 flushright
|
yuuji@51
|
513 \begin{flushright} 内容 \end{flushright}
|
yuuji@51
|
514 「内容」を右寄せする。各行は\\によって改行位置を指定する。
|
yuuji@51
|
515 → \raggedright
|
yuuji@51
|
516
|
yuuji@51
|
517 flushleft
|
yuuji@51
|
518 \begin{flushleft} 内容 \end{flushleft}
|
yuuji@51
|
519 「内容」を左寄せする。各行を\\によって改行位置を指定するとその位置で改行
|
yuuji@51
|
520 するが、指定しないと適当な行長のところで改行してくれる。
|
yuuji@51
|
521 → \raggedleft
|
yuuji@51
|
522
|
yuuji@51
|
523 centering
|
yuuji@51
|
524 \centering
|
yuuji@51
|
525 段落をセンタリングして組版する。
|
yuuji@51
|
526 たとえば table環境、figura環境の先頭で宣言すると環境の終りまでをセンタリ
|
yuuji@51
|
527 ングして組む。
|
yuuji@51
|
528
|
yuuji@51
|
529 raggedright
|
yuuji@51
|
530 \raggedright
|
yuuji@51
|
531 段落を右寄せして組版する。
|
yuuji@51
|
532
|
yuuji@51
|
533 raggedleft
|
yuuji@51
|
534 \raggedleft
|
yuuji@51
|
535 段落を左寄せして組版する。
|
yuuji@51
|
536
|
yuuji@51
|
537 raggedbottom
|
yuuji@51
|
538 \raggedbottom
|
yuuji@51
|
539 組版する時に各ページの高さに多少のずれがあっても許容する。
|
yuuji@51
|
540 プリアンブルで指定する。
|
yuuji@51
|
541 →\flushbottom
|
yuuji@51
|
542
|
yuuji@51
|
543 flushbottom
|
yuuji@51
|
544 \flushbottom
|
yuuji@51
|
545 組版する時に各ページの高さを正確にそろえる。
|
yuuji@51
|
546 プリアンブルで指定する。
|
yuuji@51
|
547 →\raggedbottom
|
yuuji@51
|
548
|
yuuji@51
|
549 sloppy
|
yuuji@51
|
550 \sloppy
|
yuuji@51
|
551 \sloppy を指定すると、各行を必ず右マージンで折り返す代わりに、
|
yuuji@51
|
552 単語間の空白を大目に見る。
|
yuuji@51
|
553 →\fussy
|
yuuji@51
|
554
|
yuuji@51
|
555 fussy
|
yuuji@51
|
556 \fussy
|
yuuji@51
|
557 通常の組版規則に戻る。
|
yuuji@51
|
558 →\sloppy
|
yuuji@51
|
559
|
yuuji@51
|
560 sloppypar
|
yuuji@51
|
561 \begin{sloppypar} 段落 \end{sloppypar}
|
yuuji@51
|
562 段落を \sloppy で組む。
|
yuuji@51
|
563 →\sloppy
|
yuuji@51
|
564
|
yuuji@51
|
565 verbatim
|
yuuji@51
|
566 \begin{verbatim} ... \end{verbatim}
|
yuuji@51
|
567 The verbatim environment uses the fixed-width \tt font, turns blanks into
|
yuuji@51
|
568 spaces, starts a new line for each carrige return (or sequence of
|
yuuji@51
|
569 consecutive carriage returns), and interprets EVERY character literally.
|
yuuji@51
|
570 I.e., all special characters \, {, $, etc. are \catcode'd to 'other'.
|
yuuji@51
|
571
|
yuuji@51
|
572 verbatim*
|
yuuji@51
|
573 \begin{verbatim*} ... \end{verbatim*}
|
yuuji@51
|
574 <refer verbatim>
|
yuuji@51
|
575
|
yuuji@51
|
576 The verbatim* environment is the same, except that spaces
|
yuuji@51
|
577 print as the TeXbook's space character instead of as blank spaces.
|
yuuji@51
|
578
|
yuuji@51
|
579 list
|
yuuji@51
|
580 \begin{list}{デフォルトラベル}{整形パラメータ} ... \end{list}
|
yuuji@51
|
581 リスト環境に入る。リスト環境では \item で指定された各項目を一定の字下げ
|
yuuji@51
|
582 で列挙する。第1引数には \item のオプション引数のラベルが省略された時のデ
|
yuuji@51
|
583 フォルトラベルを指定し、第2引数には各itemを置く時に処理されるパラメータ
|
yuuji@51
|
584 を指定する。
|
yuuji@51
|
585 例:
|
yuuji@51
|
586 \begin{list}%
|
yuuji@51
|
587 {$\diamond$}
|
yuuji@51
|
588 {\addtolength{\leftmargin}{4em}}
|
yuuji@51
|
589 \item 第1引数には\verb|\item| にオプション引数をつけなかった時にふる、
|
yuuji@51
|
590 デフォルトのラベルを与える。
|
yuuji@51
|
591 \item 第2引数には各itemを置く時に処理されるパラメータを与える。
|
yuuji@51
|
592 \item[*] のようにオプション引数をつけるとそれがラベルとなる。
|
yuuji@51
|
593 \end{list}
|
yuuji@51
|
594
|
yuuji@51
|
595 list環境の体裁を制御する変数には以下のものがある(括弧内は既定値)。
|
yuuji@51
|
596 水平方向:
|
yuuji@51
|
597 <refer list環境の体裁を制御する変数>
|
yuuji@51
|
598
|
yuuji@51
|
599 list環境の体裁を制御する変数
|
yuuji@51
|
600 \labelwidth itemのラベルの幅
|
yuuji@51
|
601 \labelsep ラベルの右端と最初のアイテムのテキストとの間隔
|
yuuji@51
|
602 \leftmargin list環境内での左マージン
|
yuuji@51
|
603 \rightmargin 同右マージン (0pt)
|
yuuji@51
|
604 \itemindent itemの直前に加えられるインデント幅 (0pt)
|
yuuji@51
|
605 \linewidth 一行の幅
|
yuuji@51
|
606 \listparindent 各パラグラフの先頭のインデント(ただし\itemの付いている先
|
yuuji@51
|
607 頭のパラグラフを除く)(0pt)
|
yuuji@51
|
608
|
yuuji@51
|
609 垂直方向:
|
yuuji@51
|
610 \topsep list環境に入る前のパラグラフと最初のitemとの間隔
|
yuuji@51
|
611 \partopsep list環境で新しいパラグラフをはじめる時に\topsepに加えら
|
yuuji@51
|
612 れる付加的な間隔
|
yuuji@51
|
613 \itemsep 連続するitemどうしの間隔
|
yuuji@51
|
614 \parsep 一つのitem内でのパラグラフどうしの間隔
|
yuuji@51
|
615
|
yuuji@51
|
616
|
yuuji@51
|
617 itemize
|
yuuji@51
|
618 \begin{itemize} \item アイテム1 ... \item アイテムn \end{itemize}
|
yuuji@51
|
619 項目を列挙するための環境。
|
yuuji@51
|
620 最大4つまでネストできる。
|
yuuji@51
|
621 各レベルのitemの頭につく記号は、\labelitemi, \labelitemii,
|
yuuji@51
|
622 \labelitemiii, \labelitemiv で制御される。
|
yuuji@51
|
623
|
yuuji@51
|
624 itemize環境の体裁を制御する変数には以下のものがある。
|
yuuji@51
|
625 <refer list環境の体裁を制御する変数>
|
yuuji@51
|
626
|
yuuji@51
|
627
|
yuuji@51
|
628 enumerate
|
yuuji@51
|
629 \begin{enumerate} \item アイテム1 ... \item アイテムn \end{enumerate}
|
yuuji@51
|
630 項目を番号つきで列挙するための環境。
|
yuuji@51
|
631 最大4つまでネストできる。
|
yuuji@51
|
632 各レベルのitemの頭につく番号は、enumi, enumii, enumiii, enumiv
|
yuuji@51
|
633 が保持していて、各itemのラベルは、\labelenumi, ..., \labelenumiv
|
yuuji@51
|
634 で生成される。また、\p@enumN\theenumN は \ref値を設定する。
|
yuuji@51
|
635 (Nはレベルの深さ。\ref値については\refの説明を参照せよ)
|
yuuji@51
|
636 たとえば
|
yuuji@51
|
637 \def\theenumii{\alph{enumii}}
|
yuuji@51
|
638 \def\p@enumii{\theenumi\theenumii}
|
yuuji@51
|
639 \def\labelenumii{(\theenumii)}
|
yuuji@51
|
640 とすると \ref値が 3a などのように設定される。
|
yuuji@51
|
641
|
yuuji@51
|
642 enumerate環境の体裁を制御する変数には以下のものがある。
|
yuuji@51
|
643 <refer list環境の体裁を制御する変数>
|
yuuji@51
|
644
|
yuuji@51
|
645 item
|
yuuji@51
|
646 \item \item[LABEL]
|
yuuji@51
|
647 itemize, enumerate, description 環境などで項目を開始する。
|
yuuji@51
|
648 [LABEL]を指定するとラベルとしてLABELを出力する。
|
yuuji@51
|
649
|
yuuji@51
|
650 description
|
yuuji@51
|
651 \begin{description} \item[見出し単語] 説明 ... \end{description}
|
yuuji@51
|
652 [見出し単語]を見出しとする
|
yuuji@51
|
653
|
yuuji@51
|
654 subitem
|
yuuji@51
|
655 \subitem 項目
|
yuuji@51
|
656 サブアイテムを定義。
|
yuuji@51
|
657
|
yuuji@51
|
658 subsubitem
|
yuuji@51
|
659 \subsubitem 項目
|
yuuji@51
|
660 サブサブアイテムを定義。
|
yuuji@51
|
661
|
yuuji@51
|
662 makebox
|
yuuji@51
|
663 \makebox[WID][POS]{オブジェクト} \makebox(X,Y)[POS]{オブジェクト}
|
yuuji@51
|
664 第1の書式では、オブジェクトをWIDで指定した幅として、\hbox 内の
|
yuuji@51
|
665 POSで指定した場所に配置する。POSにlを指定すると左寄せ、rを指定すると右寄せ、
|
yuuji@51
|
666 何も指定しないとセンタリングされる。
|
yuuji@51
|
667 第2の書式では、picuture環境で大きさ(X,Y)の(\unitlengthを基準とする)
|
yuuji@51
|
668 \hbox にオブジェクトを配置する。配置位置POSは第1の書式と同様。
|
yuuji@51
|
669
|
yuuji@51
|
670 mbox
|
yuuji@51
|
671 \mbox{オブジェクト}
|
yuuji@51
|
672 \makebox{オブジェクト}と同じ。
|
yuuji@51
|
673
|
yuuji@51
|
674 newsavebox
|
yuuji@51
|
675 \newsavebox{\CMD}
|
yuuji@51
|
676 新規のボックス保存用コマンドを定義する。\CMDは \savebox コマンドで
|
yuuji@51
|
677 ボックスを保存するために使う。\newsaveboxで宣言したコマンド名は
|
yuuji@51
|
678 常にグローバルとなる。
|
yuuji@51
|
679
|
yuuji@51
|
680 savebox
|
yuuji@51
|
681 \savebox{\CMD}{テキスト}
|
yuuji@51
|
682 ボックスを組む内容である「テキスト」の結果を\CMDに保存する。
|
yuuji@51
|
683 「テキスト」は \makebox への引数と全く同じであるが、「テキスト」を
|
yuuji@51
|
684 処理した結果はその場に表示はしない。\usebox{\CMD}により処理したボックス
|
yuuji@51
|
685 が置かれる。
|
yuuji@51
|
686
|
yuuji@51
|
687 sbox
|
yuuji@51
|
688 \sbox{\CMD}{テキスト}
|
yuuji@51
|
689 \saveboxと同じ。sboxはrobust, saveboxはfragile
|
yuuji@51
|
690
|
yuuji@51
|
691 framebox
|
yuuji@51
|
692 \framebox{オブジェクト}
|
yuuji@51
|
693 「オブジェクト」に枠をつけて\makeboxと同様の処理をする。
|
yuuji@51
|
694 枠の線の太さは \framerule、オブジェクトとの間隔は \framesep で決まる。た
|
yuuji@51
|
695 だしpicture環境で \framebox(X,Y){オブジェクト}とした場合は、picture環境
|
yuuji@51
|
696 用の線の太さに従い、外枠とオブジェクトとの間隔は空けられない。
|
yuuji@51
|
697
|
yuuji@51
|
698 fbox
|
yuuji@51
|
699 \fbox{オブジェクト}
|
yuuji@51
|
700 \framebox{オブジェクト}と同じ。
|
yuuji@51
|
701 \fboxはrobust, \frameboxはfragile
|
yuuji@51
|
702
|
yuuji@51
|
703 parbox
|
yuuji@51
|
704 \parbox[POS]{WIDTH}{TEXT}
|
yuuji@51
|
705 TEXTをWIDThの幅で組んでボックスを作成する。ボックスの位置はPOSによって
|
yuuji@51
|
706 c : センタリング(デフォルト)
|
yuuji@51
|
707 b : ボックスの一番下の線が現テキストのラインに合う
|
yuuji@51
|
708 t : ボックスの一番上の線が現テキストのラインに合う
|
yuuji@51
|
709 のように決められる。\parboxではパラメータが以下のようにリセットされる。
|
yuuji@51
|
710
|
yuuji@51
|
711 \parskip = 0pt
|
yuuji@51
|
712 \linewidth = \hsize
|
yuuji@51
|
713 \@totalleftmargin = 0pt
|
yuuji@51
|
714 \leftskip = 0pt
|
yuuji@51
|
715 \rightskip = 0pt
|
yuuji@51
|
716 \@rightskip = 0pt
|
yuuji@51
|
717 \parfillskip = 0pt plus 1fil
|
yuuji@51
|
718 \lineskip = \normallineskip
|
yuuji@51
|
719 \baselineskip = \normalbaselineskip
|
yuuji@51
|
720
|
yuuji@51
|
721 minipage
|
yuuji@51
|
722 \begin{minipage}[pos]{WIDTH} TEXT \end{minipage}
|
yuuji@51
|
723 \parbox とほぼ同様WIDTHの幅のTEXTをボックスとして組む。ボックスの位置は
|
yuuji@51
|
724 POSによって
|
yuuji@51
|
725 c : センタリング(デフォルト)
|
yuuji@51
|
726 b : ボックスの一番下の線が現テキストのラインに合う
|
yuuji@51
|
727 t : ボックスの一番上の線が現テキストのラインに合う
|
yuuji@51
|
728 のように決められる。
|
yuuji@51
|
729 parboxと違い、TEXTは通常のパラグラフとして組まれる。
|
yuuji@51
|
730
|
yuuji@51
|
731 rule
|
yuuji@51
|
732 \rule[RAISED]{WIDTH}{HEIGHT}
|
yuuji@51
|
733 幅 WIDTH x 高さ HEIGHT の罫線を作る。RAISEDが指定された場合、その分だけ
|
yuuji@51
|
734 上に上げられる。
|
yuuji@51
|
735
|
yuuji@51
|
736 underline
|
yuuji@51
|
737 \underline{TEXT}
|
yuuji@51
|
738 TEXTに下線をつけて表示。
|
yuuji@51
|
739
|
yuuji@51
|
740 raisebox
|
yuuji@51
|
741 \raisebox{DISTANCE}[HEIGHT][DEPTH]{BOX}
|
yuuji@51
|
742 BOXをDISTANCEだけ上げて組む。
|
yuuji@51
|
743 HEIGHT, DEPTH を指定すると、TeXから見たBOXの「高さ」と「深さ」
|
yuuji@51
|
744 (註:これらの用語についてはTeXBookなどを参照のこと)
|
yuuji@51
|
745 を HEIGHT, DEPTH に指定する。
|
yuuji@51
|
746
|
yuuji@51
|
747 tabbing
|
yuuji@51
|
748 \begin{tabbing} \= text1.1 \= text1.2 \\ \> text2.1 \> text2.2 \end{tabbing}
|
yuuji@51
|
749 桁揃えを行う環境を作る(入れ子不可)。例えば、
|
yuuji@51
|
750 \begin{tabbing}
|
yuuji@51
|
751 \= 項目1 \hspace*{2em} \= 項目2 \hspace*{3em} \= 項目3 \\
|
yuuji@51
|
752 \> いろは \> にほへ \> とちり \+ \\
|
yuuji@51
|
753 \> ぬるを \> わかよ \\
|
yuuji@51
|
754 \> たれそ \- \\
|
yuuji@51
|
755 \> つねな \> らむう \> ゐのお
|
yuuji@51
|
756 \end{tabbing}
|
yuuji@51
|
757 上のtabbing環境は以下のように3つのタブ位置で組まれる。
|
yuuji@51
|
758 (1番目) (2番目) (3番目)
|
yuuji@51
|
759 いろは にほへ とちり
|
yuuji@51
|
760 ぬるを をかよ
|
yuuji@51
|
761 たれそ
|
yuuji@51
|
762 つねな らむう ゐのお
|
yuuji@51
|
763 \2em/ \3em/
|
yuuji@51
|
764 tabbing環境におけるタブ位置操作コマンドは以下の通り(nは1から):
|
yuuji@51
|
765 \= n番目のタブ位置を現在位置に設定しタブカウンタ(n)を1進める
|
yuuji@51
|
766 \\ 改行してタブカウンタをリセットする(n=1)
|
yuuji@51
|
767 \> 位置をn番目のタブ位置に設定し、カウンタを1進める
|
yuuji@51
|
768 \+ 次の行のタブカウンタの初期値に1加える \+ \\ とすると次の行の最初
|
yuuji@51
|
769 の \> は2番目のタブ位置を示す. \+ を複数書くとその数だけタブカウ
|
yuuji@51
|
770 ンタの初期値が増える
|
yuuji@51
|
771 \- \+とは逆に、次の行のタブカウンタの初期値から1引く
|
yuuji@51
|
772 \< 一つ前のタブカウンタに戻ってそのタブ位置をセット. 行頭のみ
|
yuuji@51
|
773 \' \'以降を通常のタブ位置より \tabbingsep 分だけ右寄せして出力
|
yuuji@51
|
774 \` \`以降のテキストをすべて右寄せして出力
|
yuuji@51
|
775 \pushtabs それまで用いていたタブストップ位置を全てpush
|
yuuji@51
|
776 \poptabs それまで用いていたタブストップ位置を全てpop. \pushtabs と
|
yuuji@51
|
777 \poptabs は必ず対になっていなければならない. 入れ子可
|
yuuji@51
|
778 \aX Xは = か ' か ` tabbing環境でない通常のアクセントは
|
yuuji@51
|
779 \a= \a' \a` で表わす
|
yuuji@51
|
780 \kill 現在行のテキストは出力せずタブ設定だけ解釈する
|
yuuji@51
|
781
|
yuuji@51
|
782 array
|
yuuji@51
|
783 \begin{array}{PREAMBLE} C1 & C2 & .. & Cn \\ D1 ... \end{array}
|
yuuji@51
|
784 Make a mathematical array. Useful to make matrix.
|
yuuji@51
|
785 See the help of `tabular' for detailed description.
|
yuuji@51
|
786
|
yuuji@51
|
787 tabular
|
yuuji@51
|
788 \begin{tabular}[OPT]{PREAMBLE} C1 & C2 & .. & Cn \\ D1 ... \end{tabular}
|
yuuji@51
|
789 Make tabular.
|
yuuji@51
|
790 [[OPT]]
|
yuuji@51
|
791 [t] Align the top of tabular to the line.
|
yuuji@51
|
792 [b] Align the bottom of tabular to the line.
|
yuuji@51
|
793 [[PREAMBLE]]
|
yuuji@51
|
794 l,r,c : indicate where entry is to be placed.
|
yuuji@51
|
795 | : for vertical rule
|
yuuji@51
|
796 @{EXP} : inserts the text EXP in every column. \arraycolsep or \tabcolsep
|
yuuji@51
|
797 spacing is suppressed.
|
yuuji@51
|
798 *{N}{PRE} : equivalent to writing N copies of PRE in the preamble. PRE
|
yuuji@51
|
799 may contain *{N'}{EXP'} expressions.
|
yuuji@51
|
800 p{LEN} : makes entry in parbox of width LEN.
|
yuuji@51
|
801
|
yuuji@51
|
802 [[Usable commands in array, tabular environment]]
|
yuuji@51
|
803 \multicolumn
|
yuuji@51
|
804 <refer multicolumn>
|
yuuji@51
|
805 \vline
|
yuuji@51
|
806 <refer vline>
|
yuuji@51
|
807 \hline
|
yuuji@51
|
808 <refer hline>
|
yuuji@51
|
809 \cline{i-j}
|
yuuji@51
|
810 <refer cline>
|
yuuji@51
|
811 \extracolsep{W}
|
yuuji@51
|
812 <refer extracolsep>
|
yuuji@51
|
813
|
yuuji@51
|
814
|
yuuji@51
|
815 See below as sample.
|
yuuji@51
|
816
|
yuuji@51
|
817 \LaTeX Expression Printed image
|
yuuji@51
|
818 \begin{array}{ccr}
|
yuuji@51
|
819 x+y+z & a_1 & 1 \\ x+y+z a1 1
|
yuuji@51
|
820 x+z & a_2 & 21 \\ x+z a2 21
|
yuuji@51
|
821 y & a_3 & 321 y a3 321
|
yuuji@51
|
822 \end{array}
|
yuuji@51
|
823
|
yuuji@51
|
824 \[ \left(
|
yuuji@51
|
825 \begin{array}{cccc}
|
yuuji@51
|
826 a_{11} & a_{12} & \dots & a_{1n} \\ / a11 a12 ... a1n \
|
yuuji@51
|
827 a_{21} & a_{22} & \dots & a_{2n} \\ | a21 a22 ... a2n |
|
yuuji@51
|
828 \vdots & \vdots & \ddots& \vdots \\ | : : \. : |
|
yuuji@51
|
829 a_{n1} & a_{n2} & \dots & a_{nn} \ an1 an2 ..: ann /
|
yuuji@51
|
830 \end{array}
|
yuuji@51
|
831 \right)\]
|
yuuji@51
|
832
|
yuuji@51
|
833 \right(, \left) or \right{, left} or \right[, \left] or \right|, \left|
|
yuuji@51
|
834 can enclose whole of array environment by parentheses, braces, brackets,
|
yuuji@51
|
835 norm respectively. The number of `\right's and `\left's should be the
|
yuuji@51
|
836 same, but the type of parentheses don't have to match like
|
yuuji@51
|
837 \right( \left]. `\right.' produces the invisible parenthesis.
|
yuuji@51
|
838
|
yuuji@51
|
839 \[ Ans. \cdots \left\{ /
|
yuuji@51
|
840 \begin{array}{ccc} | x = 5
|
yuuji@51
|
841 x & = & 5 \\ Ans. ...<
|
yuuji@51
|
842 y & = & 3 | y = 3
|
yuuji@51
|
843 \end{array} \right. \] \
|
yuuji@51
|
844
|
yuuji@51
|
845 Here are the style parameters for the tabular environment.
|
yuuji@51
|
846 \arraycolsep : half the width separating columns in an array environment
|
yuuji@51
|
847 \tabcolsep : half the width separating columns in a tabular environment
|
yuuji@51
|
848 \arrayrulewidth : width of rules
|
yuuji@51
|
849 \doublerulesep : space between adjacent rules in array or tabular
|
yuuji@51
|
850 \arraystretch : line spacing in array and tabular environments is done by
|
yuuji@51
|
851 placing a strut in every row of height and depth
|
yuuji@51
|
852 \arraystretch times the height and depth of the strut
|
yuuji@51
|
853 produced by an ordinary \strut commmand.
|
yuuji@51
|
854
|
yuuji@51
|
855 Tabular environment cannot spread across pages. `supertabular.sty'
|
yuuji@51
|
856 allow this.
|
yuuji@51
|
857
|
yuuji@51
|
858 tabular*
|
yuuji@51
|
859 \begin{tabular*}{幅}{プリアンブル} ... \end{tabular*}
|
yuuji@51
|
860 Make tabular environment with specifying its width.
|
yuuji@51
|
861 To fill this width, use \extracolsep{} of preamble as below:
|
yuuji@51
|
862 \begin{tabular*}{10em}[b]{|c@{\extracolsep{\fill}}|c|c|}
|
yuuji@51
|
863 \hline
|
yuuji@51
|
864 a & b & c \\ \hline
|
yuuji@51
|
865 1 & 2 & 3
|
yuuji@51
|
866 \end{tabular*}
|
yuuji@51
|
867 See also tabular.
|
yuuji@51
|
868
|
yuuji@51
|
869 multicolumn
|
yuuji@51
|
870 \multicolumn{N}{FORMAT}{ITEM}
|
yuuji@51
|
871 In tabular environment,
|
yuuji@51
|
872 replaces the next N column items by
|
yuuji@51
|
873 ITEM, formatted according to FORMAT. FORMAT should contain at most
|
yuuji@51
|
874 one l,r or c. If it contains none, then ITEM is ignored.
|
yuuji@51
|
875
|
yuuji@51
|
876 vline
|
yuuji@51
|
877 \vline
|
yuuji@51
|
878 In tabular environment,
|
yuuji@51
|
879 draws a vertical line the height of the current row. May
|
yuuji@51
|
880 appear in an array element entry.
|
yuuji@51
|
881
|
yuuji@51
|
882
|
yuuji@51
|
883 hline
|
yuuji@51
|
884 \hline
|
yuuji@51
|
885 In tabular environment draws a horizontal line between rows. Must
|
yuuji@51
|
886 appear either before the first entry (to appear above the first row) or
|
yuuji@51
|
887 right after a \\ command. If followed by another \hline, then adds a
|
yuuji@51
|
888 \vskip of \doublerulesep.
|
yuuji@51
|
889
|
yuuji@51
|
890 cline
|
yuuji@51
|
891 \cline{i-j}
|
yuuji@51
|
892 In tabular environment,
|
yuuji@51
|
893 draws horizontal lines between rows covering columns
|
yuuji@51
|
894 i through j, inclusive. Multiple commands may follow
|
yuuji@51
|
895 one another to provide lines covering several disjoint
|
yuuji@51
|
896 columns
|
yuuji@51
|
897
|
yuuji@51
|
898 extracolsep
|
yuuji@51
|
899 \extracolsep{W}
|
yuuji@51
|
900 for use inside an @ in the preamble. Causes a WIDTH
|
yuuji@51
|
901 space to be added between columns for the rest of the
|
yuuji@51
|
902 columns. This is in addition to the ordinary intercolumn
|
yuuji@51
|
903 space.
|
yuuji@51
|
904
|
yuuji@51
|
905 picture
|
yuuji@51
|
906 \begin{picture}(WIDTH,HEIGHT)(X,Y) ..contents.. \end{picture}
|
yuuji@51
|
907 The picture environment allows you to create just about any kind of
|
yuuji@51
|
908 picture you want containing text, lines, arrows and circles. You tell
|
yuuji@51
|
909 LaTeX where to put things in the picture by specifying their
|
yuuji@51
|
910 coordinates. A coordinate is a number that may have a decimal point
|
yuuji@51
|
911 and a minus sign - a number like 5, 2.3 or -3.1416. A coordinate
|
yuuji@51
|
912 specifies a length in multiples of the unit length \unitlength, so if
|
yuuji@51
|
913 \unitlength has been set to 1cm, then the coordinate 2.54 specifies a
|
yuuji@51
|
914 length of 2.54 centimeters. You can change the value of \unitlength
|
yuuji@51
|
915 anywhere you want, using the \setlength command, but strange things
|
yuuji@51
|
916 will happen if you try changing it inside the picture environment.
|
yuuji@51
|
917
|
yuuji@51
|
918 A position is a pair of coordinates, such as (2.4,-5), specifying the
|
yuuji@51
|
919 point with x-coordinate 2.4 and y-coordinate -5. Coordinates are
|
yuuji@51
|
920 specified in the usual way with respect to an origin, which is
|
yuuji@51
|
921 normally at the lower-left corner of the picture. Note that when a
|
yuuji@51
|
922 position appears as an argument, it is not enclosed in braces; the
|
yuuji@51
|
923 parentheses serve to delimit the argument.
|
yuuji@51
|
924
|
yuuji@51
|
925 The picture environment has one mandatory argument, which is a
|
yuuji@51
|
926 position. It specifies the size of the picture. The environment
|
yuuji@51
|
927 produces a rectangular box with width and height determined by this
|
yuuji@51
|
928 argument's x- and y-coordinates.
|
yuuji@51
|
929
|
yuuji@51
|
930 The picture environment also has an optional position argument,
|
yuuji@51
|
931 following the size argument, that can change the origin. (Unlike
|
yuuji@51
|
932 ordinary optional arguments, this argument is not contained in square
|
yuuji@51
|
933 brackets.) The optional argument gives the coordinates of the point at
|
yuuji@51
|
934 the lower-left corner of the picture (thereby determining the origin).
|
yuuji@51
|
935 For example, if \unitlength has been set to 1mm, the command
|
yuuji@51
|
936
|
yuuji@51
|
937 \begin{picture}(100,200)(10,20)
|
yuuji@51
|
938
|
yuuji@51
|
939 produces a picture of width 100 millimeters and height 200
|
yuuji@51
|
940 millimeters, whose lower-left corner is the point (10,20) and whose
|
yuuji@51
|
941 upper-right corner is therefore the point (110,220). When you first
|
yuuji@51
|
942 draw a picture, you will omit the optional argument, leaving the
|
yuuji@51
|
943 origin at the lower-left corner. If you then want to modify your
|
yuuji@51
|
944 picture by shifting everything, you just add the appropriate optional
|
yuuji@51
|
945 argument.
|
yuuji@51
|
946
|
yuuji@51
|
947 The environment's mandatory argument determines the nominal size of
|
yuuji@51
|
948 the picture. This need bear no relation to how large the picture
|
yuuji@51
|
949 really is; LaTeX will happily allow you to put things outside the
|
yuuji@51
|
950 picture, or even off the page. The picture's nominal size is used by
|
yuuji@51
|
951 TeX in determining how much room to leave for it.
|
yuuji@51
|
952
|
yuuji@51
|
953 Everything that appears in a picture is drawn by the \put command. The
|
yuuji@51
|
954 command
|
yuuji@51
|
955
|
yuuji@51
|
956 \put (11.3,-.3){...}
|
yuuji@51
|
957
|
yuuji@51
|
958 puts the object specified by "..." in the picture, with its reference
|
yuuji@51
|
959 point at coordinates (11.3,-.3). The reference points for various
|
yuuji@51
|
960 objects will be described below.
|
yuuji@51
|
961
|
yuuji@51
|
962 The \put command creates an LR box. You can put anything in the text
|
yuuji@51
|
963 argument of the \put command that you'd put into the argument of an
|
yuuji@51
|
964 \mbox and related commands. When you do this, the reference point
|
yuuji@51
|
965 will be the lower left corner of the box.
|
yuuji@51
|
966
|
yuuji@51
|
967 Picture environment is obsolete I thinks, so show only commands.
|
yuuji@51
|
968
|
yuuji@51
|
969 [[COMMANDS]]
|
yuuji@51
|
970 \put(X,Y){OBJECT}
|
yuuji@51
|
971 \multiput(X,Y)(dX,dY){REPEAT}{OBJECT}
|
yuuji@51
|
972 [[OBJECTS]]
|
yuuji@51
|
973 \makebox(X,Y)[POS]{TEXT}
|
yuuji@51
|
974 \framebox(X,Y)[POS]{TEXT}
|
yuuji@51
|
975 \dashbox(X,Y)[POS]{TEXT}
|
yuuji@51
|
976 (POS = l, r, b, t)
|
yuuji@51
|
977 \line(dX,dY){HorizontalLength}
|
yuuji@51
|
978 \vector(dX,dY){HorizontalLength} (arrow)
|
yuuji@51
|
979 (dX,dY = +-1, +-2, ..., +-6)
|
yuuji@51
|
980 \shortstack[POS]{FIRST\\SECOND\\THIRD...}
|
yuuji@51
|
981 \circle{DIAMETER}
|
yuuji@51
|
982 \circle*{DIAMETER} (Filled circle)
|
yuuji@51
|
983 (Maximum diameters are 40pt, 15pt)
|
yuuji@51
|
984 \oval(Dia-X,DiaY)[POS] (Oval POS = l, r, t, b)
|
yuuji@51
|
985 \frame{OBJECT}
|
yuuji@51
|
986 \thinlines, \thicklines (choose line thickness)
|
yuuji@51
|
987 \linethickness{THICKNESS}
|
yuuji@51
|
988
|
yuuji@51
|
989 newtheorem
|
yuuji@51
|
990 \newtheorem{NAME}{TEXT}[COUNTER] \newtheorem{NAME}[OLDNAME]{TEXT}
|
yuuji@51
|
991 This defines the environment NAME to be just as one would expect a
|
yuuji@51
|
992 theorem environment to be, except that it prints ``TEXT'' instead of
|
yuuji@51
|
993 ``Theorem''.
|
yuuji@51
|
994
|
yuuji@51
|
995 If OLDNAME is given, then environments NAME and OLDNAME use the same
|
yuuji@51
|
996 counter, so using a NAME environment advances the number of the next
|
yuuji@51
|
997 NAME environment, and vice-versa.
|
yuuji@51
|
998
|
yuuji@51
|
999 If COUNTER is given, then environment NAME is numbered within COUNTER.
|
yuuji@51
|
1000 E.g., if COUNTER = subsection, then the first NAME in subsection 7.2
|
yuuji@51
|
1001 is numbered TEXT 7.2.1.
|
yuuji@51
|
1002
|
yuuji@51
|
1003 The way NAME environments are numbered can be changed by redefining
|
yuuji@51
|
1004 \theNAME.
|
yuuji@51
|
1005
|
yuuji@51
|
1006 title
|
yuuji@51
|
1007 \title{TITLE}
|
yuuji@51
|
1008 Define the title of the document.
|
yuuji@51
|
1009
|
yuuji@51
|
1010 author
|
yuuji@51
|
1011 \author{AUTHOR}
|
yuuji@51
|
1012 Declare the author of the document.
|
yuuji@51
|
1013
|
yuuji@51
|
1014 date
|
yuuji@51
|
1015 \date{DATE}
|
yuuji@51
|
1016 Define the date of document which is used by \maketitle.
|
yuuji@51
|
1017 Omitting DATE produces current date.
|
yuuji@51
|
1018
|
yuuji@51
|
1019 thanks
|
yuuji@51
|
1020 \thanks{FOOTNOTE}
|
yuuji@51
|
1021 Output a footnote in title page.
|
yuuji@51
|
1022
|
yuuji@51
|
1023 maketitle
|
yuuji@51
|
1024 \maketitle
|
yuuji@51
|
1025 Output a title. Should be written in document environment.
|
yuuji@51
|
1026 Here are the constituents of title page.
|
yuuji@51
|
1027 \title{TITLE}
|
yuuji@51
|
1028 \author{AUTHOR}
|
yuuji@51
|
1029 \date{DATE} (If DATE omitted, output the date of typesetting)
|
yuuji@51
|
1030 \thanks{NOTE} (Output a thanks message or the post of the author)
|
yuuji@51
|
1031
|
yuuji@51
|
1032 part
|
yuuji@51
|
1033 \part{TITLE}
|
yuuji@51
|
1034 Start a new part whose title is TITLE.
|
yuuji@51
|
1035 <refer chapter>
|
yuuji@51
|
1036
|
yuuji@51
|
1037 chapter
|
yuuji@51
|
1038 \chapter{TITLE}
|
yuuji@51
|
1039 Start a chapter whose title is TITLE.
|
yuuji@51
|
1040 Sectioning commands:
|
yuuji@51
|
1041 \part Part ?
|
yuuji@51
|
1042 \chapter Chapter ? (not available in `article.sty')
|
yuuji@51
|
1043 \section ?
|
yuuji@51
|
1044 \subsection ?.?
|
yuuji@51
|
1045 \subsubsection ?.?.?
|
yuuji@51
|
1046 \paragraph ***
|
yuuji@51
|
1047 \subparagraph ===
|
yuuji@51
|
1048
|
yuuji@51
|
1049 section
|
yuuji@51
|
1050 \section{TITLE}
|
yuuji@51
|
1051 Start a section whose title is TITLE.
|
yuuji@51
|
1052 <refer chapter>
|
yuuji@51
|
1053
|
yuuji@51
|
1054 subsection
|
yuuji@51
|
1055 \subsection{TITLE}
|
yuuji@51
|
1056 Start a subsection whose title is TITLE.
|
yuuji@51
|
1057 <refer chapter>
|
yuuji@51
|
1058
|
yuuji@51
|
1059 subsubsection
|
yuuji@51
|
1060 \subsubsection{TITLE}
|
yuuji@51
|
1061 Start a paragraph whose title is TITLE.
|
yuuji@51
|
1062 <refer chapter>
|
yuuji@51
|
1063
|
yuuji@51
|
1064 paragraph
|
yuuji@51
|
1065 \paragraph{TITLE}
|
yuuji@51
|
1066 Start a paragraph whose title is TITLE.
|
yuuji@51
|
1067 <refer chapter
|
yuuji@51
|
1068
|
yuuji@51
|
1069 subparagraph
|
yuuji@51
|
1070 \subparagraph{TITLE}
|
yuuji@51
|
1071 Start a subparagraph whose title is TITLE.
|
yuuji@51
|
1072 <refer chapter>
|
yuuji@51
|
1073
|
yuuji@51
|
1074 appendix
|
yuuji@51
|
1075 \appendix
|
yuuji@51
|
1076 Declare the beginning of appendix.
|
yuuji@51
|
1077 Change the numbering fashion to appendix oriented.
|
yuuji@51
|
1078
|
yuuji@51
|
1079 contentsline
|
yuuji@51
|
1080 \contentsline{TYPE}{ENTRY}{PAGE}
|
yuuji@51
|
1081 \contentsline{subsection}{\makebox{30pt}[r]{1.4.3} Gnats and Gnus}{22}
|
yuuji@51
|
1082 Macro to produce a TYPE entry in a table of contents, etc.
|
yuuji@51
|
1083 It will appear in the .TOC or other file. For example,
|
yuuji@51
|
1084 The entry for subsection 1.4.3 in the table of contents might
|
yuuji@51
|
1085 be produced by:
|
yuuji@51
|
1086 \contentsline{subsection}{\makebox{30pt}[r]{1.4.3} Gnats and Gnus}{22}
|
yuuji@51
|
1087 The \protect command causes command sequences to be written
|
yuuji@51
|
1088 without expanding them.
|
yuuji@51
|
1089
|
yuuji@51
|
1090 addcontentsline
|
yuuji@51
|
1091 \addcontentsline{TABLE}{TYPE}{ENTRY}
|
yuuji@51
|
1092 User command for adding his own entry to a table of contents, etc.
|
yuuji@51
|
1093 It adds the entry
|
yuuji@51
|
1094 \contentsline{TYPE}{ENTRY}{page}
|
yuuji@51
|
1095 to the .TABLE file.
|
yuuji@51
|
1096
|
yuuji@51
|
1097 addtocontents
|
yuuji@51
|
1098 \addtocontents{TABLE}{TEXT}
|
yuuji@51
|
1099 Adds TEXT to the .TABLE file, with no page number.
|
yuuji@51
|
1100
|
yuuji@51
|
1101 index
|
yuuji@51
|
1102 \index{INDEX}
|
yuuji@51
|
1103 Create an entry of index.
|
yuuji@51
|
1104
|
yuuji@51
|
1105
|
yuuji@51
|
1106 glossary
|
yuuji@51
|
1107 \glossary{STRING}
|
yuuji@51
|
1108 Create an entry of glossary.
|
yuuji@51
|
1109
|
yuuji@51
|
1110 makeindex
|
yuuji@51
|
1111 \makeindex
|
yuuji@51
|
1112 Writes \indexentry to .idx file.
|
yuuji@51
|
1113 Should be in preamble.
|
yuuji@51
|
1114
|
yuuji@51
|
1115 makeglossary
|
yuuji@51
|
1116 \makeglossary
|
yuuji@51
|
1117 Writes \glossaryentry to .glo file.
|
yuuji@51
|
1118 Should be in preamble.
|
yuuji@51
|
1119
|
yuuji@51
|
1120 bibliography
|
yuuji@51
|
1121 \bibliography{FILE1,FILE2, ... ,FILEn}
|
yuuji@51
|
1122 Specifies the bibdata files.
|
yuuji@51
|
1123
|
yuuji@51
|
1124 bibliographystyle
|
yuuji@51
|
1125 \bibliographystyle{STYLE}
|
yuuji@51
|
1126 Style of numbering of bibliographies.
|
yuuji@51
|
1127 plain nomal
|
yuuji@51
|
1128 unsrt without sortingg
|
yuuji@51
|
1129 alpha gives tag like "Foo94"
|
yuuji@51
|
1130 abbrv omit the first name of author, publishing month, book title
|
yuuji@51
|
1131
|
yuuji@51
|
1132 thebibliography
|
yuuji@51
|
1133 \begin{thebibliography} \bibitem{ITEM},... \end{thebibliography}
|
yuuji@51
|
1134 The thebibliography environment is a list environment. To save the
|
yuuji@51
|
1135 use of an extra counter, it should use enumiv as the item counter.
|
yuuji@51
|
1136 Instead of using \item, items in the bibliography are produced by the
|
yuuji@51
|
1137 \bibitem command.
|
yuuji@51
|
1138 ---
|
yuuji@51
|
1139 <refer bibitem>
|
yuuji@51
|
1140
|
yuuji@51
|
1141 bibitem
|
yuuji@51
|
1142 \bibitem{NAME} \bibitem[LABEL]{NAME}
|
yuuji@51
|
1143 Produces a numbered (as [1], [2],...) entry cited as NAME.
|
yuuji@51
|
1144 Second form produces an entry labeled by LABEL and cited as NAME.
|
yuuji@51
|
1145
|
yuuji@51
|
1146 thefootnote
|
yuuji@51
|
1147 In usual LaTeX style, produces the footnote number.
|
yuuji@51
|
1148 If footnotes are to be numbered within pages, then the
|
yuuji@51
|
1149 document style file must include an \@addtoreset command
|
yuuji@51
|
1150 to cause the footnote counter to be reset when the page
|
yuuji@51
|
1151 counter is stepped. This is not a good idea, though,
|
yuuji@51
|
1152 because the counter will not always be reset in time
|
yuuji@51
|
1153 to ensure that the first footnote on a page is footnote
|
yuuji@51
|
1154 number one.
|
yuuji@51
|
1155
|
yuuji@51
|
1156 footnote
|
yuuji@51
|
1157 \footnote{NOTE} or \footnote[NUM]{NOTE}
|
yuuji@51
|
1158 User command to insert a footnote.
|
yuuji@51
|
1159 In second form, insert a footnote numbered
|
yuuji@51
|
1160 NUM, where NUM is a number -- 1, 2,
|
yuuji@51
|
1161 etc. For example, if footnotes are numbered
|
yuuji@51
|
1162 *, **, etc. within pages, then \footnote[2]{...}
|
yuuji@51
|
1163 produces footnote '**'. This command does not
|
yuuji@51
|
1164 step the footnote counter.
|
yuuji@51
|
1165 (fragile)
|
yuuji@51
|
1166
|
yuuji@51
|
1167 footnotemark
|
yuuji@51
|
1168 \footnotemark[NUM]
|
yuuji@51
|
1169 Command to produce just the footnote mark in
|
yuuji@51
|
1170 the text, but no footnote. With no argument,
|
yuuji@51
|
1171 it steps the footnote counter before generating
|
yuuji@51
|
1172 the mark.
|
yuuji@51
|
1173
|
yuuji@51
|
1174 footnotetext
|
yuuji@51
|
1175 \footnotetext[NUM]{TEXT}
|
yuuji@51
|
1176 Command to produce the footnote but no mark.
|
yuuji@51
|
1177 \footnote is equivalent to \footnotemark \footnotetext .
|
yuuji@51
|
1178
|
yuuji@51
|
1179 footnotesize
|
yuuji@51
|
1180 {\footnotesize ...}
|
yuuji@51
|
1181 Size-changing command for footnotes.
|
yuuji@51
|
1182
|
yuuji@51
|
1183 footnotesep
|
yuuji@51
|
1184 \footnotesep
|
yuuji@51
|
1185 The height of a strut placed at the beginning of every footnote.
|
yuuji@51
|
1186
|
yuuji@51
|
1187 footnoterule
|
yuuji@51
|
1188 \footnoterule
|
yuuji@51
|
1189 Macro to draw the rule separating footnotes from text.
|
yuuji@51
|
1190 It is executed right after a \vspace of \skip\footins.
|
yuuji@51
|
1191 It should take zero vertical space--i.e., it should to
|
yuuji@51
|
1192 a negative skip to compensate for any positive space
|
yuuji@51
|
1193 it occupies. (See PLAIN.TEX.)
|
yuuji@51
|
1194
|
yuuji@51
|
1195 documentstyle
|
yuuji@51
|
1196 \documentstyle[OPTION1,OPTION2, ... ,OPTIONn]{STYLE}
|
yuuji@51
|
1197 The user starts his file with the command as above
|
yuuji@51
|
1198 which saves the OPTION's and \input's the file STYLE.STY.
|
yuuji@51
|
1199
|
yuuji@51
|
1200 verb
|
yuuji@51
|
1201 \verb#CONTENTS#
|
yuuji@51
|
1202 The command \verb produces in-line verbatim text, where the argument
|
yuuji@51
|
1203 is delimited by any pair of characters. E.g., \verb #...# takes
|
yuuji@51
|
1204 '...' as its argument, and sets it verbatim in \tt font.
|
yuuji@51
|
1205
|
yuuji@51
|
1206 The *-variants of these commands is the same, except that spaces
|
yuuji@51
|
1207 print as the TeXbook's space character instead of as blank spaces.
|
yuuji@51
|
1208
|
yuuji@51
|
1209 styleparameter
|
yuuji@51
|
1210 まだ訳していないスタイルパラメータ。
|
yuuji@51
|
1211
|
yuuji@51
|
1212 topfigrule
|
yuuji@51
|
1213 \topfigrule
|
yuuji@51
|
1214 Command to place rule (or whatever) between floats
|
yuuji@51
|
1215 at top of page and text. Executed in inner vertical
|
yuuji@51
|
1216 mode right before the \textfloatsep skip separating
|
yuuji@51
|
1217 the floats from the text. Must occupy zero vertical
|
yuuji@51
|
1218 space. (See \footnoterule.)
|
yuuji@51
|
1219
|
yuuji@51
|
1220 botfigrule
|
yuuji@51
|
1221 \setlength{\botfigrule}{LENGTH}
|
yuuji@51
|
1222 Same as \topfigrule, but put after the \textfloatsep
|
yuuji@51
|
1223 skip separating text from the floats at bottom of page.
|
yuuji@51
|
1224
|
yuuji@51
|
1225 intextsep
|
yuuji@51
|
1226 \setlength{\intextsep}{LENGTH}
|
yuuji@51
|
1227 Space left on top and bottom of an in-text float.
|
yuuji@51
|
1228
|
yuuji@51
|
1229 newpage
|
yuuji@51
|
1230 \newpage
|
yuuji@51
|
1231 Advance to a new page.
|
yuuji@51
|
1232 \clearpage Output the unfinished table of images, if any,
|
yuuji@51
|
1233 and clear page.
|
yuuji@51
|
1234 \cleardoublepage Same as \clearpage except that when spread style
|
yuuji@51
|
1235 (such as book), start a new page with odd page.
|
yuuji@51
|
1236 \newpage Finish current column when twocolumn.
|
yuuji@51
|
1237
|
yuuji@51
|
1238 clearpage
|
yuuji@51
|
1239 \clearpage
|
yuuji@51
|
1240 <refer newpage>
|
yuuji@51
|
1241
|
yuuji@51
|
1242 cleardoublepage
|
yuuji@51
|
1243 \cleardoublepage
|
yuuji@51
|
1244 <refer newpage>
|
yuuji@51
|
1245
|
yuuji@51
|
1246 length
|
yuuji@51
|
1247
|
yuuji@51
|
1248 Here are the available units of length in TeX.
|
yuuji@51
|
1249 cm centi meter
|
yuuji@51
|
1250 em width of `M'
|
yuuji@51
|
1251 ex height of `x'
|
yuuji@51
|
1252 in inch (=2.54cm)
|
yuuji@51
|
1253 mm mi.li meter
|
yuuji@51
|
1254 pc pica(=12pt)
|
yuuji@51
|
1255 pt point (72.27pt=1 inch)
|
yuuji@51
|
1256 \fill Freely extendable length whose normal length is 0
|
yuuji@51
|
1257 \stretch{X} X-times as long as \fill
|
yuuji@51
|
1258
|
yuuji@51
|
1259 stretch
|
yuuji@51
|
1260 \stretch{X}
|
yuuji@51
|
1261 <refer length>
|
yuuji@51
|
1262
|
yuuji@51
|
1263 twocolumn
|
yuuji@51
|
1264 \twocolumn[STRING]
|
yuuji@51
|
1265 Clear page and start two-column typesetting.
|
yuuji@51
|
1266 Optional argument [STRING] specifies the page-acrossing title.
|
yuuji@51
|
1267 ->onecolumn
|
yuuji@51
|
1268
|
yuuji@51
|
1269 onecolumn
|
yuuji@51
|
1270 \onecolumn
|
yuuji@51
|
1271 Clear page and start one-column typesetting.
|
yuuji@51
|
1272 ->twocolumn
|
yuuji@51
|
1273
|
yuuji@51
|
1274 topnewpage
|
yuuji@51
|
1275 \topnewpage{BOX}
|
yuuji@51
|
1276 Begin a new page and create the parbox-ed BOX whose width is \textwidth.
|
yuuji@51
|
1277 This is useful to make a page-acrossing title in a twocolumn page.
|
yuuji@51
|
1278
|
yuuji@51
|
1279 YaTeX
|
yuuji@51
|
1280 (setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist))
|
yuuji@51
|
1281 おそらくあなたが今使っているこのモード。
|
yuuji@51
|
1282 LaTeXを効率的に使うための多くの機能を盛り込んでいます。
|
yuuji@51
|
1283
|
yuuji@51
|
1284 【発音について】
|
yuuji@51
|
1285 yatex.elなどプログラムを指す時は「やてっく」、システムを指す時は「やちょ
|
yuuji@51
|
1286 う」と読みます。
|
yuuji@51
|
1287
|
yuuji@51
|
1288 【謝辞】
|
yuuji@51
|
1289 以下の方々の御協力を頂きました。ここに感謝申し上げます。
|
yuuji@51
|
1290
|
yuuji@51
|
1291 (順不同)
|
yuuji@51
|
1292 峯恒憲さん(九州大)
|
yuuji@51
|
1293 Bibtex起動、typeset process の kill、エラー箇所の正しい判定
|
yuuji@51
|
1294 の要望その他を頂きました。
|
yuuji@51
|
1295
|
yuuji@51
|
1296 森中秀明さん(アンリツ)
|
yuuji@51
|
1297 タイプセットバッファでの実行継続、lpq, bibtex起動、領域指定タイ
|
yuuji@51
|
1298 プセット後のプレビュー対象ファイルのデフォルト値の変更、
|
yuuji@51
|
1299 describe-mode、\verb の補完の要望、verbatim環境や\verbの中にある
|
yuuji@51
|
1300 \begin{}, \end{} を数えないようにする要望、などを頂きました。
|
yuuji@51
|
1301
|
yuuji@51
|
1302 石坂裕毅さん(富士通)
|
yuuji@51
|
1303 YaTeX-get-error-file のバグレポートなどを頂きました。
|
yuuji@51
|
1304
|
yuuji@51
|
1305 Bayardさん(asciinet)
|
yuuji@51
|
1306 min-outとの連係の不具合の報告を頂きました。
|
yuuji@51
|
1307
|
yuuji@51
|
1308 Kけんさん(asciinet)
|
yuuji@51
|
1309 ms-dos固有の設定に関するバグレポートを頂きました。
|
yuuji@51
|
1310
|
yuuji@51
|
1311 sa2cさん(asciinet)
|
yuuji@51
|
1312 Mule用のパッチを頂きました。
|
yuuji@51
|
1313
|
yuuji@51
|
1314 桂川直己さん(筑波大)
|
yuuji@51
|
1315 数え切れないバグレポートと要望を頂きました。またVzへの移植版であ
|
yuuji@51
|
1316 る laitex(雷鳥) を作成されました。
|
yuuji@51
|
1317
|
yuuji@51
|
1318 三平善郎さん(慶応大)
|
yuuji@51
|
1319 開き括弧の入力時の処理のモード分けのアイデアを頂きました。
|
yuuji@51
|
1320
|
yuuji@51
|
1321 萩庭崇さん(慶応大)
|
yuuji@51
|
1322 begin型補完の内側に文字があった場合それらをインデントしてほしい
|
yuuji@51
|
1323 という要望を頂きました。
|
yuuji@51
|
1324
|
yuuji@51
|
1325 田中健次郎さん(慶応大)
|
yuuji@51
|
1326 タイプセット時に未セーブ状態の関連ファイルをセーブして欲しいとい
|
yuuji@51
|
1327 う要望を頂きました。
|
yuuji@51
|
1328
|
yuuji@51
|
1329 bauerさん(asciinet)
|
yuuji@51
|
1330 アクセント補完の要望とアクセント記号の規則の情報等を頂きました。
|
yuuji@51
|
1331
|
yuuji@51
|
1332 佐々木たろうさん(asciinet)
|
yuuji@51
|
1333 数式環境の処理に関する多様なアイデア、ウィンドウ選択処理に関する
|
yuuji@51
|
1334 ユーザインタフェースの繊細な改善案などを頂きました。
|
yuuji@51
|
1335
|
yuuji@51
|
1336 Deslarさん(asciinet)
|
yuuji@51
|
1337 byte-compile関係のバグ報告などを頂きました。
|
yuuji@51
|
1338
|
yuuji@51
|
1339 tadfさん(asciinet)
|
yuuji@51
|
1340 Demacsでのプロセス起動時のインタフェースの不具合の報告などを頂き
|
yuuji@51
|
1341 ました。
|
yuuji@51
|
1342
|
yuuji@51
|
1343 ほんまたけるさん(asciinet)
|
yuuji@51
|
1344 パラグラフ境界をLaTeX用に設定しなおす要望などを頂きました。
|
yuuji@51
|
1345
|
yuuji@51
|
1346 TUSKさん(asciinet)
|
yuuji@51
|
1347 Texinfoドキュメント(初版)を作成して頂きました。
|
yuuji@51
|
1348
|
yuuji@51
|
1349 横田和也さん(asciinet)
|
yuuji@51
|
1350 dviout起動時の工夫の案、ミニバッファで読み込むもののヒストリを分
|
yuuji@51
|
1351 けるアイデアのきっかけをいただき、ヘルプファイルの項目の提供をし
|
yuuji@51
|
1352 て頂きました。
|
yuuji@51
|
1353
|
yuuji@51
|
1354 kanbai-anさん(asciinet)
|
yuuji@51
|
1355 日本語入力モード判定関数のバグを直すパッチなどを頂きました。
|
yuuji@51
|
1356
|
yuuji@51
|
1357
|
yuuji@51
|
1358 yatex
|
yuuji@51
|
1359 <refer YaTeX>
|
yuuji@51
|
1360
|