summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-05 23:34:41 +0000
committerKarl Berry <karl@freefriends.org>2016-02-05 23:34:41 +0000
commit3e2f80be0bc415e72916b61a0d3cbfcda0c48d89 (patch)
tree11d98b2aff48af325a94c5d19c9e11bfac9a659d
parent5f119d1b3f347f6e95f7065495cfe442c189db57 (diff)
mynsfc (5feb16)
git-svn-id: svn://tug.org/texlive/trunk@39590 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.bib22
-rw-r--r--Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.pdfbin0 -> 126838 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.tex176
-rw-r--r--Master/texmf-dist/doc/xelatex/mynsfc/mynsfc.pdfbin0 -> 104680 bytes
-rw-r--r--Master/texmf-dist/source/xelatex/mynsfc/mynsfc.dtx412
-rw-r--r--Master/texmf-dist/tex/xelatex/mynsfc/mynsfc.cls211
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-publishers.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/mynsfc.tlpsrc0
9 files changed, 823 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.bib b/Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.bib
new file mode 100644
index 00000000000..7afd3b2b930
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.bib
@@ -0,0 +1,22 @@
+@article{bengio_representation_2013,
+ title = "Representation Learning: A Review and New Perspectives",
+ author = "Bengio, Y. and Courville, A. and Vincent, P.",
+ volume = "35",
+ number = "8",
+ pages = "1798--1828",
+ journal = IEEE_J_PAMI,
+ year = "2013",
+ doi = "10.1109/TPAMI.2013.50",
+}
+
+@article{xia_saliency_2015,
+ author = "Xia, Chen and Qi, Fei and Shi, Guangming and Wang, Pengjin",
+ title = "Nonlocal Center-Surround Reconstruction-based Bottom-Up Saliency Estimation",
+ journal = "{Pattern Recognition}",
+ doi = "10.1016/j.patcog.2014.10.007",
+ month = "4",
+ number = "4",
+ volume = "48",
+ year = "2015",
+ pages = "1337--1348"
+}
diff --git a/Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.pdf b/Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.pdf
new file mode 100644
index 00000000000..dc6d58c0266
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.tex b/Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.tex
new file mode 100644
index 00000000000..0acb055129f
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/mynsfc/my-nsfc-proposal.tex
@@ -0,0 +1,176 @@
+%%% my-nsfc-proposal.tex ---
+%%
+%% Filename: my-nsfc-proposal.tex
+%% Author: Fred Qi
+%% Created: 2016-02-04 15:26:58(-0700)
+%%
+%% Last-Updated: 2016-02-04 22:00:53(-0700) [by Fred Qi]
+%% Update #: 61
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%%% Commentary:
+%%
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%%% Change Log:
+%%
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentclass[subfig]{mynsfc}
+
+\bibliography{IEEEabrv,my-nsfc-proposal}
+
+% 名称与申请人(不会在正文部分出现)
+\title{自然科学基金正文\XeLaTeX{}模板}
+\author{齐飞}
+
+\begin{document}
+
+% 不能编写页码
+\thispagestyle{empty}
+
+%% 大字体显示“报告正文”字样
+\begin{center}
+ \kaiti \erhao \bfseries 报告正文
+\end{center}
+
+\part{立项依据与研究内容}
+\label{part:proposal}
+
+\section{项目的立项依据}
+\label{sec:background}
+
+\begin{hcomment}
+ (研究意义、国内外研究现状及发展动态分析,需结合科学研究发展趋势来论述科学意
+ 义; 或结合国民经济和社会发展中迫切需要解决的关键科技问题来论述其应用前景。附主
+ 要参考文献目录)
+\end{hcomment}
+
+\subsection{研究意义}
+\label{sec:motivation}
+
+略。
+
+\subsection{国内外研究现状}
+\label{sec:review}
+
+可以引用相关文献~\cite{bengio_representation_2013}对研究意义与国内外研究现状进行说明。
+
+\printbibliography[heading=reftype,title={参考文献}]
+
+\section{项目的研究内容、研究目标,以及拟解决的关键科学问题}
+\label{sec:contents}
+
+\begin{hcomment}
+ (此部分为重点阐述内容)
+\end{hcomment}
+
+\subsection{研究内容}
+
+略。
+
+\subsection{研究目标}
+
+略。
+
+\subsection{拟解决的关键科学问题}
+
+略。
+
+\section{拟采取的研究方案及可行性分析}
+\label{sec:approach}
+
+\begin{hcomment}
+ (包括研究方法、技术路线、实验手段、关键技术等说明)
+\end{hcomment}
+
+略。
+
+\section{本项目的特色与创新之处}
+\label{sec:innovation}
+
+略。
+
+\section{年度研究计划及预期研究结果}
+\label{sec:plan}
+
+\begin{hcomment}
+ 包括拟组织的重要学术交流活动、国际合作与交流计划等)
+\end{hcomment}
+
+略。
+
+\part{研究基础与工作条件}
+\label{sec:preparation}
+
+
+\section{工作基础}
+\label{sec:previous-work}
+
+\begin{hcomment}
+ (与本项目相关的研究工作积累和已取得的研究工作成绩)
+\end{hcomment}
+
+
+\begin{refsection}
+
+ 申请人针对\textbf{某问题}进行了研究~\cite{xia_saliency_2015}。
+
+ \forcsvlist{\listadd\boldnames}{{Qi, F\bibinitperiod}}
+ \printbibliography[prefixnumbers=J,heading=cvtype,title={相关工作}]
+
+\end{refsection}
+
+\section{工作条件}
+\label{sec:devices-laboratory}
+
+\begin{hcomment}
+ (包括已具备的实验条件,尚缺少的实验条件和拟解决的途径,包括利用国家实验室、国
+ 家重点实验室和部门重点实验室等研究基地的计划与落实情况)
+\end{hcomment}
+
+略。
+
+\section{承担科研项目情况}
+\label{sec:projects}
+
+\begin{hcomment}
+ (申请人和项目组主要参与者正在承担的科研项目情况,包括国家自然科学基金项目,
+ 要注明项目的名称和编号、经费来源、起止年月、与本项目的关系及负责的内容等)
+\end{hcomment}
+
+略。
+
+\section{完成国家自然科学基金项目情况}
+\label{sec:prev-nsfc}
+
+\begin{hcomment}
+ (对申请人负责的前一个已结题科学基金项目(项目名称及批准号)完成情况、后续研究
+ 进展及与本申请项目的关系加以详细说明。另附该已结题项目研究工作总结摘要(限500
+ 字)和相关成果的详细目录)
+\end{hcomment}
+
+略。
+
+\part{资金预算说明}
+\label{sec:finance}
+
+\begin{hcomment}
+ 购置单项经费5万元以上固定资产及设备等,须逐项说明与项目研究的直接相关性及必要
+ 性。
+\end{hcomment}
+
+略。
+
+\part{其他需要说明的问题}
+\label{sec:others}
+
+略。
+
+
+\end{document}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% my-nsfc-proposal.tex ends here
diff --git a/Master/texmf-dist/doc/xelatex/mynsfc/mynsfc.pdf b/Master/texmf-dist/doc/xelatex/mynsfc/mynsfc.pdf
new file mode 100644
index 00000000000..868f9f05a7b
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/mynsfc/mynsfc.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/xelatex/mynsfc/mynsfc.dtx b/Master/texmf-dist/source/xelatex/mynsfc/mynsfc.dtx
new file mode 100644
index 00000000000..110c20b7a82
--- /dev/null
+++ b/Master/texmf-dist/source/xelatex/mynsfc/mynsfc.dtx
@@ -0,0 +1,412 @@
+% \iffalse meta-comment
+%<*internal>
+\iffalse
+%</internal>
+%<*readme>
+# mynsfc
+My XeLaTeX template for writing the main body of NSFC proposals.
+
+----------------------------------------------------------------
+mynsfc --- A XeLaTeX template for writing the main body of NSFC proposals.
+Author: Fei Qi
+E-mail: fred.qi@ieee.org
+License: Released under the LaTeX Project Public License v1.3c or later
+See: http://www.latex-project.org/lppl.txt
+----------------------------------------------------------------
+
+Some text about the class: probably the same as the abstract.
+%</readme>
+%<*internal>
+\fi
+\def\nameofplainTeX{plain}
+\ifx\fmtname\nameofplainTeX\else
+ \expandafter\begingroup
+\fi
+%</internal>
+%<*install>
+\input docstrip.tex
+\keepsilent
+\askforoverwritefalse
+\preamble
+----------------------------------------------------------------
+mynsfc --- A XeLaTeX template for writing the main body of NSFC proposals.
+Author: Fei Qi
+E-mail: fred.qi@ieee.org
+License: Released under the LaTeX Project Public License v1.3c or later
+See: http://www.latex-project.org/lppl.txt
+----------------------------------------------------------------
+
+\endpreamble
+\postamble
+
+Copyright (C) 2015 by Fei Qi <fred.qi@ieee.org>
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License (LPPL), either
+version 1.3c of this license or (at your option) any later
+version. The latest version of this license is in the file:
+
+http://www.latex-project.org/lppl.txt
+
+This work is "maintained" (as per LPPL maintenance status) by
+Fei Qi.
+
+This work consists of the file mynsfc.dtx and a Makefile.
+Running "make" generates the derived files README, mynsfc.pdf and mynsfc.cls.
+Running "make inst" installs the files in the user's TeX tree.
+Running "make install" installs the files in the local TeX tree.
+
+\endpostamble
+
+\usedir{tex/xelatex/mynsfc}
+\generate{
+ \file{\jobname.cls}{\from{\jobname.dtx}{class}}
+}
+%</install>
+%<install>\endbatchfile
+%<*internal>
+\usedir{source/xelatex/mynsfc}
+\generate{
+ \file{\jobname.ins}{\from{\jobname.dtx}{install}}
+}
+\nopreamble\nopostamble
+% \usedir{doc/xelatex/mynsfc}
+% \generate{
+% \file{README.md}{\from{\jobname.dtx}{readme}}
+% }
+\ifx\fmtname\nameofplainTeX
+ \expandafter\endbatchfile
+\else
+ \expandafter\endgroup
+\fi
+%</internal>
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{mynsfc.dtx}
+%</driver>
+%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<class>\ProvidesClass{mynsfc}
+%<*class>
+ [2015/08/18 v1.00 A LaTeX class for writing NSFC proposals.]
+%</class>
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage[a4paper,margin=25mm,left=50mm,nohead]{geometry}
+\usepackage[numbered]{hypdoc}
+\usepackage{xltxtra}
+\usepackage{xeCJK}
+\defaultfontfeatures{Mapping=tex-text} % after fontspec
+\setCJKmainfont{仿宋_GB2312}
+\setCJKsansfont{SimHei}
+\setCJKmonofont{仿宋_GB2312}
+\setmainfont{Times New Roman}
+\setmonofont{Courier Std}
+\renewcommand{\abstractname}{摘\hspace{2em}要}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+ \DocInput{\jobname.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \GetFileInfo{\jobname.dtx}
+% \DoNotIndex{\newcommand,\newenvironment}
+%
+% \title{\textsf{mynsfc} --- 国家自然科学基金申请书正文模板\thanks{此文档描述的
+% 模板版本为 \fileversion, 最后修改日期为
+% \filedate.} } \author{Fred Qi\thanks{E-mail: fred.qi@ieee.org}} \date{
+% \filedate 发布}
+%
+%\maketitle
+%
+%\changes{v1.00}{2015/08/18}{First public release}
+%
+% \begin{abstract}
+% 用于自然基金申请书正文部分的撰写。
+% \end{abstract}
+%
+% \section{使用说明}
+%
+%
+%\StopEventually{^^A
+% \PrintChanges
+% \PrintIndex
+%}
+%
+% \section{实现}
+%
+%<*class>
+% \begin{macrocode}
+%% Options
+\newif\ifmynsfc@subfig\mynsfc@subfigfalse
+\DeclareOption{subfig}{\mynsfc@subfigtrue}
+\ProcessOptions
+%% Load default class
+\LoadClass[a4paper,fleqn]{article}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%% Load required packages
+\RequirePackage{titlesec}
+\RequirePackage{marvosym}
+\RequirePackage{bm,amsmath,amssymb}
+\RequirePackage{paralist}
+\RequirePackage{graphicx}
+\ifmynsfc@subfig
+\RequirePackage[config]{subfig}
+\else
+\RequirePackage{subcaption}
+\fi
+\RequirePackage{xcolor}
+\RequirePackage{calc}
+\RequirePackage{hyperref}
+\hypersetup{%
+ breaklinks=true,
+ colorlinks=true,
+ allcolors=black,
+ pdfpagelabels}
+\urlstyle{same}
+% \end{macrocode}
+% \begin{macrocode}
+%% Load and setup package biblatex
+\RequirePackage[backend=biber,
+ url=true,
+ isbn=false,
+ defernumbers=true,
+ style=ieee]{biblatex}
+
+\appto{\bibfont}{\wuhao}
+\defbibheading{reftype}[\bibname]{\subsection*{#1}}
+\defbibheading{cvtype}[\bibname]{\paragraph{#1}}
+\defbibfilter{conference}{type=inproceedings or type=incollection}
+
+\RequirePackage{xpatch}% or use http://tex.stackexchange.com/a/40705
+
+\newbibmacro*{name:bold}[2]{%
+ \def\do##1{\ifstrequal{#1, #2}{##1}{\bfseries\listbreak}{}}%
+ \dolistloop{\boldnames}}
+\newcommand*{\boldnames}{}
+
+\xpretobibmacro{name:last}{\begingroup\usebibmacro{name:bold}{#1}{#2}}{}{}
+\xpretobibmacro{name:first-last}{\begingroup\usebibmacro{name:bold}{#1}{#2}}{}{}
+\xpretobibmacro{name:last-first}{\begingroup\usebibmacro{name:bold}{#1}{#2}}{}{}
+\xpretobibmacro{name:delim}{\begingroup\normalfont}{}{}
+
+\xapptobibmacro{name:last}{\endgroup}{}{}
+\xapptobibmacro{name:first-last}{\endgroup}{}{}
+\xapptobibmacro{name:last-first}{\endgroup}{}{}
+\xapptobibmacro{name:delim}{\endgroup}{}{}
+% \end{macrocode}
+%
+% \begin{macro}{\dummyMacro}
+% This is a dummy macro. If it did anything, we'd describe its
+% implementation here.
+% \begin{macrocode}
+% \begin{macrocode}
+%
+\newcommand{\dummyMacro}{}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+%% Setup Chinese fonts with xeCJK
+\RequirePackage[AutoFakeBold]{xeCJK}
+\def\CJK@null{\kern\CJKnullspace\Unicode{48}{7}\kern\CJKnullspace}
+\punctstyle{quanjiao}
+\defaultfontfeatures{Mapping=tex-text} % after fontspec
+\setCJKmainfont{仿宋_GB2312}
+\setCJKsansfont{SimHei}
+\setCJKfamilyfont{song}{仿宋_GB2312}
+\setCJKfamilyfont{hei}{SimHei}
+\setCJKfamilyfont{kai}{KaiTi}
+\setmainfont{Times New Roman}
+\setmonofont{Courier Std}
+% \end{macrocode}
+%
+% \begin{macro}{\kai}
+% \begin{macro}{\kaiti}
+% \begin{macro}{\song}
+% \begin{macro}{\songti}
+% \begin{macro}{\hei}
+% \begin{macro}{\heiti}
+% Define commands to select Chinese fonts.
+% \begin{macrocode}
+\newcommand{\kai}{\CJKfamily{kai}} % 仿宋体
+\newcommand{\song}{\CJKfamily{song}} % 宋体
+\newcommand{\hei}{\CJKfamily{hei}} % 黑体
+\def\kaiti{\kai}
+\def\songti{\song}
+\def\heiti{\hei}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macrocode}
+\newlength\mynsfc@linespace
+\newcommand{\mynsfc@choosefont}[2]{%
+ \setlength{\mynsfc@linespace}{#2*\real{#1}}%
+ \fontsize{#2}{\mynsfc@linespace}\selectfont}
+\def\mynsfc@define@fontsize#1#2{%
+ \expandafter\newcommand\csname #1\endcsname[1][\baselinestretch]{%
+ \mynsfc@choosefont{##1}{#2}}}
+\mynsfc@define@fontsize{chuhao}{42bp}
+\mynsfc@define@fontsize{xiaochu}{36bp}
+\mynsfc@define@fontsize{yihao}{26bp}
+\mynsfc@define@fontsize{xiaoyi}{24bp}
+\mynsfc@define@fontsize{erhao}{22bp}
+\mynsfc@define@fontsize{xiaoer}{18bp}
+\mynsfc@define@fontsize{sanhao}{16bp}
+\mynsfc@define@fontsize{xiaosan}{15bp}
+\mynsfc@define@fontsize{sihao}{14bp}
+\mynsfc@define@fontsize{banxiaosi}{13bp}
+\mynsfc@define@fontsize{xiaosi}{12bp}
+\mynsfc@define@fontsize{dawu}{11bp}
+\mynsfc@define@fontsize{wuhao}{10.5bp}
+\mynsfc@define@fontsize{xiaowu}{9bp}
+\mynsfc@define@fontsize{liuhao}{7.5bp}
+\mynsfc@define@fontsize{xiaoliu}{6.5bp}
+\mynsfc@define@fontsize{qihao}{5.5bp}
+\mynsfc@define@fontsize{bahao}{5bp}
+% \end{macrocode}
+%
+% \begin{macrocode}
+% Define page layout
+\setlength{\textwidth}{\paperwidth}
+\setlength{\textheight}{\paperheight}
+\setlength\marginparwidth{0mm}
+\setlength\marginparsep{0mm}
+\addtolength{\textwidth}{-50mm}
+\setlength{\oddsidemargin}{0mm}
+\setlength{\evensidemargin}{\oddsidemargin}
+\setlength{\headheight}{20pt}
+\setlength{\topskip}{0mm}
+\setlength{\skip\footins}{15pt}
+\setlength{\topmargin}{-15mm}
+\setlength{\footskip}{13mm}
+\setlength{\headsep}{6mm}
+\addtolength{\textheight}{-50mm}
+\setlength{\parskip}{0pt \@plus2pt \@minus0pt}
+% \end{macrocode}
+%
+% \begin{macro}{\normalsize}
+% Redefine command
+% \begin{macrocode}
+\renewcommand\normalsize{%
+ \@setfontsize\normalsize{12bp}{20bp}
+ \abovedisplayskip=10bp \@plus 2bp \@minus 2bp
+ \abovedisplayshortskip=10bp \@plus 2bp \@minus 2bp
+ \belowdisplayskip=\abovedisplayskip
+ \belowdisplayshortskip=\abovedisplayshortskip}
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+% Define page styles
+\def\ps@mynsfc@empty{%
+ \let\@oddhead\@empty%
+ \let\@evenhead\@empty%
+ \let\@oddfoot\@empty%
+ \let\@evenfoot\@empty}
+% \end{macrocode}
+%
+% \begin{environment}{hcomment}
+% Dimmed text used as hint after section titles.
+% \begin{macrocode}
+\newenvironment{hcomment}{\vskip-3pt\color{gray}}{\vskip6pt}
+% \end{macrocode}
+% \end{environment}
+%
+% \begin{macro}{\figurename}
+% \begin{macro}{\tablename}
+% \begin{macro}{\contentsname}
+% Translate English to Chinese.
+% \begin{macrocode}
+\renewcommand{\figurename}{图}
+\renewcommand{\tablename}{表}
+\renewcommand{\contentsname}{内容目录}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macrocode}
+%
+\DeclareCaptionLabelFormat{mynsfc@cap}{{\wuhao#1\rmfamily#2}}
+\DeclareCaptionLabelSeparator{mynsfc@sep}{\hspace{1em}}
+\DeclareCaptionFont{mynsfc@capfont}{\wuhao}
+\captionsetup{labelformat=mynsfc@cap,
+ labelsep=mynsfc@sep,
+ font=mynsfc@capfont,
+ justification=centering}
+% \end{macrocode}
+%
+% \begin{macro}{CJKindent}
+% Indent with two Chinese full spaces.
+% \begin{macrocode}
+%
+\newlength\mynsfc@CJK@twochars
+\newcommand{\mynsfc@unicode}[2]{\char\numexpr#1*256+#2\relax}
+\def\mynsfc@CJK@space{\mynsfc@unicode{48}{7}}
+\def\CJKindent{%
+ \settowidth\mynsfc@CJK@twochars{\mynsfc@CJK@space\mynsfc@CJK@space}%
+ \parindent\mynsfc@CJK@twochars}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\part}
+% \begin{macro}{\section}
+% \begin{macro}{\subsection}
+% \begin{macro}{\subsubsection}
+% \begin{macro}
+% Commands to format several levels of titles (part, section, subsection).
+% \begin{macrocode}
+\def\nsfc@CJKnumber#1{\ifcase#1{零}\or%
+ {一}\or{二}\or{三}\or{四}\or{五}\or%
+ {六}\or{七}\or{八}\or{九}\or{十}\or%
+ {十一}\or{十二}\or{十三}\or{十四}\or{十五}\or%
+ {十六}\or{十七}\or{十八}\or{十九}\or{二十}\fi}
+
+\renewcommand{\thepart}{\nsfc@CJKnumber{\c@part}}
+\titleformat{\part}{\kai\bfseries\sanhao}%
+ {(\thepart)}{0ex}{}
+\titlespacing{\part}{0ex}{4ex}{2ex}
+
+\@addtoreset{section}{part}
+\renewcommand{\thesection}{\arabic{section}.}
+\titleformat{\section}{\kai\bfseries\xiaosan}%
+ {\thesection}{0.25em}{}
+\titlespacing{\section}{0em}{4ex}{2ex}
+
+\renewcommand{\thesubsection}{\bf\arabic{section}.\arabic{subsection}}
+\titleformat{\subsection}{\hei\sihao}%
+ {\thesubsection}{0.25em}{}
+\titlespacing{\subsection}{0em}{2ex}{1ex}
+
+\titleformat{\subsubsection}{\kaiti\bfseries\banxiaosi}%
+ {\thesubsubsection}{0.25em}{}
+\titlespacing{\subsubsection}{0em}{2ex}{1ex}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \begin{macrocode}
+\let\mynsfc@begindocumenthook\@begindocumenthook
+\let\mynsfc@enddocumenthook\@enddocumenthook
+\def\AtBeginDocument{\g@addto@macro\mynsfc@begindocumenthook}
+\def\AtEndDocument{\g@addto@macro\mynsfc@enddocumenthook}
+\def\@begindocumenthook{\mynsfc@begindocumenthook}
+\def\@enddocumenthook{\mynsfc@enddocumenthook}
+\AtBeginDocument{\ps@mynsfc@empty\CJKindent}
+\endinput
+%</class>
+% \end{macrocode}
+%\Finale
diff --git a/Master/texmf-dist/tex/xelatex/mynsfc/mynsfc.cls b/Master/texmf-dist/tex/xelatex/mynsfc/mynsfc.cls
new file mode 100644
index 00000000000..9e20cc13bf9
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/mynsfc/mynsfc.cls
@@ -0,0 +1,211 @@
+%%
+%% This is file `mynsfc.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mynsfc.dtx (with options: `class')
+%% ----------------------------------------------------------------
+%% mynsfc --- A XeLaTeX template for writing the main body of NSFC proposals.
+%% Author: Fei Qi
+%% E-mail: fred.qi@ieee.org
+%% License: Released under the LaTeX Project Public License v1.3c or later
+%% See: http://www.latex-project.org/lppl.txt
+%% ----------------------------------------------------------------
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesClass{mynsfc}
+ [2015/08/18 v1.00 A LaTeX class for writing NSFC proposals.]
+%% Options
+\newif\ifmynsfc@subfig\mynsfc@subfigfalse
+\DeclareOption{subfig}{\mynsfc@subfigtrue}
+\ProcessOptions
+%% Load default class
+\LoadClass[a4paper,fleqn]{article}
+%% Load required packages
+\RequirePackage{titlesec}
+\RequirePackage{marvosym}
+\RequirePackage{bm,amsmath,amssymb}
+\RequirePackage{paralist}
+\RequirePackage{graphicx}
+\ifmynsfc@subfig
+\RequirePackage[config]{subfig}
+\else
+\RequirePackage{subcaption}
+\fi
+\RequirePackage{xcolor}
+\RequirePackage{calc}
+\RequirePackage{hyperref}
+\hypersetup{%
+ breaklinks=true,
+ colorlinks=true,
+ allcolors=black,
+ pdfpagelabels}
+\urlstyle{same}
+%% Load and setup package biblatex
+\RequirePackage[backend=biber,
+ url=true,
+ isbn=false,
+ defernumbers=true,
+ style=ieee]{biblatex}
+
+\appto{\bibfont}{\wuhao}
+\defbibheading{reftype}[\bibname]{\subsection*{#1}}
+\defbibheading{cvtype}[\bibname]{\paragraph{#1}}
+\defbibfilter{conference}{type=inproceedings or type=incollection}
+
+\RequirePackage{xpatch}% or use http://tex.stackexchange.com/a/40705
+
+\newbibmacro*{name:bold}[2]{%
+ \def\do##1{\ifstrequal{#1, #2}{##1}{\bfseries\listbreak}{}}%
+ \dolistloop{\boldnames}}
+\newcommand*{\boldnames}{}
+
+\xpretobibmacro{name:last}{\begingroup\usebibmacro{name:bold}{#1}{#2}}{}{}
+\xpretobibmacro{name:first-last}{\begingroup\usebibmacro{name:bold}{#1}{#2}}{}{}
+\xpretobibmacro{name:last-first}{\begingroup\usebibmacro{name:bold}{#1}{#2}}{}{}
+\xpretobibmacro{name:delim}{\begingroup\normalfont}{}{}
+
+\xapptobibmacro{name:last}{\endgroup}{}{}
+\xapptobibmacro{name:first-last}{\endgroup}{}{}
+\xapptobibmacro{name:last-first}{\endgroup}{}{}
+\xapptobibmacro{name:delim}{\endgroup}{}{}
+\newcommand{\dummyMacro}{}
+%% Setup Chinese fonts with xeCJK
+\RequirePackage[AutoFakeBold]{xeCJK}
+\def\CJK@null{\kern\CJKnullspace\Unicode{48}{7}\kern\CJKnullspace}
+\punctstyle{quanjiao}
+\defaultfontfeatures{Mapping=tex-text} % after fontspec
+\setCJKmainfont{仿宋_GB2312}
+\setCJKsansfont{SimHei}
+\setCJKfamilyfont{song}{仿宋_GB2312}
+\setCJKfamilyfont{hei}{SimHei}
+\setCJKfamilyfont{kai}{KaiTi}
+\setmainfont{Times New Roman}
+\setmonofont{Courier Std}
+\newcommand{\kai}{\CJKfamily{kai}} % 仿宋体
+\newcommand{\song}{\CJKfamily{song}} % 宋体
+\newcommand{\hei}{\CJKfamily{hei}} % 黑体
+\def\kaiti{\kai}
+\def\songti{\song}
+\def\heiti{\hei}
+\newlength\mynsfc@linespace
+\newcommand{\mynsfc@choosefont}[2]{%
+ \setlength{\mynsfc@linespace}{#2*\real{#1}}%
+ \fontsize{#2}{\mynsfc@linespace}\selectfont}
+\def\mynsfc@define@fontsize#1#2{%
+ \expandafter\newcommand\csname #1\endcsname[1][\baselinestretch]{%
+ \mynsfc@choosefont{##1}{#2}}}
+\mynsfc@define@fontsize{chuhao}{42bp}
+\mynsfc@define@fontsize{xiaochu}{36bp}
+\mynsfc@define@fontsize{yihao}{26bp}
+\mynsfc@define@fontsize{xiaoyi}{24bp}
+\mynsfc@define@fontsize{erhao}{22bp}
+\mynsfc@define@fontsize{xiaoer}{18bp}
+\mynsfc@define@fontsize{sanhao}{16bp}
+\mynsfc@define@fontsize{xiaosan}{15bp}
+\mynsfc@define@fontsize{sihao}{14bp}
+\mynsfc@define@fontsize{banxiaosi}{13bp}
+\mynsfc@define@fontsize{xiaosi}{12bp}
+\mynsfc@define@fontsize{dawu}{11bp}
+\mynsfc@define@fontsize{wuhao}{10.5bp}
+\mynsfc@define@fontsize{xiaowu}{9bp}
+\mynsfc@define@fontsize{liuhao}{7.5bp}
+\mynsfc@define@fontsize{xiaoliu}{6.5bp}
+\mynsfc@define@fontsize{qihao}{5.5bp}
+\mynsfc@define@fontsize{bahao}{5bp}
+\setlength{\textwidth}{\paperwidth}
+\setlength{\textheight}{\paperheight}
+\setlength\marginparwidth{0mm}
+\setlength\marginparsep{0mm}
+\addtolength{\textwidth}{-50mm}
+\setlength{\oddsidemargin}{0mm}
+\setlength{\evensidemargin}{\oddsidemargin}
+\setlength{\headheight}{20pt}
+\setlength{\topskip}{0mm}
+\setlength{\skip\footins}{15pt}
+\setlength{\topmargin}{-15mm}
+\setlength{\footskip}{13mm}
+\setlength{\headsep}{6mm}
+\addtolength{\textheight}{-50mm}
+\setlength{\parskip}{0pt \@plus2pt \@minus0pt}
+\renewcommand\normalsize{%
+ \@setfontsize\normalsize{12bp}{20bp}
+ \abovedisplayskip=10bp \@plus 2bp \@minus 2bp
+ \abovedisplayshortskip=10bp \@plus 2bp \@minus 2bp
+ \belowdisplayskip=\abovedisplayskip
+ \belowdisplayshortskip=\abovedisplayshortskip}
+\def\ps@mynsfc@empty{%
+ \let\@oddhead\@empty%
+ \let\@evenhead\@empty%
+ \let\@oddfoot\@empty%
+ \let\@evenfoot\@empty}
+\newenvironment{hcomment}{\vskip-3pt\color{gray}}{\vskip6pt}
+\renewcommand{\figurename}{图}
+\renewcommand{\tablename}{表}
+\renewcommand{\contentsname}{内容目录}
+\DeclareCaptionLabelFormat{mynsfc@cap}{{\wuhao#1\rmfamily#2}}
+\DeclareCaptionLabelSeparator{mynsfc@sep}{\hspace{1em}}
+\DeclareCaptionFont{mynsfc@capfont}{\wuhao}
+\captionsetup{labelformat=mynsfc@cap,
+ labelsep=mynsfc@sep,
+ font=mynsfc@capfont,
+ justification=centering}
+\newlength\mynsfc@CJK@twochars
+\newcommand{\mynsfc@unicode}[2]{\char\numexpr#1*256+#2\relax}
+\def\mynsfc@CJK@space{\mynsfc@unicode{48}{7}}
+\def\CJKindent{%
+ \settowidth\mynsfc@CJK@twochars{\mynsfc@CJK@space\mynsfc@CJK@space}%
+ \parindent\mynsfc@CJK@twochars}
+\def\nsfc@CJKnumber#1{\ifcase#1{零}\or%
+ {一}\or{二}\or{三}\or{四}\or{五}\or%
+ {六}\or{七}\or{八}\or{九}\or{十}\or%
+ {十一}\or{十二}\or{十三}\or{十四}\or{十五}\or%
+ {十六}\or{十七}\or{十八}\or{十九}\or{二十}\fi}
+
+\renewcommand{\thepart}{\nsfc@CJKnumber{\c@part}}
+\titleformat{\part}{\kai\bfseries\sanhao}%
+ {(\thepart)}{0ex}{}
+\titlespacing{\part}{0ex}{4ex}{2ex}
+
+\@addtoreset{section}{part}
+\renewcommand{\thesection}{\arabic{section}.}
+\titleformat{\section}{\kai\bfseries\xiaosan}%
+ {\thesection}{0.25em}{}
+\titlespacing{\section}{0em}{4ex}{2ex}
+
+\renewcommand{\thesubsection}{\bf\arabic{section}.\arabic{subsection}}
+\titleformat{\subsection}{\hei\sihao}%
+ {\thesubsection}{0.25em}{}
+\titlespacing{\subsection}{0em}{2ex}{1ex}
+
+\titleformat{\subsubsection}{\kaiti\bfseries\banxiaosi}%
+ {\thesubsubsection}{0.25em}{}
+\titlespacing{\subsubsection}{0em}{2ex}{1ex}
+\let\mynsfc@begindocumenthook\@begindocumenthook
+\let\mynsfc@enddocumenthook\@enddocumenthook
+\def\AtBeginDocument{\g@addto@macro\mynsfc@begindocumenthook}
+\def\AtEndDocument{\g@addto@macro\mynsfc@enddocumenthook}
+\def\@begindocumenthook{\mynsfc@begindocumenthook}
+\def\@enddocumenthook{\mynsfc@enddocumenthook}
+\AtBeginDocument{\ps@mynsfc@empty\CJKindent}
+%%
+%% Copyright (C) 2015 by Fei Qi <fred.qi@ieee.org>
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (LPPL), either
+%% version 1.3c of this license or (at your option) any later
+%% version. The latest version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Fei Qi.
+%%
+%% This work consists of the file mynsfc.dtx and a Makefile.
+%% Running "make" generates the derived files README, mynsfc.pdf and mynsfc.cls.
+%% Running "make inst" installs the files in the user's TeX tree.
+%% Running "make install" installs the files in the local TeX tree.
+%%
+%%
+%% End of file `mynsfc.cls'.
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 4f2b22e12d3..977059a3fc1 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -392,7 +392,7 @@ my @TLP_working = qw(
multido multiobjective munich musixguit
musixtex musixtex-fonts musixtnt musuos muthesis
mversion mwcls mwe mweights mxedruli
- mychemistry mycv mylatexformat
+ mychemistry mycv mylatexformat mynsfc
nag nameauth namespc nanumtype1 nar natbib natded nath nature navigator
ncclatex ncctools
nddiss ndsu-thesis needspace nestquot neuralnetwork nevelok
diff --git a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
index dc1f6de4443..39be718eb33 100644
--- a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
@@ -79,6 +79,7 @@ depend msu-thesis
depend mugsthesis
depend musuos
depend muthesis
+depend mynsfc
depend nature
depend nddiss
depend ndsu-thesis
diff --git a/Master/tlpkg/tlpsrc/mynsfc.tlpsrc b/Master/tlpkg/tlpsrc/mynsfc.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/mynsfc.tlpsrc