Skip to content

请问thuthesis.pdf本身是用latex写的吗?如果是的话很想要这个漂亮的模板。 #730

Closed Answered by stone-zeng
YangZ2020 asked this question in Q&A
Discussion options

You must be logged in to vote

用的是 LaTeX 的 ltxdoc 文档类,然后用 dtx-style 宏包自定义了样式,后者也可以在 thuthesis.dtx 中找到:

thuthesis/thuthesis.dtx

Lines 6551 to 6745 in b49a994

% \begin{macrocode}
%<*dtx-style>
\ProvidesPackage{dtx-style}
\RequirePackage{hypdoc}
\RequirePackage{ifthen}
\RequirePackage{fontspec}[2017/01/20]
\RequirePackage{amsmath}
\RequirePackage{unicode-math}
\RequirePackage{siunitx}
\RequirePackage[UTF8,scheme=chinese]{ctex}
\RequirePackage[
top=2.5cm, bottom=2.5cm,
left=4cm, right=2cm,
headsep=3mm]{geometry}
\RequirePackage{hologo}
\RequirePackage{array,longtable,booktabs}
\RequirePackage{listings}
\RequirePackage{fancyhdr}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Harry-Chen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants