Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

硕士论文的final格式下将页眉页脚更改为红色 #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions hustthesis/hustthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.5pt}

\ifthenelse{\equal{\HUST@degree}{fyp}}{
\fancyfoot[R]{\thepage}
Expand All @@ -2077,7 +2077,19 @@
}

\ifthenelse{\equal{\HUST@language}{english-draft}}{}{
\ifHUST@finalformat\else
\ifHUST@finalformat
\fancyhead[C]{
\ziju{1em}{\kai{\color{red}\fontsize{14pt}{18.2pt}\selectfont\HUST@zhschoolname\HUST@zhapplyname}}
% \vskip -5pt \vbox{ \color{red}\hrule width \textwidth height 0.5pt \vskip 1pt \color{red}\hrule width \textwidth height 0.5pt } } \else \fancyhead[C]{ \ziju{1em}{\kai{\fontsize{14pt}{18.2pt}\selectfont\HUST@zhschoolname\HUST@zhapplyname}}%
\vskip -5pt
\vbox{
\color{red} \hrule width \textwidth height 0.5pt \vskip 1pt
\color{red} \hrule width \textwidth height 0.5pt
}
}
\renewcommand{\footrule}{{\color{red}\vskip-\footruleskip\vskip-\footrulewidth \hrule width\headwidth height\footrulewidth\vskip\footruleskip}}
\fancyfoot[C]{\color{red}\thepage}
\else
\fancyhead[C]{
\ziju{1em}{\kai{\fontsize{14pt}{18.2pt}\selectfont\HUST@zhschoolname\HUST@zhapplyname}}
\vskip -5pt
Expand Down