一款不错的LaTeX作业封面模板(三)
程序员文章站
2022-04-25 19:04:06
...
1. 效果图
界面美观,包含信息齐全,适合于一般的作业封面。
2. 源代码
\documentclass[12pt]{article}
\usepackage[a4paper, left=3.17cm, right=3.17cm, top=2.54cm, bottom=2.54cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{chemformula}
\usepackage{cite}
\usepackage[colorlinks, linkcolor=black, anchorcolor=black, citecolor=black]{hyperref}
\usepackage{graphicx}
\setlength{\parskip}{0.5em}
\title{Place Your Project Title at Here}
\author{\textup{Sanlinc}}
\begin{document}
\begin{titlepage}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\includegraphics[width=8cm]{title/logo.png}\\[1cm]
\center
\quad\\[1.5cm]
\textsl{\Large University of Chinese Academy of Sciences }\\[0.5cm]
\textsl{\large School of Electrical and Electronic Engineering}\\[0.5cm]
\makeatletter
\HRule \\[0.4cm]
{ \huge \bfseries \@title}\\[0.4cm]
\HRule \\[1.5cm]
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
\@author
\end{flushleft}
\end{minipage}
~
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisor:} \\
\textup{Prof Yang}
\end{flushright}
\end{minipage}\\[3cm]
\makeatother
{\large An Assignment submitted for the UCAS:}\\[0.5cm]
{\large \emph{Place Your Course Code and Course Name at Here}}\\[0.5cm]
{\large \today}\\[2cm]
\vfill
\end{titlepage}
\end{document}