diff --git a/njuthesis.dtx b/njuthesis.dtx index 6029002632cbb42f7c06995a9435a8a23cbfa27e..d3b242ad3347e3fa1490a04cef1509e3827f1359 100644 --- a/njuthesis.dtx +++ b/njuthesis.dtx @@ -315,25 +315,38 @@ through XeTeX. % \label{sec:setup} % 鏈妭涓昏浠嬬粛鏈畯鍖呯殑鑾峰彇銆佸畨瑁呬互鍙婄紪璇戞柟寮� % -% \subsection{涓嬭浇妯℃澘} +% \subsection{鑾峰彇妯℃澘} % -% 鏈畯鍖呭凡缁廫href{https://ctan.org/pkg/njuthesis}{鍙戝竷鍦–TAN}锛屽皢鍦ㄦ槑骞磋繘鍏hologo{TeX}\,Live 2022 鍜孿hologo{MiKTeX}鍙戣鐗堛€傜劧鑰孋TAN鐗堟洿鏂颁笉鍙婃椂锛屾洿鎺ㄨ崘浣跨敤浠ヤ笅鏂瑰紡涓嬭浇銆� +% \subsubsection{鑷姩瀹夎} % +% \pkg{njuthesis}宸茬粡浜�2021骞�9鏈�12鏃href{https://ctan.org/pkg/njuthesis}{鍙戝竷鍦–TAN}锛圕omprehensive \hologo{TeX} Archive Network锛夛紝灏嗗湪鏄庡勾杩涘叆\hologo{TeX}\,Live 2022銆� +% 鐩墠锛屾偍宸茬粡鍙互閫氳繃\pkg{tlmgr}鎴栬€匼hologo{MiKTeX} Console绛夊寘绠$悊鍣ㄧ洿鎺ュ畨瑁呭苟浣跨敤鏈€鏂扮殑绋冲畾鐗堬紝鏂规硶璇﹁绗琝ref{subsec:localcompile} 鑺傘€� +% +% 鐒惰€孋TAN鐗堥渶瑕佸紑鍙戣€呮墜鍔ㄤ笂浼狅紝鐗堟湰鏇存柊鍏锋湁婊炲悗鎬с€傚鏋滀娇鐢ㄦ椂閬囧埌浜嗛棶棰橈紝鎺ㄨ崘浣跨敤浠ヤ笅鏂瑰紡鑾峰彇鏈€鏂扮増鏈€� % -% \subsubsection{鍙戝竷鐗坿 +% \subsubsection{涓嬭浇姝e紡鐗坿 % -% 浠庢湰妯℃澘鐨刓href{https://github.com/nju-lug/NJUThesis/releases/latest}{Github Releases椤甸潰}涓嬭浇鏈€鏂扮殑鍙戝竷鐗堛€� -% 濡傛灉Github璁块棶閫熷害杈冩參锛屼篃鍙互浣跨敤\href{https://mirror.nju.edu.cn/github-release/nju-lug/NJUThesis/LatestRelease/}{鍗楀ぇ闀滃儚} +% 鏈ā鏉夸笉瀹氭湡灏嗗凡鏈夌殑鏂板姛鑳藉拰闂淇鎵撳寘涓烘柊鐨勬寮忓彂琛岀増锛屼笅杞芥柟寮忓寘鎷細 +% \begin{itemize} +% \item \href{https://github.com/nju-lug/NJUThesis/releases/latest}{Github Releases椤甸潰} +% \item \href{https://mirror.nju.edu.cn/download/app/NJUThesis%20%E8%AE%BA%E6%96%87%E6%A8%A1%E6%9D%BF}{鍗楀ぇ闀滃儚涓嬭浇椤祡 +%\end{itemize} +% 鍦ㄥ浗鍐呬娇鐢ㄦ椂锛屽悗鑰呭叿鏈夋樉钁楁洿蹇殑閫熷害銆� % -% \subsubsection{婧愪唬鐮亇 +% \subsubsection{涓嬭浇寮€鍙戠増} % -% 浠庢湰妯℃澘鐨刓href{https://github.com/nju-lug/NJUThesis/}{ Github 浠撳簱}鎴栬€匼href{https://git.nju.edu.cn/nju-lug/nju-latex-templates/njuthesis}{NJU Git 鍚屾闀滃儚}涓嬭浇鏈€鏂扮殑dtx鏂囦欢鑷瀹夎 +% 寮€鍙戠増鍏锋湁鏈€鏂扮殑杩涘害锛屾帹鑽愰渶瑕佹渶鏂拌ˉ涓佹垨鑰呭弬涓庡紑鍙戠殑鍚屽涓嬭浇鏈€鏂扮殑\file{dtx}鏂囦欢鑷瀹夎 +% \begin{itemize} +% \item \href{https://github.com/nju-lug/NJUThesis/}{Github 浠撳簱} +% \item \href{https://git.nju.edu.cn/nju-lug/nju-latex-templates/njuthesis}{NJU Git 鍚屾闀滃儚} +%\end{itemize} % % \subsection{鏈湴缂栬瘧} +% \label{subsec:localcompile} % % \subsubsection{瀹夎\hologo{TeX}鍙戣鐗坿 % -% 棣栧厛闇€瑕佷笅杞絓hologo{TeX}杞欢鍙戣鐗堬紝鏍″洯缃戠幆澧冧腑浣跨敤\href{https://mirror.nju.edu.cn/download/app/TeX%20%E6%8E%92%E7%89%88%E7%B3%BB%E7%BB%9F}{鍗楀ぇ闀滃儚绔檥鍙互鑾峰緱鏈€濂界殑浣撻獙銆俓textbf{鎺ㄨ崘浣跨敤鏈€鏂扮殑\hologo{TeX}\,Live 2021鎴栬€匼hologo{MiKTeX} 21浠ラ伩鍏嶆綔鍦ㄧ殑鍏煎鎬ч棶棰樸€倉 +% 棣栧厛闇€瑕佷笅杞絓hologo{TeX}杞欢鍙戣鐗堬紝鏍″洯缃戠幆澧冧腑浣跨敤\href{https://mirror.nju.edu.cn/download/app/TeX%20%E6%8E%92%E7%89%88%E7%B3%BB%E7%BB%9F}{鍗楀ぇ闀滃儚绔檥鍙互鑾峰緱鏈€濂界殑浣撻獙銆俓textbf{鎺ㄨ崘浣跨敤鏈€鏂扮殑\hologo{TeX}\,Live 2021鎴栬€匼hologo{MiKTeX} 21浠ラ伩鍏嶆綔鍦ㄧ殑鍏煎鎬ч棶棰樸€備娇鐢╘hologo{LuaLaTeX}缂栬瘧闇€瑕佸皢\pkg{LuaTeX-ja}鍖呮洿鏂拌嚦2021-09-19鎴栨洿鏂扮殑鐗堟湰} % % \begin{itemize} % \item 涓轰簡閬垮厤涓嶅繀瑕佺殑楹荤儲锛岃灏藉彲鑳戒笅杞� full 鐗堟湰锛屽 texlive-full銆傜畝鑰岃█涔嬶紝涓嬭浇澶х殑閭d釜銆� @@ -1090,30 +1103,22 @@ through XeTeX. % \RequirePackage{xspace} % Better print trailing whitespace % \end{macrocode} % -% 閽堝缂栬瘧寮曟搸锛屼娇鐢ㄤ笉鍚岀殑瀹忓寘閲嶆瀯涓嬪垝绾垮懡浠� +% \begin{macro}{\njuline} +% 閽堝缂栬瘧寮曟搸锛屼娇鐢ㄤ笉鍚岀殑瀹忓寘鏋勫缓鍙互瀵逛腑鏂囨甯告崲琛岀殑涓嬪垝绾垮懡浠ゃ€俓pkg{lua-ul}涓渶瑕佸湪缁撳熬浣跨敤|\null|淇濇姢灏鹃儴绌虹櫧銆� % \begin{macrocode} \sys_if_engine_xetex:T { \RequirePackage{microtype} - - % 鍔犱腑鏂囦笅鍒掔嚎锛屼笉鑳界敤浜巐ualatex \RequirePackage{xeCJKfntef} \newcommand{\njuline}[1]{\CJKunderline{#1}} } -\sys_if_engine_luatex:T{ - % 鍔犱腑鏂囦笅鍒掔嚎 +\sys_if_engine_luatex:T +{ \RequirePackage{lua-ul} \newcommand{\njuline}[1]{\underLine{#1}\null} - - % emoji鏀寔 - % \RequirePackage{emoji} - % \setemojifont{Segoe~UI~Emoji} % windows - % \setemojifont{Apple~Color~Emoji} % macos - % \setemojifont{Noto~Color~Emoji} - % For windows. - % Shipped with the best `grinning-face-with-sweat' support. } % \end{macrocode} +% \end{macro} % % 鐢熸垚鐢ㄤ簬娴嬭瘯鐨勫ぇ娈垫棤鎰忎箟鑻辨枃鏂囧瓧 % \begin{macrocode} @@ -2351,26 +2356,23 @@ through XeTeX. % % \subsection{鎽樿缁樺埗} % -% 涓枃鍏抽敭璇� +% \begin{macro}{\keywords,\englishkeywords} +% 涓嫳鏂囧叧閿瘝 % \begin{macrocode} \NewDocumentCommand \keywords {m} {% \par\vspace{2ex}\noindent% {\kaishu\zihao{-4}\makebox[4em][s]{鍏抽敭璇峽锛殅}}~{#1}% } -% \end{macrocode} -% -% -% 鑻辨枃鍏抽敭璇� -% -% \begin{macrocode} \NewDocumentCommand \englishkeywords {m} {% \par\vspace{2ex}\noindent% {KEYWORDS{:}}~~{#1}% } % \end{macrocode} +% \end{macro} % % -% 鏈鎽樿鐜 +% \begin{macro}{\@@_print_abstract_ug:,\@@_print_abstract_en_ug:} +% 杈撳嚭鏈鎽樿鏍煎紡銆� % % \begin{macrocode} \cs_new_protected:Npn \@@_print_abstract_ug: @@ -2420,9 +2422,11 @@ through XeTeX. \zihao{-4}\par% } % \end{macrocode} +% \end{macro} % % -% 鐮旂┒鐢熸憳瑕佺幆澧� +% \begin{macro}{\@@_print_abstract_g:,\@@_print_abstract_en_g:} +% 杈撳嚭鐮旂┒鐢熸憳瑕佹牸寮忋€� % \begin{macrocode} \cs_new_protected:Npn \@@_print_abstract_g: { @@ -2469,6 +2473,7 @@ through XeTeX. \zihao{4}\par% } % \end{macrocode} +% \end{macro} % % % 鍒ゆ柇瀛︿綅