页面

2008-05-07

我的LaTex模板

这是我的LaTex模板,立此存照。注意:(1)除了book型文档,\frontmatter、\mainmatter、\backmatter标记不能使用。(2)文档默认字体尺寸是10pt,还可选11pt、12pt两种。
\documentclass[12pt]{book}

\usepackage{graphicx}
\usepackage{verbatim}

\author{Peng Peng}
\title{Peng's Report}
\begin{document}
\frontmatter
\maketitle
\tableofcontents
\mainmatter
\begin{chapter}{Summary of Accomplishments}
\begin{section}{Concept}
In the January, my energy was focused on studying.
\begin{enumerate}
\item \emph{constraint}: a crisp predicate
\item \emph{goal}: a fuzzy predicate
\end{enumerate}
\\\\
The main reference I used was \emph{The Relationship between Communism and Nazi}. I stuied the book thoroughly and carefully, wrote summaries on some chapters.

\begin{figure}[htp]
\centering
\includegraphics[width=70mm]{graph/1.eps}
\caption{3 × 3 vacuum world with obstacles}
\end{figure}

\end{section}
\end{chapter}


\begin{chapter}{Samples of Work}
\begin{section}{Samples of \label{appendix_a}Work}
%\pagestyle{empty}
%\thispagestyle{empty}
\begin{subsection}{Work Sample 1: Vacuum Robot Agent World}
What did you do?
\end{subsection}
\newpage
\begin{subsection}{Work Sample 2: Paper\label{paper_summaries} Summaries}
What did you do?

\begin[subsubsection}{Application of Genetic Algorithms and Simulated Annealing in Process Planning Optimization}
\end{subsubsection}

\end{subsection}
\end{section}
\end{chapter}

\appendix
program
\begin{verbatim}
void foo (int n)
{
printf(n);
}
\end{verbatim}
\backmatter
\end{document}

没有评论: