不同形式的页脚问题 #842
Unanswered
jiaqiwang969
asked this question in
提问
不同形式的页脚问题
#842
Replies: 3 comments 12 replies
-
方法一 将 SJTUThesis/texmf/tex/latex/sjtuthesis/sjtuthesis-graduate.ltx Lines 62 to 66 in 700093d 改为 \ifsjtu@page@numbering
\fancyfoot[LE,RO]{\zihao{-5}\sjtu@thepage}
\fi
\fancyfoot[RE,LO]{\zihao{-5}\texttt{机械系统与振动国家实验室}}
\renewcommand{\footrulewidth}{0.4pt} 方法二 导言区添加 \makeatletter
\renewcommand\sjtu@thepage@format[2]{%
\ifodd\c@page %
\texttt{机械系统与振动国家实验室}\hfill #1%
\else #1\hfill\texttt{机械系统与振动国家实验室}%
\fi%
}
\renewcommand{\footrulewidth}{0.4pt}
\makeatother |
Beta Was this translation helpful? Give feedback.
9 replies
-
另外,如何将叶眉由原来的粗细两条线,改成两条细线。谢谢 |
Beta Was this translation helpful? Give feedback.
1 reply
-
\makeatletter
\fancypagestyle{plain}{%
\fancyhf{}
\if@twoside
\ifsjtu@style@header@single
\fancyhead[CO]{\zihao{-5}\sjtu@name@subject@zh}
\fancyhead[CE]{\zihao{-5}\leftmark}
\else
\fancyhead[RE,LO]{\zihao{-5}\sjtu@name@subject@zh}
\fancyhead[RO,LE]{\zihao{-5}\leftmark}
\fi
\fancyfoot[RE,LO]{\zihao{-5} \fangsong 机械系统与振动国家实验室}
\fancyfoot[RO,LE]{\zihao{-5} \sjtu@thepage}
\else
\ifsjtu@style@header@single
\fancyhead[C]{\zihao{-5}\sjtu@name@subject@zh}
\else
\fancyhead[L]{\zihao{-5}\sjtu@name@subject@zh}
\fancyhead[R]{\zihao{-5}\leftmark}
\fi
\fancyfoot[L]{\zihao{-5} \fangsong 机械系统与振动国家实验室}
\fancyfoot[R]{\zihao{-5} \sjtu@thepage}
\fi
\renewcommand\headrule{%
\hrule\@height0.75pt\@width\headwidth
\vskip 0.75pt
\hrule\@height0.75pt\@width\headwidth
\vskip-2.25pt
}
\renewcommand\footrulewidth{0.75pt}
}
\makeatother |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
您好!
根据我们所里的要求,页脚需要统一改成这样。
请问有何办法实现?
奇数页
偶数页
Beta Was this translation helpful? Give feedback.
All reactions