Commit 393ac454 authored by liziwl's avatar liziwl
Browse files

更新文档

parent fc57776b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -77,7 +77,8 @@ xetex sustechthesis.ins

1. 在撰写论文时,我们不推荐使用原有的 `sustechthesis-example.tex` 这一名称。建议将其复制一份,改为其他的名字(如 `thesis.tex` 或者 `main.tex`)。需要注意,如果使用了来 自 `data` 目录中的 `tex` 文件,则重命名主文件后,其顶端的 `!TeX root` 选项也需要相应修改。
2. 需要注意,如果更改了主文件的名称,则需要修改 `Makefile` 顶端的 `THESIS` 变量定义;或修改 `latexmk` 命令后的参数。
3. ⚠️ 提交最终正式版本时,建议在 Windows 下本地编译且设置 `fontset` 参数 为 `windows`,以保证字体正确。
3. 如果出现中文字体找不到的错误或期望 Windows 几乎字体显示几乎一致,可以设置 `cjk-font` 参数 为 `external`,导入包内自带字体。
4. ⚠️ 提交最终正式版本时,建议在 Windows 下本地编译且设置 `fontset` 参数 为 `windows`,以保证字体正确。

## 模板结构

+4 −0
Original line number Diff line number Diff line
@@ -7,6 +7,10 @@
  %   master (默认) | doctor
  % 语言 language:
  %   chinese (默认)| english
  % 中文字体 cjk-font
  %   在 **非Windows** 的系统上推荐使用包内字体,而非系统字体。
  %   以达到和 Windows 系统上显示的字体效果。
  %   Windows 系统上可以删除该参数,使用系统内置字体。


% 论文基本配置,加载宏包等全局配置
+9 −0
Original line number Diff line number Diff line
@@ -358,6 +358,15 @@
% 允许的选项有 \option{windows}、\option{mac}、\option{fandol},详
% 见 \pkg{ctex}、\pkg{xeCJK}、\pkg{fontspec} 等宏包的使用说明。
%
% 或者使用包内带的 Windows 字体:
%
% \begin{latex}
%   \documentclass[cjk-font=external]{sustechthesis}
% \end{latex}
%
% 允许的选项有 \option{windows}、\option{mac}、\option{fandol}、
% \option{external},等。
%
% \subsection{论文设置}
% 论文的设置可以通过 \file{sustech-setup.tex} 中的统一命令 \cs{thusetup} 设置 \emph{key=value} 形式完成。
%