我要写一份很长的学术报告,我想用书本类还是报告类?但是这两个类的标题页的标题都在中间。我想制作自己的标题页,上面有一些与报告相关的图片、我所在研究所的徽标等?该怎么做?
答案1
这是对 LaTex 所提供功能的极度滥用。这应该作为一个模型,长度参数可以根据个人需要进行更改。
\documentclass{book}
\usepackage[tc]{titlepic}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage[executivepaper,margin=1in]{geometry}
\definecolor{title}{RGB}{180,0,0}
\definecolor{other}{RGB}{171,0,255}
\definecolor{name}{RGB}{255,0,0}
\definecolor{phd}{RGB}{0,0,240}
\begin{document}
\title{\bfseries {\sc\textcolor{title}{The title of your report goes here and \\ this is the second line}}}
\author{\textcolor{other}{Thesis submitted to} \\[5pt]
\emph{\textcolor{other}{Your University}}\\[2cm]
\textcolor{other}{in partial fulfilment for the award of the degree
of} \\[2cm]
\textsc{\Large{\textcolor{phd}{Doctor of Philosophy}}} \\[5pt]
\textcolor{other}{in some subject} \vspace{0.4cm} \\[1in]
\textcolor{other}{By}\\[5pt] {\Large \sc \textcolor{name}{Me}}
\vspace{2cm}
\titlepic{\includegraphics[width=0.19\textwidth]{example-image-a}\\[5pt]
\textcolor{other}{Department of Subject}\\[5pt]
\textcolor{other}{Address line -- 2}\\[5pt]
\textcolor{other}{Address line -- 4,
INDIA}\\
\vfill
\textcolor{other}{April 2011}}}
\date{}
\maketitle
\end{document}
选项 -- 2
可以简单地使用titlepage
作为替代方案。这里我们不使用\title
和 ,\author
而是手动完成所有操作。
\documentclass{book}
\usepackage{graphicx}
\usepackage[executivepaper,margin=1in]{geometry}
\usepackage[charter]{mathdesign}
%-----------------------------------------------------------------
\begin{document}
% ----------------------------------------------------------------
\begin{titlepage}
\begin{center}
{\huge\bfseries The title of your report goes here and \\ this is the second line\\}
% ----------------------------------------------------------------
\vspace{1.5cm}
{\Large\bfseries Author -- 1}\\[5pt]
[email protected]\\[14pt]
% ----------------------------------------------------------------
\vspace{2cm}
{Thesis submitted to} \\[5pt]
\emph{{Your University}}\\[2cm]
{in partial fulfilment for the award of the degree
of} \\[2cm]
\textsc{\Large{{Doctor of Philosophy}}} \\[5pt]
{in some subject} \vspace{0.4cm} \\[2cm]
% {By}\\[5pt] {\Large \sc {Me}}
\vfill
% ----------------------------------------------------------------
\includegraphics[width=0.19\textwidth]{example-image-a}\\[5pt]
{Department of Subject}\\[5pt]
{Address line -- 2}\\[5pt]
{Address line -- 4,
INDIA}\\
\vfill
{April 2011}
\end{center}
\end{titlepage}
% ----------------------------------------------------------------
\end{document}
答案2
上面的答案总结了所有内容。不过,这里还有另一个更简单的封面,人们可以很容易地理解-
\documentclass[a4paper,12pt]{report}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{setspace}
\usepackage[top=1.2in, bottom=1.2in]{geometry}
\begin{document}
\begin{titlepage}
\begin{center}
\begin{spacing}{1.5}
Internship Project Report\\
\vspace*{\fill}
\end{spacing}
\begin{spacing}{2.5}
\textbf{\huge The Title of Image Comes Here}\\[0.5cm]
\vspace*{\fill}
\textit{Submitted by}
\end{spacing}
\begin{spacing}{1.15}
\textbf{\large Your Name}
\textbf{\large Other Details}
\vspace*{\fill}
\textnormal{\large Department \\ Institute Name\\ Location\\ Date}
\end{spacing}
\end{center}
\end{titlepage}
\end{document}