0
|
1 \documentclass[a4j,12pt]{jreport}
|
|
2 \usepackage{master_paper}
|
6
|
3 \usepackage{newcent} %% フォントテーマを変更
|
0
|
4 \usepackage{ascmac} %% itembox
|
|
5 \usepackage[dvipdfm]{graphicx}
|
6
|
6 \usepackage{listings} %% プログラム表示フロートボックス
|
|
7 \usepackage{multirow} %% tabularの上下の結合
|
|
8 \usepackage{slashbox} %% tabularでの斜め線
|
|
9 \usepackage{color} %% 色付け 使ってない
|
|
10 \usepackage{paralist} %% inlineのenumerate
|
2
|
11
|
|
12 \usepackage{caption}
|
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
|
6
|
84
|
0
|
85 %要旨
|
|
86 \input{abstract.tex}
|
|
87
|
|
88 %目次
|
|
89 \tableofcontents
|
|
90 %図目次
|
|
91 \listoffigures
|
|
92 %表目次
|
|
93 \listoftables
|
2
|
94 %コード目次
|
|
95 \lstlistoflistings
|
0
|
96
|
|
97 %\pagenumbering{arabic}
|
1
|
98 \input{introduction.tex}
|
0
|
99 \input{cbc.tex}
|
2
|
100 \input{gcc.tex}
|
0
|
101 \input{implementation.tex}
|
2
|
102 %\input{taskmanager.tex}
|
0
|
103 \input{evaluations.tex}
|
|
104 \input{conclusion.tex}
|
|
105
|
|
106 %謝辞
|
|
107 \input{thanx.tex}
|
|
108 %参考文献
|
|
109 \input{bibliography.tex}
|
2
|
110 %発表履歴
|
|
111 \input{presentations.tex}
|
|
112
|
7
|
113
|
|
114
|
|
115 \lstset{
|
|
116 basicstyle=\scriptsize\ttfamily,%
|
|
117 commentstyle=\scriptsize\itshape\rmfamily,%
|
|
118 }%
|
|
119
|
|
120
|
0
|
121 %付録
|
2
|
122 \appendix
|
0
|
123 \input{appendix.tex}
|
|
124
|
|
125
|
|
126 %\printindex
|
|
127 \end{document}
|