From 6b1a9ca149eac8017e29b8acaa630bd847ef05c5 Mon Sep 17 00:00:00 2001 From: atxy <181850195@smail.nju.edu.cn> Date: Sun, 12 Sep 2021 18:17:55 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- chapters/Layout.tex | 24 ++++++++++++++++++++++++ chapters/Preface.tex | 4 +++- chapters/Reference.tex | 3 +++ njuthesis.cls | 2 +- njuthesis.tex | 2 +- 6 files changed, 35 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c9ced64..e0ae896 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [](https://tex.nju.edu.cn)  -> 姝ら」鐩槸鍩轰簬[NJU thesis 2021](https://github.com/FengChendian/NJUThesis2021)鐨勯噸鏋勭増鏈紝鐩墠鏈鐢熺増鏈�**宸茬粡鍩烘湰閲嶆瀯瀹屾垚**锛岀鍗氳鏂�**姝e湪**鏍规嵁鐮旂┒鐢熼櫌鐨勬枃浠堕噸鏋勶紝浣嗙爺绌剁敓闄㈢殑瑙勫畾骞朵笉瀹屽杽锛屽洜姝ら儴鍒嗘牸寮忓彲鑳戒細鍙傝€冩湰绉戠殑锛�**濡傛灉闄㈢郴鍙︽湁瑕佹眰锛岃鑷淇敼**銆� +> 姝ら」鐩槸鍩轰簬[NJU thesis 2021](https://github.com/FengChendian/NJUThesis2021)鐨勯噸鏋勭増鏈紝鐩墠鏈鐢熺増鏈�**宸茬粡鍩烘湰閲嶆瀯瀹屾垚**锛岀鍗氳鏂�**姝e湪**鏍规嵁鐮旂┒鐢熼櫌鐨勬枃浠堕噸鏋勶紝浣嗙爺绌剁敓闄㈢殑瑙勫畾骞朵笉瀹屽杽锛屽洜姝ら儴鍒嗘牸寮忓彲鑳戒細鍙傝€冩湰绉戠殑锛�**濡傛灉闄㈢郴鍙︽湁瑕佹眰锛岃鑷淇敼鎴栬€呮彁浜ssue**銆� 鍘熸潵鐨刐NJU thesis 2021](https://github.com/FengChendian/NJUThesis2021)妯℃澘澶繃鍙よ€佸苟涓斾笉鏀寔纭曞+銆佸崥澹鏂囷紝鐩墠闅句互缁存姢锛屽洜姝や负浜嗘ā鏉跨殑鍙寔缁彂灞曪紝鐜板湪灏嗗璇ラ」鐩繘琛岄噸鏋勶紝椤圭洰鎸傝浇浜嶽NJU-LUG](https://github.com/nju-lug)缁勭粐浠撳簱涓嬶紝鐩墠宸瞇鍙戝竷鍦–TAN](https://ctan.org/pkg/njuthesis)銆� @@ -24,7 +24,7 @@ - 妯℃澘鏀寔`latexmk`銆乣xelatex`銆乣lualatex`涓夌缂栬瘧鏂瑰紡 - 濡傛灉浣跨敤`latexmk`锛岃鍔″繀浣跨敤瀹屾暣鐨勫懡浠latexmk -xelatex`浠ュ厤浜х敓涓嶅繀瑕佺殑闂 - 濡傛灉浣跨敤`xelatex`鎴朻lualatex`锛岄渶瑕佹寜鐓xelatex/lualatex` -> `biber` -> `xelatex/lualatex` -> `xelatex/lualatex`鐨勯『搴忕紪璇戝洓娆� -- 浠撳簱涓�.vscode闄勫甫涓€浠絍Scode鐨凩aTeX WorkShop鐨勯厤缃枃浠讹紝鍙牴鎹渶瑕佷娇鐢� +- 浠撳簱涓璥.vscode`闄勫甫涓€浠絍Scode鐨凩aTeX WorkShop鐨勯厤缃枃浠讹紝鍙牴鎹渶瑕佷娇鐢� ### [鍗楀ぇTeX](https://tex.nju.edu.cn)缂栬瘧 @@ -67,7 +67,7 @@ ## 璐$尞 -濡傛灉浣犲彂鐜颁簡妯℃澘鐨勯棶棰橈紝娆㈣繋鍦℅ithub涓彁浜ssue鎴栬€匬R銆� +濡傛灉浣犲彂鐜颁簡妯℃澘鐨勯棶棰橈紝娆㈣繋鍦℅ithub涓璠鎻愪氦issue](https://github.com/nju-lug/NJUThesis/issues)鎴栬€匬R銆� ## 璁稿彲 diff --git a/chapters/Layout.tex b/chapters/Layout.tex index e8def4e..2641e86 100644 --- a/chapters/Layout.tex +++ b/chapters/Layout.tex @@ -105,6 +105,18 @@ secondmentor 鐢ㄤ簬鎸囧畾鏄惁鍦ㄥ皝闈㈡墦鍗扮浜屽甯� \texttt{profile/abstract.sty}鎻愪緵浜嗘憳瑕侀〉鏍煎紡鐨勫畾涔夈€� +\begin{lstlisting} +\begin{abstract} + <text> + \keywords{<keywords>} +\end{abstract} + +\begin{englishabstract} + <text> + \englishkeywords{<keywords>} +\end{englishabstract} +\end{lstlisting} + 鎽樿椤典竴鑸笉鎻掑叆鐩綍锛岄粯璁ゅ彧娣诲姞pdf涔︾銆傚纭疄鏈夋彃鍏ョ洰褰曠殑闇€姹傦紝璇峰湪\texttt{abstract.sty}鏂囦欢涓畾浣嶅埌濡備笅璇彞 \begin{lstlisting}[language=TeX] % \phantomsection\addcontentsline{toc}{chapter}{涓枃鎽樿} @@ -122,6 +134,12 @@ secondmentor 鐢ㄤ簬鎸囧畾鏄惁鍦ㄥ皝闈㈡墦鍗扮浜屽甯� 浣跨敤preface鐜瀹氫箟 +\begin{lstlisting} +\begin{preface} + <text> +\end{preface} +\end{lstlisting} + \section{鐩綍椤祡 鐩綍椤垫牸寮忓畾鍒朵簬\texttt{profile/page.sty} @@ -142,6 +160,12 @@ secondmentor 鐢ㄤ簬鎸囧畾鏄惁鍦ㄥ皝闈㈡墦鍗扮浜屽甯� 鍚屽墠瑷€锛屼娇鐢╝cknowledgement鐜 +\begin{lstlisting} +\begin{acknowledgement} + <text> +\end{acknowledgement} +\end{lstlisting} + \section{闄勫綍椤祡 闄勫綍鏀惧湪\lstinline|\appendix|鍛戒护鍚庯紝浠ヨ嫳鏂囧瓧姣嶈繘琛岀紪鍙� diff --git a/chapters/Preface.tex b/chapters/Preface.tex index c1ad7d3..0942c9d 100644 --- a/chapters/Preface.tex +++ b/chapters/Preface.tex @@ -2,7 +2,9 @@ 鎴戞兂锛屾瘡涓猏hologo{LaTeX}鏋佸鐨勬渶缁堢洰鏍囬兘鏄啓涓€涓睘浜庤嚜宸辩殑class锛岃€岃嚜宸卞緢骞歌繍鍦板湪\href{https://git.nju.edu.cn/nju-lug/lug-introduction}{NJU Linux User Group}鑾峰緱浜嗚繖鏍风殑鏈轰細銆� -杩欎釜妯℃澘涔熺畻閫佺粰鑷繁鐨勬瘯涓氱ぜ鐗╁ソ浜嗐€� +鎰熸叏涓囧崈锛屼竴鏃惰濉炪€傚疄鍦ㄤ笉鐭ラ亾鍐欏暐濂斤紝琛ㄦ紨涓湕璇佃鏂囧惂銆� + +\zhlipsum[108-110][name=zhufu] \vspace{1cm} \begin{flushright} diff --git a/chapters/Reference.tex b/chapters/Reference.tex index 40ea673..fa96415 100644 --- a/chapters/Reference.tex +++ b/chapters/Reference.tex @@ -4,6 +4,9 @@ \hologo{LaTeX}鐨勪竴澶т紭鍔垮湪浜庡彲浠ヨ嚜鍔ㄧ敓鎴愬甫瓒呴摼鎺ョ殑寮曠敤鏉$洰銆� \section{瓒呴摼鎺 + +\lstinline|\href{<url>}{<name>}| + \section{鏂囨。鍐呭鐨勫紩鐢▆ 浣跨敤\lstinline|cleveref|瀹忓寘瀹炵幇浜嗗甫鍥俱€佽〃绛夐」鐩悕绉扮殑鏅鸿兘寮曠敤锛屼粎闇€浣跨敤\lstinline|\cref{<label>}|鍛戒护銆傜浉鍏冲畾涔変綅浜嶾lstinline|profile/reference.sty|銆� diff --git a/njuthesis.cls b/njuthesis.cls index 8f8c7b6..a9a7352 100644 --- a/njuthesis.cls +++ b/njuthesis.cls @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesExplClass{njuthesis}{2021-09-12}{0.8.2}{NJU Thesis LaTeX Template} +\ProvidesExplClass{njuthesis}{2021-09-12}{0.8.3}{NJU Thesis LaTeX Template} % 閫氳繃绫讳紶閫掑弬鏁� \RequirePackage{l3keys2e} diff --git a/njuthesis.tex b/njuthesis.tex index becc875..67aee17 100755 --- a/njuthesis.tex +++ b/njuthesis.tex @@ -1,7 +1,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % NJU Thesis % 鍗椾含澶у姣曚笟璁烘枃LaTeX妯℃澘 -% Version 0.8.2 (2021-09-12) +% Version 0.8.3 (2021-09-12) % % 璇峰叧娉ㄩ」鐩湴鍧€浠ヨ幏鍙栨渶鏂板彉鍖� % https://github.com/nju-lug/NJUThesis -- GitLab