Skip to content

Commit

Permalink
fontawesome
Browse files Browse the repository at this point in the history
无相关字库时会报错,删除图标库,
  • Loading branch information
WizenZhang committed Dec 12, 2018
1 parent 1884e9c commit 10c7ca3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 17 deletions.
Binary file modified NMUProposal.pdf
Binary file not shown.
38 changes: 23 additions & 15 deletions nmu.cls
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
%% 模板标识
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{num}[2018/10/26 v1.0 NMUproposal document class]
\typeout{This is LaTeX template num, Version 1.0 (based on CTex) 2018/10/26, by Wizen Zhang}
%%%%% --------------------------------------------------------------------------------
%%
%%%%*************************** Declare Options **************************************
Expand All @@ -31,7 +32,6 @@
\else% if double-sided printing isn't enabled
\LoadClass[UTF8,a4paper,oneside,fntef,12pt]{ctexart}
\fi
%%%%% --------------------------------------------------------------------------------
%%
%%%%***************************** Package Infomation *********************************
%%
Expand All @@ -41,16 +41,15 @@
\RequirePackage{amsmath,amssymb,amstext}
\RequirePackage[includeheadfoot]{geometry}
\RequirePackage{setspace} % 设置行间距
\usepackage{graphicx}
\usepackage{zref-abspage,zref-savepos}
\usepackage{atbegshi}
\usepackage{tikz}
\usepackage{fancyhdr} % 页眉页脚
\usepackage{multirow} % 单元格合并
\usepackage[colorlinks,linkcolor=black,anchorcolor=black,citecolor=black]{hyperref}% 超连接
\RequirePackage{graphicx}
\RequirePackage{zref-abspage,zref-savepos}
\RequirePackage{atbegshi}
\RequirePackage{tikz}
\RequirePackage{fancyhdr} % 页眉页脚
\RequirePackage{multirow} % 单元格合并
\RequirePackage[colorlinks,linkcolor=black,anchorcolor=black,citecolor=black]{hyperref}% 超连接
\RequirePackage[sort&compress]{natbib} % BibTex
\usepackage{fontawesome} %可缩放的矢量图标
\usepackage{pifont} %小铅笔符号
\RequirePackage{pifont} %小铅笔符号
\RequirePackage{subcaption} % 并排图形。subfigure、subfig与subcaption不兼容
\RequirePackage{algorithmic} % 算法环境
\RequirePackage{algorithm2e} % 算法环境
Expand All @@ -64,9 +63,9 @@
\RequirePackage{multirow} % 多行表格

%%%时间线相关宏包
\usepackage[utf8]{inputenc}
\usepackage[TS1,T1]{fontenc}
\usepackage{caption}
\RequirePackage[utf8]{inputenc}
\RequirePackage[TS1,T1]{fontenc}
\RequirePackage{caption}
\newcommand{\foo}{\color{black}\makebox[0pt]{\textbullet}\hskip-0.5pt\vrule width 1pt\hspace{\labelsep}}

\usepackage{enumitem}
Expand Down Expand Up @@ -369,13 +368,13 @@
\thispagestyle{empty}
\vspace*{0pt}
\begin{center}
\includegraphics[scale=1.0]{proposal.pdf}
\hspace{-1em}\includegraphics[scale=1.0]{proposal.pdf}

\vspace*{160pt}

\def\tabcolsep{1pt}
\def\arraystretch{1.2}
{\zihao{3}\songti \hspace{3em}
{\zihao{3}\songti \hspace{1em}
\begin{tabular}{lp{10cm}}
{\NMU@label@author} & \NMUunderline[256pt]{\NMU@value@author} \\
{\NMU@label@major} & \NMUunderline[256pt]{\NMU@value@major} \\
Expand Down Expand Up @@ -423,6 +422,15 @@
\cfoot{\footnotesize\thepage}
}
%%%%% --------------------------------------------------------------------------------
% 设置PDF标识
\hypersetup{%
pdftitle={北方民族大学硕士学位论文开题报告书LaTeX模板},
pdfkeywords={NMUProposal},
pdfauthor={Wizen Zhang},
pdfsubject={https://github.com/WizenZhang/NMUproposal},
pdfcreator={LaTeXed~By~Wizen Zhang(https://github.com/WizenZhang/NMUproposal)}
}
%%%%% --------------------------------------------------------------------------------
\endinput
%% End of file
%%%%% --------------------------------------------------------------------------------
5 changes: 3 additions & 2 deletions tex/section1-10.tex
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,9 @@ \section{预期目标}
\item[\ding{47}] 意见及问题反馈
\end{description}

\indent \faEnvelopeO~~E-mail:wizen\_[email protected]\\
\indent \faGithub~~ GitHub:\href{https://github.com/WizenZhang/NMUProposal/issues}{https://github.com/WizenZhang/NMUProposal/issues}
E-mail:\href{mailto:[email protected]}{\color{black}wizen\_[email protected]}

GitHub:\href{https://github.com/WizenZhang/NMUProposal/issues}{https://github.com/WizenZhang/NMUProposal/issues}

\NMUtableline
\section{与本课题相关的主要参考文献(列出作者、论文名称、期刊号、出版年月,参考文献应在20篇以上)}
Expand Down

0 comments on commit 10c7ca3

Please sign in to comment.