程序如下:
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\begin{document}
\title{My First \LaTeX{} Document}
\author{he}
\maketitle
%this is a comment
Hello \textbf{word}, \textit{this} is my \texttt{second}.
\end{document}
运行如下: