├── out
└── thesis.pdf
├── backmatter
├── appendix.tex
├── acknowledgement.tex
└── main.tex
├── images
├── RaspberryPiMouse.png
├── png
│ └── RaspberryPiMouse.png
└── convert_eps.sh
├── introduction
├── main.tex
└── background.tex
├── frontmatter
├── main.tex
└── abstract.tex
├── .latexmkrc
├── main_bibliography.bib
├── Makefile
├── README.md
├── thesis.tex
├── thesis.sty
└── .gitignore
/out/thesis.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matsumotokoki/thesis_template/HEAD/out/thesis.pdf
--------------------------------------------------------------------------------
/backmatter/appendix.tex:
--------------------------------------------------------------------------------
1 | %!TEX root = ../thesis.tex
2 | \chapter*{付録}
3 | \addcontentsline{toc}{chapter}{付録}
4 |
--------------------------------------------------------------------------------
/images/RaspberryPiMouse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matsumotokoki/thesis_template/HEAD/images/RaspberryPiMouse.png
--------------------------------------------------------------------------------
/images/png/RaspberryPiMouse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matsumotokoki/thesis_template/HEAD/images/png/RaspberryPiMouse.png
--------------------------------------------------------------------------------
/introduction/main.tex:
--------------------------------------------------------------------------------
1 | \chapter{序論}
2 | \label{chap:introduction}
3 | %
4 | %\input{introduction/preface}
5 | %
6 | \input{introduction/background}
7 | %
8 |
--------------------------------------------------------------------------------
/frontmatter/main.tex:
--------------------------------------------------------------------------------
1 | \maketitle
2 | %
3 | \input{frontmatter/abstract}
4 | %
5 | \tableofcontents
6 | %
7 | \listoffigures
8 | %
9 | \listoftables
10 | %
11 |
--------------------------------------------------------------------------------
/backmatter/acknowledgement.tex:
--------------------------------------------------------------------------------
1 | %!TEX root = ../thesis.tex
2 | \chapter*{謝辞}
3 | \addcontentsline{toc}{chapter}{謝辞}
4 |
5 | 本研究を進めるにあたり,1年に渡り, 熱心にご指導を頂いた林原靖男教授に深く感謝いたします.
6 | %
7 |
--------------------------------------------------------------------------------
/.latexmkrc:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env perl
2 | $latex = "find . -type f -name '*.tex' | xargs sed -i '' -e 's/、/,/g' -e 's/。/./g'; uplatex -synctex=1 -halt-on-error %O %S";
3 |
--------------------------------------------------------------------------------
/main_bibliography.bib:
--------------------------------------------------------------------------------
1 | @misc{robocup:online,
2 | author = {},
3 | title = {The RoboCup Japanese Regional Committee | ロボカップとは},
4 | howpublished = {\url{https://www.robocup.or.jp/robocup/}},
5 | month = {},
6 | year = {},
7 | note = {(Accessed on 12/29/2022)}
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/backmatter/main.tex:
--------------------------------------------------------------------------------
1 | %!TEX root = ../thesis.tex
2 | %\bibliographystyle{plain}
3 | \bibliographystyle{junsrt}
4 | %\bibliography{report}
5 | \nocite{*}
6 | \bibliography{main_bibliography}
7 | %
8 | \input{backmatter/appendix}
9 | %
10 | \input{backmatter/acknowledgement}
11 |
--------------------------------------------------------------------------------
/introduction/background.tex:
--------------------------------------------------------------------------------
1 | %!TEX root = ../thesis.tex
2 |
3 | \section{背景}
4 | \subsection{RoboCup}
5 |
6 | \begin{figure}[hbtp]
7 | \centering
8 | \includegraphics[keepaspectratio, scale=0.8]
9 | {images/RaspberryPiMouse.png}
10 | \caption{Example}
11 | \label{Fig:Example}
12 | \end{figure}
13 |
14 | \subsubsection{etc...}
15 | \newpage
16 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | INPUT=thesis.tex
2 |
3 | OUTPUT=thesis
4 |
5 | VIEWER=open -a /Applications/Skim.app
6 |
7 | all:
8 | latexmk -jobname=$(OUTPUT) $(INPUT)
9 |
10 | clean:
11 | latexmk -CA -jobname=$(OUTPUT) $(INPUT)
12 | find . -name *.aux -delete
13 | find . -name *.log -delete
14 | rm *.bbl
15 |
16 | view:
17 | latexmk -pv -jobname=$(OUTPUT) $(INPUT)
18 |
19 | watch:
20 | latexmk -pvc -jobname=$(OUTPUT) $(INPUT)
21 |
--------------------------------------------------------------------------------
/frontmatter/abstract.tex:
--------------------------------------------------------------------------------
1 | %!TEX root = ../thesis.tex
2 | \chapter*{概要}
3 | \thispagestyle{empty}
4 | %
5 | \begin{center}
6 | \scalebox{1.5}{タイトル}\\
7 | \end{center}
8 | \vspace{1.0zh}
9 | %
10 |
11 |
12 | キーワード:
13 | %
14 | \newpage
15 | %%
16 | \chapter*{abstract}
17 | \thispagestyle{empty}
18 | %
19 | \begin{center}
20 | \scalebox{1.3}{title}
21 | \end{center}
22 | \vspace{1.0zh}
23 | %
24 |
25 |
26 | keywords:
27 |
--------------------------------------------------------------------------------
/images/convert_eps.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # What is this?
4 | # this script convert some images to eps
5 |
6 | # Usage
7 | # ./convert_eps.sh
8 |
9 | if [ $# -ne 1 ]; then
10 | echo "Error: One argment is required."
11 | exit 1
12 | fi
13 |
14 | path="./${1}"
15 |
16 | dir=`find $path -name "*.${1}"`
17 | file_name=""
18 | for file in $dir
19 | do
20 | file_name=`basename $file ".${1}"`
21 | echo $file_name
22 | convert "$file" "./eps/${file_name}.eps"
23 | done
24 |
25 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # thesis_template
2 |
3 | 卒論/修論のテンプレートに使ってください.
4 | VSCode+LaTeXの設定は[こちら](https://qiita.com/rainbartown/items/d7718f12d71e688f3573)が参考になります
5 | (settings.jsonの設定あたりまで出来るとかなり快適です)
6 |
7 |
8 | ## convert_eps.sh
9 |
10 | .png .jpg -> .eps にまとめて変換するスクリプトです.
11 | imageファイルにあるのでご自由にお使いください.
12 |
13 | 使い方
14 | ```
15 | ./convert_eps
16 | ```
17 |
18 | convertコマンドがない方
19 | ```
20 | # linux
21 | sudo apt-get -y install imagemagick
22 |
23 | # MacOS
24 | brew install imagemagick
25 | ```
26 |
27 |
28 | ### その他
29 | バグや不具合は報告してくださると助かります.
30 |
--------------------------------------------------------------------------------
/thesis.tex:
--------------------------------------------------------------------------------
1 | \documentclass[uplatex, a4paper, 12pt, openany, oneside]{jsbook}
2 |
3 | \usepackage[dvipdfmx]{graphicx}
4 | \usepackage[dvipdfmx]{color}
5 | \usepackage[dvipdfmx, bookmarks=true, setpagesize=false, hidelinks]{hyperref}
6 | \usepackage{pxjahyper}
7 |
8 | \usepackage{thesis}
9 | \usepackage{here}
10 | \usepackage{url}
11 |
12 |
13 | \thesis{修 士 論 文}
14 | \title{
15 | \centering
16 | \scalebox{1.0}{タイトル}\\
17 | \vspace{-0.3zh}
18 | \scalebox{0.7}{title}
19 | \vspace{-0.6zh}
20 | }
21 | \setlength{\textwidth}{\fullwidth}
22 | \setlength{\evensidemargin}{\oddsidemargin}
23 |
24 | \date{\today}
25 | \vspace{-15.0zh}
26 | \teacher{林原 靖男 教授}
27 | \vspace{-15.0zh}
28 | \organization{千葉工業大学 先進工学部 未来ロボティクス学科}
29 | \author{学番 名前}
30 | \vspace{-15zh}
31 |
32 | \renewcommand{\baselinestretch}{1.2}
33 | \begin{document}
34 |
35 | %% Front Matter
36 | \frontmatter{}
37 | %
38 | \include{frontmatter/main}
39 | %
40 | %% Main Matter
41 | \mainmatter{}
42 | %
43 | \include{introduction/main}
44 | %ここにディレクトリのパスを追加していく
45 | %
46 | %% Back Matter
47 | \backmatter{}
48 | %
49 | \include{backmatter/main}
50 | %
51 |
52 | \end{document}
53 |
--------------------------------------------------------------------------------
/thesis.sty:
--------------------------------------------------------------------------------
1 | %------------目次深さ-----------
2 | \setcounter{tocdepth}{2}
3 |
4 | %------------名称変更------------
5 | \renewcommand{\figurename}{Fig.~}
6 | \renewcommand{\tablename}{Table~}
7 | \renewcommand{\bibname}{参考文献}
8 |
9 | \newcommand{\figref}[1]{\figurename\ref{#1}}
10 | \newcommand{\tabref}[1]{\tablename\ref{#1}}
11 | \newcommand{\eqnref}[1]{Eq.~(\ref{#1})}
12 |
13 | \newcommand{\chapref}[1]{第\ref{#1}章}
14 | \newcommand{\secref}[1]{\ref{#1}節}
15 | % \newcommand{\subref}[1]{\ref{#1}}
16 |
17 | \def\thesis#1{
18 | \gdef\@thesis{#1}
19 | }
20 | \def\teacher#1{
21 | \gdef\@teacher{#1}
22 | }
23 | \def\organization#1{
24 | \gdef\@organization{#1}
25 | }
26 |
27 | \renewcommand{\maketitle}{%
28 | \thispagestyle{empty}
29 | \begin{center}
30 | \vspace*{2cm}
31 | \LARGE \@thesis \hspace*{\fill}\\
32 | \vspace{2cm}
33 | \LARGE
34 | {\bf \@title} \hspace*{\fill}\\
35 | \label{front_title}
36 | \Large
37 | \vspace{5cm}
38 | \@date \hspace*{0.5zw}提出 \hspace*{\fill}\\
39 | \vspace{1cm}
40 | 指導教員 \hspace*{0.5zw}\@teacher \hspace*{\fill}\\
41 | \vspace{1cm}
42 | \Large
43 | \@organization \hspace*{\fill}\\
44 | \LARGE
45 | \@author \hspace*{\fill}\\
46 | \normalsize
47 | \end{center}
48 | \clearpage
49 | \mbox{}
50 | \thispagestyle{empty}
51 | \clearpage
52 | }
53 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ### https://raw.github.com/github/gitignore/073727ccd9b0ec0b39440fb7673034f04f5d1302/tex.gitignore
2 |
3 | ## Core latex/pdflatex auxiliary files:
4 | *.aux
5 | *.lof
6 | *.log
7 | *.lot
8 | *.fls
9 | *.out
10 | *.toc
11 |
12 | ## Intermediate documents:
13 | *.dvi
14 | *-converted-to.*
15 | # these rules might exclude image files for figures etc.
16 | # *.ps
17 | # *.eps
18 | # *.pdf
19 |
20 | ## Bibliography auxiliary files (bibtex/biblatex/biber):
21 | *.bbl
22 | *.bcf
23 | *.blg
24 | *-blx.aux
25 | *-blx.bib
26 | *.brf
27 | *.run.xml
28 |
29 | ## Build tool auxiliary files:
30 | *.fdb_latexmk
31 | *.synctex
32 | *.synctex.gz
33 | *.synctex.gz(busy)
34 | *.pdfsync
35 |
36 | ## Auxiliary and intermediate files from other packages:
37 |
38 |
39 | # algorithms
40 | *.alg
41 | *.loa
42 |
43 | # achemso
44 | acs-*.bib
45 |
46 | # amsthm
47 | *.thm
48 |
49 | # beamer
50 | *.nav
51 | *.snm
52 | *.vrb
53 |
54 | #(e)ledmac/(e)ledpar
55 | *.end
56 | *.[1-9]
57 | *.[1-9][0-9]
58 | *.[1-9][0-9][0-9]
59 | *.[1-9]R
60 | *.[1-9][0-9]R
61 | *.[1-9][0-9][0-9]R
62 | *.eledsec[1-9]
63 | *.eledsec[1-9]R
64 | *.eledsec[1-9][0-9]
65 | *.eledsec[1-9][0-9]R
66 | *.eledsec[1-9][0-9][0-9]
67 | *.eledsec[1-9][0-9][0-9]R
68 |
69 | # glossaries
70 | *.acn
71 | *.acr
72 | *.glg
73 | *.glo
74 | *.gls
75 |
76 | # gnuplottex
77 | *-gnuplottex-*
78 |
79 | # hyperref
80 | *.brf
81 |
82 | # knitr
83 | *-concordance.tex
84 | *.tikz
85 | *-tikzDictionary
86 |
87 | # listings
88 | *.lol
89 |
90 | # makeidx
91 | *.idx
92 | *.ilg
93 | *.ind
94 | *.ist
95 |
96 | # minitoc
97 | *.maf
98 | *.mtc
99 | *.mtc[0-9]
100 | *.mtc[1-9][0-9]
101 |
102 | # minted
103 | _minted*
104 | *.pyg
105 |
106 | # morewrites
107 | *.mw
108 |
109 | # mylatexformat
110 | *.fmt
111 |
112 | # nomencl
113 | *.nlo
114 |
115 | # sagetex
116 | *.sagetex.sage
117 | *.sagetex.py
118 | *.sagetex.scmd
119 |
120 | # sympy
121 | *.sout
122 | *.sympy
123 | sympy-plots-for-*.tex/
124 |
125 | # TikZ & PGF
126 | *.dpth
127 | *.md5
128 | *.auxlock
129 |
130 | # todonotes
131 | *.tdo
132 |
133 | # xindy
134 | *.xdy
135 |
136 | # WinEdt
137 | *.bak
138 | *.sav
139 |
140 |
--------------------------------------------------------------------------------