@@ -249,7 +249,7 @@ \subsection{\BIThesisLaTeX 是如何发布的?}
249
249
\href {https://github.com/BITNP/BIThesis/releases}{GitHub Releases}
250
250
\footnote {最推荐使用此种方式}
251
251
\item Overleaf 发布:
252
- \href {https://bithesis.bitnp.net}{Overleaf Templates}
252
+ \href {https://bithesis.bitnp.net/guide/preface.html#q-bithesis-都包含哪些模板 }{Overleaf Templates}
253
253
\end {itemize }
254
254
其中,CTAN 上发布的是 bithesis 宏包,也就是 |*.cls| 组成的文件,
255
255
它们可以通过 \TeX 发行版自带的包管理器 tlmgr 来更新。
@@ -292,7 +292,7 @@ \subsection{\BIThesis 宏包的安装和更新}
292
292
293
293
\begin {itemize }
294
294
\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 下的字体)
296
296
\item OSX用户推荐安装 Mac TeX。
297
297
\item 由于CTeX套装所含宏包比较陈旧,可能会导致编译无法通过,故不推荐安装。
298
298
如果已安装 CTeX,\textbf {建议将其卸载 }。
@@ -600,7 +600,7 @@ \subsubsection{封面选项} \label{sec:cover}
600
600
601
601
配置此选项以在部分模板封面中使用“华文细黑”,保证与 Word 模板中的字体一致。
602
602
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 下的字体)。
604
604
\end {function }
605
605
606
606
\begin {function }{cover/delimiter}
@@ -1260,7 +1260,7 @@ \subsubsection{攻读学位期间发表论文与研究成果清单选项}
1260
1260
1261
1261
\item 在发表时间顺序上微调,把个别的提到最前——保留默认的 |true|,同时在 |*.bib| 文件中给个别项加上 |sortkey| 字段。
1262
1262
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 宏包手册(英文)}。
1264
1264
\end {itemize }
1265
1265
1266
1266
\textit {注意,如果编译后编号产生错误,
@@ -1322,7 +1322,7 @@ \subsubsection{其他配置}
1322
1322
\textit {此选项一般不需要用户自行修改。 }
1323
1323
1324
1324
早期(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 下的字体)。
1326
1326
\end {function }
1327
1327
1328
1328
\begin {function }[added=2023-04-22, updated=2024-05-13]{misc/tabularFontSize}
@@ -1673,7 +1673,7 @@ \subsubsection{定理类环境}
1673
1673
1674
1674
一系列预定义的数学环境。具体含义见表~\ref {tab:theorem }。
1675
1675
1676
- 其中提供了算法环境 |algo|,但模板也适配了一些更专业的宏包,请参考 \ref { sec: algorithm }。
1676
+ 其中提供了算法环境 |algo|,但模板也适配了一些更专业的宏包,请参考\href {https://bithesis.bitnp.net/faq/ algorithm.html}{疑难杂症:如何排版算法(伪代码) }。
1677
1677
\end {function }
1678
1678
1679
1679
\begin {table }[]
@@ -1898,125 +1898,9 @@ \subsection{后置部分}
1898
1898
1899
1899
\section {常见问题和疑难解答 }
1900
1900
1901
- \subsection { 如何排版算法(伪代码)? } \label { sec:algorithm }
1901
+ 请参考 \href {https://bithesis.bitnp.net/faq/}{在线文档的「疑难杂症」部分},此处仅略作枚举。
1902
1902
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 }
2020
1904
2021
1905
\section {\cls {bitreport.cls} 使用与配置 }
2022
1906
\label {sec:bitreport }
0 commit comments