-
Notifications
You must be signed in to change notification settings - Fork 2
/
SeoulTechThesis.cls
811 lines (735 loc) · 23.8 KB
/
SeoulTechThesis.cls
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
% -*- TeX:UTF-8 -*-
%% 서울과기대학교 석·박사 학위논문 LaTeX 템플릿
%%
%% 버전: 1.0
%%
%% 작성자: 최준혁 ( dkwnsgur12@gmail.com )
%% 날짜: 2023. 11. 19
%% 마지막 갱신: 2023. 11. 19
%%
%% 참고자료: SeoulTechThesis Templete for LaTeX version
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{SeoulTechThesisCls}
%% 옵션 선언을 위한 변수 선언
\newif\if@isDoctor
\newif\if@isFinal
\newif\if@isPdfdoc
\newif\if@isDebug
\newif\if@isTwosides
\newif\if@isLongDeptName
\newif\if@isTOCHeader
\newif\if@isContentHeader
\newif\if@isBibHeader
\newif\if@isAsym
\newif\if@isEng
%% 새 옵션 모음 - doctor|master, final|draft
\DeclareOption{doctor} {\@isDoctortrue}
\DeclareOption{master} {\@isDoctorfalse}
\DeclareOption{final} {\@isFinaltrue}
\DeclareOption{pdfdoc} {\@isPdfdoctrue}
\DeclareOption{debug} {\@isDebugtrue}
\DeclareOption{twosides} {\@isTwosidestrue}
\DeclareOption{oneside} {\@isTwosidesfalse}
\DeclareOption{asym} {\@isAsymtrue}
\DeclareOption{eng} {\@isEngtrue}
\DeclareOption{kor} {\@isEngfalse}
%% leqno,fleqn,openbib 옵션은 그대로 report 클래스에 전달
\DeclareOption{leqno} {\PassOptionsToClass{leqno} {report}}
\DeclareOption{fleqn} {\PassOptionsToClass{fleqn} {report}}
\DeclareOption{openbib}{\PassOptionsToClass{openbib}{report}}
%% doctor,draft,twoside가 기본값
\@isDoctortrue
\@isFinalfalse
\@isTwosidestrue
\@isLongDeptNamefalse
\@isTOCHeaderfalse
\@isContentHeaderfalse
\@isBibHeaderfalse
\@isAsymfalse
\@isEngtrue
\ProcessOptions
%% 11pt,onecolumn,oneside 옵션으로 report 클래스 불러오기
\if@isTwosides
\LoadClass[11pt,onecolumn,twoside,openright]{report}
\else
\LoadClass[11pt,onecolumn,oneside]{report}
\fi
%% 여백 체크용 디버그 옵션
\if@isDebug
\usepackage[a4,frame,center]{crop}
\fi
%% Table of contents, List of figures, List of tables를 Table of Contents에 추가
\usepackage{tocbibind}
\usepackage[linktocpage=true]{hyperref}
\usepackage{titlesec}
\usepackage{apptools}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
%% 편집 용지 설정.
%% 학위논문 체계를 따라서 외표지, 내표지는 전체 30mm 여백
%% 그 이외의 여백은 왼쪽 40mm 이외의 것들은 30mm를 기준으로 한다.
%% 편집용지 설정 (4x6 배판 - 190x260 mm2)
\if@isAsym
\usepackage[inner = 30mm , outer = 30mm,
top = 30mm, bottom = 30mm,
paperwidth = 210mm, paperheight = 297mm]{geometry}
\else
\usepackage[inner = 40mm , outer = 30mm,
top = 30mm, bottom = 30mm,
paperwidth = 210mm, paperheight = 297mm]{geometry}
\fi
%% 들여쓰기
\usepackage{indentfirst}
\setlength\parindent{0em}
%% Figure와 Caption사이 거리 조정
\setlength{\abovecaptionskip}{10pt} % 캡션 위 거리
\setlength{\belowcaptionskip}{0pt} % 캡션 아래 거리
%% bibliography
\usepackage[square,numbers]{natbib}
\bibliographystyle{ieeetr}
\RequirePackage{ifthen} % 추가 패키지 설정
\RequirePackage[strict]{changepage}
\RequirePackage{emptypage}
\RequirePackage{graphicx,xcolor}
\RequirePackage[toc,page]{appendix}
\RequirePackage{amsmath,amssymb,textcomp,bm}
\RequirePackage[pagewise]{lineno}
\RequirePackage{fix-cm}
\RequirePackage[cjk]{kotex}
\RequirePackage[nomessages]{fp}
\RequirePackage{fancyhdr}
\RequirePackage{pdfpages}
\RequirePackage{multirow}
%% Caption의 줄간격 설정
\RequirePackage{caption,setspace}
\captionsetup[table]{font={stretch=\@captionLineSpacing}}
\captionsetup[figure]{font={stretch=\@captionLineSpacing}}
%% PDF 파일로 문서를 만들었을 때 링크 활성화
\if@isPdfdoc
\RequirePackage[unicode,%
pageanchor=false,%
pdftex=true,%
bookmarks=true,%
colorlinks=true%
]{hyperref}
\else
\fi
\newcounter{dummy}
\AtBeginDocument{% % \begin{document}와 함께 실행
\checkparameters % 문서 변수가 올바른지 점검
\newgeometry{ left = 40mm,
right = 30mm,
top = 30mm,
bottom = 30mm} % 여백 다른 페이지용 여백
\makefrontcover % 앞표지 생성
\maketitle % 속표지 생성
\if@isFinal % final 옵션이 지정되어 있으면
\newgeometry{ left = 40mm,
right = 30mm,
top = 40mm,
bottom = 30mm} % 여백 다른 페이지용 여백
% \makeapproval % 제출승인서, 심사완료검인 생성
\else
% \linenumbers
\fi
\restoregeometry % 여백 되돌림
\refstepcounter{dummy}
\makeabstract % 초록 페이지 생성
%\pagenumbering{roman} % 2020년 2월 졸업논문 제출시 과학도서관 지적사항
%\setcounter{page}{1} %
\makecontents
% \addContents{theory}
\makesymbolpage
\pagenumbering{arabic}
\setcounter{page}{1}
\renewcommand{\arraystretch}{1.3}
}
\AtEndDocument{ % \end{document}와 함께 실행
\bibliography{library.bib}
\addevenpage
\makeEngAbstract
\if@isFinal
\refstepcounter{dummy}
\makeacknowledgement
\fi
}
\newcommand{\makesymbolpage}{%
\newpage
\thispagestyle{empty}
\addcontentsline{toc}{chapter}{기호}
\pagenumbering{gobble}
\begin{center}
\fontsize{18pt}{18pt}\selectfont{\bf 기호설명}
\\[0mm]
\end{center}
% \fontsize{14pt}{14pt}\selectfont{제\; 목: \@titleKor}\\[0mm]
\setlength\parindent{0mm}
\renewcommand{\baselinestretch}{\@abstractLineRatio}\selectfont
\fontsize{11pt}{13pt}\selectfont{\indent\input{theory}}
\setlength\parindent{0mm}
\vspace*{\fill}
\addevenpage
}
%% 과기대 공식 명칭
\if@isEng
\newcommand{\@seoultechuniv}{Seoul National University of Science and technology}
\else
\newcommand{\@seoultechuniv}{서울과학기술대학교}
\fi
%% 대학원 공식 명칭
\if@isEng
\newcommand{\@gradschool}{Graduate School}
\else
\newcommand{\@gradschool}{일반대학원}
\fi
% @command title 논문 제목
\renewcommand{\title}[3] {
\ifnum#1=3
\newcommand{\@titleSize}{22pt}
\newcommand{\@univSize}{20pt}
\newcommand{\@subtitleSize}{16pt}
\else
\ifnum#1=2
\newcommand{\@titleSize}{22pt}
\newcommand{\@subtitleSize}{16pt}
\newcommand{\@univSize}{20pt}
\else
\ifnum#1=0
\newcommand{\@titleSize}{22pt}
\newcommand{\@subtitleSize}{16pt}
\else
\newcommand{\@titleSize}{22pt}
\newcommand{\@subtitleSize}{16pt}
\fi
\newcommand{\@univSize}{20pt}
\newcommand{\@subtitleSize}{16pt}
\fi
\fi
\newcommand{\@titleEng}{#2}
\newcommand{\@titleKor}{#3}
}
\@onlypreamble{\title}
% @command author 저자 이름
% @param family_name, given_name 성, 이름을 구분해서 입력
% @options [default: (none)]
% - korean: 한글이름 | chinese: 한문이름 | english: 영문이름
\renewcommand{\author}[4][chinese] {%
\ifthenelse{\equal{#1}{chinese}}
{\newcommand{\@authorChnF}{#2}
\newcommand{\@authorChnS}{#3}
\newcommand{\@authorChnT}{#4}
\ifthenelse{\equal{#4}{}}{
\newcommand{\@authorChn}{#2#3}
}{
\newcommand{\@authorChn}{#2#3#4}
}{}%
\ifthenelse{\equal{#4}{}}{
\newcommand{\@authorChnSpace}{#2\ #3}
}{
\newcommand{\@authorChnSpace}{#2\ #3\ #4}
}}{}%
\ifthenelse{\equal{#1}{english}}
{\newcommand{\@authorEngFN}{#2}
\newcommand{\@authorEngGN}{#3}
\ifthenelse{\equal{#4}{}}{
\newcommand{\@authorEng}{#3\ #2}
}{
\newcommand{\@authorEng}{#3\ #4\ #2}
}}{}%
\ifthenelse{\equal{#1}{korean}}
{\newcommand{\@authorKor}{#2}
}{}%
}
\@onlypreamble{\author}
% 현재는 주 지도교수만 지원
% @command advisor 지도교수 이름 (복수가능)
% @options [default: major]
% - major: 주 지도교수 | coopr: 부 지도교수 (공동지도교수 경우)
\newcommand{\advisor}[3]{%
\newcommand{\@advisorMajorKor}{#1} % 한글이름 저장
\newcommand{\@advisorMajorChn}{#2} % 영문이름 저장
\newcommand{\@advisorMajorEng}{#3} % 영문이름 저장
}
\@onlypreamble{\advisor}
\if@isDoctor
\newcommand{\@degreeChn}{博}
\newcommand{\@degreeEng}{Doctor}
\newcommand{\@degreeKor}{박사}
\else
\newcommand{\@degreeChn}{碩}
\newcommand{\@degreeEng}{Master}
\newcommand{\@degreeKor}{석사}
\fi
%% 논문 유형
\if@isEng
\newcommand{\@thesisCategory}{Thesis for the Degree\\of \@degreeEng}
\else
\newcommand{\@thesisCategory}{공학\@degreeKor\; 학위논문}
\fi
% @command department
%
\newcommand{\department}[2] {%
\ifthenelse{\equal{#1}{PH}}
{\newcommand{\@deptNameEng}{Physics}
\newcommand{\@deptNameChn}{物\ 理\ 學\ 科}
\newcommand{\@deptNameKor}{물리학과}
\newcommand{\@deptNameShort}{物理學}
\newcommand{\@degreeName}{理學}} {}
\ifthenelse{\equal{#1}{CRCE}}
{\newcommand{\@deptNameEng}{Computer and Radio Communications Engineering}
\newcommand{\@deptNameChn}{컴\ 퓨\ 터\ $\cdot$\ 電\ 波\ 通\ 信\ 工\ 學\ 科}
\newcommand{\@deptNameKor}{컴퓨터$\cdot$전파통신공학과}
\newcommand{\@deptNameShort}{컴퓨터$\cdot$電波通信工學}
\newcommand{\@degreeName}{컴퓨터$\cdot$電波通信工學}
\@isLongDeptNametrue} {}
\ifthenelse{\equal{#1}{CSE}}
{\newcommand{\@deptNameEng}{Computer Science Engineering}
\newcommand{\@deptNameChn}{컴\ 퓨\ 터\ 學\ 科}
\newcommand{\@deptNameKor}{컴퓨터공학과}
\newcommand{\@deptNameShort}{컴퓨터學}
\newcommand{\@degreeName}{컴퓨터學}} {}
}
\@onlypreamble{\department}
% @command referee 심사위원 (석사과정 3인, 박사과정 5인)
\newcommand{\referee}[2][1] {%
\ifthenelse{\equal{#1}{1}}{\newcommand{\@refereeChief} {#2}} {}%
\ifthenelse{\equal{#1}{2}}{\newcommand{\@refereeSecond}{#2}} {}%
\ifthenelse{\equal{#1}{3}}{\newcommand{\@refereeThird} {#2}} {}%
\ifthenelse{\equal{#1}{4}}{\newcommand{\@refereeFourth}{#2}} {}%
\ifthenelse{\equal{#1}{5}}{\newcommand{\@refereeFifth} {#2}} {}%
}
\@onlypreamble{\referee}
% @command graduateDate 졸업년월
\newcommand{\graduateDate}[2]{
\newcommand{\@graduateYear}{#1}
\newcommand{\@graduateMonth}{#2}
}
\@onlypreamble{\graduateDate}
% @command submitDate 제출일자
\newcommand{\submitDate}[3]{
\newcommand{\@submitYear}{#1}
\newcommand{\@submitMonth}{#2}
\newcommand{\@submitDay}{#3}
}
\@onlypreamble{\submitDate}
% @command approvalDate 인준일자
\newcommand{\approvalDate}[3]{
\newcommand{\@approvalYear}{#1}
\newcommand{\@approvalMonth}{#2}
\newcommand{\@approvalDay}{#3}
}
\@onlypreamble{\approvalDate}
% @command abstractLineSpacing 초록 줄간격
\newcommand{\abstractLineSpacing}[1]{
\FPeval{\@abstractLineRatio}{#1/100.0/1.236}
}
\@onlypreamble{\abstractLineSpacing}
% @command krAbstractLineSpacing 국문초록 줄간격
\newcommand{\krAbstractLineSpacing}[1]{
\FPeval{\@krAbstractLineRatio}{#1/100.0/1.236}
}
\@onlypreamble{\krAbstractLineSpacing}
% @command TOCLineSpacing 목차 줄간격
\newcommand{\TOCLineSpacing}[1]{
\FPeval{\@TOCLineRatio}{#1/100.0/1.236}
}
\@onlypreamble{\TOCLineSpacing}
% @command contentLineSpacing 본문 줄간격
\newcommand{\contentLineSpacing}[1]{
\FPeval{\@lineRatio}{#1/100.0/1.236}
}
\@onlypreamble{\contentLineSpacing}
% @command acknowledgementLineSpacing 감사의글 줄간격
\newcommand{\acknowledgementLineSpacing}[1]{
\FPeval{\@acknowledgementLineRatio}{#1/100.0/1.236}
}
\@onlypreamble{\acknowledgementLineSpacing}
% @command captionLineSpacing 캡션 줄간격
\newcommand{\captionLineSpacing}[1]{
\FPeval{\@captionLineSpacing}{#1/100.0/1.236}
}
\@onlypreamble{\captionLineSpacing}
% @command addTOCHeader TOC, LOF, LIT에 헤더 추가
\newcommand{\addTOCHeader} {
\@isTOCHeadertrue
}
\@onlypreamble{\addTOCHeader}
% @command addContentHeader 본문에 헤더 추가
\newcommand{\addContentHeader} {
\@isContentHeadertrue
}
\@onlypreamble{\addContentHeader}
% @command addBibHeader 참고문헌에 헤더 추가
\newcommand{\addBibHeader} {
\@isBibHeadertrue
}
\@onlypreamble{\addBibHeader}
% @command 본문 추가
\newcommand{\addContents}[1]{
\setlength\parindent{5mm}
\if@isContentHeader
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE]{\nouppercase\leftmark}
\fancyhead[RO]{\nouppercase\rightmark}
\fancyfoot[CE,CO]{\thepage}
\fi
\renewcommand{\baselinestretch}{\@lineRatio}
\selectfont{\input{#1}}
\setlength\parindent{0mm}
}
%%
%% 필요한 정보 중에 누락된 것이 없는지 점검
%%
\newcommand{\checkparameters}{%
\@ifundefined{@titleEng}{%
\ClassError{SeoulTechThesis}{The English title is not found}{}}{}
\@ifundefined{@titleKor}{%
\ClassError{SeoulTechThesis}{The English title is not found}{}}{}
\@ifundefined{@authorKor}{%
\ClassError{SeoulTechThesis}{The Korean name of the author is not found}{}}{}
\@ifundefined{@authorChn}{%
\ClassError{SeoulTechThesis}{The Chinese name of the author is not found}{}}{}
\@ifundefined{@authorEng}{%
\ClassError{SeoulTechThesis}{The English name of the author is not found}{}}{}
\@ifundefined{@advisorMajorKor}{%
\ClassError{SeoulTechThesis}{The Korean name of the major advisor is not found}{}}{}
\@ifundefined{@advisorMajorEng}{%
\ClassError{SeoulTechThesis}{The English name of the major advisor is not found}{}}{}
\@ifundefined{@advisorMajorChn}{%
\ClassError{SeoulTechThesis}{The Chinese name of the major advisor is not found}{}}{}
}
%%
%% 날짜 표기
%%
\newcommand{\@dateUSenglish}[2]{% % 미국식 날짜 표기
\newcommand{\@year}{#1}%
\newcommand{\@month}{#2}%
\ifcase\@month \or
January \or February \or March \or April \or May \or June \or
July \or August \or September \or October \or November \or December \fi
\@year
}
\newcommand{\@dataCHchinese}[2]{% % 한문식 날짜 표기
\newcommand{\@year}{#1}%
\newcommand{\@month}{#2}%
\@year\ 年\ \@month\ 月
}
\newcommand{\@dataKor}[2]{% % 한글식 날짜 표기
\newcommand{\@year}{#1}%
\newcommand{\@month}{#2}%
{\fontsize{16pt}{19pt}\selectfont\text{\@year}}\ 년\ {\fontsize{16pt}{19pt}\selectfont\text{\@month}}\ 월
}
%%
%% 빈 페이지 생성
%%
\newcommand{\emptypage}{
\newpage
\thispagestyle{empty}
\hbox{ }
\newpage
}
%%
%% 양면 출력일 때 홀수 페이질 경우 빈 페이지 추가
%%
\newcommand{\addevenpage}{
\if@isTwosides
\checkoddpage
\ifoddpage
\emptypage
\fi
\else
\newpage
\fi
}
%%
%% 앞표지 생성
%%
\if@isEng
\newcommand{\makefrontcover}{%
\newpage
\renewcommand{\baselinestretch}{1.3}%
\thispagestyle{empty}
\begin{minipage}[t][12mm][t]{112mm}
\begin{center}
\fontsize{22pt}{22pt}\selectfont\bf{\@thesisCategory}
\end{center}
\end{minipage}\\[30mm]
\hspace*{-15mm}\begin{minipage}[t][50mm][t]{142mm}
\begin{center}
\fontsize{\@titleSize}{\@titleSize}\selectfont{\bf \@titleEng}
\end{center}
\end{minipage}\vfill
\begin{minipage}[b][85mm][b]{112mm}
\begin{center}
\fontsize{16pt}{16pt}\selectfont{\bf by}
\\[5mm]
\fontsize{16pt}{16pt}\selectfont{\bf \@authorEng}
\\[5mm]
\fontsize{16pt}{16pt}\selectfont{\bf Department of \@deptNameEng}
\if@isLongDeptName
\\[8mm]
\else
\\[15mm]
\fi
\fontsize{18pt}{18pt}\selectfont{\bf \@gradschool}
\\[5mm]
\fontsize{\@univSize}{\@univSize}\selectfont{\bf \@seoultechuniv}
\\[10mm]
\fontsize{16pt}{16pt}\selectfont{\bf
\@dateUSenglish{\@graduateYear}{\@graduateMonth}}
\end{center}
\end{minipage}
\addevenpage
}
\else
\newcommand{\makefrontcover}{%
\newpage
\renewcommand{\baselinestretch}{1.3}%
\thispagestyle{empty}
\begin{minipage}[t][12mm][t]{112mm}
\begin{flushleft}
\fontsize{16pt}{16pt}{\@thesisCategory}
\end{flushleft}
\end{minipage}\\[20mm]
\hspace*{-15mm}
%% 국문 제목
\begin{minipage}[t][10mm][t]{145mm}
\begin{center}
\fontsize{\@titleSize}{\@titleSize}\selectfont{\bf \@titleKor}
\end{center}
\end{minipage}\\[25mm]
%% 영문 제목
\begin{minipage}[t][10mm][t]{142mm}
\begin{center}
\fontsize{\@subtitleSize}{\@subtitleSize}\selectfont{\@titleEng}
\end{center}
\end{minipage}
\\[25mm]
\begin{minipage}[b][80mm][b]{145mm}
\begin{center}
\fontsize{16pt}{16pt}{
\@dataKor{\@graduateYear}{\@graduateMonth}}
\\[25mm]
\fontsize{\@univSize}{\@univSize}{ \@seoultechuniv\ \@gradschool}
\\[5mm]
\fontsize{16pt}{16pt}{\@deptNameKor}
\\[25mm]
\fontsize{20pt}{20pt}{\@authorKor}
\end{center}
\end{minipage}
\addevenpage
}
\fi
%%
%% 속표지 생성
%%
\renewcommand{\maketitle}{%
\newpage
\renewcommand{\baselinestretch}{1.3}%
\thispagestyle{empty}
\begin{minipage}[t][0pt][t]{142mm}
\begin{center}
\fontsize{\@titleSize}{\@titleSize}\selectfont{\bf \@titleKor}\\[5mm]
\fontsize{\@subtitleSize}{\@subtitleSize}\selectfont{\bf \@titleEng}\\[12mm]
\fontsize{16pt}{16pt}\selectfont{지도교수 \@advisorMajorKor}\\[12mm]
\fontsize{16pt}{16pt}\selectfont{이 논문을 \@thesisCategory 으로 제출함}\\[5mm]
\fontsize{16pt}{16pt}\selectfont{{\@submitYear}년\ {\@submitMonth}월}\\[12mm]
\fontsize{\@univSize}{\@univSize}\selectfont{ \@seoultechuniv\ \@gradschool}\\[5mm]
\fontsize{16pt}{16pt}\selectfont{\@deptNameKor}\\[12mm]
\fontsize{16pt}{16pt}\selectfont{\@authorKor}\\[12mm]
\fontsize{18pt}{18pt}\selectfont{\@authorKor 의 \@thesisCategory 을 인준함 }\\[3mm]
\fontsize{16pt}{16pt}\selectfont{{\@submitYear}년\ {\@submitMonth}월}\\[12mm]
\fontsize{16pt}{16pt}\selectfont{심사위원장 \@refereeChief \ (인)}\\[5mm]
\fontsize{16pt}{16pt}\selectfont{심사위원 \; \ \@refereeSecond \ (인)}\\[5mm]
\fontsize{16pt}{16pt}\selectfont{심사위원 \; \ \@refereeThird \ (인)}
\end{center}
\end{minipage}
% \addevenpage
}
%%
%% 학위논문 심사완료 검인서 생성
%%
\newcommand{\approvalScan}[1]{%
\newcommand{\@scanFile}{#1}
}
\newcommand{\makeapproval}{%
\@ifundefined{@scanFile}
{
\newpage
\thispagestyle{empty}
\renewcommand{\baselinestretch}{1.3}
\begin{minipage}[t][20mm][t]{112mm}
\begin{center}
\fontsize{15.5pt}{15.5pt}\selectfont{\bf {\@authorChn}의 \@degreeName{ }{\@degreeChn}士學位論文 審査를 完了함}
\\[30mm]
\fontsize{14pt}{14pt}\selectfont{\bf {\@approvalYear}年\ {\@approvalMonth}月\ {\@approvalDay}日}
\\[20mm]
\underline{
\fontsize{16pt}{16pt}\selectfont{\bf 委員長 \hspace{20mm}{\@refereeChief}}
\fontsize{14pt}{14pt}\selectfont{\hspace{20mm}\bf (印)}
}
\\[10mm]
\underline{
\fontsize{16pt}{16pt}\selectfont{\bf 委 員 \hspace{20mm}{\@refereeSecond}}
\fontsize{14pt}{14pt}\selectfont{\hspace{20mm}\bf (印)}
}
\\[10mm]
\underline{
\fontsize{16pt}{16pt}\selectfont{\bf 委 員 \hspace{20mm}{\@refereeThird}}
\fontsize{14pt}{14pt}\selectfont{\hspace{20mm}\bf (印)}
}
\if@isDoctor
\\[10mm]
\underline{
\fontsize{16pt}{16pt}\selectfont{\bf 委 員 \hspace{20mm}{\@refereeFourth}}
\fontsize{14pt}{14pt}\selectfont{\hspace{20mm}\bf (印)}
}
\\[10mm]
\underline{
\fontsize{16pt}{16pt}\selectfont{\bf 委 員 \hspace{20mm}{\@refereeFifth}}
\fontsize{14pt}{14pt}\selectfont{\hspace{20mm}\bf (印)}
}
\else\fi
\end{center}
\end{minipage}
\addevenpage
}{
\includepdf{\@scanFile}
\if@isTwosides
\emptypage
\fi
}
}
%%
%% 한국어 초록 페이지 생성
%%
\newcommand{\makekrabstract}{%
\newpage
\thispagestyle{empty}
\addcontentsline{toc}{chapter}{요약}
\pagenumbering{gobble}
\vspace*{\fill}
\begin{center}
\fontsize{18pt}{18pt}\selectfont{\bf 요\; \; 약}
\\[5mm]
\end{center}
\fontsize{14pt}{14pt}\selectfont{제\; 목: \@titleKor}\\[0mm]
\setlength\parindent{0mm}
\renewcommand{\baselinestretch}{\@abstractLineRatio}\selectfont
\fontsize{11pt}{12pt}\selectfont{\indent\input{krabstract}}
\setlength\parindent{0mm}
\vspace*{\fill}
\addevenpage
}
%%
%% 영어 초록 페이지 생성
%%
\newcommand{\makeenabstract}{%
\newpage
\thispagestyle{empty}
\addcontentsline{toc}{chapter}{Abstract}
\pagenumbering{gobble}
\begin{center}
\fontsize{18pt}{18pt}\selectfont{\bf Abstract}
\\[0mm]
\end{center}
\fontsize{14pt}{14pt}\selectfont{Title: \@titleEng}\\[0mm]
\begin{center}
\fontsize{12pt}{12pt}\selectfont{\@authorEng \\
(Supervisor \@advisorMajorEng) \\
Dept. of \@deptNameEng \\
Graduate School of \\
Seoul National University of Science and technology}
\end{center}
% Dept. of ○ ○ ○
% Graduate School of ○ ○ ○
% Seoul National University of Science and Technology
\setlength\parindent{0mm}
\renewcommand{\baselinestretch}{\@abstractLineRatio}\selectfont
\fontsize{11pt}{12pt}\selectfont{\indent\input{enabstract}}
\setlength\parindent{0mm}
\vspace*{\fill}
\addevenpage
}
%%
%% 초록 페이지 생성
%%
\newcommand{\makeabstract}{%
\if@isEng
\makeenabstract
\makekrabstract
\else
\makekrabstract
% \makeenabstract
\fi
}
\newcommand{\makeEngAbstract}{%
\if@isEng
\makeenabstract
\makekrabstract
\else
% \makekrabstract
\makeenabstract
\fi
}
%%
%% 목차 일괄 생성
%%
\if@isEng
\renewcommand{\bibname}{References}
\else
\renewcommand{\contentsname}{목차}
\renewcommand{\listfigurename}{그림 목록}
\renewcommand{\listtablename}{표 목록}
% \renewcommand{}{기호 설명} % <-- 기호 설명 넣기
\renewcommand{\bibname}{참고문헌}
\titleformat{\chapter}[hang]{\Huge \bf}{\IfAppendix{부록\: \thechapter}{제\: \thechapter\ 장}\;\; }{0pt}{\Huge \bf}
\fi
\newcommand{\makecontents}{% % TOC, LOT, LOF 생성
\if@isTOCHeader
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE]{\nouppercase\leftmark}
\fancyhead[RO]{\nouppercase\leftmark}
\fancyfoot[CE,CO]{\thepage}
\fi
\renewcommand{\baselinestretch}{\@TOCLineRatio}\selectfont
\tableofcontents
\addevenpage
\listoffigures
\addevenpage
\listoftables
\addevenpage
\clearpage
}
%%
%% 감사의 글 페이지 생성
%%
\newcommand{\makeacknowledgement}{%
\newpage
\thispagestyle{empty}
\if@isEng
\addcontentsline{toc}{chapter}{Acknowledgement}
\else
\addcontentsline{toc}{chapter}{감사의 글}
\fi
\pagenumbering{gobble}
\begin{center}
\if@isEng
\fontsize{18pt}{18pt}\selectfont{\bf Acknowledgement}
\else
\fontsize{18pt}{18pt}\selectfont{\bf 감사의 글}
\fi
\end{center}
\vspace{5mm}
\setlength\parindent{5mm}
\renewcommand{\baselinestretch}{\@acknowledgementLineRatio}\selectfont
\fontsize{11pt}{12pt}\selectfont{\indent\input{acknowledgement}}
\setlength\parindent{0mm}
\addevenpage
}