diff paper/thesis.tex @ 4:e94e544fce5c

...
author matac42 <matac@cr.ie.u-ryukyu.ac.jp>
date Sat, 15 Jan 2022 16:50:14 +0900
parents 905f551ddf59
children 5772018b531b
line wrap: on
line diff
--- a/paper/thesis.tex	Wed Jan 05 20:22:26 2022 +0900
+++ b/paper/thesis.tex	Sat Jan 15 16:50:14 2022 +0900
@@ -1,7 +1,8 @@
 \documentclass[title,12pt]{jsreport}
 \usepackage{ie-thesis}
+\usepackage{listings}
 
-\jtitle{GearsOSにおけるFileSystemの設計}
+\jtitle{GearsOSにおけるinodeを用いたFileSystemの設計}
 \title{Designing a FileSystem in GearsOS}
 
 \affiliation{琉球大学工学部工学科知能情報コース}
@@ -12,6 +13,32 @@
 %\Jabstract{\include{./text/Jabstract}}
 \Jabstract{\input{./text/Jabstract.tex}}
 \Eabstract{\input{./text/Eabstract.tex}}
+
+\lstset{
+  frame=single,
+  keepspaces=true,
+  stringstyle={\ttfamily},
+  commentstyle={\ttfamily},
+  identifierstyle={\ttfamily},
+  keywordstyle={\ttfamily},
+  basicstyle={\ttfamily},
+  breaklines=true,
+  xleftmargin=0zw,
+  xrightmargin=0zw,
+  framerule=.2pt,
+  columns=[l]{fullflexible},
+  numbers=left,
+  stepnumber=1,
+  numberstyle={\scriptsize},
+  numbersep=1em,
+  language={},
+  tabsize=4,
+  lineskip=-0.5zw,
+  escapechar={@, $},
+}
+
+\renewcommand{\lstlistingname}{ソースコード}
+\renewcommand{\lstlistlistingname}{ソースコード目次}
    
 \begin{document}
 \maketitle %Don't remove.
@@ -25,6 +52,9 @@
 % 表も軸,表がある場合のみ
 \listoftables
 
+% ソースコード目次
+\lstlistoflistings
+
 % pagecounter settings
 \setcounter{page}{0}	%Don't remove.
 
@@ -41,7 +71,8 @@
 \chapter*{謝辞}
 
 % reference
-\include{./text/reference}
+\bibliography{thesis}
+\bibliographystyle{junsrt}
 
 %付録がある場合のみ
 %\appendix