% !TEX program = xelatex % !Mode:: "TeX:UTF-8" % Save as UTF-8, run xelatex.
\documentclass{article} \title{My first document} \date{2013-09-01} \author{John Doe \thanks{funded by the Overleaf team}} \usepackage{xeCJK}
\begin{document} \pagenumbering{gobble} \maketitle \newpage \pagenumbering{arabic} \begin{abstract} This is a simple paragraph at the beginning of the document. A brief introduction about the main subject. \end{abstract}
\tableofcontents
\section{Introduction}
This is the first section.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdietmi nec ante. Donec ullamcorper, felis non sodales...
\subsection{First Subsection} Praesent imperdietmi nec ante. Donec ullamcorper, felis non sodales...
\subsection{Second Subsection} Praesent imperdietmi nec ante. Donec ullamcorper, felis non sodales...
\subsubsection{subsubsection} subsubsection
\paragraph{paragraph} paragraph
\subparagraph{subparagraph} subparagraph
\section{Second Section}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisissem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdiet mi necante...
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis facilisissem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdiet mi necante...
hello,你好 \LaTeX{}
% This line here is a comment. It will not be printed in the document.
Some of the \textbf{greatest} discoveries in \underline{science} were made by \textbf{\textit{accident}}.
% Unordered lists
\begin{itemize} \item The individual entries are indicated with a black dot, a so-called bullet. \item The text in the entries may be of any length. \end{itemize}
%Ordered lists
\begin{enumerate} \item This is the first entry in our list \item The list numbers increase with each entry we add \end{enumerate}
In physics, the mass-energy equivalence is stated by the equation $E=mc^2$, discovered in 1905 by Albert Einstein.
The mass-energy equivalence is described by the famous equation \[ E=mc^2 \] discovered in 1905 by Albert Einstein. In natural units ($c = 1$), the formula expresses the identity \begin{equation} E=m \end{equation}
Subscripts in math mode are written as $a_b$ and superscripts are written as $a^b$. These can be combined an nested to write expressions such as
.aux … denotes an auxiliary file generated by running latex (or etex) on a source file. It typically contains information latex needs on a second pass to construct \refs and \cites and information that bibtex needs to construct a .bbl file. See BibTeX.
.toc … denotes an table of contents file generated by latex when the source file contains the line \tableofcontents
.bib … denotes a BibTeX source file such files contain the database from which the .bbl bibliography file is generated. See BibTeX.
.bst … denotes a BibTeX style file the style in which bibtex presents the .bbl bibliography file.
.cls … denotes a LaTeX 2e class file
.sty … denotes a LaTeX (or AmS-TeX) package/style file LaTeX 2.09 made no distinction between classes and packages … all such files were style files - hence the suffix. LaTeX 2e has retained the suffix for what it now terms as packages