Skip to content

Commit bb755f9

Browse files
committedDec 14, 2018
fix some errors
1 parent 97fe92e commit bb755f9

File tree

4 files changed

+27
-38
lines changed

4 files changed

+27
-38
lines changed
 

‎cugthesis.cls

+5-16
Original file line numberDiff line numberDiff line change
@@ -192,22 +192,11 @@
192192
\end{tabular}
193193
}
194194
\newcommand{\cug@info@entable}{%
195-
\begin{minipage}{.45\textwidth}
196-
\begin{flushright}
197-
\makebox[.46\textwidth][s]{}\\
198-
\cug@degree@en Candidate: \\
199-
\cug@info@entable@majorname: \\
200-
Supervisor:
201-
\end{flushright}
202-
\end{minipage}%
203-
\begin{minipage}{.54\textwidth}
204-
\begin{flushleft}
205-
\makebox[.46\textwidth][s]{}\\
206-
\cug@enauthor \\
207-
\cug@enmajor \\
208-
\cug@supervisor
209-
\end{flushleft}
210-
\end{minipage}
195+
\begin{tabular}{>{\raggedleft}p{.4\textwidth}p{.45\textwidth}p{.15\textwidth}}
196+
\cug@degree@en\ Candidate:\, & \cug@enauthor &\\
197+
\cug@info@entable@majorname:\,& \cug@enmajor &\\
198+
Supervisor:\,& \cug@supervisor &
199+
\end{tabular}
211200
}
212201

213202
%--------------- Title Page ----------------

‎cugthesisfont.sty

+21-21
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,28 @@
2727
%\newCJKfontfamily[SmallCaps]\SCF{SmallCaps.otf}
2828

2929
%%------------- Chinese Fonts -------------
30-
\setCJKmainfont[
31-
BoldFont = SourceHanSerifSC-Bold,
32-
ItalicFont = STKaiti,
33-
%BoldItalicFont = STKaiti-SC-Bold,
34-
]{SourceHanSerifSC-Regular}
35-
\setCJKsansfont[
36-
BoldFont = SourceHanSansSC-Bold,
37-
]{SourceHanSansSC-Regular}
38-
\setCJKmonofont[
39-
BoldFont = SourceHanSansSC-Bold,
40-
]{SourceHanSansSC-Regular}
30+
%\setCJKmainfont[
31+
%BoldFont = SourceHanSerifSC-Bold,
32+
%ItalicFont = STKaiti,
33+
%%BoldItalicFont = STKaiti-SC-Bold,
34+
%]{SourceHanSerifSC-Regular}
35+
%\setCJKsansfont[
36+
%BoldFont = SourceHanSansSC-Bold,
37+
%]{SourceHanSansSC-Regular}
38+
%\setCJKmonofont[
39+
%BoldFont = SourceHanSansSC-Bold,
40+
%]{SourceHanSansSC-Regular}
4141

42-
%%%------------- English Fonts -------------
43-
\setmainfont[
44-
ItalicFont = {Times New Roman Italic},
45-
BoldFont = {Times New Roman Bold},
46-
BoldItalicFont = {Times New Roman Bold Italic},
47-
SmallCapsFont = {Bodoni 72 Smallcaps},
48-
%SmallCapsFeatures={Letters=SmallCaps},
49-
]{Times New Roman}
50-
\setsansfont{Optima}
51-
\setmonofont[BoldFont=Source Code Pro Semibold]{Source Code Pro}
42+
%%%%------------- English Fonts -------------
43+
%\setmainfont[
44+
%ItalicFont = {Times New Roman Italic},
45+
%BoldFont = {Times New Roman Bold},
46+
%BoldItalicFont = {Times New Roman Bold Italic},
47+
%SmallCapsFont = {Bodoni 72 Smallcaps},
48+
%%SmallCapsFeatures={Letters=SmallCaps},
49+
%]{Times New Roman}
50+
%\setsansfont{Optima}
51+
%\setmonofont[BoldFont=Source Code Pro Semibold]{Source Code Pro}
5252

5353
\def\cug@define@fontsize#1#2{%
5454
\expandafter\newcommand\csname #1\endcsname[1][\baselinestretch]{%

‎demo.pdf

-42.6 KB
Binary file not shown.

‎demo.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
\cugthesistitle{中国地质大学研究生学位论文 \LaTeXe{} 模板}{\cugthesis\ \LaTeXe{} Template}
77
\studentid{1201711347}
8-
\cugthesismajor{计算机科学与技术}{Computer Science}
8+
\cugthesismajor{计算机科学与技术}{Earth Exploration and Information Technology}
99
\cugthesisteacher{蔡之华}{Zhihua Cai}
1010
\cugthesisauthor{王震宇}{Zhenyu Wang}
1111
\educatingunit{计算机学院}

0 commit comments

Comments
 (0)
Please sign in to comment.