%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Long Lined Cover Letter
% LaTeX Template
% Version 2.0 (September 17, 2021)
%
% This template originates from:
% https://www.LaTeXTemplates.com
%
% Authors: Fanchao Chen
% (chenfc@fudan.edu.cn)
%
% License:
% CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
%	PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass{article}
\usepackage{charter} % Use the Charter font
\usepackage[
	a4paper,    % Paper size
	top=1in,    % Top margin
	bottom=1in, % Bottom margin
	left=1in,   % Left margin
	right=1in,  % Right margin
	%showframe  % Uncomment to show frames around the margins for debugging purposes
]{geometry}
\setlength{\parindent}{0pt}     % Paragraph indentation 
\setlength{\parskip}{1em}       % Vertical space between paragraphs
\usepackage{graphicx}       % Required for including images
\usepackage{fancyhdr}       % Required for customizing headers and footers
\fancypagestyle{firstpage}{%
	\fancyhf{} % Clear default headers/footers
	\renewcommand{\headrulewidth}{0pt} % No header rule
	\renewcommand{\footrulewidth}{1pt} % Footer rule thickness
}
\fancypagestyle{subsequentpages}{%
	\fancyhf{} % Clear default headers/footers
	\renewcommand{\headrulewidth}{1pt} % Header rule thickness
	\renewcommand{\footrulewidth}{1pt} % Footer rule thickness
}
\AtBeginDocument{\thispagestyle{firstpage}} % Use the first page headers/footers style on the first page
\pagestyle{subsequentpages} % Use the subsequent pages headers/footers style on subsequent pages
%----------------------------------------------------------------------------------------
\begin{document}
%----------------------------------------------------------------------------------------
%	FIRST PAGE HEADER
%----------------------------------------------------------------------------------------
\includegraphics[width=0.5\textwidth]{CityU-Logo.png} % Logo
\vspace{-1em} % Pull the rule closer to the logo
\rule{\linewidth}{1pt} % Horizontal rule
\bigskip\bigskip % Vertical whitespace
%----------------------------------------------------------------------------------------
%	YOUR NAME AND CONTACT INFORMATION
%----------------------------------------------------------------------------------------
\hfill
\begin{tabular}{l @{}}
	\today \bigskip\\ % Date
	Name \\
	City University of Hong Kong \\
	Phone:  \\
	Email: 
\end{tabular}
\bigskip % Vertical whitespace
%----------------------------------------------------------------------------------------
%	ADDRESSEE AND GREETING
%----------------------------------------------------------------------------------------
\begin{tabular}{@{} l}
	Mr./Mrs.\ Lam \\
	Title \\
	Company Name \\
\end{tabular}
\bigskip % Vertical whitespace
Dear Mrs.\ Lam,
\bigskip % Vertical whitespace
%----------------------------------------------------------------------------------------
%	LETTER CONTENT
%----------------------------------------------------------------------------------------
Why I consider myself a perfect candidate for Company Name \textbf{"Job Name"}, in a nutshell:
\begin{itemize}
\item experience of xx
\item experience of xx
\item codding skills in xx
\item outstanding xx
\end{itemize}
And now the same but in details:
Please Search how to write a cover letter.
Good luck!
\bigskip % Vertical whitespace
Sincerely yours,
%\includegraphics[height = 1cm]{YourSignature.pdf}
%上面的YourSignature,请上传你自己的签名,导入到这里, 没有的话也可忽略。
\vspace{20pt} % Vertical whitespace
Your Name
Department of Computer Science
City University of Hong Kong
\end{document}