0
|
1 \typeout{****************************************************************}
|
|
2 \typeout{** 平成15年度 琉球大学大学院 学位論文(修士) ********************}
|
|
3 \typeout{** スタイルファイル(LaTeX2e) : 非公式 ********************}
|
|
4 \typeout{****************************************************************}
|
|
5
|
|
6 %長さ設定
|
|
7 \hoffset -1in \addtolength{\hoffset}{20mm}
|
|
8 \voffset -1in \addtolength{\voffset}{10mm}
|
|
9 \oddsidemargin 10mm
|
|
10 \topmargin 0mm
|
|
11 \headheight 10mm
|
|
12 \headsep 15mm
|
|
13 %\textheight 39\baselineskip \addtolength{\textheight}{\topskip}
|
|
14 \textheight 212mm
|
|
15 \textwidth 160mm
|
|
16 \marginparsep 3mm
|
|
17 \marginparwidth 15mm
|
|
18 \footskip \headsep
|
|
19
|
|
20
|
|
21 % 年度
|
|
22 \def\@year{}
|
|
23 \def\year#1{\gdef\@year{#1}}
|
|
24 \def\@eyear{}
|
|
25 \def\eyear#1{\gdef\@eyear{#1}}
|
|
26
|
|
27 % タイトル
|
|
28 \def\jetitle{}
|
|
29 \def\jtitle#1{\gdef\@title{#1}}
|
|
30 \def\@etitle{}
|
|
31 \def\etitle#1{\gdef\@etitle{#1}}
|
|
32
|
|
33 % 名前
|
|
34 \def\@author{}
|
|
35 \def\author#1{\gdef\@author{#1}}
|
|
36 \def\@eauthor{}
|
|
37 \def\eauthor#1{\gdef\@eauthor{#1}}
|
|
38
|
|
39 % 学位
|
|
40 \def\thesis{修士(工学)学位論文}
|
|
41 \def\ethesis{Master's Thesis of Engineering}
|
|
42
|
|
43 % 大学
|
|
44 \def\university{琉球大学}
|
|
45 \def\euniversity{University of the Ryukyus}
|
|
46
|
|
47 % 所属
|
|
48 \def\department{大学院理工学研究科}
|
|
49 \def\edepartment{Graduate School of Engineering and Science}
|
|
50
|
|
51 % 専攻
|
14
|
52 \def\course{工学専攻知能情報プログラム}
|
0
|
53 \def\ecourse{Information Engineering Course}
|
|
54
|
|
55 % 署名
|
|
56 \def\commission{論 文 審 査 会}
|
|
57
|
|
58 % 指導教員
|
|
59 \def\@chife{}
|
|
60 \def\chife#1{\gdef\@chife{#1}}
|
|
61 \def\@echife{}
|
|
62 \def\echife#1{\gdef\@echife{#1}}
|
|
63
|
|
64 %表紙
|
|
65 %\renewcommand{\maketitle}{%
|
|
66 %\newpage\null
|
|
67 %\thispagestyle{empty}
|
|
68 %\vskip 1cm%
|
|
69 %\begin{center}%
|
|
70 %\let\footnote\thanks
|
|
71 % {\huge \@title \par}%
|
|
72 % \vskip 1.5em%
|
|
73 % {\huge \@etitle \par}%
|
|
74 % \vskip 2.5em%
|
|
75 % {\LARGE \@year \ \thesis \par}%
|
|
76 % \vskip 10em%
|
|
77 %% {\huge \@belongto \par}%
|
|
78 % {\LARGE \@affiliation \par}%
|
|
79 % \vskip 1.5em%
|
|
80 % {\LARGE \@author \par}%
|
|
81 %\end{center}%
|
|
82 %%\par\vskip 1.5em
|
|
83 %}
|
|
84 \renewcommand{\maketitle}{%
|
|
85 \newpage\null
|
|
86 \thispagestyle{empty}
|
|
87 \vskip 1cm%
|
|
88
|
|
89 \begin{center}%
|
|
90 \let\footnote\thanks
|
|
91 {\fontsize{16pt}{0pt}\bf\thesis\\}
|
|
92 \vskip 0.5em
|
|
93 {\fontsize{16pt}{0pt}\bf\ethesis}
|
|
94 \vskip 1.5em
|
|
95 {\fontsize{18pt}{0pt}\bf\mc\@title\\}
|
|
96 \vskip 0.5em
|
|
97 {\fontsize{18pt}{0pt}\bf{\@etitle}}
|
|
98 \vskip 0.8em
|
|
99
|
|
100 {\fontsize{14pt}{0pt}\mc\@year\\}
|
|
101 {\fontsize{14pt}{0pt}\@eyear}
|
|
102 \vskip 0.8em
|
|
103
|
|
104 {\fontsize{16pt}{0pt}\bf\mc\@author\par}
|
|
105 \vskip 0.5em
|
|
106 {\fontsize{16pt}{0pt}\bf\@eauthor\par}
|
|
107
|
|
108 \vskip 1.5em
|
|
109 {\includegraphics[clip,keepaspectratio=true,scale=0.48]{fig/u-ryukyu-Mark.pdf}}
|
|
110 \vskip 1.5em
|
|
111
|
|
112 {\fontsize{16pt}{0pt}\bf\mc\university\\}
|
|
113 \vskip 0.5em
|
|
114 {\fontsize{16pt}{0pt}\bf\mc\department\\}
|
|
115 \vskip 0.5em
|
|
116 {\fontsize{16pt}{0pt}\bf\mc\course}
|
|
117 \vskip 0.8em
|
|
118
|
|
119 {\fontsize{16pt}{0pt}\textbf\ecourse\\}
|
|
120 \vskip 0.5em
|
|
121 {\fontsize{16pt}{0pt}\textbf\edepartment\\}
|
|
122 \vskip 0.5em
|
|
123 {\fontsize{16pt}{0pt}\textbf\euniversity}
|
|
124 \vskip 0.8em
|
|
125
|
|
126 {\fontsize{14pt}{0pt}\bf\mc\@chife\\}
|
|
127 \vskip 0.5em
|
|
128 {\fontsize{14pt}{0pt}\bf\@echife\\}
|
|
129 \end{center}
|
|
130 }
|
|
131
|
9
|
132 \newcommand{\makecover} {
|
|
133 \newpage\null
|
|
134 \thispagestyle{empty}
|
|
135 \vskip 1cm%
|
|
136
|
|
137 \begin{center}%
|
|
138 \let\footnote\thanks
|
|
139 {\fontsize{16pt}{0pt}\bf\thesis\\}
|
|
140 \vskip 0.5em
|
|
141 {\fontsize{16pt}{0pt}\bf\ethesis}
|
|
142 \vskip 1.5em
|
|
143 {\fontsize{18pt}{0pt}\bf\mc\@title\\}
|
|
144 \vskip 0.5em
|
|
145 {\fontsize{18pt}{0pt}\bf{\@etitle}}
|
|
146 \vskip 1.8em
|
|
147
|
|
148 {\fontsize{14pt}{0pt}\mc\@year\\}
|
|
149 {\fontsize{14pt}{0pt}\@eyear}
|
|
150 \vskip 1.0em
|
|
151
|
|
152 {\fontsize{16pt}{0pt}\bf\mc\@author\par}
|
|
153 \vskip 0.5em
|
|
154 {\fontsize{16pt}{0pt}\bf\@eauthor\par}
|
|
155
|
|
156 \vskip 1.5em
|
|
157 {\includegraphics[clip,keepaspectratio=true,scale=0.60]{fig/u-ryukyu-Mark.pdf}}
|
|
158 \vskip 1.5em
|
|
159
|
|
160 {\fontsize{16pt}{0pt}\bf\mc\university\\}
|
|
161 \vskip 0.5em
|
|
162 {\fontsize{16pt}{0pt}\bf\mc\department\\}
|
|
163 \vskip 0.5em
|
|
164 {\fontsize{16pt}{0pt}\bf\mc\course}
|
|
165 \vskip 1.8em
|
|
166
|
|
167 {\fontsize{16pt}{0pt}\textbf\ecourse\\}
|
|
168 \vskip 0.5em
|
|
169 {\fontsize{16pt}{0pt}\textbf\edepartment\\}
|
|
170 \vskip 0.5em
|
|
171 {\fontsize{16pt}{0pt}\textbf\euniversity}
|
|
172 \vskip 0.8em
|
|
173 \end{center}
|
|
174 }
|
|
175
|
0
|
176 \newcommand{\makecommission} {
|
|
177 \noindent
|
4
|
178 論文題目: システム管理を体験させる学生実験に関する取り組み \newline
|
0
|
179 氏\hspace{4ex}名: 木山瑞基
|
|
180 \vspace*{4.5cm}
|
|
181 \begin{center}
|
|
182 本論文は、修士(工学)の学位論文として適切であると認める。
|
|
183 \end{center}
|
|
184 \vskip 10 em
|
|
185 \begin{minipage}{0.5\hsize}
|
|
186 \begin{center}
|
|
187 \end{center}
|
|
188 \end{minipage}
|
|
189 \begin{minipage}{0.5\hsize}
|
|
190 \begin{center}
|
|
191 \bf\commission
|
|
192 \vskip 3 em
|
|
193 \underline{ 印}\\
|
|
194 (主 査) 和田 知久
|
|
195 \vskip 2 em
|
|
196 \underline{ 印}\\
|
|
197 (副 査) 岡崎 威生
|
|
198 \vskip 2 em
|
|
199 \underline{ 印}\\
|
|
200 (副 査) 遠藤 聡志
|
|
201 \vskip 2 em
|
|
202 \underline{ 印}\\
|
|
203 (副 査) 河野 真治
|
|
204 \vskip 2 em
|
|
205 \end{center}
|
|
206 \end{minipage}
|
|
207 }
|
|
208
|
|
209 %abstract
|
|
210 \renewenvironment{abstract}{%
|
|
211 \titlepage
|
|
212 \null\vfil
|
|
213 \@beginparpenalty\@lowpenalty
|
|
214 {\Huge \bfseries \abstractname}%
|
|
215 \begin{center}%
|
|
216 \@endparpenalty\@M
|
|
217 \end{center}
|
|
218 }%
|
|
219
|
|
220 \newenvironment{abstract_eng}{%
|
|
221 \titlepage
|
|
222 \null\vfil
|
|
223 \@beginparpenalty\@lowpenalty
|
|
224 {\Huge \bfseries \abstractengname}%
|
|
225 \begin{center}%
|
|
226 \@endparpenalty\@M
|
|
227 \end{center}
|
|
228 }%
|
|
229
|
|
230 %目次
|
|
231 \renewcommand{\tableofcontents}{%
|
|
232 \pagestyle{anotherplain}
|
|
233 \if@twocolumn\@restonecoltrue\onecolumn
|
|
234 \else\@restonecolfalse\fi
|
|
235 \chapter*{\contentsname
|
|
236 \@mkboth{\contentsname}{\contentsname}%
|
|
237 } \pagenumbering{arabic}\@starttoc{toc}%
|
|
238 \if@restonecol\twocolumn\fi
|
|
239 }
|
|
240
|
|
241 \newcommand\frontmatter{%
|
|
242 \cleardoublepage
|
|
243 %\@mainmatterfalse
|
|
244 \pagenumbering{roman}
|
|
245 }
|
|
246
|
|
247 % 本文用ページ番号
|
|
248 \newcommand\mainmatter{%
|
|
249 \cleardoublepage
|
|
250 % \@mainmattertrue
|
|
251 \pagenumbering{arabic}
|
|
252 }
|
|
253
|
|
254 \newcommand\backmatter{%
|
|
255 \if@openright
|
|
256 \cleardoublepage
|
|
257 \else
|
|
258 \clearpage
|
|
259 \fi
|
|
260 % \@mainmatterfalse
|
|
261 }
|
|
262
|
|
263 %付録
|
|
264 \renewcommand{\appendix}{\par
|
|
265 \setcounter{chapter}{0}%
|
|
266 \setcounter{section}{0}%
|
|
267 \renewcommand{\@chapapp}{\appendixname}%
|
|
268 \renewcommand{\@chappos}\space%
|
|
269 \renewcommand{\thechapter}{\@Alph\c@chapter}
|
|
270 \renewcommand{\thesection}{\thechapter-\arabic{section}}}
|
|
271
|
|
272
|
|
273 %章
|
|
274 \renewcommand{\chapter}{%
|
|
275 \pagestyle{anotherheadings}
|
|
276 \if@openright\cleardoublepage\else\clearpage\fi
|
|
277 \thispagestyle{anotherplain}%
|
|
278 \global\@topnum\z@
|
|
279 \@afterindentfalse
|
|
280 \secdef\@chapter\@schapter}
|
|
281
|
|
282 \def\@chapter[#1]#2{%
|
|
283 \ifnum \c@secnumdepth >\m@ne
|
|
284 \refstepcounter{chapter}%
|
|
285 \typeout{\@chapapp\space\thechapter\space\@chappos (\thepage ページ)}%
|
|
286 \addcontentsline{toc}{chapter}%
|
|
287 {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
|
|
288 \else
|
|
289 \addcontentsline{toc}{chapter}{#1}%
|
|
290 \fi
|
|
291 \chaptermark{#1}%
|
|
292 \addtocontents{lof}{\protect\addvspace{10\p@}}%
|
|
293 \addtocontents{lot}{\protect\addvspace{10\p@}}%
|
|
294 \@makechapterhead{#2}\@afterheading}
|
|
295 \def\@makechapterhead#1{\hbox{}%
|
|
296 \vskip2\Cvs
|
|
297 {\parindent\z@
|
|
298 \raggedright
|
|
299 %
|
|
300 \reset@font\huge\bfseries
|
|
301 \ifnum \c@secnumdepth >\m@ne
|
|
302 \setlength\@tempdima{\linewidth}%
|
|
303 \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1zw}%
|
|
304 \addtolength\@tempdima{-\wd\z@}%
|
|
305 \unhbox\z@\nobreak
|
|
306 \vtop{\hsize\@tempdima#1}%
|
|
307 \else
|
|
308 #1\relax
|
|
309 \fi}\nobreak\vskip3\Cvs}
|
|
310
|
|
311
|
|
312 \renewcommand{\prepartname}{\relax} %\renewcommand{\prepartname}{第}
|
|
313 \renewcommand{\postpartname}{部}
|
|
314 \renewcommand{\prechaptername}{第}%\renewcommand{\prechaptername}{第}
|
|
315 \renewcommand{\postchaptername}{章}
|
|
316 \renewcommand{\contentsname}{目 次}
|
|
317 \renewcommand{\listfigurename}{図 目 次}
|
|
318 \renewcommand{\listtablename}{表 目 次}
|
|
319 \renewcommand{\bibname}{参考文献}
|
|
320 \renewcommand{\indexname}{索 引}
|
|
321 \renewcommand{\figurename}{図}
|
|
322 \renewcommand{\tablename}{表}
|
|
323 \renewcommand{\appendixname}{付 録}
|
|
324 \renewcommand{\abstractname}{要 旨}
|
|
325 \newcommand{\abstractengname}{Abstract}
|
|
326
|
|
327
|
|
328 %%%% new environment for me(ryuji)
|
|
329 %定義のための環境
|
|
330 \newcounter{defnum}[chapter]
|
|
331 \newcommand{\predef}{定義}
|
|
332 \newcommand{\postdef}{\relax}
|
|
333 \newenvironment{definition}{\vskip5mm%
|
|
334 \center\begin{minipage}{.8\textwidth}
|
|
335 \addtocounter{defnum}{1}
|
|
336 \begin{description}\item[\textbf{\predef\thechapter.\thedefnum\postdef}] }
|
|
337 {\end{description}\end{minipage}\newline\vskip5mm}
|
|
338
|
|
339 \newcommand{\preex}{例題}
|
|
340 \newcommand{\postex}{\relax}
|
|
341 \newenvironment{example}{\vskip5mm%
|
|
342 \center\begin{minipage}{.9\textwidth}
|
|
343 \begin{description}\item[\textbf{[\preex\postex]\hskip1zw}] }
|
|
344 {\end{description}\end{minipage}\newline\vskip5mm}
|
|
345
|
|
346 %%%% customized by me(ryuji)
|
|
347 %footnoteの表示部
|
|
348 \def\@makefnmark{\hbox{\@textsuperscript{\normalfont
|
|
349 注\kern0.1em \@thefnmark}}}
|
|
350
|
|
351 %%%%%% added by ryuji %%%%%%%%%%
|
|
352 % ヘディング
|
|
353 % c.f. 奥村晴彦,''LaTeX2e 美文書作成入門,'' 技術評論社, pp207--231, 1997.
|
|
354
|
|
355 %ヘッダ、フッタに追加するもの
|
|
356 \def\@lefthead{}
|
|
357 \def\marklefthead#1{\gdef\@lefthead{\small #1}}
|
|
358 \def\@leftfoot{}
|
|
359 \def\markleftfoot#1{\gdef\@leftfoot{\small #1}}
|
|
360
|
|
361
|
|
362 %\def\ps@headings{%
|
|
363 \def\ps@m@tterheadings{%
|
|
364 \let\@mkboth\@gobbletwo
|
|
365 \let\ps@jpl@in\ps@headnombre
|
|
366 \let\@oddfoot\@empty\let\@evenfoot\@empty
|
|
367 % \def\@evenhead{\thepage\hfil\leftmark}%
|
|
368 \def\@oddhead{\hss\addtolength{\textwidth}{-4.5zw}
|
|
369 % \underline{\hbox to \textwidth{\hfil\textbf{\rightmark}}%
|
|
370 \underline{\hbox to \textwidth{\vfil\@lefthead\hfil\textbf{\leftmark}}%
|
|
371 \hfil\hskip4zw\thepage}}%
|
|
372
|
|
373 \def\chaptermark##1{\markboth{%
|
|
374 \ifnum \c@secnumdepth >\m@ne
|
|
375 \@chapapp\thechapter\@chappos\hskip1zw
|
|
376 \fi
|
|
377 ##1}{}}%
|
|
378 \def\sectionmark##1{\markright{%
|
|
379 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1zw\fi
|
|
380 ##1}}%
|
|
381 }
|
|
382
|
|
383
|
|
384 %もう一個のバージョン:headings(本命)
|
|
385 \def\ps@anotherheadings{%
|
|
386 \let\@mkboth\@gobbletwo
|
|
387 \let\ps@jpl@in\ps@headnombre
|
|
388 %\def\@oddfoot{\reset@font%
|
|
389 %\textbf{\footnotesize \@leftfoot}\hfil\bf\thepage\hfill}%
|
|
390 %\let\@evenfoot\@empty
|
|
391 \def\@oddhead{\hss
|
|
392 % \underline{\hbox to \textwidth{\hfil\textbf{\rightmark}}%
|
|
393 \underline{\hbox to \textwidth{\@lefthead\hfil\textbf{\leftmark}}%
|
|
394 \hfil}}%
|
|
395
|
|
396 \def\chaptermark##1{\markboth{%
|
|
397 \ifnum \c@secnumdepth >\m@ne
|
|
398 %あやしい
|
|
399 \@chapapp\thechapter\@chappos\hskip1zw
|
|
400 \fi
|
|
401 ##1}{}}%
|
|
402 \def\sectionmark##1{\markright{%
|
|
403 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1zw\fi
|
|
404 ##1}}%
|
|
405 }
|
|
406 %もう一個のバージョン:plain(本命)
|
|
407 \def\ps@anotherplain{%
|
|
408 \let\@mkboth\@gobbletwo
|
|
409 \let\ps@jpl@in\ps@headnombre
|
|
410 \def\@oddfoot{\reset@font\hfill\bf\thepage\hfill}%
|
|
411 \let\@evenfoot\@oddfoot
|
|
412 \let\@oddhead\@empty
|
|
413 \def\chaptermark##1{\markboth{%
|
|
414 \ifnum \c@secnumdepth >\m@ne
|
|
415 \@chapapp\thechapter\@chappos\hskip1zw
|
|
416 \fi
|
|
417 ##1}{}}%
|
|
418 \def\sectionmark##1{\markright{%
|
|
419 \ifnum \c@secnumdepth >\z@ \thesection.\hskip1zw\fi
|
|
420 ##1}}%
|
|
421 }
|
|
422
|
|
423 %スタイルセットのため
|
|
424 \renewenvironment{thebibliography}[1]
|
|
425 {\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
|
|
426 \markboth{\bibname}{\bibname}
|
|
427 \addcontentsline{toc}{chapter}{参考文献}
|
|
428 \list{\@biblabel{\@arabic\c@enumiv}}%
|
|
429 {\settowidth\labelwidth{\@biblabel{#1}}%
|
|
430 \leftmargin\labelwidth
|
|
431 \advance\leftmargin\labelsep
|
|
432 \@openbib@code
|
|
433 \usecounter{enumiv}%
|
|
434 \let\p@enumiv\@empty
|
|
435 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
|
|
436 \sloppy
|
|
437 \clubpenalty4000
|
|
438 \@clubpenalty\clubpenalty
|
|
439 \widowpenalty4000%
|
|
440 \sfcode`\.\@m}
|
|
441 {\def\@noitemerr
|
|
442 {\@latex@warning{Empty `thebibliography' environment}}%
|
|
443 \endlist}
|
|
444
|
|
445
|
|
446 %索引のため
|
|
447 \renewenvironment{theindex}{%
|
|
448 \clearpage
|
|
449 \columnseprule.4pt \columnsep 2zw
|
|
450 \markboth{\indexname}{\indexname}
|
|
451 \addcontentsline{toc}{chapter}{\indexname}
|
|
452 \begin{multicols}{3}[{\chapter*{\indexname}}]
|
|
453 \@mkboth{\indexname}{\indexname}
|
|
454 \thispagestyle{anotherplain}%
|
|
455 \parindent=0pt
|
|
456 \parskip=0pt plus .3pt \relax
|
|
457 \let\item=\@idxitem
|
|
458 \raggedright
|
|
459 \footnotesize\narrowbaselines
|
|
460 }{\end{multicols}}
|
|
461 \def\indexname{索引}
|
|
462 \def\narrowbaselines{\fontsize\@xpt\@xiipt\selectfont}
|
|
463 \def\@idxitem{\par \hangindent4zw}
|
|
464 \def\subitem{\par \hangindent4zw \hspace*{2zw}}
|
|
465 \def\subsubitem{\par \hangindent4zw \hspace*{3zw}}
|
|
466
|
|
467 %禁則処理の追加
|
|
468 %事前でのブレークを禁止(禁止>=10000)
|
|
469 \prebreakpenalty\jis`,=10000 % ,
|
|
470 \prebreakpenalty\jis`.=10000 % .
|
|
471 %\prebreakpenalty\jis"2124=10000 % ,
|
|
472 %\prebreakpenalty\jis"2125=10000 % .
|
|
473 %\prebreakpenalty\jis`、=10000 % 、
|
|
474 %\prebreakpenalty\jis`。=10000 % 。
|
|
475 %%\prebreakpenalty\jis"2124=10000 % 、
|
|
476 %%\prebreakpenalty\jis"2125=10000 % 。
|