我正在用 Latex 写一篇论文,并尝试用该包创建一个标题页fancyhdr
。但是斯威本科技大学(砂拉越校区)的右页眉拒绝出现在标题页上。有人能帮我解决这个问题吗?以下是代码和默认标题页。
\begin{titlepage}
\thispagestyle{titlepage}
\begin{center}
\vspace*{1cm}
\Large
\textbf{Swinburne University of Technology \\Sarawak Campus\\ Faculty of Engineering, Computing \& Sciences}
\vspace{0.5cm}
\Large
Modelling of an Involute Spur Gear via Finite Element Method
\vspace{1.5cm}
Bachelor of Engineering\\
(Mechanical)
\vspace{0.8cm}
\includegraphics[width=0.6\textwidth]{Swinburne}
\Large
Name\\
June/2016
\end{center}
\end{titlepage}
答案1
我同意 Johannes_B 的观点使用fancyhdr
可能不是这里的解决方法,除非您希望大学名称标题出现在文档的每一页上。相反,我使用手动方法创建标题,使用\raggedleft
右对齐和\rule
:
\documentclass{report}
\usepackage{graphicx}
\begin{document}
\begin{titlepage}
\begin{center}
{\raggedleft\textit{Swinburne University of Technology (Sarawak Campus)}\\}
\rule{\textwidth}{0.5pt}
\vspace*{1cm}
\Large
\textbf{Swinburne University of Technology \\Sarawak Campus\\ Faculty of Engineering, Computing \& Sciences}
\vspace{\fill}
\Large
Modelling of an Involute Spur Gear via Finite Element Method
\vspace{\fill}
Bachelor of Engineering\\
(Mechanical)
\vspace{1cm}
\includegraphics[width=0.6\textwidth]{Swinburne}
\vspace{\fill}
\Large
Name
\vspace{\fill}
June/2016
\end{center}
\end{titlepage}
\end{document}