\documentclass{article}
\usepackage{CJK}
\title{phoeagon's first document}
\author{phoeagon}
\date{7 July, 2010}
\begin{document}
\maketitle
% 输出目录
%\tableofcontents
\section{Hello World.}
Hello world is always the first thing.\\First things first.
\section{Trial\&Error}
T\&E is the way to success!
\section{Wonders \ldots}
why \emph{on earth} \ldots?
\section{Math, why not?}
\begin{equation}
x = \frac{-b\pm\sqrt{b^2-4ac}}{2\cdot{}a}
\end{equation}
\begin{equation}
\Delta = b^2-4ac
\end{equation}
\section{Thoughts}
\emph{
\begin{quote}
Life is just like a box of chocolate \\--- You never know what you gonna get.\footnote{from \textit{Forest Gump}}
\end{quote}
}
\section{How about PCs\ldots{}?}
\begin{verbatim}
int father(int nd){
return pa[nd]==nd?nd:pa[nd]=father(pa[nd]);
}
\end{verbatim}
\begin{CJK*}{UTF8}{song}
\section{中文呢?}
中文呢?
\end{CJK*}
\end{document}
|