# HG changeset patch # User Tatsuki IHA # Date 1513861237 -32400 # Node ID 80536d2080d2038c076c858a6a72c682ac0497be # Parent 7a8cb9c02d4374c2211cc6ab114958d985c06fae Add main tex from atton-master diff -r 7a8cb9c02d43 -r 80536d2080d2 mindmap.mm --- a/mindmap.mm Tue Dec 05 17:49:36 2017 +0900 +++ b/mindmap.mm Thu Dec 21 22:00:37 2017 +0900 @@ -81,7 +81,7 @@ - + diff -r 7a8cb9c02d43 -r 80536d2080d2 paper/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/Makefile Thu Dec 21 22:00:37 2017 +0900 @@ -0,0 +1,44 @@ +# Settings +TARGET=atton-master +BIBTEX=pbibtex +BB=extractbb + +vpath pdf fig +FIGURES=$(wildcard fig/*.pdf) +FIGURES_FOR_TEX=$(subst .pdf,.xbb,$(FIGURES)) + +vpath agda src +SOURCES=$(wildcard src/*agda) +SOURCES_FOR_TEX=$(subst .agda,.agda.replaced,$(SOURCES)) + +# dependencies +$(TARGET).pdf : $(TARGET).dvi + dvipdfmx $< + +$(TARGET).dvi : $(wildcard *.tex) $(FIGURES_FOR_TEX) $(SOURCES_FOR_TEX) + platex $(TARGET).tex + $(BIBTEX) $(TARGET) + platex $(TARGET).tex + platex $(TARGET).tex + +%.xbb: %.pdf + $(BB) $< + +%.agda.replaced: %.agda + ruby escape_agda.rb $< + + +# commands +.PHONY : clean all open remake + +clean: + rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *.toc *~ *.core *.cpt *.lof *.lot *.lol *.bbl *.blg *.idx src/*.replaced + +all: $(TARGET).pdf + +open: $(TARGET).pdf + open $(TARGET).pdf + +remake: + make clean + make all diff -r 7a8cb9c02d43 -r 80536d2080d2 paper/history.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/history.tex Thu Dec 21 22:00:37 2017 +0900 @@ -0,0 +1,5 @@ +\chapter*{発表履歴} +\begin{itemize} +\item 伊波立樹, 河野真治. 有線LAN上のPC画面配信システムTreeVNCの改良. 第57回プログラミング・シンポジウム, Jan, 2016 +\item 伊波立樹, 東恩納琢偉, 河野真治. Code Gear、 Data Gear に基づく OS のプロトタイプ.第137回 システムソフトウェアとオペレーティング・システム研究会, May, 2016 +\end{itemize} diff -r 7a8cb9c02d43 -r 80536d2080d2 paper/master_paper.sty --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/master_paper.sty Thu Dec 21 22:00:37 2017 +0900 @@ -0,0 +1,483 @@ +% +% 修士卒業論文スタイルファイル 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 + {\Large\bf\thesis\\} + {\Large\bf\ethesis\vskip 0.4em} + + {\LARGE\bf\mc\@title\\} + {\LARGE\bf{\@etitle}\vskip 0.4 em} + + {\large\mc\@year\\} + {\large\@eyear\vskip 0.3 em} + + {\large\bf\mc\@author\par} + {\large\bf\@eauthor\par\vskip 0.8 em} + + {\includegraphics[clip,keepaspectratio=true,scale=0.48]{fig/u-ryukyu-Mark.eps}\vskip 0.8 em} + + {\large\bf\mc\university\\} + {\large\bf\mc\department\\} + {\large\bf\mc\course\vskip 0.3 em} + + {\large\textbf\ecourse\\} + {\large\textbf\edepartment\\} + {\large\textbf\euniversity\vskip 0.3em} + + {\large\bf\mc\@chife\\} + {\large\bf\@echife\\} + \end{center} +} + +\newcommand{\makecommission} { + \thispagestyle{empty} + \null + \vskip 10 em + \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 + \thispagestyle{empty} + \null\vfil + \@beginparpenalty\@lowpenalty + {\Huge \bfseries \abstractname}% + \begin{center}% + \@endparpenalty\@M + \end{center} +}% + +\newenvironment{abstract_eng}{% + \titlepage + \thispagestyle{empty} + \null\vfil + \@beginparpenalty\@lowpenalty + {\Huge \bfseries \abstractengname}% + \begin{center}% + \@endparpenalty\@M + \end{center} +}% + +%目次 +\renewcommand{\tableofcontents}{% + \pagestyle{plain} + \if@twocolumn\@restonecoltrue\onecolumn + \else\@restonecolfalse\fi + \chapter*{\contentsname + \@mkboth{\contentsname}{\contentsname}% + } \pagenumbering{roman}\@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{plain} +% \pagestyle{m@tterheadings} + \pagestyle{anotherheadings} + \if@openright\cleardoublepage\else\clearpage\fi +% \thispagestyle{jpl@in}% + \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}% + \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% + \textbf{\footnotesize \@leftfoot}\hfil\bf\thepage}% + \let\@evenfoot\@empty + \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 % 。 diff -r 7a8cb9c02d43 -r 80536d2080d2 paper/master_paper.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/master_paper.tex Thu Dec 21 22:00:37 2017 +0900 @@ -0,0 +1,113 @@ +\documentclass[a4j,12pt]{jreport} +\usepackage{master_paper} +\usepackage{ascmac} +\usepackage[dvipdfmx]{graphicx} +\usepackage{here} +\usepackage{listings} +\usepackage{comment} +\usepackage[deluxe, multi]{otf} + +%\input{dummy.tex} %% font + +\jtitle{Gears OS の並列処理} +\etitle{Parallel processing of Gears OS} +\year{2017年 3月} +\eyear{March 2018} +\author{伊波 立樹} +\eauthor{Tatsuki IHA} +\chife{指導教員:教授 和田 知久} +\echife{Supervisor: Prof. Tomohisa WADA} + +\marklefthead{% 左上に挿入 + \begin{minipage}[b]{.4\textwidth} + 琉球大学大学院学位論文(修士) +\end{minipage}} + +\markleftfoot{% 左下に挿入 + \begin{minipage}{.8\textwidth} + Gears OS の並列処理 +\end{minipage}} + +\newcommand\figref[1]{図 \ref{fig:#1}} +\newcommand\tabref[1]{表 \ref{tab:#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{リスト目次} +\newtheorem{theorem}{定理}[section] +\newtheorem{lemma}{補題}[section] + + +%%% 索引のために以下の2行を追加 +\usepackage{makeidx,multicol} +\makeindex +\begin{document} + +%rome +\frontmatter + +\maketitle +\newpage + +\makecommission + +%要旨 +\input{abstract.tex} + +%目次 +\tableofcontents + +%図目次 +\listoffigures + +%表目次 +\listoftables + +%リスト目次 +\lstlistoflistings + + +%arabic +\mainmatter + +%chapters +\input{introduction.tex} + +%謝辞 +\addcontentsline{toc}{chapter}{謝辞} +\input{thanks.tex} + +%参考文献 +\nocite{*} +\bibliographystyle{junsrt} +\bibliography{reference} + +%発表履歴 +\addcontentsline{toc}{chapter}{発表履歴} +\input{history.tex} + +%付録 +\addcontentsline{toc}{chapter}{付録} +\appendix +\end{document}