texlive[42118] Master/texmf-dist/doc/latex/texproposal: texproposal

commits+karl at tug.org commits+karl at tug.org
Wed Sep 21 22:54:13 CEST 2016


Revision: 42118
          http://tug.org/svn/texlive?view=revision&revision=42118
Author:   karl
Date:     2016-09-21 22:54:13 +0200 (Wed, 21 Sep 2016)
Log Message:
-----------
texproposal (21sep16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/texproposal/README.md
    trunk/Master/texmf-dist/doc/latex/texproposal/contents/whatistex.tex

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.pdf
    trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.sty
    trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.tex

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/texproposal/CQUNeedsTeX.tex
    trunk/Master/texmf-dist/doc/latex/texproposal/Proposal-for-Offering-TeX-Courses-and-Relevant-Resources-in-Chongqing-University.pdf
    trunk/Master/texmf-dist/doc/latex/texproposal/cqutex-style.sty

Deleted: trunk/Master/texmf-dist/doc/latex/texproposal/CQUNeedsTeX.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/texproposal/CQUNeedsTeX.tex	2016-09-21 20:53:56 UTC (rev 42117)
+++ trunk/Master/texmf-dist/doc/latex/texproposal/CQUNeedsTeX.tex	2016-09-21 20:54:13 UTC (rev 42118)
@@ -1,78 +0,0 @@
-% !TEX program = xelatex
-\documentclass[UTF8,zihao=-4]{ctexart}
-\usepackage{cqutex-style}
-
-
-% 定义所有的图片文件在 figures 子目录下
-\graphicspath{{figures/}}
-\makeindex
-\begin{document}
-%********英文标题**********
-\begin{center}
-	{\zihao{-2}\bfseries\color{tsTitle}\etstitle}\\[8mm]
-	{\zihao{-4}\rmfamily
-	Zhennan Li\footnote{Innovation Center of Undergraduates, Chongqing University, Chongqing, China, 400000}\footnote{Contact: i at nanmu.me}\hskip1em
-	Chenyu Wu\footnotemark[1]\hskip1em
-	Chunlei Liu\footnotemark[1]\hskip1em
-	Pinyong Zhao\footnotemark[1]\footnote{Cite this DOI:\href{https://doi.org/10.5281/zenodo.154440}{10.5281/zenodo.154440}, if in need.}
-	}
-\end{center}
-\vspace{\stretch{1}}
-\def\abstractname{Abstract}
-\begin{abstract}
-	\mdseries\etsabstract
-\end{abstract}
-\vspace{\stretch{3}}
-\begin{multicols}{2}[
-	\setlength{\columnseprule}{.4pt}
-	\setlength{\columnsep}{18pt}]
-	\listofecontents
-\end{multicols}
-\vspace{\stretch{1}}
-\pagework % 单双面打印适配
-%*******中文标题**********
-\author{%
-	李振楠\footnote{重庆大学2012级材料学院本科毕业生,材料创新实践班结业成员,\href{https://github.com/nanmu42/CQUThesis}{\cquthesis} 作者。}\hskip\ccwd%
-	武晨宇\footnote{重庆大学2012级材料学院本科毕业生,人文与社会科学创新实践班结业成员,\href{http://jq.qq.com/?_wv=1027&k=2HvYu95}{重庆大学\TeX 用户组}秘书。}\hskip\ccwd%
-	刘春蕾\footnote{重庆大学2015级数统学院本科生,人文与社会科学创新实践班成员,\href{http://jq.qq.com/?_wv=1027&k=2HvYu95}{重庆大学\TeX 用户组}秘书。}\hskip\ccwd%
-	赵品勇\footnote{指导老师,重庆大学大学生创新实践中心负责人。}}%author
-\title{\sffamily\heiti\color{tsTitle}\tstitle\footnote{如有需要,可使用DOI:\href{https://doi.org/10.5281/zenodo.154440}{10.5281/zenodo.154440}引用本文。}}
-\maketitle
-\vspace{\stretch{1}}
-\def\abstractname{摘\hskip\ccwd 要}
-\begin{abstract}
-\tsabstract
-\end{abstract}
-\vspace{\stretch{3}}
-\begin{multicols}{2}[
- \setlength{\columnseprule}{.4pt}
- \setlength{\columnsep}{18pt}]
- \tableofcontents
-\end{multicols}
-\vspace{\stretch{1}}
-\pagework % 单双面打印适配
-
-%=======正文部分=========
-%****第一章:引子*****
-\input{contents/introduction}
-%****第二章:我们需要TeX*****
-\input{contents/whatistex}
-\input{contents/journalDemands}
-\input{contents/finalYearDemands}
-\input{contents/OtherUsages}
-%****第三章:接受TeX毕业论文*****
-\input{contents/acceptFinalProj}
-%****第四章:开设TeX课程*****
-\input{contents/texCourses}
-%****第五章:建立CTAN镜像*****
-\input{contents/ctanMirror}
-%****第六章:结语*****
-\input{contents/conclusion}
-%=======附件部分========
-% 参考文献
-\clearpage
-\bibliographystyle{cqunumerical}
-\bibliography{ref/bluescas,ref/nanmu}
-% 关键词索引
-\printindex
-\end{document}
\ No newline at end of file

Deleted: trunk/Master/texmf-dist/doc/latex/texproposal/Proposal-for-Offering-TeX-Courses-and-Relevant-Resources-in-Chongqing-University.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/texproposal/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/texproposal/README.md	2016-09-21 20:53:56 UTC (rev 42117)
+++ trunk/Master/texmf-dist/doc/latex/texproposal/README.md	2016-09-21 20:54:13 UTC (rev 42118)
@@ -1,8 +1,17 @@
 # 欢迎 / Welcome
-[![MIT License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) [![CC Attribution 4.0 International](https://img.shields.io/badge/license-CC%20BY%204.0-green.svg)](https://creativecommons.org/licenses/by/4.0/) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.154440.svg)](https://doi.org/10.5281/zenodo.154440)
 
-这里是《关于推荐重庆大学开设TeX相关课程并推广其运用的提议》的原始文件,包含内容、排版及附件。
+texproposal Version 1.2 2016-09-21
+Source code available at [Github: CQUtug/TeXProposal](https://github.com/CQUtug/TeXProposal).
+Copyright 2016 Zhennan Li
 
+[![MIT License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) 
+[![CC Attribution 4.0 International](https://img.shields.io/badge/license-CC%20BY%204.0-green.svg)](https://creativecommons.org/licenses/by/4.0/) 
+[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.154440.svg)](https://doi.org/10.5281/zenodo.154440) 
+[![CTAN release](https://img.shields.io/ctan/v/texproposal.svg?label=CTAN)](https://www.ctan.org/pkg/texproposal) 
+[![GitHub release](https://img.shields.io/github/release/CQUtug/TeXProposal.svg?label=Github)](https://github.com/CQUtug/TeXProposal)
+
+这里是《关于推荐重庆大学开设TeX相关课程并推广其运用的提议》的原始文件,由重庆大学TeX用户组(CQUtug)发布,包含内容、排版及附件。
+
 如果您正在考虑向自己的学校或就职机构提出使用TeX(或LaTeX, XeLaTeX等)的提议,但是却不知道如何着手,那么这份文档也许可以帮到您:
 * 文档思路清晰,论证充分;
 * 文档内有大量的调查数据和图表;
@@ -54,9 +63,11 @@
 |  | 关键词索引 | Index | 23 |
 
 # 文档下载 / PDF Download
+以下为官方维护的下载链接:
 
-* [点击下载 / Click to download the document typesetted](https://github.com/CQUtug/TeXProposal/releases/download/1.1/Proposal-for-Offering-TeX-Courses-and-Relevant-Resources-in-Chongqing-University.pdf)
-* [线上查看 / Web View](https://zenodo.org/record/154440)
+* [Github](https://github.com/CQUtug/TeXProposal/raw/master/texproposal.pdf)
+* [Zenodo](https://zenodo.org/record/154440)
+* [CTAN](https://www.ctan.org/pkg/texproposal)
 
 # 引用本文档 / Cite as
 LI Zhennan, WU Chenyu, LIU Chunlei, & ZHAO Pinyong. (2016, September 20). Proposal for Offering TeX Courses and Relevant Resources in Chongqing University. Zenodo. http://doi.org/10.5281/zenodo.154440

Modified: trunk/Master/texmf-dist/doc/latex/texproposal/contents/whatistex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/texproposal/contents/whatistex.tex	2016-09-21 20:53:56 UTC (rev 42117)
+++ trunk/Master/texmf-dist/doc/latex/texproposal/contents/whatistex.tex	2016-09-21 20:54:13 UTC (rev 42118)
@@ -41,7 +41,7 @@
 无论是毕业论文,还是期刊投稿,学校或出版社都对论文有着很高的排版要求,这些要求往往十分细致,例如字号、字体、间距、各级标题格式、页眉页脚、目录成分、附录要求、参考文献引用标准和标示符号等等。\TeX 可以很容易地满足这类粒度极高的排版要求,并且,通过将“如何满足这些要求”的方法包装为\TeX 模板文件,用户可以通过直接引用模板文件的方式来完成排版,免去了自己配置和调校格式的烦恼。
 
 \ppt{\cquthesis:介绍}
-让我们以我校李振楠同学开发的\cquthesis 为例,\cquthesis 是一个缩略语,表示的是\textbf{C}hong\textbf{Q}ing \textbf{U}niversity \textbf{Thesis},是重庆大学毕业论文的\TeX 模板,支持学士、硕士、博士论文的排版。合理使用该宏包可以大大减轻重庆大学毕业生在毕业论文撰写过程中的排版工作量。CQUThesis根据重庆大学《重庆大学本科设计(论文)撰写规范化要求(2007年修订版)》和《重庆大学博士、硕士论文撰写格式标准(2007年修订版)》编写,力求合规,简洁,易于实现,用户友好。模板的宣传海报如\autoref{fig:cquthesis-poster}所示。
+让我们以我校李振楠同学开发的\cquthesis 为例,\href{https://github.com/nanmu42/CQUThesis}{\cquthesis} 是一个缩略语,表示的是\href{https://github.com/nanmu42/CQUThesis}{\textbf{C}hong\textbf{Q}ing \textbf{U}niversity \textbf{Thesis}},是重庆大学毕业论文的\TeX 模板,支持学士、硕士、博士论文的排版。合理使用该宏包可以大大减轻重庆大学毕业生在毕业论文撰写过程中的排版工作量。CQUThesis根据重庆大学《重庆大学本科设计(论文)撰写规范化要求(2007年修订版)》和《重庆大学博士、硕士论文撰写格式标准(2007年修订版)》编写,力求合规,简洁,易于实现,用户友好。模板的宣传海报如\autoref{fig:cquthesis-poster}所示。
 
 \begin{figure}[tbh]
 \centering

Deleted: trunk/Master/texmf-dist/doc/latex/texproposal/cqutex-style.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/texproposal/cqutex-style.sty	2016-09-21 20:53:56 UTC (rev 42117)
+++ trunk/Master/texmf-dist/doc/latex/texproposal/cqutex-style.sty	2016-09-21 20:54:13 UTC (rev 42118)
@@ -1,301 +0,0 @@
-% 一些文章常量
-\def\tstitle{关于推荐学校开设\TeX 相关课程\\并推广其运用的提议}
-\def\etstitle{Proposal for Offering \TeX Courses and Relevant Resources in Chongqing University}
-\def\tsabstract{本提案从介绍排版系统\TeX 的背景和特点开始,从研究生期刊论文投稿以及毕业生毕业论文排版工作这两个维度阐述了引入\TeX 作为一种与Office Word平行的写作系统的优势和必要性,最终提出一套基于我校实际情况、有效可行的实施方案。}
-\def\etsabstract{The present proposal mainly explains the importance and necessity of introducing \TeX, a typeset system often used in academic writing, to students and teachers as the counterpart of Microsoft Word. This proposal starts from a brief introduction of \TeX, then steps further into its fascinating application on academic writing and dissertation formatting. In the end, a set of possible implementation strategies with regard to the proper introduction of \TeX and relevant resources to our university, is proposed.}
-\def\tsauthor{Zhennan Li, Chenyu Wu, Chunlei Liu, Pinyong Zhao}
-\def\tskeywords{TeX Courses, LaTeX Training, Chongqing University, Proposal, CTAN Mirrors}
-\date{}
-
-
-% 宏包
-% 引入新宏包时注意:不要冲突,不要重复
-\RequirePackage{fontspec}
-\RequirePackage{amsmath}
-\RequirePackage{multicol}
-\RequirePackage{newpxtext}
-\RequirePackage{newpxmath}
-\RequirePackage{listings}
-\RequirePackage{fancyhdr}
-\RequirePackage{xcolor}
-\RequirePackage{hyperref}
-\RequirePackage{enumitem}
-\RequirePackage{etoolbox}
-\RequirePackage{metalogo}
-\RequirePackage{graphicx}
-\RequirePackage{xspace}
-\RequirePackage{makeidx}
-\RequirePackage{marginnote}
-\RequirePackage{pifont}
-\RequirePackage{pdfpages}
-\RequirePackage{xparse}
-\RequirePackage{xspace}
-\RequirePackage{tocloft}
-\RequirePackage[perpage]{footmisc}
-% 表格相关
-\RequirePackage{booktabs}
-\RequirePackage{longtable}
-\newcommand{\ccell}[1]{\multicolumn{1}{c}{\sffamily\heiti #1}}
-\setlength\tabcolsep{1pt}
-\setlength{\LTpre}{\bigskipamount}
-\setlength{\LTpost}{\bigskipamount}
-\setlength\LTleft{0pt}
-\setlength\LTright{0pt}
-\let\cqu at LT@array\LT at array
-\def\LT at array{\zihao{-5}\cqu at LT@array}
-% 表格相关结束
-\RequirePackage[
-	top=2.5cm, bottom=3cm,
-	inner=2cm, outer=4cm,
-	headsep=5mm, bindingoffset =5mm,
-	marginparwidth=2.7cm]{geometry}
-\RequirePackage[
-	square, comma,
-	numbers, super,
-	sort&compress]{natbib}
-	
-\setlist{nosep}
-\setlength{\cftbeforesecskip}{1mm}
-
-\ifxetex
-\hypersetup{%
-	CJKbookmarks=true}
-\else
-\hypersetup{%
-	unicode=true,
-	CJKbookmarks=false}
-\fi
-\hypersetup{%
-	linktoc=all,
-	bookmarksnumbered=true,
-	bookmarksopen=true,
-	bookmarksopenlevel=1,
-	breaklinks=true,
-	colorlinks=true,
-	allcolors=black,
-	urlcolor=magenta,
-	plainpages=false,
-	pdfborder=0 0 0}
-\urlstyle{same}
-\ifxetex
-\def\CJK at null{\kern\CJKnullspace\Unicode{48}{7}\kern\CJKnullspace}
-\defaultfontfeatures{Mapping=tex-text}
-\fi
-
-% 定制PDF属性
-\hypersetup{%
-	pdftitle = {\tstitle},
-	pdfauthor = {\tsauthor},
-	pdfsubject = {\tsabstract},
-	pdfkeywords = {\tskeywords},
-}
-
-\lstdefinestyle{lstStyleBase}{%
-basicstyle=\small\ttfamily,
-aboveskip=\medskipamount,
-belowskip=\medskipamount,
-lineskip=0pt,
-boxpos=c,
-showlines=false,
-extendedchars=true,
-upquote=true,
-tabsize=2,
-showtabs=false,
-showspaces=false,
-showstringspaces=false,
-numbers=none,
-linewidth=\linewidth,
-xleftmargin=4pt,
-xrightmargin=0pt,
-resetmargins=false,
-breaklines=true,
-breakatwhitespace=false,
-breakindent=0pt,
-breakautoindent=true,
-columns=flexible,
-keepspaces=true,
-gobble=2,
-framesep=3pt,
-rulesep=1pt,
-framerule=1pt,
-backgroundcolor=\color{gray!5},
-stringstyle=\color{green!40!black!100},
-keywordstyle=\bfseries\color{blue!50!black},
-commentstyle=\slshape\color{black!60}}
-
-\lstdefinestyle{lstStyleLaTeX}{%
-	style=lstStyleBase,
-	frame=l,
-	rulecolor=\color{cyan},
-	language=[LaTeX]TeX}
-
-% LaTeX代码环境
-\lstnewenvironment{latex}{\lstset{style=lstStyleLaTeX}}{}
-
-% 定义颜色集
-\colorlet{tsTitle}{blue!40!black}
-\colorlet{tsNote}{purple}
-
-% 说明性文字,紫色,楷体
-\newcommand{\note}[1]{{%
-	\color{tsNote}{\noindent\bfseries 说明:}\emph{#1}}}
-
-% 边注和索引
-\renewcommand*{\marginfont}{\color{tsNote}\sffamily\heiti}
-\DeclareDocumentCommand{\ppt}{s o m}{%
-	\IfBooleanTF {#1}
-	{%ture
-		\IfNoValueTF{#2}{\marginnote[#3]{#3}}{\marginnote[#2]{#3}}
-	}{%false
-		\IfNoValueTF{#2}{\marginnote[#3]{#3}}{\marginnote[#2]{#3}}
-		\index{#3}
-	}%
-}
-% 解决索引ind文件依赖问题
-\let\scan at allowedfalse\relax
-\let\pfill\dotfill
-
-% 定制章节标题
-\ctexset{%
-	section = {%
-		format = \zihao{2}\color{tsTitle}\sffamily\heiti\centering,
-		beforeskip = 36bp \@plus 1ex \@minus .2ex,
-		afterskip = 16bp \@plus .2ex,
-	},
-	subsection = {%
-		format = \zihao{3}\color{tsTitle}\sffamily\heiti\raggedright,
-		beforeskip = 24bp \@plus 1ex \@minus .2ex,
-		afterskip = 12bp \@plus .2ex,
-	},
-	subsubsection = {
-		aftertitle = {\ClassError{CQUTeX}%
-			{Level-3 and below sections are unsupported intentionally.}{}},
-	},
-	appendix = {%
-		numbering = false,
-		name = {},
-	},
-	paragraph = {
-		aftertitle = {\ClassError{CQUTeX}%
-			{Level-3 and below sections are unsupported intentionally.}{}},
-	},
-	subparagraph = {
-		aftertitle = {\ClassError{CQUTeX}%
-			{Level-3 and below sections are unsupported intentionally.}{}},
-	},
-	appendixname=附录,
-	contentsname={目\hskip\ccwd 录},
-	listfigurename={插图索引},
-	listtablename={表格索引},
-	figurename=图,
-	tablename=表,
-	bibname=参考文献,
-	indexname=关键词索引,
-}
-
-% 单双页打印问题
-\newcommand{\pagework}{%
-	\if at twoside
-		\thispagestyle{empty}
-		\clearpage{\pagestyle{empty}\cleardoublepage}
-		\pagenumbering{arabic}
-	\else
-		\thispagestyle{empty}
-		\clearpage
-		\pagenumbering{arabic}
-	\fi
-}
-
-% 带圈数字
-\def\@circlenum#1{%
-	\ifnum \value{#1} >10
-	\ClassError{CQUTeX}%
-	{Circled number of 11 or more is not supported.}{}
-	\fi
-	\ding{\the\numexpr\value{#1}+171\relax}%
-}
-% 脚注使用带圈数字,注意命令的执行时机
-\AtBeginDocument{%
-	\renewcommand{\thefootnote}{\@circlenum{footnote}}
-	\renewcommand{\thempfootnote}{\@circlenum{mpfootnote}}
-% 设置分割线、字号和悬挂缩进
-	\def\footnoterule{\vskip-3\p@\hrule\@width0.3\textwidth\@height0.4\p@\vskip2.6\p@}
-	\let\cqu at footnotesize\footnotesize
-	\renewcommand{\footnotesize}{\cqu at footnotesize\zihao{-5}}
-	\footnotemargin1.5em\relax
-%
-% 脚注部分将标注换为正文大小,这个过程是动态的:
-	\let\cqu at makefnmark\@makefnmark
-	\def\cqu@@makefnmark{\mbox{{\normalfont\@thefnmark}}}
-	\pretocmd{\@makefntext}{\let\@makefnmark\cqu@@makefnmark}{}{}
-	\apptocmd{\@makefntext}{\let\@makefnmark\cqu at makefnmark}{}{}
-}%AtBeginDocument
-
-% 解决\TeX \LaTeX 等命令后吞噬英文间空格
-\everylogo{\xspace}
-
-% 定制\autopageref{label}
-\AtBeginDocument{%
-	\def\figureautorefname{图}
-	\def\tableautorefname{表}
-	\def\partautorefname{卷}
-	\def\appendixautorefname{附录}
-	\def\equationautorefname{式}
-	\def\Itemautorefname{列表}
-	\def\chapterautorefname{章}
-	\def\sectionautorefname{节}
-	\def\subsectionautorefname{小节}
-	\def\subsubsectionautorefname{条目}
-	\def\paragraphautorefname{自然段}
-	\def\Hfootnoteautorefname{脚注}
-	\def\AMSautorefname{式}
-	\def\theoremautorefname{理论}
-	\def\pageautorefname{页}
-}%\AtBeginDocument
-
-% 把索引和参考文献加到目录里
-\pretocmd{\bibliography}{%
-	\phantomsection
-	\addcontentsline{toc}{section}{参考文献}
-	\addcontentsline{etoc}{section}{Reference}
-}{}{}
-\pretocmd{\printindex}{%
-	\phantomsection
-	\addcontentsline{toc}{section}{关键词索引}
-	\addcontentsline{etoc}{section}{Index}
-}{}{}
-
-% \CQUThesis 标识
-\newcommand{\cquthesis}{\textsc{CQUThesis}\xspace}
-
-% 改变引言字体
-\AtBeginEnvironment{quote}{\kaishu}
-\AtBeginEnvironment{quotation}{\kaishu}
-
-% 英文封面支持
-\def\etocname{\zihao{-3}\bfseries Contents}
-\newlistof[section]{econtents}{etoc}{\etocname}
-\newcommand\add at engcontents[2]{%
-	\addcontentsline{etoc}{#1}{\protect\numberline{\csname the#1\endcsname}#2}}
-\AtBeginDocument{%
-\let\cqu at section\section
-\let\cqu at subsection\subsection
-\DeclareDocumentCommand{\section}{s m o}{%
-	\IfBooleanTF{#1}{%true
-		\cqu at section*{#2}
-		\IfNoValueTF{#3}{\relax}{\addcontentsline{etoc}{section}{#3}}
-	}{%false
-		\cqu at section{#2}
-		\IfNoValueTF{#3}{\relax}{\add at engcontents{section}{#3}}
-	}
-}%section
-\DeclareDocumentCommand{\subsection}{s m o}{%
-	\IfBooleanTF{#1}{%true
-		\cqu at subsection*{#2}
-		\IfNoValueTF{#3}{\relax}{\addcontentsline{etoc}{subsection}{#3}}
-	}{%false
-	\cqu at subsection{#2}
-	\IfNoValueTF{#3}{\relax}{\add at engcontents{subsection}{#3}}
-	}
-}%subsection
-}
\ No newline at end of file

Added: trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.pdf	2016-09-21 20:53:56 UTC (rev 42117)
+++ trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.pdf	2016-09-21 20:54:13 UTC (rev 42118)

Property changes on: trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.sty	2016-09-21 20:54:13 UTC (rev 42118)
@@ -0,0 +1,302 @@
+% 一些文章常量
+\def\tstitle{关于推荐学校开设\TeX 相关课程\\并推广其运用的提议}
+\def\etstitle{Proposal for Offering \TeX Courses and Relevant Resources in Chongqing University}
+\def\tsabstract{本提案从介绍排版系统\TeX 的背景和特点开始,从研究生期刊论文投稿以及毕业生毕业论文排版工作这两个维度阐述了引入\TeX 作为一种与Office Word平行的写作系统的优势和必要性,最终提出一套基于我校实际情况、有效可行的实施方案。}
+\def\etsabstract{The present proposal mainly explains the importance and necessity of introducing \TeX, a typeset system often used in academic writing, to students and teachers as the counterpart of Microsoft Word. This proposal starts from a brief introduction of \TeX, then steps further into its fascinating application on academic writing and dissertation formatting. In the end, a set of possible implementation strategies with regard to the proper introduction of \TeX and relevant resources to our university, is proposed.}
+\def\tsauthor{Zhennan Li, Chenyu Wu, Chunlei Liu, Pinyong Zhao}
+\def\tskeywords{TeX Courses, LaTeX Training, Chongqing University, Proposal, CTAN Mirrors}
+\date{}
+
+
+% 宏包
+% 引入新宏包时注意:不要冲突,不要重复
+\RequirePackage{fontspec}
+\RequirePackage{amsmath}
+\RequirePackage{multicol}
+\RequirePackage{newpxtext}
+\RequirePackage{newpxmath}
+\RequirePackage{listings}
+\RequirePackage{fancyhdr}
+\RequirePackage{xcolor}
+\RequirePackage{hyperref}
+\RequirePackage{enumitem}
+\RequirePackage{etoolbox}
+\RequirePackage{metalogo}
+\RequirePackage{graphicx}
+\RequirePackage{xspace}
+\RequirePackage{makeidx}
+\RequirePackage{marginnote}
+\RequirePackage{pifont}
+\RequirePackage{pdfpages}
+\RequirePackage{xparse}
+\RequirePackage{xspace}
+\RequirePackage{tocloft}
+\RequirePackage[perpage]{footmisc}
+% 表格相关
+\RequirePackage{booktabs}
+\RequirePackage{longtable}
+\newcommand{\ccell}[1]{\multicolumn{1}{c}{\sffamily\heiti #1}}
+\setlength\tabcolsep{1pt}
+\setlength{\LTpre}{\bigskipamount}
+\setlength{\LTpost}{\bigskipamount}
+\setlength\LTleft{0pt}
+\setlength\LTright{0pt}
+\let\cqu at LT@array\LT at array
+\def\LT at array{\zihao{-5}\cqu at LT@array}
+% 表格相关结束
+\RequirePackage[
+	top=2.5cm, bottom=3cm,
+	inner=2cm, outer=4cm,
+	headsep=5mm, bindingoffset =5mm,
+	marginparwidth=2.7cm]{geometry}
+\RequirePackage[
+	square, comma,
+	numbers, super,
+	sort&compress]{natbib}
+	
+\setlist{nosep}
+\setlength{\cftbeforesecskip}{1mm}
+
+\ifxetex
+\hypersetup{%
+	CJKbookmarks=true}
+\else
+\hypersetup{%
+	unicode=true,
+	CJKbookmarks=false}
+\fi
+\hypersetup{%
+	linktoc=all,
+	bookmarksnumbered=true,
+	bookmarksopen=true,
+	bookmarksopenlevel=1,
+	breaklinks=true,
+	colorlinks=true,
+	allcolors=black,
+	urlcolor=magenta,
+	plainpages=false,
+	pdfborder=0 0 0}
+\urlstyle{same}
+\ifxetex
+\def\CJK at null{\kern\CJKnullspace\Unicode{48}{7}\kern\CJKnullspace}
+\defaultfontfeatures{Mapping=tex-text}
+\fi
+
+% 定制PDF属性
+\hypersetup{%
+	pdftitle = {\tstitle},
+	pdfauthor = {\tsauthor},
+	pdfsubject = {\tsabstract},
+	pdfkeywords = {\tskeywords},
+	pdfcreator = {texpropoal at https://github.com/CQUtug/TeXProposal}
+}
+
+\lstdefinestyle{lstStyleBase}{%
+basicstyle=\small\ttfamily,
+aboveskip=\medskipamount,
+belowskip=\medskipamount,
+lineskip=0pt,
+boxpos=c,
+showlines=false,
+extendedchars=true,
+upquote=true,
+tabsize=2,
+showtabs=false,
+showspaces=false,
+showstringspaces=false,
+numbers=none,
+linewidth=\linewidth,
+xleftmargin=4pt,
+xrightmargin=0pt,
+resetmargins=false,
+breaklines=true,
+breakatwhitespace=false,
+breakindent=0pt,
+breakautoindent=true,
+columns=flexible,
+keepspaces=true,
+gobble=2,
+framesep=3pt,
+rulesep=1pt,
+framerule=1pt,
+backgroundcolor=\color{gray!5},
+stringstyle=\color{green!40!black!100},
+keywordstyle=\bfseries\color{blue!50!black},
+commentstyle=\slshape\color{black!60}}
+
+\lstdefinestyle{lstStyleLaTeX}{%
+	style=lstStyleBase,
+	frame=l,
+	rulecolor=\color{cyan},
+	language=[LaTeX]TeX}
+
+% LaTeX代码环境
+\lstnewenvironment{latex}{\lstset{style=lstStyleLaTeX}}{}
+
+% 定义颜色集
+\colorlet{tsTitle}{blue!40!black}
+\colorlet{tsNote}{purple}
+
+% 说明性文字,紫色,楷体
+\newcommand{\note}[1]{{%
+	\color{tsNote}{\noindent\bfseries 说明:}\emph{#1}}}
+
+% 边注和索引
+\renewcommand*{\marginfont}{\color{tsNote}\sffamily\heiti}
+\DeclareDocumentCommand{\ppt}{s o m}{%
+	\IfBooleanTF {#1}
+	{%ture
+		\IfNoValueTF{#2}{\marginnote[#3]{#3}}{\marginnote[#2]{#3}}
+	}{%false
+		\IfNoValueTF{#2}{\marginnote[#3]{#3}}{\marginnote[#2]{#3}}
+		\index{#3}
+	}%
+}
+% 解决索引ind文件依赖问题
+\let\scan at allowedfalse\relax
+\let\pfill\dotfill
+
+% 定制章节标题
+\ctexset{%
+	section = {%
+		format = \zihao{2}\color{tsTitle}\sffamily\heiti\centering,
+		beforeskip = 36bp \@plus 1ex \@minus .2ex,
+		afterskip = 16bp \@plus .2ex,
+	},
+	subsection = {%
+		format = \zihao{3}\color{tsTitle}\sffamily\heiti\raggedright,
+		beforeskip = 24bp \@plus 1ex \@minus .2ex,
+		afterskip = 12bp \@plus .2ex,
+	},
+	subsubsection = {
+		aftertitle = {\ClassError{CQUTeX}%
+			{Level-3 and below sections are unsupported intentionally.}{}},
+	},
+	appendix = {%
+		numbering = false,
+		name = {},
+	},
+	paragraph = {
+		aftertitle = {\ClassError{CQUTeX}%
+			{Level-3 and below sections are unsupported intentionally.}{}},
+	},
+	subparagraph = {
+		aftertitle = {\ClassError{CQUTeX}%
+			{Level-3 and below sections are unsupported intentionally.}{}},
+	},
+	appendixname=附录,
+	contentsname={目\hskip\ccwd 录},
+	listfigurename={插图索引},
+	listtablename={表格索引},
+	figurename=图,
+	tablename=表,
+	bibname=参考文献,
+	indexname=关键词索引,
+}
+
+% 单双页打印问题
+\newcommand{\pagework}{%
+	\if at twoside
+		\thispagestyle{empty}
+		\clearpage{\pagestyle{empty}\cleardoublepage}
+		\pagenumbering{arabic}
+	\else
+		\thispagestyle{empty}
+		\clearpage
+		\pagenumbering{arabic}
+	\fi
+}
+
+% 带圈数字
+\def\@circlenum#1{%
+	\ifnum \value{#1} >10
+	\ClassError{CQUTeX}%
+	{Circled number of 11 or more is not supported.}{}
+	\fi
+	\ding{\the\numexpr\value{#1}+171\relax}%
+}
+% 脚注使用带圈数字,注意命令的执行时机
+\AtBeginDocument{%
+	\renewcommand{\thefootnote}{\@circlenum{footnote}}
+	\renewcommand{\thempfootnote}{\@circlenum{mpfootnote}}
+% 设置分割线、字号和悬挂缩进
+	\def\footnoterule{\vskip-3\p@\hrule\@width0.3\textwidth\@height0.4\p@\vskip2.6\p@}
+	\let\cqu at footnotesize\footnotesize
+	\renewcommand{\footnotesize}{\cqu at footnotesize\zihao{-5}}
+	\footnotemargin1.5em\relax
+%
+% 脚注部分将标注换为正文大小,这个过程是动态的:
+	\let\cqu at makefnmark\@makefnmark
+	\def\cqu@@makefnmark{\mbox{{\normalfont\@thefnmark}}}
+	\pretocmd{\@makefntext}{\let\@makefnmark\cqu@@makefnmark}{}{}
+	\apptocmd{\@makefntext}{\let\@makefnmark\cqu at makefnmark}{}{}
+}%AtBeginDocument
+
+% 解决\TeX \LaTeX 等命令后吞噬英文间空格
+\everylogo{\xspace}
+
+% 定制\autopageref{label}
+\AtBeginDocument{%
+	\def\figureautorefname{图}
+	\def\tableautorefname{表}
+	\def\partautorefname{卷}
+	\def\appendixautorefname{附录}
+	\def\equationautorefname{式}
+	\def\Itemautorefname{列表}
+	\def\chapterautorefname{章}
+	\def\sectionautorefname{节}
+	\def\subsectionautorefname{小节}
+	\def\subsubsectionautorefname{条目}
+	\def\paragraphautorefname{自然段}
+	\def\Hfootnoteautorefname{脚注}
+	\def\AMSautorefname{式}
+	\def\theoremautorefname{理论}
+	\def\pageautorefname{页}
+}%\AtBeginDocument
+
+% 把索引和参考文献加到目录里
+\pretocmd{\bibliography}{%
+	\phantomsection
+	\addcontentsline{toc}{section}{参考文献}
+	\addcontentsline{etoc}{section}{Reference}
+}{}{}
+\pretocmd{\printindex}{%
+	\phantomsection
+	\addcontentsline{toc}{section}{关键词索引}
+	\addcontentsline{etoc}{section}{Index}
+}{}{}
+
+% \CQUThesis 标识
+\newcommand{\cquthesis}{\textsc{CQUThesis}\xspace}
+
+% 改变引言字体
+\AtBeginEnvironment{quote}{\kaishu}
+\AtBeginEnvironment{quotation}{\kaishu}
+
+% 英文封面支持
+\def\etocname{\zihao{-3}\bfseries Contents}
+\newlistof[section]{econtents}{etoc}{\etocname}
+\newcommand\add at engcontents[2]{%
+	\addcontentsline{etoc}{#1}{\protect\numberline{\csname the#1\endcsname}#2}}
+\AtBeginDocument{%
+\let\cqu at section\section
+\let\cqu at subsection\subsection
+\DeclareDocumentCommand{\section}{s m o}{%
+	\IfBooleanTF{#1}{%true
+		\cqu at section*{#2}
+		\IfNoValueTF{#3}{\relax}{\addcontentsline{etoc}{section}{#3}}
+	}{%false
+		\cqu at section{#2}
+		\IfNoValueTF{#3}{\relax}{\add at engcontents{section}{#3}}
+	}
+}%section
+\DeclareDocumentCommand{\subsection}{s m o}{%
+	\IfBooleanTF{#1}{%true
+		\cqu at subsection*{#2}
+		\IfNoValueTF{#3}{\relax}{\addcontentsline{etoc}{subsection}{#3}}
+	}{%false
+	\cqu at subsection{#2}
+	\IfNoValueTF{#3}{\relax}{\add at engcontents{subsection}{#3}}
+	}
+}%subsection
+}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.tex	2016-09-21 20:54:13 UTC (rev 42118)
@@ -0,0 +1,78 @@
+% !TEX program = xelatex
+\documentclass[UTF8,zihao=-4]{ctexart}
+\usepackage{texproposal}
+
+
+% 定义所有的图片文件在 figures 子目录下
+\graphicspath{{figures/}}
+\makeindex
+\begin{document}
+%********英文标题**********
+\begin{center}
+	{\zihao{-2}\bfseries\color{tsTitle}\etstitle}\\[8mm]
+	{\zihao{-4}\rmfamily
+	Zhennan Li\footnote{Innovation Center of Undergraduates, Chongqing University, Chongqing, China, 400000}\footnote{Contact: i at nanmu.me}\hskip1em
+	Chenyu Wu\footnotemark[1]\hskip1em
+	Chunlei Liu\footnotemark[1]\hskip1em
+	Pinyong Zhao\footnotemark[1]\footnote{Cite this DOI:\href{https://doi.org/10.5281/zenodo.154440}{10.5281/zenodo.154440}, if in need. This work could be a proposal prototype for \LaTeX promotion in Chinese universities, source code available at \url{https://github.com/CQUtug/TeXProposal}.}
+	}
+\end{center}
+\vspace{\stretch{1}}
+\def\abstractname{Abstract}
+\begin{abstract}
+	\mdseries\etsabstract
+\end{abstract}
+\vspace{\stretch{3}}
+\begin{multicols}{2}[
+	\setlength{\columnseprule}{.4pt}
+	\setlength{\columnsep}{18pt}]
+	\listofecontents
+\end{multicols}
+\vspace{\stretch{1}}
+\pagework % 单双面打印适配
+%*******中文标题**********
+\author{%
+	李振楠\footnote{重庆大学2012级材料学院本科毕业生,材料创新实践班结业成员,\href{https://github.com/nanmu42/CQUThesis}{\cquthesis} 作者。}\hskip\ccwd%
+	武晨宇\footnote{重庆大学2012级材料学院本科毕业生,人文与社会科学创新实践班结业成员,\href{http://jq.qq.com/?_wv=1027&k=2HvYu95}{重庆大学\TeX 用户组}秘书。}\hskip\ccwd%
+	刘春蕾\footnote{重庆大学2015级数统学院本科生,人文与社会科学创新实践班成员,\href{http://jq.qq.com/?_wv=1027&k=2HvYu95}{重庆大学\TeX 用户组}秘书。}\hskip\ccwd%
+	赵品勇\footnote{指导老师,重庆大学大学生创新实践中心负责人。}}%author
+\title{\sffamily\heiti\color{tsTitle}\tstitle\footnote{如有需要,可使用DOI:\href{https://doi.org/10.5281/zenodo.154440}{10.5281/zenodo.154440}引用本文。本文可作为类似提议的参考,如有需求,源代码位于\url{https://github.com/CQUtug/TeXProposal}。}}
+\maketitle
+\vspace{\stretch{1}}
+\def\abstractname{摘\hskip\ccwd 要}
+\begin{abstract}
+\tsabstract
+\end{abstract}
+\vspace{\stretch{3}}
+\begin{multicols}{2}[
+ \setlength{\columnseprule}{.4pt}
+ \setlength{\columnsep}{18pt}]
+ \tableofcontents
+\end{multicols}
+\vspace{\stretch{1}}
+\pagework % 单双面打印适配
+
+%=======正文部分=========
+%****第一章:引子*****
+\input{contents/introduction}
+%****第二章:我们需要TeX*****
+\input{contents/whatistex}
+\input{contents/journalDemands}
+\input{contents/finalYearDemands}
+\input{contents/OtherUsages}
+%****第三章:接受TeX毕业论文*****
+\input{contents/acceptFinalProj}
+%****第四章:开设TeX课程*****
+\input{contents/texCourses}
+%****第五章:建立CTAN镜像*****
+\input{contents/ctanMirror}
+%****第六章:结语*****
+\input{contents/conclusion}
+%=======附件部分========
+% 参考文献
+\clearpage
+\bibliographystyle{cqunumerical}
+\bibliography{ref/bluescas,ref/nanmu}
+% 关键词索引
+\printindex
+\end{document}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/texproposal/texproposal.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list