forked from mohuangrui/ucasthesis
-
Notifications
You must be signed in to change notification settings - Fork 2
Home
e71828 edited this page Nov 20, 2021
·
3 revisions
Welcome to the nputhesis wiki!
“LaTeX 写作是一个用编程语言表达思想的具有创造性的过程,而非一个机械的填表行为。”
避免互相折磨,以及自我折磨。如果你想填表,那就去MS家吧。
ucasthesis 知识小站
: 有困难,找组织
\fancypagestyle{noheaderstyle}{% header and footer style for no header
\fancyhf{}% clear fields
%\fancyhead[C]{\footnotesize \ifnumodd{\value{page}}{\leftmark}{\@title}}% structure elements
\if@twoside
\fancyfoot[C]{\footnotesize \ifnumodd{\value{page}}{\hspace*{\fill}\thepage}{\thepage\hspace*{\fill}}}% page number
\else
\fancyfoot[C]{\footnotesize \thepage}% page number
\fi
\renewcommand{\headrulewidth}{0pt}% header rule
\renewcommand{\footrulewidth}{0pt}% footer rule
}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{Overleaf}
\fancyhead[RE,LO]{Guides and tutorials}
\fancyfoot[CE,CO]{\leftmark}
\fancyfoot[LE,RO]{\thepage}
\RequirePackage[export]{adjustbox}
\fancypagestyle{withlogo}{% header and footer style for the logo
\fancyhf{}% clear fields
\fancyhead[C]{\includegraphics[totalheight=18pt,valign=m]{textlogoblack}\enspace {\fontsize{16}{19.2} \bfseries{本科毕业设计论文}}}% structure elements
\fancyfoot[C]{\footnotesize \thepage}% page number
\renewcommand{\headrulewidth}{0.8pt}% header rule
\renewcommand{\footrulewidth}{0pt}% footer rule
}
\renewcommand{\headrule}{\hrule width\headwidth height2.7pt \vspace{0.9pt} \hrule width\headwidth height0.9pt}%