如何在标题页上对齐信息?

如何在标题页上对齐信息?

这是我用来创建论文标题页的代码,我希望中间部分与我的姓名、我的信息以及我的导师对齐。我不知道是否应该使用方程式和对齐选项,它写出来就像化学公式一样。请有人能帮助我,这样它就可以清楚地对齐了。

Name         : Jane Doe
CID          : 0128678493
Programme    : MSc in Genetic Epidemiology
Academic Year: 2016-2017
Supervisor   : Dr Maike Takanaka

另外,我怎样才能让它们以帝国蓝色显示?

\documentclass[12pt,a4paper,oneside]{book}
    \usepackage[bindingoffset=1.5cm, left=3cm, right=3cm, top=3cm, bottom=3cm]{geometry}
    \usepackage{lmodern}
    \usepackage{titling}
    \usepackage{setspace}\doublespacing
    \usepackage{float}
    \usepackage{amsmath,amssymb,amsthm}
    \usepackage[utf8]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage[labelfont=bf]{caption}
    \usepackage [english]{babel}
    \usepackage{xpatch}
    \usepackage{bm}
    \usepackage{tabularx}
    \usepackage{graphicx}
    \usepackage[scaled]{uarial}
    \usepackage[section]{placeins}
    \usepackage[dvipsnames]{xcolor}
    \usepackage{fancyhdr}
    \usepackage{tikz}
    \pagestyle{fancy} %<- setting the headers and footers. 
    \fancyhf{}
    \fancyhead[RO]{\slshape \rightmark}
    \fancyfoot[C]{\thepage} 
    \setcounter{secnumdepth}{4}
    \begin{document} 
    \begin{titlepage}
    \begin{figure}[h]
    \flushleft
      \includegraphics[width=3in]{/Users/archanaramesh/Desktop/asd-metabolon/dissertation/figures/Logo.pdf}
     \end{figure}
     \begin{center}
    \ \Huge{\textbf {Profiling Effects}}\\ 
    \vspace{0.5cm}
     \Large{Name : Jane Doe} \\
     \Large{CID: 0128678493} \\
     \Large{Programme : MSc in Genetic Epidemiology} \\
     \Large{Academic Year: 2016-2017} \\
     \Large{Supervisor: Dr Maike Takanaka }\\
      \vspace{0.5cm}
     \large{\textbf{{Statement of Originality}}}\\
     \end{center}
        This project report is submitted in partial fulfilment of the requirements for award of MSc in Genetic Epidemiology, Imperial College London. I hereby confirm that it is an original work, representing my own academic effort and that all sources have been fully acknowledged.\\
    \textbf {Signature:  }\\
    \textbf{Date:  }\
    \end {titlepage}
    \end {document}

答案1

像这样吗?

\documentclass[12pt,a4paper,oneside]{book}
    \usepackage[bindingoffset=1.5cm, left=3cm, right=3cm, top=3cm, bottom=3cm]{geometry}
    \usepackage{lmodern}
    \usepackage{titling}
    \usepackage{setspace}\doublespacing
    \usepackage{float}
    \usepackage{amsmath,amssymb,amsthm}
    \usepackage[utf8]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage[labelfont=bf]{caption}
    \usepackage [english]{babel}
    \usepackage{xpatch}
    \usepackage{bm}
    \usepackage{tabularx}
    \usepackage{graphicx}
    \usepackage[scaled]{uarial}
    \usepackage[section]{placeins}
    \usepackage[dvipsnames]{xcolor}
    \definecolor{imperial}{RGB}{22, 20, 128}
    \usepackage{fancyhdr}
    \usepackage{tikz}
    \pagestyle{fancy} %<- setting the headers and footers. 
    \fancyhf{}
    \fancyhead[RO]{\slshape \rightmark}
    \fancyfoot[C]{\thepage} 
    \setcounter{secnumdepth}{4}
    \begin{document} 
    \begin{titlepage}
    \begin{figure}[h]
    \flushleft
      \includegraphics[width=3in]{example-image-a}
     \end{figure}
     \begin{center}
    \ \Huge{\textbf {Profiling Effects}}\\ 
    \begin{center}
    \Large\textcolor{imperial}{%
    \begin{tabular}{l@{}ll}
     Name & : & Jane Doe \\
     CID & : & 0128678493 \\
     Programme & : & MSc in Genetic Epidemiology \\
     Academic Year & : & 2016-2017  \\
     Supervisor & : & Dr Maike Takanaka \\
    \end{tabular}
    }
     \end{center}

    \large{\textbf{{Statement of Originality}}}\\
     \end{center}
        This project report is submitted in partial fulfilment of the requirements for award of MSc in Genetic Epidemiology, Imperial College London. I hereby confirm that it is an original work, representing my own academic effort and that all sources have been fully acknowledged.\\
    \textbf {Signature:  }\\
    \textbf{Date:  }\
    \end {titlepage}
    \end {document}

在此处输入图片描述

相关内容