主要的就分享这么多,下面赠送我的latex代码:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
\usepackage{graphicx}
\usepackage{titling}
\title{The Homework Assignment1 of IoT for Pro.Lv
}
\author{Hanqin Wu}
\date{September 2024}
\usepackage{fancyhdr}
\fancypagestyle{plain}{% the preset of fancyhdr
\fancyhf{} % clear all header and footer fields
\fancyfoot[R]{\includegraphics[width=2cm]{KULEUVEN_GENT_RGB_LOGO.png}}
\fancyfoot[L]{\thedate}
\fancyhead[L]{Description of Assignment}
\fancyhead[R]{\theauthor}
}
\makeatletter
\def\@maketitle{%
\newpage
\null
\vskip 1em%
\begin{center}%
\let \footnote \thanks
{\LARGE \@title \par}%
\vskip 1em%
%{\large \@date}%
\end{center}%
\par
\vskip 1em}
\makeatother
\usepackage{lipsum}
\usepackage{cmbright}
\begin{document}
\maketitle
\noindent\begin{tabular}{@{}ll}
Student & \theauthor\\
%学生的姓名
Teacher & Dr.Lv\\
Co-Author & Chixiang Yi, Yuheng Li,Hao Gu
\end{tabular}
%这下面的代码是正文部分
\section*{Positioning of the thesis}
\section*{Objectives}
\section*{Plan}
%代码到这个位置
\end{document}