latex type document code example
Example 1: text in latex
$\text{this is text}$
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}