Skip to content

Commit

Permalink
Fix compile issue in DTX
Browse files Browse the repository at this point in the history
* #52 add package, `\sout` -> `package{ulem}`,
* #53 remove \markleft.
  • Loading branch information
yzwduck committed Jan 11, 2021
1 parent d56e23e commit 946f9a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nuaathesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1379,8 +1379,6 @@ and the derived files nuaathesis.ins,
% 本节设置各级标题的字体、字号、行间距、编号格式等。
% \mac{chapter} 会在页首引入一定空格,计算方法未知,除此以外都是仿照 Word 的格式准确设置。
% \begin{macrocode}
\renewcommand\chaptermark[1]{%
\markleft{\CTEXifname{\nuaa@chaptername~}{}#1}}
\ifnuaa@bachelor
\renewcommand\thesubsubsection{(\arabic{subsubsection})}
\titleformat{\chapter}
Expand Down Expand Up @@ -2435,6 +2433,7 @@ and the derived files nuaathesis.ins,
\RequirePackage{hypdoc}
\PassOptionsToPackage{no-math}{fontspec}
\RequirePackage{amsmath}
\RequirePackage{ulem}
\RequirePackage[UTF8,scheme=chinese]{ctex}
\RequirePackage{newpxtext}
\RequirePackage{newpxmath}
Expand Down

0 comments on commit 946f9a4

Please sign in to comment.