changeset 47:bd2d41374ebf

add cover
author tobaru
date Fri, 06 Mar 2020 23:21:57 +0900
parents 90773155134d
children eb651ae37444
files paper/cover.pdf paper/cover.tex paper/master_paper.pdf paper/master_paper_cover.sty
diffstat 4 files changed, 583 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
Binary file paper/cover.pdf has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/paper/cover.tex	Fri Mar 06 23:21:57 2020 +0900
@@ -0,0 +1,97 @@
+% Todo
+\documentclass[a4j,12pt]{jreport}
+\usepackage{master_paper_cover}
+\usepackage{ascmac}
+\usepackage[dvipdfmx]{graphicx}
+\usepackage{here}
+\usepackage{listings}
+\usepackage{comment}
+\usepackage{url}
+\usepackage[deluxe, multi]{otf}
+
+
+%\input{dummy.tex} %% font
+
+\jtitle{CbCインターフェースによる CbCXv6 の書き換え}
+\etitle{Rewriting CnCXv6 by CbC interface} 
+\year{2020年 3月}
+\eyear{March 2020}
+\author{桃原 優}
+\eauthor{Yu Tobaru}
+
+
+\marklefthead{% 左上に挿入
+  \begin{minipage}[b]{.4\textwidth}
+    琉球大学大学院学位論文(修士)
+\end{minipage}}
+
+% \markleftfoot{% 左下に挿入
+%  \begin{minipage}{.8\textwidth}
+%    Gears OS の Paging
+% \end{minipage}}
+
+\newcommand\figref[1]{図 \ref{fig:#1}}
+\newcommand\tabref[1]{表 \ref{tab:#1}}
+\newcommand\coderef[1]{ソースコード \ref{code:#1}}
+
+\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={@},
+}
+\def\lstlistingname{ソースコード}
+\def\lstlistlistingname{ソースコード目次}
+
+%%% 索引のために以下の2行を追加
+\usepackage{makeidx,multicol}
+\makeindex
+\begin{document}
+%rome
+\maketitle
+
+\pagenumbering{roman}
+\setcounter{page}{0}
+\makecommission
+
+\newpage
+
+%要旨
+
+%発表履歴
+% \addcontentsline{toc}{chapter}{研究関連論文業績}
+% \input{history.tex}
+
+\mainmatter
+
+
+%リスト目次
+% \lstlistoflistings
+
+%chapters
+% \input{introduction.tex}
+
+
+
+
+
+\end{document}
+
+
+
Binary file paper/master_paper.pdf has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/paper/master_paper_cover.sty	Fri Mar 06 23:21:57 2020 +0900
@@ -0,0 +1,486 @@
+%
+% 修士卒業論文スタイルファイル master_papar.sty(ver. 2.1e)
+%                               Time-stamp: <01/03/01 22:01:27 ryuji>
+%
+%         ver 2.1e 2/3/01 ryuji
+%         ver 2.0e 17/12/00 ryuji
+%         ver 1.0e 05/11/99 hiroki
+%
+% modifier: Ryuji Gushiken(ryuji@ads.ie.u-ryukyu.ac.jp)
+%
+% author: Hiroki Taira(hiroki@ads.ie.u-ryukyu.ac.jp)
+
+% usage:
+%
+%\documentclass[a4j]{jreport}
+%
+%\usepackage{master_paper}
+%
+%
+%\jtitle{修士論文スタイルファイル\\自律分散研バージョン}
+%\etitle{\LaTeX  style test file for master paper}
+%\year{平成11年度}
+%\affiliation{琉球大学大学院理工学研究科\\ 情報工学専攻}
+%\author{名字 名前}
+%
+%\begin{document}
+%
+%\maketitle
+%
+%%要旨
+%\input{abstract.tex}
+%
+%%目次
+%\tableofcontents
+%
+%%図目次
+%\listoffigures
+%
+%%表目次
+%\listoftables
+%
+%%第一章
+%\input{chapter1.tex}
+%%chapter1.texの\chapter{}の後ろに次のコマンドを追加してください。
+%%ページカウントがリセットされ、ページ数がアラビア文字になります。
+%%  \pagenumbering{arabic}
+%%第二章
+%\input{chapter2.tex}
+%%第三章
+%\input{chapter3.tex}
+%
+%%付録
+%\input{appendix.tex}
+%
+%%謝辞
+%%\input{thanx.tex}
+%
+%%参考文献
+%\input{biblography.tex}
+%
+%\end{document}
+
+\typeout{****************************************************************}
+\typeout{** 平成15年度 琉球大学大学院 学位論文(修士) ********************}
+\typeout{** スタイルファイル(LaTeX2e) : 非公式       ********************}
+\typeout{****************************************************************}
+
+%長さ設定
+\hoffset -1in \addtolength{\hoffset}{20mm}
+\voffset -1in \addtolength{\voffset}{10mm}
+\oddsidemargin 10mm
+\topmargin 0mm
+\headheight 10mm
+\headsep 15mm
+%\textheight 39\baselineskip \addtolength{\textheight}{\topskip}
+\textheight 212mm
+\textwidth 160mm
+\marginparsep 3mm
+\marginparwidth 15mm
+\footskip \headsep
+
+
+% 年度
+\def\@year{}
+\def\year#1{\gdef\@year{#1}}
+\def\@eyear{}
+\def\eyear#1{\gdef\@eyear{#1}}
+
+% タイトル
+\def\jetitle{}
+\def\jtitle#1{\gdef\@title{#1}}
+\def\@etitle{}
+\def\etitle#1{\gdef\@etitle{#1}}
+
+% 名前
+\def\@author{}
+\def\author#1{\gdef\@author{#1}}
+\def\@eauthor{}
+\def\eauthor#1{\gdef\@eauthor{#1}}
+
+% 学位
+\def\thesis{修士(工学)学位論文}
+\def\ethesis{Master's Thesis of Engineering}
+
+% 大学
+\def\university{琉球大学}
+\def\euniversity{University of the Ryukyus}
+
+% 所属
+\def\department{大学院理工学研究科}
+\def\edepartment{Graduate School of Engineering and Science}
+
+% 専攻
+\def\course{情報工学専攻}
+\def\ecourse{Information Engineering Course}
+
+% 署名
+\def\commission{論 文 審 査 会}
+
+% 指導教員
+% \def\@chife{}
+% \def\chife#1{\gdef\@chife{#1}}
+% \def\@echife{}
+% \def\echife#1{\gdef\@echife{#1}}
+
+%表紙
+%\renewcommand{\maketitle}{%
+%\newpage\null
+%\thispagestyle{empty}
+%\vskip 1cm%
+%\begin{center}%
+%\let\footnote\thanks
+%  {\huge \@title \par}%
+%    \vskip 1.5em%
+%  {\huge \@etitle \par}%
+%    \vskip 2.5em%
+%  {\LARGE \@year \ \thesis \par}%
+%    \vskip 10em%
+%%  {\huge \@belongto \par}%
+%  {\LARGE \@affiliation \par}%
+%    \vskip 1.5em%
+%  {\LARGE \@author \par}%
+%\end{center}%
+%%\par\vskip 1.5em
+%}
+\renewcommand{\maketitle}{%
+  \newpage\null
+  \thispagestyle{empty}
+  \vskip 1cm%
+
+  \begin{center}%
+    \let\footnote\thanks
+        {\fontsize{16pt}{0pt}\bf\thesis\\}
+        \vskip 0.5em
+        {\fontsize{16pt}{0pt}\bf\ethesis}
+        \vskip 1.5em
+        {\fontsize{18pt}{0pt}\bf\mc\@title\\}
+        \vskip 0.5em
+        {\fontsize{18pt}{0pt}\bf{\@etitle}}
+        \vskip 0.8em
+
+        {\fontsize{14pt}{0pt}\mc\@year\\}
+        {\fontsize{14pt}{0pt}\@eyear}
+        \vskip 0.8em
+
+        {\fontsize{16pt}{0pt}\bf\mc\@author\par}
+        \vskip 0.5em
+        {\fontsize{16pt}{0pt}\bf\@eauthor\par}
+
+        \vskip 1.5em
+        {\includegraphics[clip,keepaspectratio=true,scale=0.48]{fig/u-ryukyu-Mark.eps}}
+        \vskip 1.5em
+
+        {\fontsize{16pt}{0pt}\bf\mc\university\\}
+        \vskip 0.5em
+        {\fontsize{16pt}{0pt}\bf\mc\department\\}
+        \vskip 0.5em
+        {\fontsize{16pt}{0pt}\bf\mc\course}
+        \vskip 0.8em
+
+        {\fontsize{16pt}{0pt}\textbf\ecourse\\}
+        \vskip 0.5em
+        {\fontsize{16pt}{0pt}\textbf\edepartment\\}
+        \vskip 0.5em
+        {\fontsize{16pt}{0pt}\textbf\euniversity}
+  \end{center}
+}
+
+\newcommand{\makecommission} {
+  \null
+  \vspace*{4.5cm}
+  \begin{center}
+    本論文は、修士(工学)の学位論文として適切であると認める。
+  \end{center}
+  \vskip 10 em
+  \begin{minipage}{0.5\hsize}
+    \begin{center}
+    \end{center}
+  \end{minipage}
+  \begin{minipage}{0.5\hsize}
+    \begin{center}
+      \bf\commission
+      \vskip 3 em
+      \underline{                  印}\\
+      (主 査)    玉城 史朗   
+      \vskip 2 em
+      \underline{                  印}\\
+      (副 査)    遠藤 聡志   
+      \vskip 2 em
+      \underline{                  印}\\
+      (副 査)    名嘉村 盛和  
+      \vskip 2 em
+      \underline{                  印}\\
+      (副 査)    河野 真治   
+    \end{center}
+  \end{minipage}
+}
+
+%abstract
+\renewenvironment{abstract}{%
+      \titlepage
+      \null\vfil
+      \@beginparpenalty\@lowpenalty
+       {\Huge \bfseries \abstractname}%
+      \begin{center}%
+        \@endparpenalty\@M
+      \end{center}
+}%
+
+\newenvironment{abstract_eng}{%
+  \titlepage
+  \null\vfil
+  \@beginparpenalty\@lowpenalty
+      {\Huge \bfseries \abstractengname}%
+      \begin{center}%
+        \@endparpenalty\@M
+      \end{center}
+}%
+
+%目次
+\renewcommand{\tableofcontents}{%
+  \pagestyle{anotherplain}
+  \if@twocolumn\@restonecoltrue\onecolumn
+  \else\@restonecolfalse\fi
+  \chapter*{\contentsname
+    \@mkboth{\contentsname}{\contentsname}%
+  }  \pagenumbering{arabic}\@starttoc{toc}%
+  \if@restonecol\twocolumn\fi
+}
+
+\newcommand\frontmatter{%
+  \cleardoublepage
+  %\@mainmatterfalse
+  \pagenumbering{roman}
+}
+
+% 本文用ページ番号
+\newcommand\mainmatter{%
+  \cleardoublepage
+  % \@mainmattertrue
+  \pagenumbering{arabic}
+}
+
+\newcommand\backmatter{%
+  \if@openright
+  \cleardoublepage
+  \else
+  \clearpage
+  \fi
+  % \@mainmatterfalse
+}
+
+%付録
+\renewcommand{\appendix}{\par
+  \setcounter{chapter}{0}%
+  \setcounter{section}{0}%
+  \renewcommand{\@chapapp}{\appendixname}%
+  \renewcommand{\@chappos}\space%
+  \renewcommand{\thechapter}{\@Alph\c@chapter}
+  \renewcommand{\thesection}{\thechapter-\arabic{section}}}
+
+
+%章
+\renewcommand{\chapter}{%
+  \pagestyle{anotherheadings}
+  \if@openright\cleardoublepage\else\clearpage\fi
+  \thispagestyle{anotherplain}%
+  \global\@topnum\z@
+  \@afterindentfalse
+  \secdef\@chapter\@schapter}
+
+\def\@chapter[#1]#2{%
+  \ifnum \c@secnumdepth >\m@ne
+    \refstepcounter{chapter}%
+    \typeout{\@chapapp\space\thechapter\space\@chappos (\thepage ページ)}%
+    \addcontentsline{toc}{chapter}%
+      {\protect\numberline{\@chapapp\thechapter\@chappos}#1}%
+  \else
+    \addcontentsline{toc}{chapter}{#1}%
+  \fi
+  \chaptermark{#1}%
+  \addtocontents{lof}{\protect\addvspace{10\p@}}%
+  \addtocontents{lot}{\protect\addvspace{10\p@}}%
+  \@makechapterhead{#2}\@afterheading}
+\def\@makechapterhead#1{\hbox{}%
+  \vskip2\Cvs
+  {\parindent\z@
+   \raggedright
+%
+   \reset@font\huge\bfseries
+   \ifnum \c@secnumdepth >\m@ne
+     \setlength\@tempdima{\linewidth}%
+     \setbox\z@\hbox{\@chapapp\thechapter\@chappos\hskip1zw}%
+     \addtolength\@tempdima{-\wd\z@}%
+     \unhbox\z@\nobreak
+     \vtop{\hsize\@tempdima#1}%
+   \else
+     #1\relax
+   \fi}\nobreak\vskip3\Cvs}
+
+
+\renewcommand{\prepartname}{\relax} %\renewcommand{\prepartname}{第}
+\renewcommand{\postpartname}{部}
+\renewcommand{\prechaptername}{第}%\renewcommand{\prechaptername}{第}
+\renewcommand{\postchaptername}{章}
+\renewcommand{\contentsname}{目 次}
+\renewcommand{\listfigurename}{図 目 次}
+\renewcommand{\listtablename}{表 目 次}
+\renewcommand{\bibname}{参考文献}
+\renewcommand{\indexname}{索 引}
+\renewcommand{\figurename}{図}
+\renewcommand{\tablename}{表}
+\renewcommand{\appendixname}{付 録}
+\renewcommand{\abstractname}{要 旨}
+\newcommand{\abstractengname}{Abstract}
+
+
+%%%% new environment for me(ryuji)
+%定義のための環境
+\newcounter{defnum}[chapter]
+\newcommand{\predef}{定義}
+\newcommand{\postdef}{\relax}
+\newenvironment{definition}{\vskip5mm%
+  \center\begin{minipage}{.8\textwidth}
+  \addtocounter{defnum}{1}
+  \begin{description}\item[\textbf{\predef\thechapter.\thedefnum\postdef}] }
+  {\end{description}\end{minipage}\newline\vskip5mm}
+
+\newcommand{\preex}{例題}
+\newcommand{\postex}{\relax}
+\newenvironment{example}{\vskip5mm%
+  \center\begin{minipage}{.9\textwidth}
+  \begin{description}\item[\textbf{[\preex\postex]\hskip1zw}] }
+  {\end{description}\end{minipage}\newline\vskip5mm}
+
+%%%% customized by me(ryuji)
+%footnoteの表示部
+\def\@makefnmark{\hbox{\@textsuperscript{\normalfont
+  注\kern0.1em \@thefnmark}}}
+
+%%%%%% added by ryuji %%%%%%%%%%
+% ヘディング
+% c.f. 奥村晴彦,''LaTeX2e 美文書作成入門,'' 技術評論社, pp207--231, 1997.
+
+%ヘッダ、フッタに追加するもの
+\def\@lefthead{}
+\def\marklefthead#1{\gdef\@lefthead{\small #1}}
+\def\@leftfoot{}
+\def\markleftfoot#1{\gdef\@leftfoot{\small #1}}
+
+
+%\def\ps@headings{%
+\def\ps@m@tterheadings{%
+  \let\@mkboth\@gobbletwo
+  \let\ps@jpl@in\ps@headnombre
+  \let\@oddfoot\@empty\let\@evenfoot\@empty
+%  \def\@evenhead{\thepage\hfil\leftmark}%
+  \def\@oddhead{\hss\addtolength{\textwidth}{-4.5zw}
+%      \underline{\hbox to \textwidth{\hfil\textbf{\rightmark}}%
+      \underline{\hbox to \textwidth{\vfil\@lefthead\hfil\textbf{\leftmark}}%
+      \hfil\hskip4zw\thepage}}%
+
+  \def\chaptermark##1{\markboth{%
+     \ifnum \c@secnumdepth >\m@ne
+       \@chapapp\thechapter\@chappos\hskip1zw
+     \fi
+     ##1}{}}%
+  \def\sectionmark##1{\markright{%
+     \ifnum \c@secnumdepth >\z@ \thesection.\hskip1zw\fi
+     ##1}}%
+  }
+
+
+%もう一個のバージョン:headings(本命)
+\def\ps@anotherheadings{%
+  \let\@mkboth\@gobbletwo
+  \let\ps@jpl@in\ps@headnombre
+  %\def\@oddfoot{\reset@font%
+    %\textbf{\footnotesize \@leftfoot}\hfil\bf\thepage\hfill}%
+  %\let\@evenfoot\@empty
+  \def\@oddhead{\hss
+%      \underline{\hbox to \textwidth{\hfil\textbf{\rightmark}}%
+      \underline{\hbox to \textwidth{\@lefthead\hfil\textbf{\leftmark}}%
+      \hfil}}%
+
+  \def\chaptermark##1{\markboth{%
+     \ifnum \c@secnumdepth >\m@ne
+     %あやしい
+       \@chapapp\thechapter\@chappos\hskip1zw
+     \fi
+     ##1}{}}%
+  \def\sectionmark##1{\markright{%
+     \ifnum \c@secnumdepth >\z@ \thesection.\hskip1zw\fi
+     ##1}}%
+  }
+%もう一個のバージョン:plain(本命)
+\def\ps@anotherplain{%
+  \let\@mkboth\@gobbletwo
+  \let\ps@jpl@in\ps@headnombre
+  \def\@oddfoot{\reset@font\hfill\bf\thepage\hfill}%
+  \let\@evenfoot\@oddfoot
+  \let\@oddhead\@empty
+  \def\chaptermark##1{\markboth{%
+     \ifnum \c@secnumdepth >\m@ne
+       \@chapapp\thechapter\@chappos\hskip1zw
+     \fi
+     ##1}{}}%
+  \def\sectionmark##1{\markright{%
+     \ifnum \c@secnumdepth >\z@ \thesection.\hskip1zw\fi
+     ##1}}%
+  }
+
+%スタイルセットのため
+\renewenvironment{thebibliography}[1]
+{\chapter*{\bibname\@mkboth{\bibname}{\bibname}}%
+   \markboth{\bibname}{\bibname}
+   \addcontentsline{toc}{chapter}{参考文献}
+   \list{\@biblabel{\@arabic\c@enumiv}}%
+        {\settowidth\labelwidth{\@biblabel{#1}}%
+         \leftmargin\labelwidth
+         \advance\leftmargin\labelsep
+         \@openbib@code
+         \usecounter{enumiv}%
+         \let\p@enumiv\@empty
+         \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+   \sloppy
+   \clubpenalty4000
+   \@clubpenalty\clubpenalty
+   \widowpenalty4000%
+   \sfcode`\.\@m}
+  {\def\@noitemerr
+    {\@latex@warning{Empty `thebibliography' environment}}%
+   \endlist}
+
+
+%索引のため
+\renewenvironment{theindex}{%
+  \clearpage
+  \columnseprule.4pt \columnsep 2zw
+  \markboth{\indexname}{\indexname}
+  \addcontentsline{toc}{chapter}{\indexname}
+  \begin{multicols}{3}[{\chapter*{\indexname}}]
+    \@mkboth{\indexname}{\indexname}
+    \thispagestyle{anotherplain}%
+    \parindent=0pt
+    \parskip=0pt plus .3pt \relax
+    \let\item=\@idxitem
+    \raggedright
+    \footnotesize\narrowbaselines
+  }{\end{multicols}}
+\def\indexname{索引}
+\def\narrowbaselines{\fontsize\@xpt\@xiipt\selectfont}
+\def\@idxitem{\par \hangindent4zw}
+\def\subitem{\par \hangindent4zw \hspace*{2zw}}
+\def\subsubitem{\par \hangindent4zw \hspace*{3zw}}
+
+%禁則処理の追加
+  %事前でのブレークを禁止(禁止>=10000)
+\prebreakpenalty\jis`,=10000 % ,
+\prebreakpenalty\jis`.=10000 % .
+%\prebreakpenalty\jis"2124=10000 % ,
+%\prebreakpenalty\jis"2125=10000 % .
+%\prebreakpenalty\jis`、=10000 % 、
+%\prebreakpenalty\jis`。=10000 % 。
+%%\prebreakpenalty\jis"2124=10000 % 、
+%%\prebreakpenalty\jis"2125=10000 % 。