document latex code example
Example 1: basic latex document
\documentclass{article}
\begin{document}
Hello World!
\end{document}
Example 2: basic latex document
\documentclass{article}
\title{My first document}
\date{2013-09-01}
\author{John Doe}
\begin{document}
\maketitle
\newpage
Hello World!
\end{document}