-
Notifications
You must be signed in to change notification settings - Fork 5
/
naist.sty
110 lines (104 loc) · 3.1 KB
/
naist.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{multirow}
% page layout from NAIST style (.word)
\usepackage[top=2.65truecm,
left=2.96truecm,
right=3.03truecm,
bottom=2.33truecm]{geometry}
% Title page is somehow set bottom=0.49cm in the original Word
\linespread{1.2}
% Title Page
\newcommand*{\thesistype}[1]{\gdef\@thesistype{#1}%
}
\newcommand*{\@thesistype}{{\string\thesistype}}
\newcommand*{\supervisor}[1]{\gdef\@supervisor{#1}%
}
\newcommand*{\@supervisor}{{\string\supervisor}}
\newcommand*{\division}[1]{\gdef\@division{#1}%
}
\newcommand*{\@laboratory}{{\string\laboratory}}
\newcommand*{\laboratory}[1]{\gdef\@laboratory{#1}%
}
\newcommand*{\@division}{{\string\division}}
\newcommand*{\program}[1]{\gdef\@program{#1}%
}
\newcommand*{\@program}{{\string\program}}
\newcommand*{\degree}[1]{\gdef\@degree{#1}%
}
\newcommand*{\@degree}{{\string\degree}}
\newcommand*{\keywords}[1]{\gdef\@keywords{#1}%
}
\newcommand*{\@keywords}{{\string\keywords}}
\renewcommand{\maketitle}{%
\begin{titlepage}
\singlespacing
\begin{center}
\null\vspace{45mm}
{\Large\textbf{\@thesistype}} \\ % Master's thesis or doctoral dissertation
\vspace{35mm}
{\Large\textbf{\@title}} \\
\vspace{43mm}
{\Large\textbf{\@author}} \\
Program of {\@program} \\
Graduate School of Science and Technology \\
Nara Institute of Science and Technology \\
\vspace{13mm}
Supervisor: Professor {\@supervisor} \\
{\@laboratory} Lab. (Division of {\@division}) \\
\vspace{13mm}
Submitted on {\@date}
\end{center}
\end{titlepage}
}
\newcommand{\makefrontpage}{%
\newpage
\thispagestyle{empty}
\singlespacing
\begin{center}
\null\vspace{70mm}
A {\@thesistype} \\
submitted to Graduate School of Science and Technology, \\
Nara Institute of Science and Technology \\
in partial fulfillment of the requirements for the degree of \\
{\@degree} \\
\vspace{7mm}
{\@author} \\
\end{center}
\vspace{4mm}
% Add your committee members and their affiliation in this table.
\begin{tabular}{ll}
\multicolumn{2}{l}{Thesis Committee:} \\
Supervisor & XXX XXX \\
& (Professor, Division of Information Science) \\
& XXX XXX \\
& (Professor, Division of Information Science) \\
& XXX XXX \\
& (Associate Professor, Division of Information Science) \\
& XXX XXX \\
& (Associate Professor, Graduate School of YYY, YYY University) \\
\end{tabular}
% \end{newpage}
}
\newcommand{\makeabstractpage}{%
\newpage
\setcounter{page}{1}
\begin{center}
\null\vspace{15mm}
{\Large\textbf{\@title}}\footnote{{\@thesistype}, Graduate School of Science and Technology, Nara Institute of Science and Technology, {\@date}.} \\
\vspace{13mm}
{\large{\@author}} \\
\vspace{18mm}
\textbf{Abstract} \\
\vspace{7mm}
\end{center}
}
\newcommand{\makekeywords}[1]{%
\par
\vspace{8mm}
\noindent
\textbf{Keywords:} \\
\vspace{10.3pt}
{\@keywords}
\clearpage
}