0
|
1 \documentclass[a4j,12pt]{jreport}
|
|
2 \usepackage{master_paper}
|
|
3 \usepackage{ascmac} %% itembox
|
|
4 \usepackage[dvipdfm]{graphicx}
|
2
|
5 \usepackage{listings}
|
0
|
6 \usepackage{multirow}
|
|
7 \usepackage{slashbox}
|
1
|
8 \usepackage{color}
|
2
|
9 \usepackage{paralist}
|
|
10
|
|
11 \usepackage{caption}
|
|
12 % TODO:
|
3
|
13 % captionパッケージは空のファイル ragged2e.sty everysel.sty
|
|
14 % を作っておかないとフォントが破滅する
|
2
|
15 \usepackage{subfig} % なかでcaptionを呼び出してる
|
|
16
|
0
|
17
|
|
18 % dvipdfm を使って PDF ファイルに日本語の栞をつける
|
|
19 \usepackage[dvipdfm,bookmarks=true,
|
|
20 bookmarksnumbered=true,
|
|
21 bookmarkstype=toc]{hyperref}
|
|
22 %\AtBeginDvi{\special{pdf:tounicode /*環境によって違う*/}}
|
|
23 \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}
|
|
24
|
|
25
|
|
26
|
|
27 % lstlistingsパッケージの設定
|
|
28 %\renewcommand{\lstlistingname}{リスト}
|
1
|
29 \lstdefinelanguage{cbc}[]{C}
|
|
30 {morekeywords={code,\_\_return}}
|
0
|
31 \lstset{
|
1
|
32 language=cbc,%
|
|
33 %stringstyle=\ttfamily,%
|
|
34 stringstyle=,%
|
0
|
35 basicstyle=\small\ttfamily,%
|
1
|
36 commentstyle=\itshape\rmfamily,%
|
|
37 %identifierstyle=\color{blue}\bfseries,%
|
0
|
38 keywordstyle=\bfseries,%
|
|
39 framesep=5pt,%
|
|
40 showstringspaces=false,%
|
1
|
41 frameround=ftft,%
|
2
|
42 frame=trBL,
|
3
|
43 framextopmargin=2pt,
|
|
44 framexbottommargin=3pt,
|
1
|
45 emphstyle=\underbar,
|
0
|
46 %frame=tRBl,
|
|
47 %numbers=left,stepnumber=1,numberstyle=\footnotesize%
|
|
48 }%
|
|
49 \def\lstlistingname{コード}
|
|
50 \def\lstlistlistingname{プログラムコード目次}
|
|
51
|
|
52
|
|
53
|
|
54 %\jtitle{Continuation based CのGCCによる高速化とその応用}
|
|
55 \jtitle{組み込み向け言語Continuation based CのGCC上の実装}
|
|
56 \etitle{}
|
|
57 \year{平成21年度}
|
|
58 \affiliation{\center%
|
|
59 \vspace{-10mm}
|
|
60 \includegraphics[clip,keepaspectratio,width=.15\textwidth]
|
|
61 {u-ryukyu-Mark.eps}\\
|
|
62 \vskip15mm
|
|
63 琉球大学大学院 \ 理工学研究科\\ 情報工学専攻}
|
|
64 \author{与儀 健人}
|
|
65
|
|
66 \marklefthead{% 左上に挿入
|
|
67 \begin{minipage}[b]{.4\textwidth}
|
|
68 \includegraphics[height=1zw,clip,keepaspectratio]{emblem-bitmap.eps}
|
|
69 琉球大学大学院学位論文(修士)
|
|
70 \end{minipage}}
|
|
71 \markleftfoot{% 左下に挿入
|
|
72 \begin{minipage}{.8\textwidth}
|
1
|
73 組み込み向け言語Continuation based CのGCC上の実装
|
0
|
74 \end{minipage}}
|
|
75
|
|
76
|
|
77 %%% 索引のために以下の2行を追加
|
|
78 %\usepackage{makeidx,multicol}
|
|
79 %\makeindex
|
|
80 \begin{document}
|
|
81
|
|
82 \maketitle
|
|
83
|
|
84 %要旨
|
|
85 \input{abstract.tex}
|
|
86
|
|
87 %目次
|
|
88 \tableofcontents
|
|
89 %図目次
|
|
90 \listoffigures
|
|
91 %表目次
|
|
92 \listoftables
|
2
|
93 %コード目次
|
|
94 \lstlistoflistings
|
0
|
95
|
|
96 %\pagenumbering{arabic}
|
1
|
97 \input{introduction.tex}
|
0
|
98 \input{cbc.tex}
|
2
|
99 \input{gcc.tex}
|
0
|
100 \input{implementation.tex}
|
2
|
101 %\input{taskmanager.tex}
|
0
|
102 \input{evaluations.tex}
|
|
103 \input{conclusion.tex}
|
|
104
|
|
105 %謝辞
|
|
106 \input{thanx.tex}
|
|
107 %参考文献
|
|
108 \input{bibliography.tex}
|
2
|
109 %発表履歴
|
|
110 \input{presentations.tex}
|
|
111
|
0
|
112 %付録
|
2
|
113 \appendix
|
0
|
114 \input{appendix.tex}
|
|
115
|
|
116
|
|
117 %\printindex
|
|
118 \end{document}
|