fancyhdr と \begin{titlepage} を同時に使用する方法

fancyhdr と \begin{titlepage} を同時に使用する方法

私は Latex で論文を書いていて、パッケージでタイトル ページを作成しようとしていますfancyhdr。しかし、右ヘッダー Swinburne University of Technology (Sarawak Campus) がタイトル ページに表示されません。誰かこれを修正するのを手伝ってくれませんか? 以下はコードとデフォルトのタイトル ページです。

url =http://ge.tt/2CwKfBZ2

  \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}

サンプル文書で作成されたタイトルページ

関連情報