Skip to content

Commit e4558dc

Browse files
committed
chore: update docs.
1 parent 124cc25 commit e4558dc

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

Diff for: bithesis-doc.tex

+8-7
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,13 @@ \subsection{\BIThesis 宏包的安装和更新}
301301
那么你需要通过包管理器来安装/更新 \BIThesisMacroPackage
302302

303303
\begin{shell}[morekeywords={tlmgr,install}]
304-
tlmgr install bithesis
304+
tlmgr install bithesis
305305
\end{shell}
306306

307307
更新可以通过图形界面进行,或者通过命令行:
308308

309-
\begin{shell}[morekeywords={tlmgr,install}]
310-
tlmgr update bithesis
309+
\begin{shell}[morekeywords={tlmgr,update}]
310+
tlmgr update bithesis
311311
\end{shell}
312312

313313
\textbf{
@@ -1637,7 +1637,7 @@ \subsection{如何修改数学公式的字体?}
16371637
\textit{请事先安装 XITS 字体。}
16381638

16391639
\textit{更多字体与使用方法请参考
1640-
\url{https://ctan.org/pkg/unicode-math?lang=zh}。}
1640+
\href{https://ctan.org/pkg/unicode-math?lang=zh}{unicode-math 手册}。}
16411641

16421642
\subsection{如何采用与 Word 相同的中文字体?} \label{sec:word-fonts}
16431643

@@ -1648,16 +1648,17 @@ \subsection{如何采用与 Word 相同的中文字体?} \label{sec:word-fonts
16481648
对于 Linux 和 macOS 用户,由于版权问题,系统中并不包含中易字库。
16491649
因此,用户有两种选择:
16501650
\begin{itemize}
1651-
\item 手动在系统中安装中易字库(一般包括 SimSun、SimHei、KaiTi、FangSong 等)。
1651+
\item 手动在系统中安装中易字库
1652+
(一般包括 SimSun、SimHei、KaiTi、FangSong 等)。
16521653
并通过 |\documentclass[...,ctex={fontset=windows}]{bithesis}| 选项
16531654
强制使用中易字库。
16541655
\item 在 Windows 系统下编译最终的 PDF 文件。
16551656
\end{itemize}
16561657

16571658
此外,对于 WSL 用户,你可以将 Windows 的字体目录软链接到 WSL 的字体目录,直接使用 Windows 下的字体文件。通过 WSL 的命令行按序执行:
16581659
\begin{shell}[morekeywords={ln}]
1659-
sudo ln -s /mnt/c/Windows/Fonts /usr/share/fonts/win-fonts
1660-
fc-cache -fv # 刷新字体缓存
1660+
sudo ln -s /mnt/c/Windows/Fonts /usr/share/fonts/win-fonts
1661+
fc-cache -fv # 刷新字体缓存
16611662
\end{shell}
16621663
之后通过 |\documentclass[...,ctex={fontset=windows}]{bithesis}| 选项
16631664
强制使用中易字库即可。

Diff for: bithesis.dtx

+11-11
Original file line numberDiff line numberDiff line change
@@ -3975,17 +3975,17 @@
39753975
\makeatletter
39763976
\def\matex@ssize{\smaller\scshape}
39773977
\DeclareRobustCommand{\BIThesis}{
3978-
\mbox{
3979-
\kern-0.5em{B}\kern-0.05em
3980-
{I}\kern-0.05em
3981-
{T}\kern-0.1em
3982-
\raisebox{-0.38ex}{\matex@ssize {H}}\kern-0.1em
3983-
{\matex@ssize {E}}\kern-0.05em
3984-
\raisebox{-0.38ex}{\matex@ssize {S}}\kern-0.05em
3985-
{\matex@ssize {I}}\kern-0.05em
3986-
\raisebox{-0.35ex}{\matex@ssize {S}}\kern-0.5em
3987-
\kern 1ex
3988-
}
3978+
\texorpdfstring{\mbox{
3979+
\kern-0.5em{B}\kern-0.05em
3980+
{I}\kern-0.05em
3981+
{T}\kern-0.1em
3982+
\raisebox{-0.38ex}{\matex@ssize {H}}\kern-0.1em
3983+
{\matex@ssize {E}}\kern-0.05em
3984+
\raisebox{-0.38ex}{\matex@ssize {S}}\kern-0.05em
3985+
{\matex@ssize {I}}\kern-0.05em
3986+
\raisebox{-0.35ex}{\matex@ssize {S}}\kern-0.5em
3987+
\kern 1ex
3988+
}}{BIThesis}
39893989
}
39903990

39913991
%% from \pkg{ctxdoc}

0 commit comments

Comments
 (0)