我想用 latex 为我的论文制作一个封面。它应该看起来像下面这样,我用 MS Word 制作:
我只知道命令:
\title{...}
\author{...}
\date{...}
但不知道如何得到我的东西...有人可以帮我吗?
答案1
在不知道您正在使用的课程的情况下,我们进行了以下尝试。
\documentclass[a4paper]{book}
\usepackage[pass,showframe]{geometry} % showframe is just for the example
\usepackage{kantlipsum} % just for the example
\begin{document}
\frontmatter
\begin{titlepage}
\newgeometry{margin=3cm}
\centering
\vspace*{\stretch{2}}
\Large The Title of my Thesis
\vspace{\stretch{1}}
\normalsize The duration: 12 weeks
\vspace{\stretch{0.5}}
\begin{tabular}{ll}
Submission date & xx.yy.zzzz \\[2ex]
Student's name & Name \\[2ex]
From & Place
\end{tabular}
\vspace{\stretch{3}}
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep{\fill}}l@{}}
My name & My professor's name \\[2ex]
& My supervisor's name
\end{tabular*}
\vspace{\stretch{2}}
\end{titlepage}
\restoregeometry
\cleardoublepage
\tableofcontents
\mainmatter
\chapter{Introduction}
\kant
\end{document}
的重要选项geometry
是pass
,而showframe
仅用于显示封面在页面中央。如果您已经使用geometry
,只需设置其选项并删除pass
。
鸟瞰图
标题页
答案2
以我的大学为例:
\documentclass[english,ngerman,parskip=half]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\usepackage{microtype}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{graphicx}
\usepackage{xcolor}
\begin{document}
\begin{titlepage}
\vspace*{-3cm}
\makebox[\dimexpr\textwidth+2cm][r]{\includegraphics[height=1.5cm]{FULogoRGB(1)}}
\vspace*{5cm}
\begin{center}
\Huge\bfseries\sffamily Die nordamerikanische Wanderratte im
Vergleich zur chinesischen.
\vspace*{2cm}
\large
von
Herbert Voß
\end{center}
\enlargethispage{3cm}
\vfill
\parbox[t]{0.45\textwidth}{%
Matrikelnummer: 1234572 \\
Fachbereich: Biologie und Pharmazie \\
Institut: Insekten \\
\today
}%
\hfill
\begin{tabular}[t]{l@{}}%{\raggedleft%
Gutachter:\\
Prof. A.\,Krachulke\\
Dr. M.\,Schnasebeutel
\end{tabular}
%}%
\end{titlepage}
foo
\end{document}
答案3
你可以使用这个:
\documentclass[13pt,a4paper,oneside]{book}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{etoolbox}
\AtBeginEnvironment{array}{\setlength{\arraycolsep}{50pt}} % This controls the distance between the columns
\begin{document}
\thispagestyle{empty}
%\hrule\vspace{0.025truein}\hrule %Decorative lines. Might work..
\begin{center}
\vspace{0.3truein}
{\large Title of the thesis}\\
\vspace{2truein}
{\large The duration: 12 weeks}\\
\vspace{1.5truein}
\[
\begin{array}{ll}
\mbox{Submission date} & \mbox{xx.yy.zz}\\
\mbox{Student's name} & \mbox{Name}\\
\mbox{From} & \mbox{Place of birth}
\end{array}
\]
\vspace{6cm}
\[
\begin{array}{ll}
\mbox{My name} & \mbox{My professor's name}\\
& \mbox{My supervisor's name}
\end{array}
\]
\end{center}
%\hrule\vspace{0.025truein}\hrule %Decorative lines. Might work..
\end{document}
它会给你这个:
希望它能满足您的需求。您好!