<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% ä¸€äº›æ–‡ç«&nbsp;å¸¸é‡
\def\tstitle{å…³äºŽæŽ¨èé‡åº†å¤§å­¦å¼€è®¾\TeX ç›¸å…³è¯¾ç¨‹\\å¹¶æŽ¨å¹¿å…¶è¿ç”¨çš„æè®®}
\def\etstitle{Proposal for Offering \TeX Courses and Relevant Resources in Chongqing University}
\def\tsabstract{æœ¬ææ¡ˆä»Žä»‹ç»æŽ’ç‰ˆç³»ç»Ÿ\TeX çš„èƒŒæ™¯å’Œç‰¹ç‚¹å¼€å§‹ï¼Œä»Žç&nbsp;”ç©¶ç”ŸæœŸåˆŠè®ºæ–‡æŠ•ç¨¿ä»¥åŠæ¯•ä¸šç”Ÿæ¯•ä¸šè®ºæ–‡æŽ’ç‰ˆå·¥ä½œè¿™ä¸¤ä¸ªç»´åº¦é˜è¿°äº†å¼•å…¥\TeX ä½œä¸ºä¸€ç§ä¸ŽOffice Wordå¹³è¡Œçš„å†™ä½œç³»ç»Ÿçš„ä¼˜åŠ¿å’Œå¿…è¦æ€§ï¼Œæœ€ç»ˆæå‡ºä¸€å¥—åŸºäºŽæˆ‘æ&nbsp;¡é‡åº†å¤§å­¦å®žé™…æƒ…å†µï¼Œæœ‰æ•ˆå¯è¡Œçš„å®žæ–½æ–¹æ¡ˆã€‚}
\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}
% è¡¨æ&nbsp;¼ç›¸å…³
\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@LT@array\LT@array
\def\LT@array{\zihao{-5}\cqu@LT@array}
% è¡¨æ&nbsp;¼ç›¸å…³ç»“æŸ
\RequirePackage[
	top=2.5cm, bottom=3cm,
	inner=2cm, outer=4cm,
	headsep=5mm, bindingoffset =5mm,
	marginparwidth=2.7cm]{geometry}
\RequirePackage[
	square, comma,
	numbers, super,
	sort&amp;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@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ä»£ç&nbsp;çŽ¯å¢ƒ
\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@allowedfalse\relax
\let\pfill\dotfill

% å®šåˆ¶ç«&nbsp;èŠ‚æ&nbsp;‡é¢˜
\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={è¡¨æ&nbsp;¼ç´¢å¼•},
	figurename=å›¾,
	tablename=è¡¨,
	bibname=å‚è€ƒæ–‡çŒ®,
	indexname=å…³é”®è¯ç´¢å¼•,
}

% å•åŒé¡µæ‰“å°é—®é¢˜
\newcommand{\pagework}{%
	\if@twoside
		\thispagestyle{empty}
		\clearpage{\pagestyle{empty}\cleardoublepage}
		\pagenumbering{arabic}
	\else
		\thispagestyle{empty}
		\clearpage
		\pagenumbering{arabic}
	\fi
}

% å¸¦åœˆæ•°å­—
\def\@circlenum#1{%
	\ifnum \value{#1} &gt;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@footnotesize\footnotesize
	\renewcommand{\footnotesize}{\cqu@footnotesize\zihao{-5}}
	\footnotemargin1.5em\relax
%
% è„šæ³¨éƒ¨åˆ†å°†æ&nbsp;‡æ³¨æ¢ä¸ºæ­£æ–‡å¤§å°ï¼Œè¿™ä¸ªè¿‡ç¨‹æ˜¯åŠ¨æ€çš„ï¼š
	\let\cqu@makefnmark\@makefnmark
	\def\cqu@@makefnmark{\mbox{{\normalfont\@thefnmark}}}
	\pretocmd{\@makefntext}{\let\@makefnmark\cqu@@makefnmark}{}{}
	\apptocmd{\@makefntext}{\let\@makefnmark\cqu@makefnmark}{}{}
}%AtBeginDocument

% è§£å†³\TeX \LaTeX ç­‰å‘½ä»¤åŽåžå™¬è‹±æ–‡é—´ç©ºæ&nbsp;¼
\everylogo{\xspace}

% å®šåˆ¶\autopageref{label}
\AtBeginDocument{%
	\def\figureautorefname{å›¾}
	\def\tableautorefname{è¡¨}
	\def\partautorefname{å·}
	\def\appendixautorefname{é™„å½•}
	\def\equationautorefname{å¼}
	\def\Itemautorefname{åˆ—è¡¨}
	\def\chapterautorefname{ç«&nbsp;}
	\def\sectionautorefname{èŠ‚}
	\def\subsectionautorefname{å°èŠ‚}
	\def\subsubsectionautorefname{æ¡ç›®}
	\def\paragraphautorefname{è‡ªç„¶æ®µ}
	\def\Hfootnoteautorefname{è„šæ³¨}
	\def\AMSautorefname{å¼}
	\def\theoremautorefname{ç†è®º}
	\def\pageautorefname{é¡µ}
}%\AtBeginDocument

% æŠŠç´¢å¼•å’Œå‚è€ƒæ–‡çŒ®åŠ&nbsp;åˆ°ç›®å½•é‡Œ
\pretocmd{\bibliography}{%
	\phantomsection
	\addcontentsline{toc}{section}{å‚è€ƒæ–‡çŒ®}
	\addcontentsline{etoc}{section}{Reference}
}{}{}
\pretocmd{\printindex}{%
	\phantomsection
	\addcontentsline{toc}{section}{å…³é”®è¯ç´¢å¼•}
	\addcontentsline{etoc}{section}{Index}
}{}{}

% \CQUThesis æ&nbsp;‡è¯†
\newcommand{\cquthesis}{\textsc{CQUThesis}\xspace}

% æ”¹å˜å¼•è¨€å­—ä½“
\AtBeginEnvironment{quote}{\kaishu}
\AtBeginEnvironment{quotation}{\kaishu}

% è‹±æ–‡å°é¢æ”¯æŒ
\def\etocname{\zihao{-3}\bfseries Contents}
\newlistof[section]{econtents}{etoc}{\etocname}
\newcommand\add@engcontents[2]{%
	\addcontentsline{etoc}{#1}{\protect\numberline{\csname the#1\endcsname}#2}}
\AtBeginDocument{%
\let\cqu@section\section
\let\cqu@subsection\subsection
\DeclareDocumentCommand{\section}{s m o}{%
	\IfBooleanTF{#1}{%true
		\cqu@section*{#2}
		\IfNoValueTF{#3}{\relax}{\addcontentsline{etoc}{section}{#3}}
	}{%false
		\cqu@section{#2}
		\IfNoValueTF{#3}{\relax}{\add@engcontents{section}{#3}}
	}
}%section
\DeclareDocumentCommand{\subsection}{s m o}{%
	\IfBooleanTF{#1}{%true
		\cqu@subsection*{#2}
		\IfNoValueTF{#3}{\relax}{\addcontentsline{etoc}{subsection}{#3}}
	}{%false
	\cqu@subsection{#2}
	\IfNoValueTF{#3}{\relax}{\add@engcontents{subsection}{#3}}
	}
}%subsection
}</pre></body></html>