rev |
line source |
yuuji@70
|
1 %%%
|
yuuji@70
|
2 %%% YaTeX-LaTeX Help File(c)HIROSE Yuuji [yuuji@yatex.org]
|
yuuji@70
|
3 %%% You can translate this file for any device other than YaTeX via
|
yuuji@70
|
4 %%% any filter program. But it is not allowed to remove copyright
|
yuuji@80
|
5 %%% notice and any existing dictionary entiries which describes the
|
yuuji@80
|
6 %%% source of this file.
|
yuuji@70
|
7 %%%
|
yuuji@70
|
8
|
yuuji@51
|
9 textfloatsep
|
yuuji@51
|
10 \addtolength{\textfloatsep}{LENGTH}
|
yuuji@54
|
11 Length between the text and a float at the top or bottom of page
|
yuuji@51
|
12
|
yuuji@51
|
13 floatsep
|
yuuji@51
|
14 \addtolength{\floatsep}{LENGTH}
|
yuuji@51
|
15 Length between two floats
|
yuuji@51
|
16
|
yuuji@51
|
17 oddsidemargin
|
yuuji@51
|
18 \setlength{\oddsidemargin}{LENGTH}
|
yuuji@54
|
19 Length between text and a line 1 inch from the left of page, on the
|
yuuji@54
|
20 right page
|
yuuji@54
|
21
|
yuuji@51
|
22
|
yuuji@51
|
23 pagestyle
|
yuuji@54
|
24 \pagestyle{STYLE}
|
yuuji@54
|
25 Determines header and footer styles on output page. There are the
|
yuuji@54
|
26 following styles
|
yuuji@54
|
27 plain Standard style. Page number only in footer.
|
yuuji@54
|
28 empty No headers or footers are output.
|
yuuji@54
|
29 headings Puts page number and headings according to section in header.
|
yuuji@54
|
30 No footer is output.
|
yuuji@54
|
31 myheadings User defines what goes into headings using \markbpth and \markright
|
yuuji@51
|
32
|
yuuji@51
|
33 thispagestyle
|
yuuji@54
|
34 \thispagestyle{STYLE}
|
yuuji@54
|
35 Determines the STYLE for the current page only
|
yuuji@51
|
36
|
yuuji@51
|
37 pagenumbering
|
yuuji@54
|
38 \pagenumbering{STYLE}
|
yuuji@54
|
39 Determines the STYLE of page numbers. Type of STYLEs are,
|
yuuji@54
|
40 arabic arabic numerals
|
yuuji@54
|
41 alph lowercase alphabets
|
yuuji@54
|
42 Alph uppercase alphabets
|
yuuji@54
|
43 roman lowercase roman numerals
|
yuuji@54
|
44 Roman uppercase roman numerals
|
yuuji@51
|
45
|
yuuji@51
|
46 shortstack
|
yuuji@54
|
47 \shortstack[POSITION]{TEXT\\TO BE\\STACKED}
|
yuuji@54
|
48 Stack and display contents within {}, separated by \\.
|
yuuji@54
|
49 Possible [POSITION]s are, l(left), c(center), r(right).
|
yuuji@51
|
50
|
yuuji@51
|
51 newlength
|
yuuji@51
|
52 \newlength{NAME}
|
yuuji@54
|
53 Declare NAME as a length command.
|
yuuji@51
|
54
|
yuuji@51
|
55 addtolength
|
yuuji@54
|
56 \addtolength{LENGTH COMMAND}{VALUE}
|
yuuji@54
|
57 Adds VALUE to LENGTH COMMAND.
|
yuuji@54
|
58 See \setlength for major style parameters.
|
yuuji@51
|
59
|
yuuji@51
|
60 setlength
|
yuuji@54
|
61 \setlength{LENGTH COMMAND}{VALUE}
|
yuuji@54
|
62 Set the value of LENGTH COMMAND to VALUE.
|
yuuji@54
|
63 Major style parameters are:
|
yuuji@54
|
64 (Style parameters must be changed in the preamble)
|
yuuji@51
|
65 \evensidemargin \footheight \footskip \headheight
|
yuuji@51
|
66 \headsep \marginparsep \marginparwidth \oddsidemargin
|
yuuji@51
|
67 \textheight \textwidth \topmargin \topskip
|
yuuji@51
|
68 \parindent \baselineskip \baselinestretch \parskip
|
yuuji@51
|
69 \columnsep \columnseprule \mathindent
|
yuuji@51
|
70
|
yuuji@51
|
71 settowidth{\NAME}{TEXT}
|
yuuji@54
|
72 Set the value of \NAME to the width of \hbox{TEXT}.
|
yuuji@51
|
73
|
yuuji@51
|
74 evensidemargin
|
yuuji@51
|
75 \setlength{\evensidemargin}{LENGTH}
|
yuuji@54
|
76 Length between body and a line 1 inch from the left of page, on the
|
yuuji@54
|
77 left page.
|
yuuji@51
|
78
|
yuuji@51
|
79 footheight
|
yuuji@51
|
80 \setlength{\footheight}{LENGTH}
|
yuuji@54
|
81 Height of footer.
|
yuuji@51
|
82
|
yuuji@51
|
83 footskip
|
yuuji@51
|
84 \setlength{\footskip}{LENGTH}
|
yuuji@54
|
85 Length between bottom of body and footer.
|
yuuji@51
|
86
|
yuuji@51
|
87 headheight
|
yuuji@51
|
88 \addtolength{\headheight}{LENGTH}
|
yuuji@54
|
89 Height of header.
|
yuuji@51
|
90
|
yuuji@51
|
91 headsep
|
yuuji@51
|
92 \setlength{\headsep}{LENGTH}
|
yuuji@54
|
93 Length between top of body and header.
|
yuuji@51
|
94
|
yuuji@51
|
95 marginparsep
|
yuuji@51
|
96 \addtolength{\marginparsep}{LENGTH}
|
yuuji@54
|
97 Length between the body and marginal notes
|
yuuji@51
|
98
|
yuuji@51
|
99 marginparwidth
|
yuuji@51
|
100 \addtolength{\marginparwidth}{LENGTH}
|
yuuji@54
|
101 Width of marginal notes.
|
yuuji@51
|
102
|
yuuji@51
|
103 oddsidemargin
|
yuuji@51
|
104 \addtolength{\oddsidemargin}{LENGTH}
|
yuuji@54
|
105 Length between body and a line 1 inch from the left of page, on the
|
yuuji@54
|
106 right page.
|
yuuji@54
|
107
|
yuuji@51
|
108
|
yuuji@51
|
109 textheight
|
yuuji@51
|
110 \addtolength{\textheight}{LENGTH}
|
yuuji@54
|
111 Height of text.
|
yuuji@51
|
112
|
yuuji@51
|
113 textwidth
|
yuuji@51
|
114 \addtolength{\textwidth}{LENGTH}
|
yuuji@54
|
115 Width of body.
|
yuuji@51
|
116
|
yuuji@51
|
117 topmargin
|
yuuji@51
|
118 \addtolength{\topmargin}{LENGTH}
|
yuuji@54
|
119 Length between the header and a line one inch from the top of the page.
|
yuuji@51
|
120
|
yuuji@51
|
121 topskip
|
yuuji@51
|
122 \addtolength{\topskip}{LENGTH}
|
yuuji@54
|
123 Length between top of the body to the first line of the text.
|
yuuji@51
|
124
|
yuuji@51
|
125 parindent
|
yuuji@51
|
126 \setlength{\parindent}{LENGTH}
|
yuuji@54
|
127 Width of indentation at the beginning of a paragraph.
|
yuuji@51
|
128
|
yuuji@51
|
129 linewidth
|
yuuji@51
|
130 \addtolength{\linewidth}{LENGTH}
|
yuuji@54
|
131 Width of lines.
|
yuuji@51
|
132
|
yuuji@51
|
133 baselineskip
|
yuuji@51
|
134 \addtolength{baselineskip}{LENGTH}
|
yuuji@54
|
135 Minimum height between baselines (bottom of a line).
|
yuuji@51
|
136
|
yuuji@51
|
137 baselinestretch
|
yuuji@51
|
138 \renewcommand{baselinestretch}{1.5}
|
yuuji@54
|
139 Value to multiply \baselineskip. (default is 1)
|
yuuji@54
|
140 (* Redefine using \renewcommand. Don't use \setlength.
|
yuuji@51
|
141
|
yuuji@51
|
142 parskip
|
yuuji@51
|
143 \addtolength{\parskip}{LENGTH}
|
yuuji@54
|
144 Vertical space before a paragraph.
|
yuuji@51
|
145
|
yuuji@51
|
146 columnsep
|
yuuji@51
|
147 \addtolength{\columnsep}{LENGTH}
|
yuuji@54
|
148 Width between columns in a two column environment.
|
yuuji@51
|
149
|
yuuji@51
|
150 columnseprule
|
yuuji@51
|
151 \addtolength{\columnseprule}{LENGTH}
|
yuuji@54
|
152 Width of ruler to separate columns in a two column environment.
|
yuuji@54
|
153 (default is 0pt)
|
yuuji@51
|
154
|
yuuji@51
|
155 columnwidth
|
yuuji@51
|
156 \addtolength{\columnwidth}{LENGTH}
|
yuuji@54
|
157 (\textwidth - \columnsep)/2 in a two column environment.
|
yuuji@54
|
158 Otherwise, equal to \textwidth.
|
yuuji@51
|
159
|
yuuji@51
|
160 mathindent
|
yuuji@51
|
161 \addtolength{mathindent}{LENGTH}
|
yuuji@54
|
162 Width of indentation of a equation from the left margin, when fleqn is
|
yuuji@54
|
163 defined as style option.
|
yuuji@51
|
164
|
yuuji@51
|
165 LaTeX
|
yuuji@51
|
166 \LaTeX
|
yuuji@54
|
167 Display \LaTeX logo. Definition of \LaTeX is;
|
yuuji@51
|
168 \def\LaTeX{{\rm L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em
|
yuuji@51
|
169 T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
|
yuuji@51
|
170
|
yuuji@51
|
171 fragile
|
yuuji@54
|
172 ** LaTeX term **
|
yuuji@54
|
173 Any command which expanded result changes by an argument.
|
yuuji@54
|
174 Opposite is a robust command.
|
yuuji@51
|
175
|
yuuji@51
|
176 robust
|
yuuji@54
|
177 ** LaTeX term **
|
yuuji@54
|
178 Commands which expanded results are always the same.
|
yuuji@54
|
179 Font type/size selection commands, length commands, and most commands
|
yuuji@54
|
180 used within math mode is robust.
|
yuuji@54
|
181 (maketitle type commands that don't take any arguments)
|
yuuji@51
|
182
|
yuuji@51
|
183 protect
|
yuuji@54
|
184 \protect `a fragile command'
|
yuuji@54
|
185 Commands that the result changes according to it's arguments are
|
yuuji@54
|
186 called "fragile commands". When an argument is referenced in more
|
yuuji@54
|
187 than one place, the command is said to "take a moving argument".
|
yuuji@54
|
188 chapter and caption, whose argument will be used in the table of
|
yuuji@54
|
189 contents, or an @ in an tabular/array environment are examples.
|
yuuji@51
|
190
|
yuuji@54
|
191 When a "fragile command" is used in a "moving argument", it must be
|
yuuji@54
|
192 preceded by a \protect. Following is an example.
|
yuuji@51
|
193
|
yuuji@51
|
194 \newcommand{\thissystem}[1]{YaTeX version #1}
|
yuuji@54
|
195 \chapter{About \protect \thissystem{1.50}}
|
yuuji@51
|
196
|
yuuji@51
|
197 newcommand
|
yuuji@54
|
198 \newcommand{\NAME}[ARGS]{DEF}
|
yuuji@54
|
199 Define a macro \NAME as DEF, taking ARGS number of arguments. The nth
|
yuuji@54
|
200 argument will be referred as #n in the definition.
|
yuuji@54
|
201 If used as
|
yuuji@51
|
202 \newcommand{\foo}[1]{\underline{#1}}
|
yuuji@54
|
203 \foo{bar} will be expanded to \underline{bar}. When a font selection
|
yuuji@54
|
204 command is used as
|
yuuji@51
|
205 \newcommand{\foo}[1]{\bf #1}
|
yuuji@54
|
206 \foo{bar} will be expanded as \bf bar in the text, so, it must be used as
|
yuuji@51
|
207 \newcommand{\foo}[1]{{\bf #1}}
|
yuuji@51
|
208
|
yuuji@54
|
209 If NAME is already defined as a macro, it will return an error. To
|
yuuji@54
|
210 redefine, use \renewcommand.
|
yuuji@51
|
211
|
yuuji@51
|
212 renewcommand
|
yuuji@54
|
213 \renewcommand{\NAME}[ARGS]{DEF}
|
yuuji@54
|
214 Redefine an already defined command.
|
yuuji@51
|
215 <refer newcommand>
|
yuuji@51
|
216
|
yuuji@51
|
217 newenvironment
|
yuuji@54
|
218 \newenvironment{NAME}[ARGS]{DEF1}{DEF2}
|
yuuji@54
|
219 Define a new environment.
|
yuuji@54
|
220 \begin{NAME} will be replaced by DEF1 and \end{NAME} will be replaced
|
yuuji@54
|
221 by DEF2. Same as
|
yuuji@54
|
222 \newcommand{\NAME}{DEF1} \def{\end{\NAME}}{DEF2}
|
yuuji@51
|
223
|
yuuji@51
|
224 renewenvironment
|
yuuji@54
|
225 \renewenvironment{NAME}[ARGS]{DEF1}{DEF2}
|
yuuji@54
|
226 Redefine an environment NAME that already exists.
|
yuuji@51
|
227 <refer newenvironment>
|
yuuji@51
|
228
|
yuuji@51
|
229 typeout
|
yuuji@54
|
230 \typeout{MESSAGE}
|
yuuji@54
|
231 Output MESSAGE to the terminal while typesetting.
|
yuuji@51
|
232
|
yuuji@51
|
233 typein
|
yuuji@54
|
234 \typein{MESSAGE} \typein[\MACRO]{MESSAGE}
|
yuuji@54
|
235 Output MESSAGE to terminal and execute the input.
|
yuuji@54
|
236 In the second form, \MACRO will be defined as the input.
|
yuuji@51
|
237
|
yuuji@51
|
238 par
|
yuuji@51
|
239 \par
|
yuuji@54
|
240 Used to separate paragraphs. Same as a blank line.
|
yuuji@51
|
241
|
yuuji@51
|
242 everypar
|
yuuji@51
|
243 \everypar
|
yuuji@51
|
244 RTFM
|
yuuji@51
|
245
|
yuuji@51
|
246 nopagebreak
|
yuuji@51
|
247 \nopagebreak[i] (i = 0,1,2,3,4)
|
yuuji@54
|
248 Prevents pages to be broken by the strength of i. (default is 4)
|
yuuji@51
|
249
|
yuuji@51
|
250 pagebreak
|
yuuji@51
|
251 \pagebreak[i] (i = 0,1,2,3,4)
|
yuuji@54
|
252 Forces pages to be broken by the strength of i. (default is 4)
|
yuuji@51
|
253
|
yuuji@51
|
254 linebreak
|
yuuji@51
|
255 \linebreak[i] (i = 0,1,2,3,4)
|
yuuji@54
|
256 Forces lines to be broken by the strength of i. (default is 4)
|
yuuji@51
|
257
|
yuuji@51
|
258 nolinebreak
|
yuuji@51
|
259 \nolinebreak[i] (i = 0,1,2,3,4)
|
yuuji@54
|
260 Prevents lines to be broken by the strength of i. (default is 4)
|
yuuji@51
|
261
|
yuuji@51
|
262 samepage
|
yuuji@51
|
263 \samepage
|
yuuji@54
|
264 Prevents page to be broken.
|
yuuji@51
|
265 RTFM
|
yuuji@51
|
266
|
yuuji@51
|
267 obeycr
|
yuuji@51
|
268 \obeycr
|
yuuji@54
|
269 Define <CR> as \\. see \restorecr
|
yuuji@51
|
270
|
yuuji@51
|
271 restorecr
|
yuuji@51
|
272 \restorecr
|
yuuji@54
|
273 Restore <CR>'s definition changed by \obeycr.
|
yuuji@51
|
274
|
yuuji@51
|
275 \
|
yuuji@54
|
276 \\ \\[LENGTH]
|
yuuji@54
|
277
|
yuuji@54
|
278 Breaks a line at any given point. Same as \newline if used within a
|
yuuji@54
|
279 paragraph. If an option argument LENGTH is given, vertical space to
|
yuuji@54
|
280 next line will be \vspace{LENGTH}.
|
yuuji@51
|
281
|
yuuji@51
|
282 addvspace
|
yuuji@54
|
283 \addvspace{SKIP}
|
yuuji@54
|
284 Adds space equal to SKIP to vertical space. If more than one values
|
yuuji@54
|
285 are given as \addvspace{S1} \addvspace{S2}, it will be the same as
|
yuuji@54
|
286 \addvspace{the larger of S1, S2}.
|
yuuji@51
|
287
|
yuuji@51
|
288 vspace
|
yuuji@54
|
289 \vspace{LENGTH} \vspace*{LENGTH}
|
yuuji@54
|
290 Adds vertical space of LENGTH.
|
yuuji@54
|
291 \vspace* will add space at any given position, but \vspace will not
|
yuuji@54
|
292 add at beginning or end of a page.
|
yuuji@51
|
293
|
yuuji@51
|
294 vspace*
|
yuuji@54
|
295 \vspace{LENGTH} \vspace*{LENGTH}
|
yuuji@54
|
296 Adds vertical space of LENGTH.
|
yuuji@54
|
297 \vspace* will add space at any given position, but \vspace will not
|
yuuji@54
|
298 add at beginning or end of a page.
|
yuuji@51
|
299
|
yuuji@51
|
300 hspace
|
yuuji@54
|
301 \hspace{LENGTH} \hspace*{LENGTH}
|
yuuji@54
|
302 Adds horizontal space of LENGTH.
|
yuuji@54
|
303 \hspace* will add space at any given position, but \hspace will not add
|
yuuji@54
|
304 at beginning or end of a line.
|
yuuji@51
|
305
|
yuuji@51
|
306 hspace*
|
yuuji@54
|
307 \hspace{LENGTH} \hspace*{LENGTH}
|
yuuji@54
|
308 Adds horizontal space of LENGTH.
|
yuuji@54
|
309 \hspace* will add space at any given position, but \hspace will not add
|
yuuji@54
|
310 at beginning or end of a line.
|
yuuji@51
|
311
|
yuuji@51
|
312 smallskip
|
yuuji@51
|
313 \smallskip
|
yuuji@54
|
314 Put a small vertical space.
|
yuuji@51
|
315 \def\smallskip{\vspace\smallskipamount}
|
yuuji@51
|
316
|
yuuji@51
|
317 medskip
|
yuuji@51
|
318 \medskip
|
yuuji@54
|
319 Put a medium vertical space.
|
yuuji@51
|
320 \def\medskip{\vspace\medskipamount}
|
yuuji@51
|
321
|
yuuji@51
|
322 bigskip
|
yuuji@51
|
323 \bigskip
|
yuuji@54
|
324 Put a big vertical skip.
|
yuuji@51
|
325 \def\bigskip{\vspace\bigskipamount}
|
yuuji@51
|
326
|
yuuji@51
|
327 ,
|
yuuji@51
|
328 \,
|
yuuji@54
|
329 Opens a thin space. Can be used in paragraph mode, LR mode, or math mode.
|
yuuji@54
|
330 Used to write a quote within a quote.
|
yuuji@54
|
331 example: ``\,`Foo', he said.''
|
yuuji@54
|
332 Spaces that can be used in math mode are:
|
yuuji@54
|
333 \: medium space
|
yuuji@54
|
334 \! negative and thin space
|
yuuji@54
|
335 \; thick space
|
yuuji@51
|
336
|
yuuji@51
|
337 :
|
yuuji@51
|
338 $\:$
|
yuuji@54
|
339 Medium space. Math mode only.
|
yuuji@51
|
340
|
yuuji@51
|
341 !
|
yuuji@51
|
342 $\!$
|
yuuji@54
|
343 Negative thin space. Math mode only.
|
yuuji@51
|
344
|
yuuji@51
|
345 ;
|
yuuji@51
|
346 $\;$
|
yuuji@54
|
347 Thick space. Math mode only.
|
yuuji@51
|
348
|
yuuji@54
|
349 whiledo{TEST}{BODY}
|
yuuji@54
|
350 Repeat BODY while TEST is true.
|
yuuji@51
|
351
|
yuuji@51
|
352 nofiles
|
yuuji@51
|
353 \nofiles
|
yuuji@54
|
354 If \nofiles is in the preamble, .aux, .idx, .lof, .lot, .toc files will
|
yuuji@54
|
355 not be made.
|
yuuji@51
|
356
|
yuuji@51
|
357 includeonly
|
yuuji@51
|
358 \includeonly{sub1} \includeonly{sub1,sub3}
|
yuuji@54
|
359 Appoints actual files to be read and processed by \include{}. (.tex can
|
yuuji@54
|
360 be suppressed)
|
yuuji@54
|
361 Files not given in the argument list of \includeonly will not be
|
yuuji@54
|
362 processed at all. If the file has been processed before, it will be
|
yuuji@54
|
363 treated as if there were no changes from then.
|
yuuji@51
|
364
|
yuuji@51
|
365 include
|
yuuji@51
|
366 \include{FILE}
|
yuuji@54
|
367 Same as
|
yuuji@51
|
368 \clearpage \input{FILE} \clearpage
|
yuuji@51
|
369
|
yuuji@51
|
370 input
|
yuuji@51
|
371 \input{FILE}
|
yuuji@54
|
372 Process as if FILE.tex has been inserted at that point.
|
yuuji@51
|
373
|
yuuji@51
|
374 setcounter
|
yuuji@51
|
375 \setcounter{FOO}{VAL}
|
yuuji@54
|
376 Set counter FOO's value to VAL.
|
yuuji@51
|
377
|
yuuji@80
|
378 <refer How to Introduce new counter>
|
yuuji@80
|
379
|
yuuji@51
|
380 addtocounter
|
yuuji@51
|
381 \addtocounter{FOO}{VAL}
|
yuuji@54
|
382 Add value VAL to counter FOO.
|
yuuji@51
|
383
|
yuuji@80
|
384 <refer How to Introduce new counter>
|
yuuji@80
|
385
|
yuuji@51
|
386 newcounter
|
yuuji@51
|
387 \newcounter{COUNTER}[OLDCTR]
|
yuuji@54
|
388 Defines a new counter COUNTER.
|
yuuji@54
|
389 If an optional argument OLDCTR is given, COUNTER's value will be reset
|
yuuji@54
|
390 every time OLDCTR's value is changed by \stepcounter or \addtocounter.
|
yuuji@51
|
391
|
yuuji@80
|
392 <refer How to Introduce new counter>
|
yuuji@80
|
393
|
yuuji@80
|
394 How to Introduce new counter
|
yuuji@80
|
395 You'll get `Question n.' increasing n with \mondai, by setting as below.
|
yuuji@80
|
396
|
yuuji@80
|
397 \newcounter{toi}
|
yuuji@80
|
398 \renewcommand{\thetoi}{Question \arabic{toi}.~ }
|
yuuji@80
|
399 \setcounter{toi}{0}
|
yuuji@80
|
400 \newcommand{\mondai}{\refstepcounter{toi}\thetoi}
|
yuuji@80
|
401
|
yuuji@51
|
402 value
|
yuuji@51
|
403 \value{COUNTER}
|
yuuji@54
|
404 Returns value of COUNTER. Must not be preceded by \protect.
|
yuuji@51
|
405
|
yuuji@51
|
406 stepcounter
|
yuuji@51
|
407 \stepcounter{FOO}
|
yuuji@54
|
408 Increments value of counter FOO. Also resets any counter dependent to FOO.
|
yuuji@51
|
409
|
yuuji@51
|
410 refstepcounter
|
yuuji@51
|
411 \refstepcounter{FOO}
|
yuuji@54
|
412 Increments value of counter FOO. Also resets any counter dependent to
|
yuuji@54
|
413 FOO. Defers with \stepcounter as; if \label{hoge} follows immediately
|
yuuji@54
|
414 after \refstepcounter{FOO}, \ref{hoge}'s value will be set to \value{FOO}.
|
yuuji@51
|
415
|
yuuji@51
|
416 arabic
|
yuuji@51
|
417 \arabic{COUNTER}
|
yuuji@54
|
418 Output COUNTER's value in arabic numerals.
|
yuuji@51
|
419
|
yuuji@51
|
420 roman
|
yuuji@51
|
421 \roman{COUNTER}
|
yuuji@54
|
422 Output COUNTER's value in lower case roman numerals.
|
yuuji@51
|
423
|
yuuji@51
|
424 Roman
|
yuuji@51
|
425 \Roman{COUNTER}
|
yuuji@54
|
426 Output COUNTER's value in upper case roman numerals.
|
yuuji@51
|
427
|
yuuji@51
|
428 alph
|
yuuji@51
|
429 \alph{COUNTER}
|
yuuji@54
|
430 Output COUNTER's value in lower case alphabet.
|
yuuji@51
|
431
|
yuuji@51
|
432 Alph
|
yuuji@51
|
433 \Alph{COUNTER}
|
yuuji@54
|
434 Output COUNTER's value in upper case alphabet.
|
yuuji@51
|
435
|
yuuji@51
|
436 fnsymbol
|
yuuji@51
|
437 \fnsymbol{COUNTER}
|
yuuji@54
|
438 Output COUNTER's value in footnote symbols (1 = *, 2 = \dagger, ...).
|
yuuji@54
|
439 Math mode only.
|
yuuji@51
|
440
|
yuuji@51
|
441 label
|
yuuji@51
|
442 \label{LABEL}
|
yuuji@54
|
443 Set value of LABEL to \ref VALUE.
|
yuuji@54
|
444 This value is referred by \ref{VALUE}. \pageref{LABEL} refers to the
|
yuuji@54
|
445 page number \label{LABEL} exists.
|
yuuji@54
|
446 ``\ref VALUEs'' are, section commands as \section, \item commands within
|
yuuji@54
|
447 an enumerate environment, values set by a theorem environment. For
|
yuuji@54
|
448 example, immediately after a \item of a enumerate environment, the item
|
yuuji@54
|
449 number will be the ``\ref VALUE''. \label{LABEL} will set the item
|
yuuji@54
|
450 number to LABEL.
|
yuuji@51
|
451
|
yuuji@51
|
452 ref
|
yuuji@51
|
453 \ref{LABEL}
|
yuuji@54
|
454 Refer to LABEL's value set by \label{LABEL}.
|
yuuji@54
|
455 Examples of values returned are; page numbers for LABELs set in the main
|
yuuji@54
|
456 text, table numbers for LABELs set in a table, and the item number for
|
yuuji@54
|
457 LABELs set in an item of the enumerate environment.
|
yuuji@51
|
458
|
yuuji@51
|
459 pageref
|
yuuji@80
|
460 \pageref{LABEL}
|
yuuji@54
|
461 Refer to the page number where \label{LABEL} exists.
|
yuuji@51
|
462
|
yuuji@51
|
463 (
|
yuuji@54
|
464 \( EQUATION \)
|
yuuji@54
|
465 Produce an in-text equation.
|
yuuji@54
|
466 Same as
|
yuuji@54
|
467 \begin{math} EQUATION \end{math}
|
yuuji@54
|
468 \( and \) are fragile.
|
yuuji@51
|
469
|
yuuji@51
|
470 )
|
yuuji@51
|
471 \( x^2 = 4 \)
|
yuuji@54
|
472 Produce an in-text equation.
|
yuuji@54
|
473 Same as
|
yuuji@54
|
474 \begin{math} EQUATION \end{math}
|
yuuji@54
|
475 \( and \) are fragile.
|
yuuji@51
|
476
|
yuuji@51
|
477 [
|
yuuji@54
|
478 \[ EQUATION \]
|
yuuji@54
|
479 Produce an equation in display mode.
|
yuuji@54
|
480 Same as
|
yuuji@54
|
481 \begin{displaymath} EQUATION \end{displaymath}
|
yuuji@54
|
482 \[ and \] are fragile.
|
yuuji@51
|
483
|
yuuji@51
|
484 )
|
yuuji@54
|
485 \[ EQUATION \]
|
yuuji@54
|
486 Produce an equation in display mode.
|
yuuji@54
|
487 Same as
|
yuuji@54
|
488 \begin{displaymath} EQUATION \end{displaymath}
|
yuuji@54
|
489 \[ and \] are fragile.
|
yuuji@51
|
490
|
yuuji@51
|
491 equation
|
yuuji@54
|
492 \begin{equation} EQUATION \end{equation}
|
yuuji@54
|
493 Produce a numbered equation in displaymath mode.
|
yuuji@51
|
494
|
yuuji@51
|
495 eqnarray
|
yuuji@54
|
496 \begin{eqnarray} EQNS \end{eqnarray}
|
yuuji@54
|
497 Produce equations aligned in three columns. The columns are separated by
|
yuuji@54
|
498 & as ``left member & sign & right member''. For example,
|
yuuji@51
|
499 \begin{eqnarray}
|
yuuji@51
|
500 3x + 2y & = & 4 \\
|
yuuji@51
|
501 x - 4y & = & -5
|
yuuji@51
|
502 \end{eqnarray}
|
yuuji@51
|
503
|
yuuji@51
|
504 eqnarray*
|
yuuji@54
|
505 \begin{eqnarray*} EQNS \end{eqnarray*}
|
yuuji@54
|
506 Same as eqnarray, except no equation numbers are produced.
|
yuuji@51
|
507
|
yuuji@51
|
508 frac
|
yuuji@54
|
509 \frac{NUMER}{DENOM}
|
yuuji@54
|
510 Produce a fraction as
|
yuuji@54
|
511 NUMER
|
yuuji@54
|
512 ------
|
yuuji@54
|
513 DENOM
|
yuuji@54
|
514 Same as {NUMER \over DENOM}
|
yuuji@51
|
515
|
yuuji@51
|
516 sqrt
|
yuuji@54
|
517 \sqrt[N]{EQUATION}
|
yuuji@54
|
518 Produces the Nth power of EQUATION. Gives a square root if [N] is not given.
|
yuuji@51
|
519
|
yuuji@51
|
520 lefteqn
|
yuuji@54
|
521 \lefteqn{EQUATION}
|
yuuji@54
|
522 In display math mode, presume EQUATION has zero width and print it flush left.
|
yuuji@54
|
523 Used in eqnarray environment when the left member is too long and needs
|
yuuji@54
|
524 folding.
|
yuuji@51
|
525 \begin{eqnarray}
|
yuuji@51
|
526 \lefteqn{a_1 + a_2 + \cdots + a_n =} \\
|
yuuji@51
|
527 & & a_1 + b_1 + \cdots + z_1 + \\
|
yuuji@51
|
528 & & b_2 + c+2 + \cdost + z_2
|
yuuji@51
|
529 \end{eqnarray}
|
yuuji@51
|
530
|
yuuji@51
|
531 center
|
yuuji@54
|
532 \begin{center} TEXT \end{center}
|
yuuji@54
|
533 Center TEXT. Each line must be separated by \\.
|
yuuji@54
|
534 <refer \centering>
|
yuuji@51
|
535
|
yuuji@51
|
536 flushright
|
yuuji@54
|
537 \begin{flushright} TEXT \end{flushright}
|
yuuji@54
|
538 Align end of each line with right margin. Each line must be separated by \\.
|
yuuji@54
|
539 <refer \raggedright>
|
yuuji@51
|
540
|
yuuji@51
|
541 flushleft
|
yuuji@54
|
542 \begin{flushleft} TEXT \end{flushleft}
|
yuuji@54
|
543 Align start of each line with left margin. \\ can be given to decide
|
yuuji@54
|
544 point of line break. Otherwise lines will be broken at an appropriate
|
yuuji@54
|
545 length.
|
yuuji@54
|
546 <refer \raggedleft>
|
yuuji@51
|
547
|
yuuji@51
|
548 centering
|
yuuji@51
|
549 \centering
|
yuuji@54
|
550 Produce a centered paragraph.
|
yuuji@54
|
551 Declared at the beginning of a table/figura environment, it will center
|
yuuji@54
|
552 until the end of the environment.
|
yuuji@51
|
553
|
yuuji@51
|
554 raggedright
|
yuuji@51
|
555 \raggedright
|
yuuji@54
|
556 Produce flush-left paragraphs.
|
yuuji@51
|
557
|
yuuji@51
|
558 raggedleft
|
yuuji@51
|
559 \raggedleft
|
yuuji@54
|
560 Produce flush-right paragraphs.
|
yuuji@51
|
561
|
yuuji@51
|
562 raggedbottom
|
yuuji@51
|
563 \raggedbottom
|
yuuji@54
|
564 Allow height of each page to vary.
|
yuuji@54
|
565 Declared in the preamble.
|
yuuji@54
|
566 <refer \flushbottom>
|
yuuji@51
|
567
|
yuuji@51
|
568 flushbottom
|
yuuji@51
|
569 \flushbottom
|
yuuji@54
|
570 Make all text pages the same height.
|
yuuji@54
|
571 Declared in the preamble.
|
yuuji@54
|
572 <refer \raggedbottom>
|
yuuji@51
|
573
|
yuuji@51
|
574 sloppy
|
yuuji@51
|
575 \sloppy
|
yuuji@54
|
576 Always breaks the line at the right-hand margin, but allows too much
|
yuuji@54
|
577 space between words.
|
yuuji@54
|
578 <refer \fussy>
|
yuuji@51
|
579
|
yuuji@51
|
580 fussy
|
yuuji@51
|
581 \fussy
|
yuuji@54
|
582 Return to normal line breaking.
|
yuuji@54
|
583 <refer \sloppy>
|
yuuji@51
|
584
|
yuuji@51
|
585 sloppypar
|
yuuji@54
|
586 \begin{sloppypar} PARAGRAPH \end{sloppypar}
|
yuuji@54
|
587 Produce PARAGRAPH in \sloppy.
|
yuuji@54
|
588 <refer \sloppy>
|
yuuji@51
|
589
|
yuuji@51
|
590 verbatim
|
yuuji@51
|
591 \begin{verbatim} ... \end{verbatim}
|
yuuji@51
|
592 The verbatim environment uses the fixed-width \tt font, turns blanks into
|
yuuji@54
|
593 spaces, starts a new line for each carriage return (or sequence of
|
yuuji@51
|
594 consecutive carriage returns), and interprets EVERY character literally.
|
yuuji@51
|
595 I.e., all special characters \, {, $, etc. are \catcode'd to 'other'.
|
yuuji@51
|
596
|
yuuji@51
|
597 verbatim*
|
yuuji@51
|
598 \begin{verbatim*} ... \end{verbatim*}
|
yuuji@54
|
599 The verbatim* environment is the same to verbatim, except that spaces
|
yuuji@54
|
600 print as the TeXbook's space character instead of as blank spaces.
|
yuuji@51
|
601 <refer verbatim>
|
yuuji@51
|
602
|
yuuji@51
|
603 list
|
yuuji@54
|
604 \begin{list}{LABEL}{PARAMETER} ... \end{list}
|
yuuji@54
|
605 Enter list environment. Each \item will be listed with an indent.
|
yuuji@54
|
606 First argument gives the default label when \item's optional argument is
|
yuuji@54
|
607 omitted. Second argument gives parameters to be processed for each item.
|
yuuji@54
|
608 example:
|
yuuji@51
|
609 \begin{list}%
|
yuuji@51
|
610 {$\diamond$}
|
yuuji@51
|
611 {\addtolength{\leftmargin}{4em}}
|
yuuji@54
|
612 \item First argument is the default label when \verb|\item|'s optional
|
yuuji@54
|
613 argument is given.
|
yuuji@54
|
614 \item Second argument will be processed for each item.
|
yuuji@54
|
615 \item[*] If a optional argument is given such as this, it will be the label.
|
yuuji@51
|
616 \end{list}
|
yuuji@51
|
617
|
yuuji@54
|
618 Variables to control the list environment are as follow; (default value)
|
yuuji@54
|
619 horizontal:
|
yuuji@54
|
620 <refer variables to control list environment>
|
yuuji@51
|
621
|
yuuji@54
|
622 variables to control list environment
|
yuuji@54
|
623 \labelwidth width of label
|
yuuji@54
|
624 \labelsep space between right of label and text of first item
|
yuuji@54
|
625 \leftmargin left margin within list environment
|
yuuji@54
|
626 \rightmargin right margin within list environment (0pt)
|
yuuji@54
|
627 \itemindent width of indent preceding item (0pt)
|
yuuji@54
|
628 \linewidth width of line
|
yuuji@54
|
629 \listparindent indent for each paragraph (except first paragraph with \item)
|
yuuji@54
|
630 (0pt)
|
yuuji@51
|
631
|
yuuji@54
|
632 vertical:
|
yuuji@54
|
633 \topsep space between last paragraph before list environment and
|
yuuji@54
|
634 first item
|
yuuji@54
|
635 \partopsep space added to \topsep when starting a new paragraph in list
|
yuuji@54
|
636 environment
|
yuuji@54
|
637 \itemsep space between successive items
|
yuuji@54
|
638 \parsep space between paragraphs within the same item
|
yuuji@51
|
639
|
yuuji@51
|
640 itemize
|
yuuji@54
|
641 \begin{itemize} \item ITEM1 ... \item ITEMn \end{itemize}
|
yuuji@54
|
642 Produce a bulleted list.
|
yuuji@54
|
643 Can be nested to four levels.
|
yuuji@54
|
644 ``bullets'' shown at top of each item of the four levels are controlled
|
yuuji@54
|
645 by \labelitemi, \labelitemii, \labelitemiii, \labelitemiv.
|
yuuji@51
|
646
|
yuuji@54
|
647 Variables to control the itemize environment are;
|
yuuji@54
|
648 <refer variables to control list environment>
|
yuuji@51
|
649
|
yuuji@51
|
650 enumerate
|
yuuji@54
|
651 \begin{enumerate} \item ITEM1 ... \item ITEMn \end{enumerate}
|
yuuji@54
|
652 Produce a numbered list.
|
yuuji@54
|
653 Can be nested to four levels.
|
yuuji@54
|
654 Numbers for items on each level are held in enumi, enumii, enumiii, enumiv.
|
yuuji@54
|
655 Each item's label are produced by \labelenumi, ..., \labelenumiv.
|
yuuji@54
|
656 \p@enumN\theenumN will set \ref's value. (N is the depth of level.
|
yuuji@54
|
657 refer \ref for value of \ref)
|
yuuji@54
|
658 For example, if declared
|
yuuji@51
|
659 \def\theenumii{\alph{enumii}}
|
yuuji@51
|
660 \def\p@enumii{\theenumi\theenumii}
|
yuuji@51
|
661 \def\labelenumii{(\theenumii)}
|
yuuji@54
|
662 \ref's value will be 3a.
|
yuuji@51
|
663
|
yuuji@54
|
664 Variables to control enumerate environment are,
|
yuuji@54
|
665 <refer variables to control list environment>
|
yuuji@51
|
666
|
yuuji@51
|
667 item
|
yuuji@51
|
668 \item \item[LABEL]
|
yuuji@54
|
669 Start an item in itemize, enumerate, description environment.
|
yuuji@54
|
670 Output LABEL if [LABEL] is given.
|
yuuji@51
|
671
|
yuuji@51
|
672 description
|
yuuji@54
|
673 \begin{description} \item[LABEL] CONTENTS ... \end{description}
|
yuuji@54
|
674 Produce [LABEL] as a label.
|
yuuji@51
|
675
|
yuuji@51
|
676 subitem
|
yuuji@54
|
677 \subitem ITEM
|
yuuji@54
|
678 Define a subitem.
|
yuuji@51
|
679
|
yuuji@51
|
680 subsubitem
|
yuuji@54
|
681 \subsubitem ITEM
|
yuuji@54
|
682 Define a subsubitem.
|
yuuji@51
|
683
|
yuuji@51
|
684 makebox
|
yuuji@54
|
685 \makebox[WID][POS]{OBJECT} \makebox(X,Y)[POS]{OBJECT}
|
yuuji@54
|
686 First form will place OBJECT at position POS and width WID in a \box.
|
yuuji@80
|
687 For POS, object will be placed flush-left if `l', flush-right if `r',
|
yuuji@80
|
688 splattering words in the same space if `s', and centered if nothing is given
|
yuuji@80
|
689 in the second form, object will be placed in a \hbox sized (X,Y) (in
|
yuuji@54
|
690 \unitlength) within a picture environment. POS is the same as the first form.
|
yuuji@51
|
691
|
yuuji@80
|
692
|
yuuji@80
|
693
|
yuuji@51
|
694 mbox
|
yuuji@54
|
695 \mbox{OBJECT}
|
yuuji@54
|
696 Same as \makebox{OBJECT}.
|
yuuji@51
|
697
|
yuuji@51
|
698 newsavebox
|
yuuji@51
|
699 \newsavebox{\CMD}
|
yuuji@54
|
700 Define a new box saving command. \CMD is used in a \savebox command to
|
yuuji@54
|
701 save boxes. Commands defined by \newsavebox are always global.
|
yuuji@51
|
702
|
yuuji@51
|
703 savebox
|
yuuji@54
|
704 \savebox{\CMD}{TEXT}
|
yuuji@54
|
705 Save results of TEXT in \CMD to be boxed.
|
yuuji@54
|
706 TEXT is the same as the argument of \makebox, but the results of
|
yuuji@54
|
707 processing TEXT is not displayed in-place. Boxes processed by
|
yuuji@54
|
708 \usebox{\CMD} will be placed.
|
yuuji@51
|
709
|
yuuji@51
|
710 sbox
|
yuuji@54
|
711 \sbox{\CMD}{TEXT}
|
yuuji@54
|
712 Same as \savebox. \sbox is robust, and \savebox is fragile.
|
yuuji@51
|
713
|
yuuji@51
|
714 framebox
|
yuuji@80
|
715 \framebox[WID][POS]{OBJECT} \framebox(X,Y)[POS]{OBJECT}
|
yuuji@54
|
716 Do the same thing as \makebox with a frame.
|
yuuji@54
|
717 The frame's width and space between the object are decided by \framerule
|
yuuji@54
|
718 and \framesep. If used as \framebox(X,Y){OBJECT} in a picture
|
yuuji@54
|
719 environment, width of frame will be dependant to the picture
|
yuuji@54
|
720 environment's line width, and space between the object and frame can not
|
yuuji@54
|
721 be opened.
|
yuuji@51
|
722
|
yuuji@51
|
723 fbox
|
yuuji@54
|
724 \fbox{OBJECT}
|
yuuji@54
|
725 Same as \framebox{OBJECT}.
|
yuuji@54
|
726 \fbox is robust, \framebox fragile.
|
yuuji@51
|
727
|
yuuji@80
|
728 Rule width of \fbox can be controled by setting \fboxrule
|
yuuji@80
|
729
|
yuuji@80
|
730 {
|
yuuji@80
|
731 \fboxrule=2\fboxrule
|
yuuji@80
|
732 \fbox{contents of double width of rule}
|
yuuji@80
|
733 }
|
yuuji@80
|
734
|
yuuji@51
|
735 parbox
|
yuuji@51
|
736 \parbox[POS]{WIDTH}{TEXT}
|
yuuji@54
|
737 Make a box of width WIDTH using TEXT. The box's position by POS is;
|
yuuji@54
|
738 c : centering (default)
|
yuuji@54
|
739 b : bottom of box matches present text
|
yuuji@54
|
740 t : top of box matches present text
|
yuuji@51
|
741
|
yuuji@54
|
742 In \parbox, parameters will be reset as;
|
yuuji@51
|
743 \parskip = 0pt
|
yuuji@51
|
744 \linewidth = \hsize
|
yuuji@51
|
745 \@totalleftmargin = 0pt
|
yuuji@51
|
746 \leftskip = 0pt
|
yuuji@51
|
747 \rightskip = 0pt
|
yuuji@51
|
748 \@rightskip = 0pt
|
yuuji@51
|
749 \parfillskip = 0pt plus 1fil
|
yuuji@51
|
750 \lineskip = \normallineskip
|
yuuji@51
|
751 \baselineskip = \normalbaselineskip
|
yuuji@51
|
752
|
yuuji@51
|
753 minipage
|
yuuji@51
|
754 \begin{minipage}[pos]{WIDTH} TEXT \end{minipage}
|
yuuji@54
|
755 Make a box of width WIDTH using TEXT as \parbox. The box's position by
|
yuuji@54
|
756 POS is;
|
yuuji@54
|
757 c : centering (default)
|
yuuji@54
|
758 b : bottom of box matches present text
|
yuuji@54
|
759 t : top of box matches present text
|
yuuji@54
|
760 TEXT will be processed as a normal paragraph, differing from \parbox.
|
yuuji@51
|
761
|
yuuji@51
|
762 rule
|
yuuji@51
|
763 \rule[RAISED]{WIDTH}{HEIGHT}
|
yuuji@54
|
764 Make a rule of WIDTH x HEIGHT. If RAISED is given, will be raised that
|
yuuji@54
|
765 amount.
|
yuuji@51
|
766
|
yuuji@51
|
767 underline
|
yuuji@51
|
768 \underline{TEXT}
|
yuuji@54
|
769 Underline TEXT.
|
yuuji@51
|
770
|
yuuji@51
|
771 raisebox
|
yuuji@51
|
772 \raisebox{DISTANCE}[HEIGHT][DEPTH]{BOX}
|
yuuji@54
|
773 Raise BOX by DISTANCE.
|
yuuji@54
|
774 If HEIGHT and DEPTH are given, TeX will take it as the height and depth
|
yuuji@54
|
775 of the box.
|
yuuji@54
|
776 (see TeXBook for more info)
|
yuuji@51
|
777
|
yuuji@51
|
778 tabbing
|
yuuji@51
|
779 \begin{tabbing} \= text1.1 \= text1.2 \\ \> text2.1 \> text2.2 \end{tabbing}
|
yuuji@54
|
780 Creates an environment of aligned columns (nesting allowed). For example,
|
yuuji@51
|
781 \begin{tabbing}
|
yuuji@54
|
782 \= ITEM1 \hspace*{2em} \= ITEM2 \hspace*{3em} \= ITEM3 \\
|
yuuji@54
|
783 \> aabbcc \> ddeeff \> gghhii \+ \\
|
yuuji@54
|
784 \> jjkkll \> mmnnoo \\
|
yuuji@54
|
785 \> ppqqrr \- \\
|
yuuji@54
|
786 \> ssttuu \> vvwwxx \> yyzzzz
|
yuuji@51
|
787 \end{tabbing}
|
yuuji@54
|
788 will be processed with three tab stops as,
|
yuuji@54
|
789 (1st item) (2nd item) (3rd item)
|
yuuji@54
|
790 aabbcc ddeeff gghhii
|
yuuji@54
|
791 jjkkll mmnnoo
|
yuuji@54
|
792 ppqqrr
|
yuuji@54
|
793 ssttuu vvwwxx yyzzzz
|
yuuji@54
|
794 \2em/ \3em/
|
yuuji@54
|
795 Commands to control the tabbing environment are; (n starts from 1)
|
yuuji@54
|
796 \= Sets the nth tab stop position to the current position and increment
|
yuuji@54
|
797 the tab counter (n) by 1.
|
yuuji@54
|
798 \\ Start a new line and reset the tab counter (n=1)
|
yuuji@54
|
799 \> Set the position to the nth tab stop and increment the tab counter by 1.
|
yuuji@54
|
800 \+ Add 1 to the next line's tab counter's initial value. If written as
|
yuuji@54
|
801 \+ \\, the next line's \> will give the position of the second tab
|
yuuji@54
|
802 stop. Multiple \+ will accumulate tab counter's initial value.
|
yuuji@54
|
803
|
yuuji@54
|
804 \- Reverse of \+. Decrease initial value of tab counter for next line
|
yuuji@54
|
805 by 1.
|
yuuji@54
|
806 \< Decrease value of tab counter by 1 and set the tab stop. Can be
|
yuuji@54
|
807 only used at the beginning of a line.
|
yuuji@54
|
808 \' Output at a position \tabbinsep right from the normal tab stop.
|
yuuji@54
|
809 \` Output remaining text flush-right.
|
yuuji@54
|
810 \pushtabs Push all tab stop positions being used.
|
yuuji@54
|
811 \poptabs Push all tab stop positions being used. \pushtabs and \poptabs
|
yuuji@54
|
812 must be used in pairs. Nesting allowed.
|
yuuji@54
|
813 \aX In a tabbing environment, accents are produced by \a=, \a', \a`
|
yuuji@52
|
814 \kill Without outputting text, parse tabbing definition.
|
yuuji@51
|
815
|
yuuji@51
|
816 array
|
yuuji@51
|
817 \begin{array}{PREAMBLE} C1 & C2 & .. & Cn \\ D1 ... \end{array}
|
yuuji@51
|
818 Make a mathematical array. Useful to make matrix.
|
yuuji@51
|
819 See the help of `tabular' for detailed description.
|
yuuji@51
|
820
|
yuuji@51
|
821 tabular
|
yuuji@51
|
822 \begin{tabular}[OPT]{PREAMBLE} C1 & C2 & .. & Cn \\ D1 ... \end{tabular}
|
yuuji@51
|
823 Make tabular.
|
yuuji@51
|
824 [[OPT]]
|
yuuji@51
|
825 [t] Align the top of tabular to the line.
|
yuuji@51
|
826 [b] Align the bottom of tabular to the line.
|
yuuji@51
|
827 [[PREAMBLE]]
|
yuuji@51
|
828 l,r,c : indicate where entry is to be placed.
|
yuuji@51
|
829 | : for vertical rule
|
yuuji@51
|
830 @{EXP} : inserts the text EXP in every column. \arraycolsep or \tabcolsep
|
yuuji@51
|
831 spacing is suppressed.
|
yuuji@51
|
832 *{N}{PRE} : equivalent to writing N copies of PRE in the preamble. PRE
|
yuuji@51
|
833 may contain *{N'}{EXP'} expressions.
|
yuuji@68
|
834 p{LEN} : makes entry in parbox of width LEN. This is useful when
|
yuuji@68
|
835 each column contains long sentences.
|
yuuji@51
|
836
|
yuuji@51
|
837 [[Usable commands in array, tabular environment]]
|
yuuji@51
|
838 \multicolumn
|
yuuji@51
|
839 <refer multicolumn>
|
yuuji@51
|
840 \vline
|
yuuji@51
|
841 <refer vline>
|
yuuji@51
|
842 \hline
|
yuuji@51
|
843 <refer hline>
|
yuuji@51
|
844 \cline{i-j}
|
yuuji@51
|
845 <refer cline>
|
yuuji@51
|
846 \extracolsep{W}
|
yuuji@51
|
847 <refer extracolsep>
|
yuuji@51
|
848
|
yuuji@51
|
849
|
yuuji@68
|
850 See below as an example.
|
yuuji@51
|
851
|
yuuji@51
|
852 \LaTeX Expression Printed image
|
yuuji@51
|
853 \begin{array}{ccr}
|
yuuji@51
|
854 x+y+z & a_1 & 1 \\ x+y+z a1 1
|
yuuji@51
|
855 x+z & a_2 & 21 \\ x+z a2 21
|
yuuji@51
|
856 y & a_3 & 321 y a3 321
|
yuuji@51
|
857 \end{array}
|
yuuji@51
|
858
|
yuuji@51
|
859 \[ \left(
|
yuuji@51
|
860 \begin{array}{cccc}
|
yuuji@51
|
861 a_{11} & a_{12} & \dots & a_{1n} \\ / a11 a12 ... a1n \
|
yuuji@51
|
862 a_{21} & a_{22} & \dots & a_{2n} \\ | a21 a22 ... a2n |
|
yuuji@51
|
863 \vdots & \vdots & \ddots& \vdots \\ | : : \. : |
|
yuuji@51
|
864 a_{n1} & a_{n2} & \dots & a_{nn} \ an1 an2 ..: ann /
|
yuuji@51
|
865 \end{array}
|
yuuji@51
|
866 \right)\]
|
yuuji@51
|
867
|
yuuji@68
|
868 \begin{tabular}{lp{0.7\textwidth}
|
yuuji@68
|
869 \hline ----------------------------
|
yuuji@68
|
870 \verb|.| & Period matches with . Period matches with any
|
yuuji@68
|
871 any single character.\\ single character.
|
yuuji@68
|
872 \verb|*| & Asterisk matches with * Asterisk matches with 0
|
yuuji@68
|
873 0 or more repetition or more repetition of
|
yuuji@68
|
874 of preceding regexp. preceding regexp.
|
yuuji@68
|
875 \\ \hline ----------------------------
|
yuuji@68
|
876 \end{tabular}
|
yuuji@68
|
877
|
yuuji@68
|
878 (End of example)
|
yuuji@68
|
879
|
yuuji@51
|
880 \right(, \left) or \right{, left} or \right[, \left] or \right|, \left|
|
yuuji@51
|
881 can enclose whole of array environment by parentheses, braces, brackets,
|
yuuji@51
|
882 norm respectively. The number of `\right's and `\left's should be the
|
yuuji@51
|
883 same, but the type of parentheses don't have to match like
|
yuuji@51
|
884 \right( \left]. `\right.' produces the invisible parenthesis.
|
yuuji@51
|
885
|
yuuji@51
|
886 \[ Ans. \cdots \left\{ /
|
yuuji@51
|
887 \begin{array}{ccc} | x = 5
|
yuuji@51
|
888 x & = & 5 \\ Ans. ...<
|
yuuji@51
|
889 y & = & 3 | y = 3
|
yuuji@51
|
890 \end{array} \right. \] \
|
yuuji@51
|
891
|
yuuji@51
|
892 Here are the style parameters for the tabular environment.
|
yuuji@51
|
893 \arraycolsep : half the width separating columns in an array environment
|
yuuji@51
|
894 \tabcolsep : half the width separating columns in a tabular environment
|
yuuji@51
|
895 \arrayrulewidth : width of rules
|
yuuji@51
|
896 \doublerulesep : space between adjacent rules in array or tabular
|
yuuji@51
|
897 \arraystretch : line spacing in array and tabular environments is done by
|
yuuji@51
|
898 placing a strut in every row of height and depth
|
yuuji@51
|
899 \arraystretch times the height and depth of the strut
|
yuuji@54
|
900 produced by an ordinary \strut command.
|
yuuji@51
|
901
|
yuuji@51
|
902 Tabular environment cannot spread across pages. `supertabular.sty'
|
yuuji@54
|
903 allows this.
|
yuuji@51
|
904
|
yuuji@51
|
905 tabular*
|
yuuji@52
|
906 \begin{tabular*}{WIDTH}{PREAMBLE} ... \end{tabular*}
|
yuuji@51
|
907 Make tabular environment with specifying its width.
|
yuuji@51
|
908 To fill this width, use \extracolsep{} of preamble as below:
|
yuuji@51
|
909 \begin{tabular*}{10em}[b]{|c@{\extracolsep{\fill}}|c|c|}
|
yuuji@51
|
910 \hline
|
yuuji@51
|
911 a & b & c \\ \hline
|
yuuji@51
|
912 1 & 2 & 3
|
yuuji@51
|
913 \end{tabular*}
|
yuuji@51
|
914 See also tabular.
|
yuuji@51
|
915
|
yuuji@51
|
916 multicolumn
|
yuuji@51
|
917 \multicolumn{N}{FORMAT}{ITEM}
|
yuuji@51
|
918 In tabular environment,
|
yuuji@51
|
919 replaces the next N column items by
|
yuuji@51
|
920 ITEM, formatted according to FORMAT. FORMAT should contain at most
|
yuuji@51
|
921 one l,r or c. If it contains none, then ITEM is ignored.
|
yuuji@51
|
922
|
yuuji@51
|
923 vline
|
yuuji@51
|
924 \vline
|
yuuji@51
|
925 In tabular environment,
|
yuuji@51
|
926 draws a vertical line the height of the current row. May
|
yuuji@51
|
927 appear in an array element entry.
|
yuuji@51
|
928
|
yuuji@51
|
929
|
yuuji@51
|
930 hline
|
yuuji@51
|
931 \hline
|
yuuji@51
|
932 In tabular environment draws a horizontal line between rows. Must
|
yuuji@51
|
933 appear either before the first entry (to appear above the first row) or
|
yuuji@51
|
934 right after a \\ command. If followed by another \hline, then adds a
|
yuuji@51
|
935 \vskip of \doublerulesep.
|
yuuji@51
|
936
|
yuuji@51
|
937 cline
|
yuuji@51
|
938 \cline{i-j}
|
yuuji@51
|
939 In tabular environment,
|
yuuji@51
|
940 draws horizontal lines between rows covering columns
|
yuuji@51
|
941 i through j, inclusive. Multiple commands may follow
|
yuuji@51
|
942 one another to provide lines covering several disjoint
|
yuuji@51
|
943 columns
|
yuuji@51
|
944
|
yuuji@51
|
945 extracolsep
|
yuuji@51
|
946 \extracolsep{W}
|
yuuji@51
|
947 for use inside an @ in the preamble. Causes a WIDTH
|
yuuji@51
|
948 space to be added between columns for the rest of the
|
yuuji@51
|
949 columns. This is in addition to the ordinary intercolumn
|
yuuji@51
|
950 space.
|
yuuji@51
|
951
|
yuuji@51
|
952 picture
|
yuuji@51
|
953 \begin{picture}(WIDTH,HEIGHT)(X,Y) ..contents.. \end{picture}
|
yuuji@51
|
954 The picture environment allows you to create just about any kind of
|
yuuji@51
|
955 picture you want containing text, lines, arrows and circles. You tell
|
yuuji@51
|
956 LaTeX where to put things in the picture by specifying their
|
yuuji@51
|
957 coordinates. A coordinate is a number that may have a decimal point
|
yuuji@51
|
958 and a minus sign - a number like 5, 2.3 or -3.1416. A coordinate
|
yuuji@51
|
959 specifies a length in multiples of the unit length \unitlength, so if
|
yuuji@51
|
960 \unitlength has been set to 1cm, then the coordinate 2.54 specifies a
|
yuuji@51
|
961 length of 2.54 centimeters. You can change the value of \unitlength
|
yuuji@51
|
962 anywhere you want, using the \setlength command, but strange things
|
yuuji@51
|
963 will happen if you try changing it inside the picture environment.
|
yuuji@51
|
964
|
yuuji@51
|
965 A position is a pair of coordinates, such as (2.4,-5), specifying the
|
yuuji@51
|
966 point with x-coordinate 2.4 and y-coordinate -5. Coordinates are
|
yuuji@51
|
967 specified in the usual way with respect to an origin, which is
|
yuuji@51
|
968 normally at the lower-left corner of the picture. Note that when a
|
yuuji@51
|
969 position appears as an argument, it is not enclosed in braces; the
|
yuuji@51
|
970 parentheses serve to delimit the argument.
|
yuuji@51
|
971
|
yuuji@51
|
972 The picture environment has one mandatory argument, which is a
|
yuuji@51
|
973 position. It specifies the size of the picture. The environment
|
yuuji@51
|
974 produces a rectangular box with width and height determined by this
|
yuuji@51
|
975 argument's x- and y-coordinates.
|
yuuji@51
|
976
|
yuuji@51
|
977 The picture environment also has an optional position argument,
|
yuuji@51
|
978 following the size argument, that can change the origin. (Unlike
|
yuuji@51
|
979 ordinary optional arguments, this argument is not contained in square
|
yuuji@51
|
980 brackets.) The optional argument gives the coordinates of the point at
|
yuuji@51
|
981 the lower-left corner of the picture (thereby determining the origin).
|
yuuji@51
|
982 For example, if \unitlength has been set to 1mm, the command
|
yuuji@51
|
983
|
yuuji@51
|
984 \begin{picture}(100,200)(10,20)
|
yuuji@51
|
985
|
yuuji@51
|
986 produces a picture of width 100 millimeters and height 200
|
yuuji@51
|
987 millimeters, whose lower-left corner is the point (10,20) and whose
|
yuuji@51
|
988 upper-right corner is therefore the point (110,220). When you first
|
yuuji@51
|
989 draw a picture, you will omit the optional argument, leaving the
|
yuuji@51
|
990 origin at the lower-left corner. If you then want to modify your
|
yuuji@51
|
991 picture by shifting everything, you just add the appropriate optional
|
yuuji@51
|
992 argument.
|
yuuji@51
|
993
|
yuuji@51
|
994 The environment's mandatory argument determines the nominal size of
|
yuuji@51
|
995 the picture. This need bear no relation to how large the picture
|
yuuji@51
|
996 really is; LaTeX will happily allow you to put things outside the
|
yuuji@51
|
997 picture, or even off the page. The picture's nominal size is used by
|
yuuji@51
|
998 TeX in determining how much room to leave for it.
|
yuuji@51
|
999
|
yuuji@51
|
1000 Everything that appears in a picture is drawn by the \put command. The
|
yuuji@51
|
1001 command
|
yuuji@51
|
1002
|
yuuji@51
|
1003 \put (11.3,-.3){...}
|
yuuji@51
|
1004
|
yuuji@51
|
1005 puts the object specified by "..." in the picture, with its reference
|
yuuji@51
|
1006 point at coordinates (11.3,-.3). The reference points for various
|
yuuji@51
|
1007 objects will be described below.
|
yuuji@51
|
1008
|
yuuji@51
|
1009 The \put command creates an LR box. You can put anything in the text
|
yuuji@51
|
1010 argument of the \put command that you'd put into the argument of an
|
yuuji@51
|
1011 \mbox and related commands. When you do this, the reference point
|
yuuji@51
|
1012 will be the lower left corner of the box.
|
yuuji@51
|
1013
|
yuuji@51
|
1014 Picture environment is obsolete I thinks, so show only commands.
|
yuuji@51
|
1015
|
yuuji@51
|
1016 [[COMMANDS]]
|
yuuji@51
|
1017 \put(X,Y){OBJECT}
|
yuuji@51
|
1018 \multiput(X,Y)(dX,dY){REPEAT}{OBJECT}
|
yuuji@51
|
1019 [[OBJECTS]]
|
yuuji@51
|
1020 \makebox(X,Y)[POS]{TEXT}
|
yuuji@51
|
1021 \framebox(X,Y)[POS]{TEXT}
|
yuuji@51
|
1022 \dashbox(X,Y)[POS]{TEXT}
|
yuuji@51
|
1023 (POS = l, r, b, t)
|
yuuji@51
|
1024 \line(dX,dY){HorizontalLength}
|
yuuji@51
|
1025 \vector(dX,dY){HorizontalLength} (arrow)
|
yuuji@51
|
1026 (dX,dY = +-1, +-2, ..., +-6)
|
yuuji@51
|
1027 \shortstack[POS]{FIRST\\SECOND\\THIRD...}
|
yuuji@51
|
1028 \circle{DIAMETER}
|
yuuji@51
|
1029 \circle*{DIAMETER} (Filled circle)
|
yuuji@51
|
1030 (Maximum diameters are 40pt, 15pt)
|
yuuji@51
|
1031 \oval(Dia-X,DiaY)[POS] (Oval POS = l, r, t, b)
|
yuuji@51
|
1032 \frame{OBJECT}
|
yuuji@51
|
1033 \thinlines, \thicklines (choose line thickness)
|
yuuji@51
|
1034 \linethickness{THICKNESS}
|
yuuji@51
|
1035
|
yuuji@51
|
1036 newtheorem
|
yuuji@51
|
1037 \newtheorem{NAME}{TEXT}[COUNTER] \newtheorem{NAME}[OLDNAME]{TEXT}
|
yuuji@51
|
1038 This defines the environment NAME to be just as one would expect a
|
yuuji@51
|
1039 theorem environment to be, except that it prints ``TEXT'' instead of
|
yuuji@51
|
1040 ``Theorem''.
|
yuuji@51
|
1041
|
yuuji@51
|
1042 If OLDNAME is given, then environments NAME and OLDNAME use the same
|
yuuji@51
|
1043 counter, so using a NAME environment advances the number of the next
|
yuuji@51
|
1044 NAME environment, and vice-versa.
|
yuuji@51
|
1045
|
yuuji@51
|
1046 If COUNTER is given, then environment NAME is numbered within COUNTER.
|
yuuji@51
|
1047 E.g., if COUNTER = subsection, then the first NAME in subsection 7.2
|
yuuji@51
|
1048 is numbered TEXT 7.2.1.
|
yuuji@51
|
1049
|
yuuji@51
|
1050 The way NAME environments are numbered can be changed by redefining
|
yuuji@51
|
1051 \theNAME.
|
yuuji@51
|
1052
|
yuuji@51
|
1053 title
|
yuuji@51
|
1054 \title{TITLE}
|
yuuji@51
|
1055 Define the title of the document.
|
yuuji@51
|
1056
|
yuuji@51
|
1057 author
|
yuuji@51
|
1058 \author{AUTHOR}
|
yuuji@51
|
1059 Declare the author of the document.
|
yuuji@51
|
1060
|
yuuji@51
|
1061 date
|
yuuji@51
|
1062 \date{DATE}
|
yuuji@51
|
1063 Define the date of document which is used by \maketitle.
|
yuuji@51
|
1064 Omitting DATE produces current date.
|
yuuji@51
|
1065
|
yuuji@51
|
1066 thanks
|
yuuji@51
|
1067 \thanks{FOOTNOTE}
|
yuuji@51
|
1068 Output a footnote in title page.
|
yuuji@51
|
1069
|
yuuji@51
|
1070 maketitle
|
yuuji@51
|
1071 \maketitle
|
yuuji@51
|
1072 Output a title. Should be written in document environment.
|
yuuji@51
|
1073 Here are the constituents of title page.
|
yuuji@51
|
1074 \title{TITLE}
|
yuuji@51
|
1075 \author{AUTHOR}
|
yuuji@51
|
1076 \date{DATE} (If DATE omitted, output the date of typesetting)
|
yuuji@51
|
1077 \thanks{NOTE} (Output a thanks message or the post of the author)
|
yuuji@51
|
1078
|
yuuji@51
|
1079 part
|
yuuji@51
|
1080 \part{TITLE}
|
yuuji@51
|
1081 Start a new part whose title is TITLE.
|
yuuji@51
|
1082 <refer chapter>
|
yuuji@51
|
1083
|
yuuji@51
|
1084 chapter
|
yuuji@51
|
1085 \chapter{TITLE}
|
yuuji@51
|
1086 Start a chapter whose title is TITLE.
|
yuuji@51
|
1087 Sectioning commands:
|
yuuji@51
|
1088 \part Part ?
|
yuuji@51
|
1089 \chapter Chapter ? (not available in `article.sty')
|
yuuji@51
|
1090 \section ?
|
yuuji@51
|
1091 \subsection ?.?
|
yuuji@51
|
1092 \subsubsection ?.?.?
|
yuuji@51
|
1093 \paragraph ***
|
yuuji@51
|
1094 \subparagraph ===
|
yuuji@51
|
1095
|
yuuji@51
|
1096 section
|
yuuji@51
|
1097 \section{TITLE}
|
yuuji@51
|
1098 Start a section whose title is TITLE.
|
yuuji@51
|
1099 <refer chapter>
|
yuuji@51
|
1100
|
yuuji@51
|
1101 subsection
|
yuuji@51
|
1102 \subsection{TITLE}
|
yuuji@51
|
1103 Start a subsection whose title is TITLE.
|
yuuji@51
|
1104 <refer chapter>
|
yuuji@51
|
1105
|
yuuji@51
|
1106 subsubsection
|
yuuji@51
|
1107 \subsubsection{TITLE}
|
yuuji@51
|
1108 Start a paragraph whose title is TITLE.
|
yuuji@51
|
1109 <refer chapter>
|
yuuji@51
|
1110
|
yuuji@51
|
1111 paragraph
|
yuuji@51
|
1112 \paragraph{TITLE}
|
yuuji@51
|
1113 Start a paragraph whose title is TITLE.
|
yuuji@51
|
1114 <refer chapter
|
yuuji@51
|
1115
|
yuuji@51
|
1116 subparagraph
|
yuuji@51
|
1117 \subparagraph{TITLE}
|
yuuji@51
|
1118 Start a subparagraph whose title is TITLE.
|
yuuji@51
|
1119 <refer chapter>
|
yuuji@51
|
1120
|
yuuji@51
|
1121 appendix
|
yuuji@51
|
1122 \appendix
|
yuuji@51
|
1123 Declare the beginning of appendix.
|
yuuji@51
|
1124 Change the numbering fashion to appendix oriented.
|
yuuji@51
|
1125
|
yuuji@51
|
1126 contentsline
|
yuuji@51
|
1127 \contentsline{TYPE}{ENTRY}{PAGE}
|
yuuji@51
|
1128 \contentsline{subsection}{\makebox{30pt}[r]{1.4.3} Gnats and Gnus}{22}
|
yuuji@51
|
1129 Macro to produce a TYPE entry in a table of contents, etc.
|
yuuji@51
|
1130 It will appear in the .TOC or other file. For example,
|
yuuji@51
|
1131 The entry for subsection 1.4.3 in the table of contents might
|
yuuji@51
|
1132 be produced by:
|
yuuji@51
|
1133 \contentsline{subsection}{\makebox{30pt}[r]{1.4.3} Gnats and Gnus}{22}
|
yuuji@51
|
1134 The \protect command causes command sequences to be written
|
yuuji@51
|
1135 without expanding them.
|
yuuji@51
|
1136
|
yuuji@51
|
1137 addcontentsline
|
yuuji@51
|
1138 \addcontentsline{TABLE}{TYPE}{ENTRY}
|
yuuji@51
|
1139 User command for adding his own entry to a table of contents, etc.
|
yuuji@51
|
1140 It adds the entry
|
yuuji@51
|
1141 \contentsline{TYPE}{ENTRY}{page}
|
yuuji@51
|
1142 to the .TABLE file.
|
yuuji@51
|
1143
|
yuuji@51
|
1144 addtocontents
|
yuuji@51
|
1145 \addtocontents{TABLE}{TEXT}
|
yuuji@51
|
1146 Adds TEXT to the .TABLE file, with no page number.
|
yuuji@51
|
1147
|
yuuji@51
|
1148 index
|
yuuji@51
|
1149 \index{INDEX}
|
yuuji@51
|
1150 Create an entry of index.
|
yuuji@51
|
1151
|
yuuji@51
|
1152
|
yuuji@51
|
1153 glossary
|
yuuji@51
|
1154 \glossary{STRING}
|
yuuji@51
|
1155 Create an entry of glossary.
|
yuuji@51
|
1156
|
yuuji@51
|
1157 makeindex
|
yuuji@51
|
1158 \makeindex
|
yuuji@51
|
1159 Writes \indexentry to .idx file.
|
yuuji@51
|
1160 Should be in preamble.
|
yuuji@51
|
1161
|
yuuji@51
|
1162 makeglossary
|
yuuji@51
|
1163 \makeglossary
|
yuuji@51
|
1164 Writes \glossaryentry to .glo file.
|
yuuji@51
|
1165 Should be in preamble.
|
yuuji@51
|
1166
|
yuuji@51
|
1167 bibliography
|
yuuji@51
|
1168 \bibliography{FILE1,FILE2, ... ,FILEn}
|
yuuji@51
|
1169 Specifies the bibdata files.
|
yuuji@51
|
1170
|
yuuji@51
|
1171 bibliographystyle
|
yuuji@51
|
1172 \bibliographystyle{STYLE}
|
yuuji@51
|
1173 Style of numbering of bibliographies.
|
yuuji@54
|
1174 plain normal
|
yuuji@54
|
1175 unsrt without sorting
|
yuuji@51
|
1176 alpha gives tag like "Foo94"
|
yuuji@51
|
1177 abbrv omit the first name of author, publishing month, book title
|
yuuji@51
|
1178
|
yuuji@51
|
1179 thebibliography
|
yuuji@77
|
1180 \begin{thebibliography}{LONGEST-LABEL} \bibitem{ITEM},... \end{thebibliography}
|
yuuji@51
|
1181 The thebibliography environment is a list environment. To save the
|
yuuji@51
|
1182 use of an extra counter, it should use enumiv as the item counter.
|
yuuji@51
|
1183 Instead of using \item, items in the bibliography are produced by the
|
yuuji@51
|
1184 \bibitem command.
|
yuuji@77
|
1185 LONGEST-LABEL is a dummy string to notify the maximum width of label.
|
yuuji@51
|
1186 ---
|
yuuji@51
|
1187 <refer bibitem>
|
yuuji@51
|
1188
|
yuuji@51
|
1189 bibitem
|
yuuji@51
|
1190 \bibitem{NAME} \bibitem[LABEL]{NAME}
|
yuuji@51
|
1191 Produces a numbered (as [1], [2],...) entry cited as NAME.
|
yuuji@51
|
1192 Second form produces an entry labeled by LABEL and cited as NAME.
|
yuuji@51
|
1193
|
yuuji@51
|
1194 thefootnote
|
yuuji@51
|
1195 In usual LaTeX style, produces the footnote number.
|
yuuji@51
|
1196 If footnotes are to be numbered within pages, then the
|
yuuji@51
|
1197 document style file must include an \@addtoreset command
|
yuuji@51
|
1198 to cause the footnote counter to be reset when the page
|
yuuji@51
|
1199 counter is stepped. This is not a good idea, though,
|
yuuji@51
|
1200 because the counter will not always be reset in time
|
yuuji@51
|
1201 to ensure that the first footnote on a page is footnote
|
yuuji@51
|
1202 number one.
|
yuuji@51
|
1203
|
yuuji@51
|
1204 footnote
|
yuuji@51
|
1205 \footnote{NOTE} or \footnote[NUM]{NOTE}
|
yuuji@51
|
1206 User command to insert a footnote.
|
yuuji@51
|
1207 In second form, insert a footnote numbered
|
yuuji@51
|
1208 NUM, where NUM is a number -- 1, 2,
|
yuuji@51
|
1209 etc. For example, if footnotes are numbered
|
yuuji@51
|
1210 *, **, etc. within pages, then \footnote[2]{...}
|
yuuji@51
|
1211 produces footnote '**'. This command does not
|
yuuji@51
|
1212 step the footnote counter.
|
yuuji@86
|
1213
|
yuuji@86
|
1214 If you want footnote number as marks, define as follows in preamble;
|
yuuji@86
|
1215 \renewcommand{\thefootnote}{\fnsymbol{footnote}}
|
yuuji@86
|
1216
|
yuuji@86
|
1217 The next definition produces dagger marks followed by sequential number.
|
yuuji@86
|
1218 \renewcommand{\thefootnote}{$\dagger$\arabic{footnote}}
|
yuuji@51
|
1219 (fragile)
|
yuuji@51
|
1220
|
yuuji@51
|
1221 footnotemark
|
yuuji@51
|
1222 \footnotemark[NUM]
|
yuuji@51
|
1223 Command to produce just the footnote mark in
|
yuuji@51
|
1224 the text, but no footnote. With no argument,
|
yuuji@51
|
1225 it steps the footnote counter before generating
|
yuuji@51
|
1226 the mark.
|
yuuji@51
|
1227
|
yuuji@51
|
1228 footnotetext
|
yuuji@51
|
1229 \footnotetext[NUM]{TEXT}
|
yuuji@51
|
1230 Command to produce the footnote but no mark.
|
yuuji@51
|
1231 \footnote is equivalent to \footnotemark \footnotetext .
|
yuuji@51
|
1232
|
yuuji@51
|
1233 footnotesize
|
yuuji@51
|
1234 {\footnotesize ...}
|
yuuji@51
|
1235 Size-changing command for footnotes.
|
yuuji@51
|
1236
|
yuuji@51
|
1237 footnotesep
|
yuuji@51
|
1238 \footnotesep
|
yuuji@51
|
1239 The height of a strut placed at the beginning of every footnote.
|
yuuji@51
|
1240
|
yuuji@51
|
1241 footnoterule
|
yuuji@51
|
1242 \footnoterule
|
yuuji@51
|
1243 Macro to draw the rule separating footnotes from text.
|
yuuji@51
|
1244 It is executed right after a \vspace of \skip\footins.
|
yuuji@51
|
1245 It should take zero vertical space--i.e., it should to
|
yuuji@51
|
1246 a negative skip to compensate for any positive space
|
yuuji@51
|
1247 it occupies. (See PLAIN.TEX.)
|
yuuji@51
|
1248
|
yuuji@51
|
1249 documentstyle
|
yuuji@51
|
1250 \documentstyle[OPTION1,OPTION2, ... ,OPTIONn]{STYLE}
|
yuuji@80
|
1251 The user starts one's file with the command as above
|
yuuji@80
|
1252 which loads the OPTION's respectively and \input's the file STYLE.sty.
|
yuuji@80
|
1253
|
yuuji@80
|
1254 documentclass
|
yuuji@80
|
1255 \documentclass[OPTION1,OPTION2, ... ,OPTIONn]{STYLE}
|
yuuji@80
|
1256 In LaTeX2e, user starts one's file with the command as above
|
yuuji@80
|
1257 which loads the OPTION's respectively and \input's the file STYLE.cls.
|
yuuji@80
|
1258
|
yuuji@80
|
1259 usepackage
|
yuuji@80
|
1260 \usepackage[OPTIONS]{PACKAGE}
|
yuuji@80
|
1261 Use additional package `PACKAGE' with option `OPTION'.
|
yuuji@51
|
1262
|
yuuji@51
|
1263 verb
|
yuuji@51
|
1264 \verb#CONTENTS#
|
yuuji@51
|
1265 The command \verb produces in-line verbatim text, where the argument
|
yuuji@51
|
1266 is delimited by any pair of characters. E.g., \verb #...# takes
|
yuuji@51
|
1267 '...' as its argument, and sets it verbatim in \tt font.
|
yuuji@51
|
1268
|
yuuji@51
|
1269 The *-variants of these commands is the same, except that spaces
|
yuuji@51
|
1270 print as the TeXbook's space character instead of as blank spaces.
|
yuuji@51
|
1271
|
yuuji@51
|
1272 styleparameter
|
yuuji@51
|
1273
|
yuuji@51
|
1274 topfigrule
|
yuuji@51
|
1275 \topfigrule
|
yuuji@51
|
1276 Command to place rule (or whatever) between floats
|
yuuji@51
|
1277 at top of page and text. Executed in inner vertical
|
yuuji@51
|
1278 mode right before the \textfloatsep skip separating
|
yuuji@51
|
1279 the floats from the text. Must occupy zero vertical
|
yuuji@51
|
1280 space. (See \footnoterule.)
|
yuuji@51
|
1281
|
yuuji@51
|
1282 botfigrule
|
yuuji@51
|
1283 \setlength{\botfigrule}{LENGTH}
|
yuuji@51
|
1284 Same as \topfigrule, but put after the \textfloatsep
|
yuuji@51
|
1285 skip separating text from the floats at bottom of page.
|
yuuji@51
|
1286
|
yuuji@51
|
1287 intextsep
|
yuuji@51
|
1288 \setlength{\intextsep}{LENGTH}
|
yuuji@51
|
1289 Space left on top and bottom of an in-text float.
|
yuuji@51
|
1290
|
yuuji@51
|
1291 newpage
|
yuuji@51
|
1292 \newpage
|
yuuji@51
|
1293 Advance to a new page.
|
yuuji@51
|
1294 \clearpage Output the unfinished table of images, if any,
|
yuuji@51
|
1295 and clear page.
|
yuuji@51
|
1296 \cleardoublepage Same as \clearpage except that when spread style
|
yuuji@51
|
1297 (such as book), start a new page with odd page.
|
yuuji@51
|
1298 \newpage Finish current column when twocolumn.
|
yuuji@51
|
1299
|
yuuji@51
|
1300 clearpage
|
yuuji@51
|
1301 \clearpage
|
yuuji@51
|
1302 <refer newpage>
|
yuuji@51
|
1303
|
yuuji@51
|
1304 cleardoublepage
|
yuuji@51
|
1305 \cleardoublepage
|
yuuji@51
|
1306 <refer newpage>
|
yuuji@51
|
1307
|
yuuji@51
|
1308 length
|
yuuji@51
|
1309
|
yuuji@51
|
1310 Here are the available units of length in TeX.
|
yuuji@51
|
1311 cm centi meter
|
yuuji@51
|
1312 em width of `M'
|
yuuji@51
|
1313 ex height of `x'
|
yuuji@51
|
1314 in inch (=2.54cm)
|
yuuji@51
|
1315 mm mi.li meter
|
yuuji@51
|
1316 pc pica(=12pt)
|
yuuji@51
|
1317 pt point (72.27pt=1 inch)
|
yuuji@51
|
1318 \fill Freely extendable length whose normal length is 0
|
yuuji@51
|
1319 \stretch{X} X-times as long as \fill
|
yuuji@51
|
1320
|
yuuji@51
|
1321 stretch
|
yuuji@51
|
1322 \stretch{X}
|
yuuji@51
|
1323 <refer length>
|
yuuji@51
|
1324
|
yuuji@51
|
1325 twocolumn
|
yuuji@51
|
1326 \twocolumn[STRING]
|
yuuji@51
|
1327 Clear page and start two-column typesetting.
|
yuuji@51
|
1328 Optional argument [STRING] specifies the page-acrossing title.
|
yuuji@80
|
1329
|
yuuji@80
|
1330 If you want to output one-column title page with two-column body,
|
yuuji@80
|
1331 describe like this;
|
yuuji@80
|
1332 \twocolumn[
|
yuuji@80
|
1333 \begin{titlepage}
|
yuuji@80
|
1334 {\LARGE YourTitle}
|
yuuji@80
|
1335 \vspace*{1em}
|
yuuji@80
|
1336 \begin{abstract} Your Abstract blah blah... \end{abstract}
|
yuuji@80
|
1337 \end{titlepage}
|
yuuji@80
|
1338 ]
|
yuuji@80
|
1339
|
yuuji@51
|
1340 ->onecolumn
|
yuuji@51
|
1341
|
yuuji@51
|
1342 onecolumn
|
yuuji@51
|
1343 \onecolumn
|
yuuji@51
|
1344 Clear page and start one-column typesetting.
|
yuuji@51
|
1345 ->twocolumn
|
yuuji@51
|
1346
|
yuuji@51
|
1347 topnewpage
|
yuuji@51
|
1348 \topnewpage{BOX}
|
yuuji@51
|
1349 Begin a new page and create the parbox-ed BOX whose width is \textwidth.
|
yuuji@51
|
1350 This is useful to make a page-acrossing title in a twocolumn page.
|
yuuji@51
|
1351
|
yuuji@79
|
1352 breakbox
|
yuuji@79
|
1353 \begin{breakbox} ... \end{breakbox}
|
yuuji@79
|
1354 Make a surrounding frame extended across pages.
|
yuuji@79
|
1355 Useful for cite a long program list.
|
yuuji@79
|
1356 Requires `\usepackage{eclbkbox}'
|
yuuji@79
|
1357
|
yuuji@79
|
1358 verbfile
|
yuuji@79
|
1359 \verbfile{FILE}
|
yuuji@79
|
1360 Include a FILE in verbatim format.
|
yuuji@79
|
1361 Requires `\usepackage{misc}'
|
yuuji@79
|
1362 See also \listing
|
yuuji@79
|
1363
|
yuuji@79
|
1364 listing
|
yuuji@79
|
1365 \listing{FILE}
|
yuuji@79
|
1366 Include a FILE in verbatim format with line number.
|
yuuji@79
|
1367 Requires `\usepackage{misc}'
|
yuuji@79
|
1368 See also \verbfile
|
yuuji@79
|
1369
|
yuuji@79
|
1370 ascmac
|
yuuji@79
|
1371 \usepackage{ascmac}
|
yuuji@79
|
1372 The `ascmac' package provides
|
yuuji@79
|
1373 * \boxnote environment notebook-like box
|
yuuji@79
|
1374 * \screen environment corner-rounded box suitable for screen output
|
yuuji@79
|
1375 * \itembox environment itemizing box
|
yuuji@79
|
1376 * \shadebox environment shaded box
|
yuuji@79
|
1377 * \keytop macro keytop
|
yuuji@79
|
1378 * \yen Yen mark
|
yuuji@79
|
1379 * \return-key
|
yuuji@79
|
1380 * \mask, \maskbox
|
yuuji@79
|
1381
|
yuuji@79
|
1382 boxnote
|
yuuji@79
|
1383 \begin{boxnote} ... \end{boxnote}
|
yuuji@79
|
1384 Enclose with notebook-like square.
|
yuuji@79
|
1385 Defined in ascmac.sty.
|
yuuji@79
|
1386
|
yuuji@79
|
1387 <refer ascmac>
|
yuuji@79
|
1388
|
yuuji@79
|
1389 screen
|
yuuji@79
|
1390 \begin{screen} ... \end{screen}
|
yuuji@79
|
1391 Enclose with corner-rounded square which stands for screen output.
|
yuuji@79
|
1392 Requires `\usepackage{ascmac}'
|
yuuji@79
|
1393
|
yuuji@79
|
1394 <refere ascmac>
|
yuuji@79
|
1395
|
yuuji@79
|
1396 itembox
|
yuuji@79
|
1397 \begin{itembox}{ITEMSTRING} ... \end{itembox}
|
yuuji@79
|
1398 Enclose box with ITEMSTRING header.
|
yuuji@79
|
1399 Requires `\usepackage{ascmac}'
|
yuuji@79
|
1400 <refere ascmac>
|
yuuji@79
|
1401
|
yuuji@79
|
1402 shadebox
|
yuuji@79
|
1403 \begin{shadebox} ... \end{shadebox}
|
yuuji@79
|
1404 Enclose shaded box.
|
yuuji@79
|
1405 Requires `\usepackage{ascmac}'
|
yuuji@79
|
1406 <refere ascmac>
|
yuuji@79
|
1407
|
yuuji@79
|
1408 keytop
|
yuuji@79
|
1409 \keytop{KEY}
|
yuuji@79
|
1410 Output a keytop designed character.
|
yuuji@79
|
1411 Requires `\usepackage{ascmac}'
|
yuuji@79
|
1412 <refere ascmac>
|
yuuji@79
|
1413
|
yuuji@79
|
1414 mask
|
yuuji@79
|
1415 \mask{STRING}{MASKTYPE}
|
yuuji@79
|
1416 Make a masked STRING. MASKTYPE is one of character A through K.
|
yuuji@79
|
1417
|
yuuji@79
|
1418 eg.) \mask{This is a pen!}{C}
|
yuuji@79
|
1419
|
yuuji@79
|
1420 Mask types are viewed at
|
yuuji@79
|
1421 http://www.yatex.org/help/ascmac-mask.jpg
|
yuuji@79
|
1422
|
yuuji@79
|
1423 Defined in `\usepackage{ascmac}'
|
yuuji@79
|
1424
|
yuuji@79
|
1425 <refere ascmac>
|
yuuji@79
|
1426
|
yuuji@79
|
1427 maskbox
|
yuuji@79
|
1428 \maskbox{WIDTH}{HEIGHT}{MASKTYPE}{POS}{STRING}
|
yuuji@79
|
1429 Make a masked box of WIDTH x HEIGHT which contains STRING located in POS.
|
yuuji@79
|
1430 Masking type MASKTYPE is one of character A through K.
|
yuuji@79
|
1431
|
yuuji@79
|
1432 eg.) \maskbox{5cm}{2.5em}{G}{c}{Year!}
|
yuuji@79
|
1433
|
yuuji@79
|
1434 Mask types are viewed at
|
yuuji@79
|
1435 http://www.yatex.org/help/ascmac-mask.jpg
|
yuuji@79
|
1436
|
yuuji@79
|
1437 Requires `\usepackage{ascmac}'
|
yuuji@79
|
1438 <refere ascmac>
|
yuuji@79
|
1439
|
yuuji@79
|
1440 alltt
|
yuuji@79
|
1441 \begin{alltt} ... \end{alltt}
|
yuuji@79
|
1442 An environment like verbatim except in which TeX macro can be used.
|
yuuji@79
|
1443
|
yuuji@79
|
1444 comment
|
yuuji@79
|
1445 \begin{comment} ... \end{comment}
|
yuuji@79
|
1446 Comment out enclosed environment.
|
yuuji@79
|
1447 But if \includeversion{comment} appears, enclosed part activated.
|
yuuji@79
|
1448 Putting \excludeversion{ENV} defines new environment ENV which
|
yuuji@79
|
1449 works equivalently to comment environment.
|
yuuji@79
|
1450
|
yuuji@79
|
1451 Requires `\usepackage{version}'
|
yuuji@79
|
1452
|
yuuji@79
|
1453 bou
|
yuuji@79
|
1454 \bou{STRING}
|
yuuji@79
|
1455 Put the emphasizing dot on each characters in STRING.
|
yuuji@79
|
1456
|
yuuji@79
|
1457 Requires `\usepackage{plext}'
|
yuuji@79
|
1458
|
yuuji@79
|
1459 url
|
yuuji@79
|
1460 \url{URL_STRING}
|
yuuji@79
|
1461 Put URL string with reasonable folding.
|
yuuji@79
|
1462
|
yuuji@79
|
1463 Requires `\usepackage{url}'
|
yuuji@79
|
1464
|
yuuji@79
|
1465 longtable
|
yuuji@79
|
1466 \begin{longtable}{POSSTRING} ... \end{longtable}
|
yuuji@79
|
1467 Same as table, but can be spreaded across pages.
|
yuuji@79
|
1468
|
yuuji@79
|
1469 Requires `\usepackage{longtable}'
|
yuuji@79
|
1470
|
yuuji@79
|
1471 fancybox
|
yuuji@79
|
1472 \usepackage{fancybox}
|
yuuji@79
|
1473 Provides some fancy boxes.
|
yuuji@79
|
1474 * \shadowbox{}
|
yuuji@79
|
1475 * \ovalbox{}
|
yuuji@79
|
1476 * \doublebox{}
|
yuuji@79
|
1477
|
yuuji@79
|
1478 shadowbox
|
yuuji@79
|
1479 \shadowbox{STRING}
|
yuuji@79
|
1480 Surround a STRING by shadow box.
|
yuuji@79
|
1481
|
yuuji@79
|
1482 Require `\usepackage{fancybox}`
|
yuuji@79
|
1483
|
yuuji@79
|
1484 <ref fancybox>
|
yuuji@79
|
1485
|
yuuji@79
|
1486 ovalbox
|
yuuji@79
|
1487 \ovalbox{STRING}
|
yuuji@79
|
1488 Surround a STRING by oval box
|
yuuji@79
|
1489
|
yuuji@79
|
1490 Require `\usepackage{fancybox}`
|
yuuji@79
|
1491
|
yuuji@79
|
1492 <ref fancybox>
|
yuuji@79
|
1493
|
yuuji@79
|
1494 Ovalbox
|
yuuji@79
|
1495 \Ovalbox{STRING}
|
yuuji@79
|
1496 Surround a STRING by thick oval box.
|
yuuji@79
|
1497
|
yuuji@79
|
1498 Require `\usepackage{fancybox}`
|
yuuji@79
|
1499
|
yuuji@79
|
1500 <ref fancybox>
|
yuuji@79
|
1501
|
yuuji@79
|
1502 doublebox
|
yuuji@79
|
1503 \doublebox{STRING}
|
yuuji@79
|
1504 Surround a STRING by double frame.
|
yuuji@79
|
1505
|
yuuji@79
|
1506 Require `\usepackage{fancybox}`
|
yuuji@79
|
1507
|
yuuji@79
|
1508 <ref fancybox>
|
yuuji@79
|
1509
|
yuuji@80
|
1510 quote
|
yuuji@80
|
1511 \begin{quote} ... \end{quote}
|
yuuji@80
|
1512 quotation without paragraph
|
yuuji@79
|
1513
|
yuuji@80
|
1514 quotation
|
yuuji@80
|
1515 \begin{quotation} ... \end{quotation}
|
yuuji@80
|
1516 quoted environment which might contains paragraphs
|
yuuji@80
|
1517
|
yuuji@80
|
1518 textcircled
|
yuuji@80
|
1519 \textcircled{CHAR}
|
yuuji@80
|
1520 Enclose `char' with small circle. Because this circle is as large as one
|
yuuji@80
|
1521 character, you had better encolose `CHAR' with {\small ...}, {\tiny ...},
|
yuuji@80
|
1522 {\scriptsize ...}.
|
yuuji@80
|
1523
|
yuuji@80
|
1524 hfill
|
yuuji@80
|
1525 \hfill
|
yuuji@80
|
1526 Insert a space as wide as possible. Same as \hspace{\fill}.
|
yuuji@80
|
1527
|
yuuji@80
|
1528 foo\hfill bar
|
yuuji@80
|
1529 produces;
|
yuuji@80
|
1530 foo bar
|
yuuji@80
|
1531
|
yuuji@80
|
1532 foo\hfill bar\hfill baz
|
yuuji@80
|
1533 produces;
|
yuuji@80
|
1534 foo bar baz
|
yuuji@80
|
1535
|
yuuji@80
|
1536 \hfill can't produce space at the beginning of the line because \hfill
|
yuuji@80
|
1537 is a kind of \hspace{}. If you make right-justified world in a line,
|
yuuji@80
|
1538 write \hspace*{\fill}.
|
yuuji@80
|
1539
|
yuuji@80
|
1540 hfil
|
yuuji@80
|
1541 \hfil
|
yuuji@80
|
1542 Same as \hfill, but little bit weak.
|
yuuji@80
|
1543
|
yuuji@80
|
1544 vfill
|
yuuji@80
|
1545 \vfill
|
yuuji@80
|
1546 Make vertical space in utmost length , the same as \vspace{\fill}.
|
yuuji@80
|
1547 cf. \hfill
|
yuuji@80
|
1548
|
yuuji@80
|
1549 hrulefill
|
yuuji@80
|
1550 \hrulefill
|
yuuji@80
|
1551 Draw underline in utmost length.
|
yuuji@80
|
1552
|
yuuji@80
|
1553 backslashbox
|
yuuji@80
|
1554 \usepackage{slashbox} \backslashbox{A}{B}
|
yuuji@80
|
1555 Draw a back-slash in a column of tabular.
|
yuuji@80
|
1556 \begin{tabular}
|
yuuji@80
|
1557 \hline
|
yuuji@80
|
1558 \backslashbox{A}{B} & hoge \\ \hline
|
yuuji@80
|
1559 \end{tabular}
|
yuuji@80
|
1560
|
yuuji@80
|
1561 +----+--------+
|
yuuji@80
|
1562 | \ B| |
|
yuuji@80
|
1563 | A\ | hoge |
|
yuuji@80
|
1564 +----+--------+
|
yuuji@80
|
1565
|
yuuji@80
|
1566
|
yuuji@80
|
1567 slashbox
|
yuuji@80
|
1568 \slashbox{A}{B}
|
yuuji@80
|
1569 Draw long slash line in a column of tabular.
|
yuuji@80
|
1570 See also backslashbox.
|
yuuji@80
|
1571
|
yuuji@80
|
1572 ooalign
|
yuuji@80
|
1573 {\ooalign{String1\crcr String2...}
|
yuuji@80
|
1574 Set line spacing to zero and shift to double-strike mode.
|
yuuji@80
|
1575 This can be used for generating circled character.
|
yuuji@80
|
1576 Look this;
|
yuuji@80
|
1577
|
yuuji@80
|
1578 \newcommand{\maru}[1]{{\ooalign {\hfill$\scriptstyle#1$\hfill\crcr$\bigcirc$}}}
|
yuuji@80
|
1579
|
yuuji@80
|
1580 \crcr is the equivalent of \\ for tabulars.
|
yuuji@80
|
1581 Note that \ooalign change the spacing parameters. So you should enclose
|
yuuji@80
|
1582 \ooalign itself with { }.
|
yuuji@80
|
1583
|
yuuji@80
|
1584 maru
|
yuuji@80
|
1585 \maru{R}
|
yuuji@80
|
1586 Circle one character.
|
yuuji@80
|
1587 Declare the \newcommand as below;
|
yuuji@80
|
1588 \newcommand{\maru}[1]{{\ooalign {\hfill$\scriptstyle#1$\hfill\crcr$\bigcirc$}}}
|
yuuji@80
|
1589
|
yuuji@80
|
1590 today
|
yuuji@80
|
1591 \date{\today}
|
yuuji@80
|
1592 Use this as the argument of \date{}.
|
yuuji@80
|
1593 Set the document's date in title to today.
|
yuuji@80
|
1594
|
yuuji@80
|
1595 NamedColor
|
yuuji@80
|
1596 \textcolor[named]{COLOR}{TEXT}, for example.
|
yuuji@80
|
1597 With `\usepackage{color}', you can use colors listed below.
|
yuuji@80
|
1598
|
yuuji@80
|
1599 GreenYellow Yellow Goldenrod Dandelion Apricot Peach Melon YellowOrange
|
yuuji@80
|
1600 Orange BurntOrange Bittersweet RedOrange Mahogany Maroon BrickRed Red
|
yuuji@80
|
1601 OrangeRed RubineRed WildStrawberry Salmon CarnationPink Magenta
|
yuuji@80
|
1602 VioletRed Rhodamine Mulberry RedViolet Fuchsia Lavender Thistle
|
yuuji@80
|
1603 OrchidDarkOrchid Purple Plum Violet RoyalPurple BlueViolet Periwinkle
|
yuuji@80
|
1604 CadetBlue CornflowerBlue MidnightBlue NavyBlue RoyalBlue Blue Cerulean
|
yuuji@80
|
1605 Cyan ProcessBlue SkyBlue Turquoise TealBlue Aquamarine BlueGreen Emerald
|
yuuji@80
|
1606 JungleGreen SeaGreen Green ForestGreen PineGreen LimeGreen YellowGreen
|
yuuji@80
|
1607 SpringGreen OliveGreen RawSienna Sepia Brown Tan Gray Black White)
|
yuuji@80
|
1608
|
yuuji@80
|
1609 See also http://www.yatex.org/help/color.tex
|
yuuji@80
|
1610
|
yuuji@80
|
1611 textcolor
|
yuuji@80
|
1612 \textcolor{COLOR}{TEXT}
|
yuuji@80
|
1613 Put the TEXT colored with COLOR.
|
yuuji@80
|
1614
|
yuuji@80
|
1615 <refer NamedColor>
|
yuuji@80
|
1616
|
yuuji@80
|
1617 pagecolor
|
yuuji@80
|
1618 \pagecolor{COLOR}
|
yuuji@80
|
1619 Set background color of the page to COLOR.
|
yuuji@80
|
1620
|
yuuji@80
|
1621 <refer NamedColor>
|
yuuji@80
|
1622
|
yuuji@80
|
1623 color
|
yuuji@80
|
1624 \color{COLOR}
|
yuuji@80
|
1625 Set text color of the page to COLOR.
|
yuuji@80
|
1626
|
yuuji@80
|
1627 <refer NamedColor>
|
yuuji@80
|
1628
|
yuuji@80
|
1629 colorbox
|
yuuji@80
|
1630 \colorbox{COLOR}{TEXT}
|
yuuji@80
|
1631 Put TEXT in the box whose background color is COLRO.
|
yuuji@80
|
1632
|
yuuji@80
|
1633 <refer NamedColor>
|
yuuji@80
|
1634
|
yuuji@80
|
1635 fcolorbox
|
yuuji@80
|
1636 \fcolorbox{FCOLOR}{BGCOLOR}{TEXT}
|
yuuji@80
|
1637 Put text int the box whose frame color is FCOLOR and background BGCOLOR.
|
yuuji@80
|
1638
|
yuuji@80
|
1639 <refer NamedColor>
|
yuuji@80
|
1640
|
yuuji@80
|
1641 rotatebox
|
yuuji@80
|
1642 \rotatebox{ANGLE}{TEXT}
|
yuuji@80
|
1643 Put TEXT with rotated by ANGLE-degrees, unclockwise.
|
yuuji@80
|
1644 Require `\usepackage{graphicx}'.
|
yuuji@80
|
1645
|
yuuji@80
|
1646 resizebox
|
yuuji@80
|
1647 \resizebox{WIDTH}{HEIGHT}{TEXT}
|
yuuji@80
|
1648 Put TEXT enlarging/shrinking to WIDTH and HEIGHT.
|
yuuji@80
|
1649 You can omit either of WIDHT or HEIGHT. In that case, specify `!'.
|
yuuji@80
|
1650 \resizebox{!}{40mm}{TEXT} outputs TEXT with 40mm in height.
|
yuuji@80
|
1651 Require `\usepackage{graphicx}'.
|
yuuji@80
|
1652
|
yuuji@80
|
1653 scalebox
|
yuuji@80
|
1654 \scalebox{MAG}[V-MAG]{TEXT}
|
yuuji@80
|
1655 Put TEXT maginifiyng by MAG. V-MAG for vertical magnification factor is
|
yuuji@80
|
1656 optional. Negative values for magnification factor flip the TEXT
|
yuuji@80
|
1657 in that direction.
|
yuuji@80
|
1658
|
yuuji@80
|
1659 Require `\usepackage{graphicx}'.
|
yuuji@80
|
1660
|
yuuji@80
|
1661 reflectbox
|
yuuji@80
|
1662 \reflectbox{TEXT}
|
yuuji@80
|
1663 Flip TEXT horizontally.
|
yuuji@80
|
1664 Equivalent to \scalebox{-1}[1]{TEXT}.
|
yuuji@80
|
1665 Require `\usepackage{graphicx}'.
|
yuuji@80
|
1666
|
yuuji@80
|
1667 ulem
|
yuuji@80
|
1668 \usepackage{ulem}
|
yuuji@80
|
1669 \usepackage{ulem}
|
yuuji@80
|
1670 The `ulem' package provides macros listed below.
|
yuuji@80
|
1671 \uline{Underlined Text}
|
yuuji@80
|
1672 \uwave{Waved-Unlderlined Text}
|
yuuji@80
|
1673 \uuline{Double Underlined Text}
|
yuuji@80
|
1674
|
yuuji@80
|
1675 (Information by TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>)
|
yuuji@80
|
1676 uline
|
yuuji@80
|
1677 \uline{TEXT}
|
yuuji@80
|
1678 Put TEXT with underline.
|
yuuji@80
|
1679
|
yuuji@80
|
1680 <refer ulem>
|
yuuji@80
|
1681
|
yuuji@80
|
1682 uwave
|
yuuji@80
|
1683 \uwave{TEXT}
|
yuuji@80
|
1684 Put TEXT with waved underline.
|
yuuji@80
|
1685
|
yuuji@80
|
1686 <refer ulem>
|
yuuji@80
|
1687
|
yuuji@80
|
1688 uuline
|
yuuji@80
|
1689 \uuline{TEXT}
|
yuuji@80
|
1690 Put TEXT with double underline.
|
yuuji@80
|
1691
|
yuuji@80
|
1692 <refer ulem>
|
yuuji@80
|
1693 showkeys.sty
|
yuuji@80
|
1694 \usepackage[options]{showkeys}
|
yuuji@80
|
1695 In margin area, output `(?)' marks for unlabeled math-expressions,
|
yuuji@80
|
1696 `?label?' marks for unreferred labels.
|
yuuji@80
|
1697 Optional arguments are one of;
|
yuuji@80
|
1698 showrefs, norefs, showcites, nocites, msgs, nomsgs, chkunlbld,
|
yuuji@80
|
1699 ignoreunlbld.
|
yuuji@80
|
1700 msgs/nomsgs specifies whether output messages in *.log file or not.
|
yuuji@80
|
1701
|
yuuji@80
|
1702 `\usepackage{showkeys}' should be located before the declaration
|
yuuji@80
|
1703 for AMS-LaTeX or HyperRef, if any.
|
yuuji@80
|
1704
|
yuuji@80
|
1705 Another style `refcheck.sty' can also output labeling information
|
yuuji@80
|
1706 including `\ref{***}' macros themselves.
|
yuuji@80
|
1707
|
yuuji@80
|
1708 (Information by Masaki Shigemori <mshige@ucla.edu>)
|
yuuji@80
|
1709
|
yuuji@80
|
1710 table*
|
yuuji@80
|
1711 \begin{table*} ... \end{table*}
|
yuuji@80
|
1712 Put tabular in one column at the top of page even if in twocolumn mode.
|
yuuji@80
|
1713
|
yuuji@80
|
1714 figure*
|
yuuji@80
|
1715 \begin{figure*} ... \end{figure*}
|
yuuji@80
|
1716 Put figure in one column at the top of page even if in twocolumn mode.
|
yuuji@80
|
1717 If you put figure bottom of page instead of top, use nidanfloat.sty
|
yuuji@80
|
1718 instead.
|
yuuji@80
|
1719 \begin{figure*}[b]
|
yuuji@80
|
1720 \includegraphics{blahblahblah}
|
yuuji@80
|
1721 \caption{foo bar baz}
|
yuuji@80
|
1722 \end{figure*}
|
yuuji@80
|
1723
|
yuuji@80
|
1724 includegraphics
|
yuuji@80
|
1725 \usepackage{graphicx} ... \includegraphics[Options]{graphicfile.eps}
|
yuuji@80
|
1726 Include graphics。Requires `graphicx' package.
|
yuuji@80
|
1727 Possible [Options] are as follows.
|
yuuji@80
|
1728 scale=X
|
yuuji@80
|
1729 width=W
|
yuuji@80
|
1730 height=H
|
yuuji@80
|
1731 draft (Frame only)
|
yuuji@80
|
1732 angle=R
|
yuuji@80
|
1733 origin=RotationOrigin (One of `c', `tl', `tr', `bl' or `br')
|
yuuji@80
|
1734 bb=llx lly urx ury (Specify BoundingBox)
|
yuuji@80
|
1735 viewport=llx lly urx ury (Rerative to BoundingBox)
|
yuuji@80
|
1736 trim=left bottom right top
|
yuuji@80
|
1737
|
yuuji@80
|
1738 abstract
|
yuuji@80
|
1739 \begin{abstract} ... \end{abstract}
|
yuuji@80
|
1740 Output abstract
|
yuuji@80
|
1741
|
yuuji@80
|
1742 \langle
|
yuuji@80
|
1743 $\langle$
|
yuuji@80
|
1744
|
yuuji@80
|
1745 `<' in math-modes.
|
yuuji@80
|
1746
|
yuuji@80
|
1747 \langle
|
yuuji@80
|
1748 $rlangle$
|
yuuji@80
|
1749
|
yuuji@80
|
1750 `>' in math-modes.
|
yuuji@80
|
1751
|
yuuji@80
|
1752 \slash
|
yuuji@80
|
1753 \slash
|
yuuji@80
|
1754 slash(/) itself.
|
yuuji@80
|
1755
|
yuuji@80
|
1756 \textbackslash
|
yuuji@80
|
1757 \textbackslash
|
yuuji@80
|
1758 backslash(\) itself.
|
yuuji@79
|
1759
|
yuuji@51
|
1760 YaTeX
|
yuuji@51
|
1761 (setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist))
|
yuuji@54
|
1762 The mode you are probably using now.
|
yuuji@54
|
1763 Bells and whistles for using LaTeX at a breeze.
|
yuuji@51
|
1764
|
yuuji@54
|
1765 [pronunciation]
|
yuuji@54
|
1766 ``ya-tek'' for programs as yatex.el, ``ya-cho'' when referring to the
|
yuuji@54
|
1767 whole system. ``ya-cho'' in Japanese stands for ``wild bird''
|
yuuji@51
|
1768
|
yuuji@51
|
1769
|
yuuji@51
|
1770 yatex
|
yuuji@54
|
1771 (setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist))
|
yuuji@51
|
1772 <refer YaTeX>
|
yuuji@51
|
1773
|