diff --git a/profile/format/abstract.sty b/profile/abstract.sty similarity index 100% rename from profile/format/abstract.sty rename to profile/abstract.sty diff --git a/profile/format/caption.sty b/profile/components.sty similarity index 100% rename from profile/format/caption.sty rename to profile/components.sty diff --git a/profile/format/cover.sty b/profile/cover.sty similarity index 100% rename from profile/format/cover.sty rename to profile/cover.sty diff --git a/profile/format/font.sty b/profile/font.sty similarity index 100% rename from profile/format/font.sty rename to profile/font.sty diff --git a/profile/format.sty b/profile/format.sty deleted file mode 100644 index 2353bcfda5ebfe970fc7678af3ae7560b0e913b9..0000000000000000000000000000000000000000 --- a/profile/format.sty +++ /dev/null @@ -1,14 +0,0 @@ -\input{profile/format/font.sty} -\input{profile/format/cover.sty} -\input{profile/format/abstract.sty} -\input{profile/format/page.sty} -\input{profile/format/caption.sty} - -% ctex鏍煎紡璁剧疆 -\ctexset{ - contentsname = \songti\bfseries\zihao{3}鐩綍, - chapter/format = \zihao{4}\bfseries\centering, - section/format = \zihao{4}\bfseries\raggedright, - subsection/format = \zihao{4}\bfseries\raggedright, - subsubsection/format = \zihao{4}\bfseries\raggedright -} diff --git a/profile/format/page.sty b/profile/page.sty similarity index 100% rename from profile/format/page.sty rename to profile/page.sty diff --git a/profile/profile.cls b/profile/profile.cls index 2af4900d44b08f4d2bc184045bf0276f599b890b..ec01d2cd00b360377bb53655f4b7e4573f6e7fe5 100644 --- a/profile/profile.cls +++ b/profile/profile.cls @@ -1,11 +1,20 @@ \ExplSyntaxOn -\cs_new_protected:Npn \profile_input #1 { - \input{profile/#1} -} - \input{coverinfo.sty} -\profile_input{packages.sty} -\profile_input{format.sty} +\input{profile/packages.sty} +\input{profile/font.sty} +\input{profile/cover.sty} +\input{profile/abstract.sty} +\input{profile/page.sty} +\input{profile/components.sty} + +% ctex鏍煎紡璁剧疆 +\ctexset{ + contentsname = \songti\bfseries\zihao{3}鐩綍, + chapter/format = \zihao{4}\bfseries\centering, + section/format = \zihao{4}\bfseries\raggedright, + subsection/format = \zihao{4}\bfseries\raggedright, + subsubsection/format = \zihao{4}\bfseries\raggedright +} \ExplSyntaxOff \ No newline at end of file