有人能告诉我如何创建标题中心吗?

有人能告诉我如何创建标题中心吗?

这是我的标题。

\title{"IT" gas station Finder \newline Windows Mobile Application \newline \newline  PROJECT REPORT\newline \newline}%

这是代码

\documentclass[a4paper, 11pt, notitlepage]{report}

\usepackage{amsfonts} 
\usepackage{graphicx} 
\graphicspath{ {images/} }

\title{"IT" gas station Finder \newline Windows Mobile Application \newline \newline  PROJECT REPORT\newline \newline 
Presented to
The Faculty of Computer Sciences \newline UOM \newline \newline 
\includegraphics[width=0.3\textwidth]{sablogo} \newline \newline 
\begin{center}
 In Partial Fulfillment of the Requirements for the degree
\end{center}
Computing and Information Systems} 


\date{\today} 

\begin{document}
% there are some things
\end{document}

答案1

虽然这不是理想的例子,但可以使用它:

\documentclass[a4paper, 11pt]{report}
\usepackage{calc}%
\usepackage{amsfonts}% 
\usepackage[demo]{graphicx}% 
\graphicspath{ {images/} }%

\title{%
\begin{center}
"IT" gas station Finder\\
\vspace{\baselineskip}%
Windows Mobile Application\\
\vspace{1\baselineskip}%
PROJECT REPORT\\
\vspace{1\baselineskip}%
Presented to\\
\vspace{2\baselineskip}
The Faculty of Computer Sciences\\
\vspace{1\baselineskip}%
UOM\\
\vspace{1\baselineskip}%
\includegraphics[width=0.3\textwidth]{sablogo}\\
In Partial Fulfillment of the Requirements for the degree
Computing and Information Systems
\date{\today} 
\end{center}%
}% End of Title



\begin{document}
\maketitle%
\end{document}

答案2

手动操作似乎更容易。从下面的代码开始,根据需要添加字体选择和垂直空间。

\begin{document}

\titlepage
\centering

"IT" gas station Finder

Windows Mobile Application

PROJECT REPORT

Presented to The Faculty of Computer Sciences

UOM

\includegraphics[width=0.3\textwidth]{sablogo}

In Partial Fulfillment of the Requirements for the degree

Computing and Information Systems

\today

\newpage
...
\end{document}

答案3

如果你不需要 \title 命令,你可以使用如下命令:

\documentclass[a4paper, 11pt, notitlepage]{report}

\usepackage{amsfonts} 
\usepackage{graphicx} 
\graphicspath{ {images/} }

\begin{document}

\pagestyle{empty}
\begin{center}
\begingroup
{\huge "IT" gas station Finder \\ Windows Mobile Application}\par
\vspace*{18pt}
{\Large PROJEKT REPORT}\par
\vspace*{18pt}
{\large Presented to \\
The Faculty of Computer Sciences \\ UOM}\par
\vspace*{12pt}
\includegraphics[width=0.3\textwidth]{sablogo} \par
\vspace*{12pt}
{\large In Partial Fulfillment of the Requirements for the degree \\ Computing and Information Systems}\par
\vspace*{12pt}
\today
\endgroup
\end{center}

\end{document}

相关内容