Skip to content

Commit 2ed79ae

Browse files
YDX-2147483647fky2015
authored andcommitted
docs: 链接优先指向 🥑 疑难杂症 (bithesis.bitnp.net/faq)
- GitHub 的 issue、discussion 链接 → https://bithesis.bitnp.net/faq 链接 ```diff - % 如果想要微调,详见 #407 (reply in thread) 。 + % 如果想要微调,详见 https://bithesis.bitnp.net/faq/bib-sort.html#sortkey 。 ``` - 手册 §7 常见问题和疑难解答 → https://bithesis.bitnp.net/faq 的目录 `make doc`时会从 https://bithesis.bitnp.net/faq/index.tex 下载。 Resolves #586 (comment) Relates-to: BITNP/BIThesis-wiki#475 Relates-to: BITNP/BIThesis-wiki@aec57e0
1 parent e485b46 commit 2ed79ae

File tree

17 files changed

+51
-154
lines changed

17 files changed

+51
-154
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ bithesis
290290
/tests/*/latexmkrc
291291
/handbook/latexmkrc
292292

293+
# Generated by `make assets/faq.tex`
294+
/assets/faq.tex
295+
293296
!templates/*.pdf
294297
overleaf
295298
*.zip

Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ endif
2525

2626
.PHONY: all FORCE_MAKE
2727

28-
$(PACKAGE).pdf: cls FORCE_MAKE
28+
$(PACKAGE).pdf: cls assets/faq.tex FORCE_MAKE
2929
@$(LATEXMK) -xelatex $(PACKAGE).dtx
3030

3131
$(CLSFILE): $(SOURCES)
@@ -37,6 +37,9 @@ cls: $(CLSFILE)
3737
.PHONY: doc
3838
doc: $(PACKAGE).pdf
3939

40+
assets/faq.tex:
41+
curl https://bithesis.bitnp.net/faq/index.tex -o assets/faq.tex
42+
4043
.PHONY: viewdoc
4144
viewdoc: doc
4245
$(LATEXMK) -pv $(PACKAGE).dtx
@@ -45,6 +48,7 @@ viewdoc: doc
4548
clean:
4649
$(LATEXMK) -c $(PACKAGE).dtx
4750
-rm -rf *.glo $(CLSFILE)
51+
-rm assets/faq.tex
4852

4953
.PHONY: clean-dist
5054
clean-dist:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ BIThesis 是针对北京理工大学本科生毕业设计论文、研究生学
4545
> 本项目获得了[北京理工大学研究生院](https://grd.bit.edu.cn/xwgz/xwgz2/wjxz_xwgz/b117824.htm)[北京理工大学教务部](https://jwb.bit.edu.cn/)[北京理工大学计算机学院](https://cs.bit.edu.cn/) 的认可、背书与大力支持。详见:[致谢 - 官方赞助](https://bithesis.bitnp.net/guide/acknowledgements.html#%E5%AE%98%E6%96%B9%E8%B5%9E%E5%8A%A9-official-sponsors)
4646
4747
> [!WARNING]
48-
> 重要提示:建议 macOS 用户使用最新版的 [texlive 2023或以上版本](https://www.tug.org/mactex/mactex-download.html)否则可能会遇到参考文献被查重的情况。详见 https://github.com/BITNP/BIThesis/issues/326
48+
> 重要提示:建议 macOS 用户更新到 [TeX Live / MacTeX 2023 或更新版本](https://www.tug.org/mactex/mactex-download.html)否则[参考文献等可能会被错误查重](https://bithesis.bitnp.net/faq/false-duplicate.html)
4949
5050
<h2>特性</h2>
5151

bithesis-doc.tex

+8-124
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ \subsection{\BIThesisLaTeX 是如何发布的?}
249249
\href{https://github.com/BITNP/BIThesis/releases}{GitHub Releases}
250250
\footnote{最推荐使用此种方式}
251251
\item Overleaf 发布:
252-
\href{https://bithesis.bitnp.net}{Overleaf Templates}
252+
\href{https://bithesis.bitnp.net/guide/preface.html#q-bithesis-都包含哪些模板}{Overleaf Templates}
253253
\end{itemize}
254254
其中,CTAN 上发布的是 bithesis 宏包,也就是 |*.cls| 组成的文件,
255255
它们可以通过 \TeX 发行版自带的包管理器 tlmgr 来更新。
@@ -292,7 +292,7 @@ \subsection{\BIThesis 宏包的安装和更新}
292292

293293
\begin{itemize}
294294
\item Windows、Linux用户推荐安装 TeX Live 套装,
295-
并更新宏包(Linux系统由于版权问题,未能预装宋体等 Windows 下的字体,需要手动安装;对于 WSL 用户,可参照\ref{sec:word-fonts}直接使用 Windows 下的字体)
295+
并更新宏包(Linux系统由于版权问题,未能预装宋体等 Windows 下的字体,需要手动安装;对于 WSL 用户,可参照\href{https://bithesis.bitnp.net/faq/word-font.html}{疑难杂症:如何采用与 Word 相同的中文字体}直接使用 Windows 下的字体)
296296
\item OSX用户推荐安装 Mac TeX。
297297
\item 由于CTeX套装所含宏包比较陈旧,可能会导致编译无法通过,故不推荐安装。
298298
如果已安装 CTeX,\textbf{建议将其卸载}。
@@ -600,7 +600,7 @@ \subsubsection{封面选项} \label{sec:cover}
600600

601601
配置此选项以在部分模板封面中使用“华文细黑”,保证与 Word 模板中的字体一致。
602602

603-
在 Windows 和 macOS 中,该字体已经安装;在 Linux 中一般需要用户自行安装(如果你是 WSL 用户,可参照\ref{sec:word-fonts}直接使用 Windows 下的字体)。
603+
在 Windows 和 macOS 中,该字体已经安装;在 Linux 中一般需要用户自行安装(如果你是 WSL 用户,可参照\href{https://bithesis.bitnp.net/faq/word-font.html}{疑难杂症:如何采用与 Word 相同的中文字体}直接使用 Windows 下的字体)。
604604
\end{function}
605605

606606
\begin{function}{cover/delimiter}
@@ -1260,7 +1260,7 @@ \subsubsection{攻读学位期间发表论文与研究成果清单选项}
12601260

12611261
\item 在发表时间顺序上微调,把个别的提到最前——保留默认的 |true|,同时在 |*.bib| 文件中给个别项加上 |sortkey| 字段。
12621262

1263-
具体例子可参考\href{https://bithesis.bitnp.net/faq/bib-sort.html#sortkey}{疑难杂症},详细解释可参考 \href{https://mirrors.ctan.org/macros/latex/contrib/biblatex-contrib/biblatex-gb7714-2015/biblatex-gb7714-2015.pdf}{biblatex-gb7714-2015 宏包手册(中文)}或 \href{https://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf}{biblatex 宏包手册(英文)}。
1263+
具体例子可参考\href{https://bithesis.bitnp.net/faq/bib-sort.html#sortkey}{疑难杂症:怎么调整「攻读学位期间发表论文与研究成果清单」的顺序},详细解释可参考 \href{https://mirrors.ctan.org/macros/latex/contrib/biblatex-contrib/biblatex-gb7714-2015/biblatex-gb7714-2015.pdf}{biblatex-gb7714-2015 宏包手册(中文)}或 \href{https://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf}{biblatex 宏包手册(英文)}。
12641264
\end{itemize}
12651265

12661266
\textit{注意,如果编译后编号产生错误,
@@ -1322,7 +1322,7 @@ \subsubsection{其他配置}
13221322
\textit{此选项一般不需要用户自行修改。}
13231323

13241324
早期(2022年及以前)\BIThesisTemplates{UTE}需要设置 Arial 字体。
1325-
在 Windows 和 macOS 中,该字体已经安装;在 Linux 中需要用户自行安装(如果你是 WSL 用户,可参照\ref{sec:word-fonts}直接使用 Windows 下的字体)。
1325+
在 Windows 和 macOS 中,该字体已经安装;在 Linux 中需要用户自行安装(如果你是 WSL 用户,可参照\href{https://bithesis.bitnp.net/faq/word-font.html}{疑难杂症:如何采用与 Word 相同的中文字体}直接使用 Windows 下的字体)。
13261326
\end{function}
13271327

13281328
\begin{function}[added=2023-04-22, updated=2024-05-13]{misc/tabularFontSize}
@@ -1673,7 +1673,7 @@ \subsubsection{定理类环境}
16731673

16741674
一系列预定义的数学环境。具体含义见表~\ref{tab:theorem}。
16751675

1676-
其中提供了算法环境 |algo|,但模板也适配了一些更专业的宏包,请参考 \ref{sec:algorithm}。
1676+
其中提供了算法环境 |algo|,但模板也适配了一些更专业的宏包,请参考\href{https://bithesis.bitnp.net/faq/algorithm.html}{疑难杂症:如何排版算法(伪代码)}。
16771677
\end{function}
16781678

16791679
\begin{table}[]
@@ -1898,125 +1898,9 @@ \subsection{后置部分}
18981898

18991899
\section{常见问题和疑难解答}
19001900

1901-
\subsection{如何排版算法(伪代码)?} \label{sec:algorithm}
1901+
请参考\href{https://bithesis.bitnp.net/faq/}{在线文档的「疑难杂症」部分},此处仅略作枚举。
19021902

1903-
有以下三种互不兼容的方式。
1904-
1905-
\begin{itemize}
1906-
\item |algorithm|+X 方式
1907-
1908-
引入 |algorithm| 宏包时,要加上选项 |chapter| 才能按学校要求分章编号,示例如下。
1909-
1910-
\begin{bitsyntax}[emph={[1]chapter}]
1911-
\usepackage[chapter]{algorithm}
1912-
\usepackage{algorithmic} % 也可替换为 algpseudocode 或 algcompatible
1913-
\end{bitsyntax}
1914-
1915-
使用示例请参考 \href{https://www.overleaf.com/learn/latex/Algorithms}{Algorithms - Overleaf 文档}。
1916-
1917-
\item |algorithm2e| 方式
1918-
1919-
引入宏包时,要加上选项 |algochapter| 才能按学校要求分章编号,示例如下。
1920-
1921-
\begin{bitsyntax}[emph={[1]algochapter}]
1922-
\usepackage[ruled, algochapter]{algorithm2e}
1923-
\end{bitsyntax}
1924-
1925-
使用示例请参考 \href{https://www.overleaf.com/learn/latex/Algorithms#The_algorithm2e_package}{Algorithms - Overleaf 文档的 The |algorithm2e| package 一节}。
1926-
1927-
\item 使用模板提供的 |algo| 环境
1928-
1929-
这是表~\ref{tab:theorem}中的数学环境之一,不额外依赖宏包,但功能有限,基本只支持编号。
1930-
\end{itemize}
1931-
1932-
\subsection{为什么我的研究生模板开头有间隔的空白页?}
1933-
1934-
根据《北京理工大学研究生学位论文撰写规范》,摘要前的页面需要单面打印,之后的内容需要双面打印。
1935-
因此多出的空白页可以让你免于切换单、双面打印的烦恼——统一使用双面打印即可。
1936-
1937-
或者,你可以关闭 |twoside| \ref{doc/function//twoside} 选项来去除这些空白。
1938-
1939-
\subsection{如何修改数学公式的字体?}
1940-
1941-
可以在导言区引入 \pkg{unicode-math} 宏包,
1942-
并使用 |\setmathfont{XITS Math}| 修改数学环境下字体:
1943-
1944-
\begin{latex}
1945-
\usepackage{unicode-math}
1946-
\unimathsetup{
1947-
math-style = ISO,
1948-
bold-style = ISO,
1949-
}
1950-
\setmathfont{XITSMath-Regular.otf}
1951-
\end{latex}
1952-
1953-
\textit{请事先安装 XITS 字体。}
1954-
1955-
此外,如果使用 \TeX{} Gyre Pagella Math 等字面较大的字体,略微增加数学行距可能更美观:
1956-
\begin{latex}
1957-
\setmathfont{texgyrepagella-math.otf}
1958-
\SetMathEnvironmentSinglespace{1.05}
1959-
\end{latex}
1960-
1961-
\textit{更多字体与使用方法请参考
1962-
\href{https://ctan.org/pkg/unicode-math?lang=zh}{unicode-math 手册}和
1963-
\href{https://ctan.org/pkg/zhlineskip}{zhlineskip 手册}。}
1964-
1965-
\subsection{如何采用与 Word 相同的中文字体?} \label{sec:word-fonts}
1966-
1967-
首先需要明确的是,我们所指的 Word 中的中文字体属于「中易字库」。
1968-
1969-
对于 Windows 用户,一般无需修改设置,开箱即用。
1970-
1971-
对于 Linux 和 macOS 用户,由于版权问题,系统中并不包含中易字库。
1972-
因此,用户有两种选择:
1973-
\begin{itemize}
1974-
\item 手动在系统中安装中易字库
1975-
(一般包括 SimSun、SimHei、KaiTi、FangSong 等)。
1976-
\textbf{请注意,是 KaiTi 而不是 SimKai。}
1977-
并通过 |\documentclass[...,ctex={fontset=windows}]{bithesis}| 选项
1978-
强制使用中易字库。
1979-
\item 在 Windows 系统下编译最终的 PDF 文件。
1980-
\end{itemize}
1981-
1982-
此外,对于 WSL 用户,你可以将 Windows 的字体目录软链接到 WSL 的字体目录,直接使用 Windows 下的字体文件。通过 WSL 的命令行按序执行:
1983-
\begin{shell}[morekeywords={ln}]
1984-
sudo ln -s /mnt/c/Windows/Fonts /usr/share/fonts/win-fonts
1985-
fc-cache -fv # 刷新字体缓存
1986-
\end{shell}
1987-
之后通过 |\documentclass[...,ctex={fontset=windows}]{bithesis}| 选项
1988-
强制使用中易字库即可。
1989-
1990-
\subsection{列表项的间距过大该如何解决?}
1991-
1992-
相比 Word,$\LaTeX$ 的列表项间距会比行间距更大一些。
1993-
这样做在一个列表项中包含多行时,可以更好地区分不同的列表项。
1994-
但是,如果你只是想要一个简单的列表,这种间距可能会显得过大。
1995-
想要\textbf{临时}取消这种间距,可以在环境中添加选项 |nosep|:
1996-
1997-
\begin{latex}
1998-
\begin{itemize}[nosep]
1999-
\item 选项一
2000-
\item 选项二
2001-
\end{itemize}
2002-
\end{latex}
2003-
2004-
想要\textbf{永久}取消这种间距,可以在导言区添加如下代码:
2005-
2006-
\begin{latex}
2007-
\setlist{nosep}
2008-
\end{latex}
2009-
2010-
详见:https://github.com/BITNP/BIThesis/issues/293
2011-
2012-
\textit{以上功能由 \pkg{enumitem} 宏包支持。通过导入 \pkg{bithesis}
2013-
,该宏包已经被自动导入。}
2014-
2015-
\subsection{想要让某一个页面自动从奇数页开始}
2016-
2017-
首先,请保证开启了 |twoside| 模式。
2018-
然后,请在你想要奇数页排版的页面之前
2019-
(|\chapter|之前)插入 |\cleardoublepage|。
1903+
\input{assets/faq.tex}
20201904

20211905
\section{\cls{bitreport.cls} 使用与配置}
20221906
\label{sec:bitreport}

handbook/chapters/ch3-latex-syntax.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ \subsection{将参考文献的内容与表现分离}
360360

361361
\subsection{在正文中引用参考文献}
362362

363-
\textit{如果想要按照章节分别管理参考文献,可以详见 biblatex 中关于refsection 的部分。简单来说,就是\href{https://github.com/BITNP/BIThesis/discussions/435}{使用 refsection 包裹一个章节的全部内容}即可。但由于我校论文要求并非采用章节管理,因此不做赘述。}
363+
\textit{如果想要按照章节分别管理参考文献,可以详见 biblatex 中关于refsection 的部分。简单来说,就是\href{https://bithesis.bitnp.net/faq/bib-split.html}{使用 refsection 包裹一个章节的全部内容}即可。但由于我校论文要求并非采用章节管理,因此不做赘述。}
364364

365365
正文中引用参考文献时\cite{Jiang2005Size},用\verb+\cite{key1,key2,key3...}+可以产生“上标引用的参考文献”,
366366
\cite{Meta_CN,chen2007act,DPMG}。

handbook/main.tex

+1-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@
6767
\addbibresource{reference/main.bib}
6868

6969
\usepackage{hyperref}
70-
% https://github.com/BITNP/BIThesis/discussions/400
71-
% https://static.latexstudio.net/wp-content/uploads/2018/03/swjtuthesis.pdf
70+
% https://bithesis.bitnp.net/faq/autoref-name.html
7271
\def\figureautorefname~#1\null{图~#1~\null}
7372
\def\chapterautorefname~#1\null{第~#1~章\null}
7473
\def\sectionautorefname~#1\null{第~#1~节\null}

templates/graduate-thesis/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
此文件夹中包含了北京理工大学研究生学位论文的全部内容,有关模板的使用方法更为详细的介绍,请参考:[bithesis 使用手册][manual]
66

7-
> :warning: 重要提示:建议 macOS 用户使用最新版的 [texlive 2023](https://www.tug.org/mactex/mactex-download.html),否则可能会遇到参考文献被查重的情况。详见 https://github.com/BITNP/BIThesis/issues/326
7+
> [!WARNING]
8+
> 重要提示:建议 macOS 用户更新到 [TeX Live / MacTeX 2023 或更新版本](https://www.tug.org/mactex/mactex-download.html),否则[参考文献等可能会被错误查重](https://bithesis.bitnp.net/faq/false-duplicate.html)
89
910
## 特性
1011

templates/graduate-thesis/misc/4_pub.tex

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
% **默认情况下,这里的内容将按照学校要求,以发表时间排序。**
2828
% - 如果想要按照引用顺序排序,可以开启 `publications/sorting` 选项。
29-
% - 如果想要微调,详见 https://github.com/BITNP/BIThesis/discussions/407#discussioncomment-8630685
29+
% - 如果想要微调,详见 https://bithesis.bitnp.net/faq/bib-sort.html#sortkey
3030
% 更多信息请参考「bithesis.pdf」手册。
3131
\addpubs{myCiteKey,myCiteKey2,dummy:1,dummy:2}
3232

@@ -50,7 +50,9 @@
5050
% 2. 若需继续细分,请在 pub.bib 的条目里记录“keywords = {…, …}”,然后在此用“keyword=…”筛选。
5151
% 3. 如果还有要求,可用notkeyword、subtype等筛选方法,请参考 biblatex 手册。
5252

53-
% 以下内容提供了一个可以同时和 \printbibliography 共存的自定义列表格式。
53+
% 如果想绕过 pub.bib 直接记录项目(例如获奖),请参考以下内容,
54+
% 定义一个能和 \printbibliography 共存的列表。
55+
% https://bithesis.bitnp.net/faq/pub-manual.html
5456
% \zihao{5} % 字号改为五号
5557
% \renewcommand{\labelenumi}{[\theenumi]} % 编号改用中括号
5658
%

templates/graduate-thesis/reference/pub.bib

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
% 再比如,若论文作者为「李四、张三、王五、赵六」(你是共同二作),则应该写成:
3333
% `author+an = {2:myself="\Author[][][共同二作]"}`
3434
% **\Author 的具体用法请参考手册**。
35+
% https://bithesis.bitnp.net/faq/bib-author.html
3536
3637
% `annotation = {}` 一句用于指定条目的补充内容。
3738

templates/paper-translation/main.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
% 参考文献引用文件位于 misc/ref.bib
9191
\addbibresource{misc/ref.bib}
9292

93-
% 如果要按照计算机学院的要求,带有“北京理工大学”水印,请使用此 issue 提供的方法:
94-
% https://github.com/BITNP/BIThesis/issues/350#issuecomment-1565974141
93+
% 若要按计算机学院要求,添加“北京理工大学”水印,请参考
94+
% https://bithesis.bitnp.net/faq/watermark.html
9595

9696
% 文档开始
9797
\begin{document}

templates/reading-report/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
此文件夹中包含了北京理工大学读书报告模板的全部内容,有关模板的使用方法更为详细的介绍,请参考:[bithesis 使用手册][manual]
66

7-
> :warning: 重要提示:建议 macOS 用户使用最新版的 [texlive 2023](https://www.tug.org/mactex/mactex-download.html),否则可能会遇到参考文献被查重的情况。详见 https://github.com/BITNP/BIThesis/issues/326
7+
> [!WARNING]
8+
> 重要提示:建议 macOS 用户更新到 [TeX Live / MacTeX 2023 或更新版本](https://www.tug.org/mactex/mactex-download.html),否则[参考文献等可能会被错误查重](https://bithesis.bitnp.net/faq/false-duplicate.html)
89
910
## 特性
1011

templates/reading-report/main.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@
6767
},
6868
}
6969

70-
% 使用 listings 宏包进行代码块使用,并使用了预定义的样式,
71-
% 你也可以选用自己的喜欢的其他宏包,如 minted
72-
% 然而由于 minted 依赖 Python 的 Pygments 库作为外部依赖,因此出于模板的简洁程度考虑,我们没有提供 minted 进行代码块书写的示例
70+
% 这份模板提供了代码块示例,采用 listings 宏包及其预定义样式。
71+
% 使用代码块时,也可选用自己的喜欢的其他宏包,如 minted:https://bithesis.bitnp.net/faq/minted.html
72+
% 如果不需要,直接删除即可
7373
\usepackage{listings}
7474

7575

templates/reading-report/misc/2_reference.tex

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818
% The Current Maintainer of this work is Feng Kaiyu.
1919
%
2020
% Compile with: xelatex -> biber -> xelatex -> xelatex
21-
%
22-
% 如无特殊需要,本页面无需更改
2321

2422
\begin{bibprint}
2523

24+
% \printbibliography[heading=none]
25+
% 正式使用时,请启用上方语句以输出所有的参考文献,并删除/注释下方示例内容。
26+
% 删除后仍可参考 https://bithesis.bitnp.net/faq/bib-entry.html 的在线版本。
27+
2628
% -------------------------------- 示例内容(正式使用时请删除) ------------------------------------- %
2729

2830
% 抑制多次调用 \printbibliography 的 warning,只有示例代码会需要此语句。
@@ -116,6 +118,4 @@
116118

117119
\textcolor{blue}{关于参考文献的未尽事项可参考国家标准《信息与文献参考文献著录规则》(GB/T 7714—2015)}
118120

119-
% 在使用时,请删除/注释上方示例内容,并启用下方语句以输出所有的参考文献
120-
% \printbibliography[heading=none]
121121
\end{bibprint}

templates/undergraduate-thesis-en/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
此文件夹中包含了北京理工大学本科生毕业设计(论文)外文翻译的全部内容,有关模板的使用方法更为详细的介绍,请参考:[bithesis 使用手册][manual]
66

7-
> :warning: 重要提示:建议 macOS 用户使用最新版的 [texlive 2023](https://www.tug.org/mactex/mactex-download.html),否则可能会遇到参考文献被查重的情况。详见 https://github.com/BITNP/BIThesis/issues/326
7+
> [!WARNING]
8+
> 重要提示:建议 macOS 用户更新到 [TeX Live / MacTeX 2023 或更新版本](https://www.tug.org/mactex/mactex-download.html),否则[参考文献等可能会被错误查重](https://bithesis.bitnp.net/faq/false-duplicate.html)
89
910
## BITSetup 学院变体
1011

templates/undergraduate-thesis-en/main.tex

+5-5
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
},
7575
}
7676

77-
% 使用 listings 宏包进行代码块使用,并使用了预定义的样式,
78-
% 你也可以选用自己的喜欢的其他宏包,如 minted
79-
% 然而由于 minted 依赖 Python 的 Pygments 库作为外部依赖,因此出于模板的简洁程度考虑,我们没有提供 minted 进行代码块书写的示例
77+
% 这份模板提供了代码块示例,采用 listings 宏包及其预定义样式。
78+
% 使用代码块时,也可选用自己的喜欢的其他宏包,如 minted:https://bithesis.bitnp.net/faq/minted.html
79+
% 如果不需要,直接删除即可
8080
\usepackage{listings}
8181

8282

@@ -97,8 +97,8 @@
9797
% 参考文献引用文件位于 misc/ref.bib
9898
\addbibresource{misc/ref.bib}
9999

100-
% 如果要按照计算机学院的要求,带有“北京理工大学”水印,请使用此 issue 提供的方法:
101-
% https://github.com/BITNP/BIThesis/issues/350#issuecomment-1565974141
100+
% 若要按计算机学院要求,添加“北京理工大学”水印,请参考
101+
% https://bithesis.bitnp.net/faq/watermark.html
102102

103103
% 文档开始
104104
\begin{document}

templates/undergraduate-thesis/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
此文件夹中包含了北京理工大学毕业设计(论文)的全部内容,有关模板的使用方法更为详细的介绍,请参考:[bithesis 使用手册][manual]
66

7-
> :warning: 重要提示:建议 macOS 用户使用最新版的 [texlive 2023](https://www.tug.org/mactex/mactex-download.html),否则可能会遇到参考文献被查重的情况。详见 https://github.com/BITNP/BIThesis/issues/326
7+
> [!WARNING]
8+
> 重要提示:建议 macOS 用户更新到 [TeX Live / MacTeX 2023 或更新版本](https://www.tug.org/mactex/mactex-download.html),否则[参考文献等可能会被错误查重](https://bithesis.bitnp.net/faq/false-duplicate.html)
89
910
## 特性
1011

0 commit comments

Comments
 (0)