LaTeX使用入门
1、LaTeX软件的安装和使用:在MikTeX的官网下载免费的MikTeX编译包并安装。WinEdt(收费)
TexMaker(免费)
编辑界面软件并安装
2、打开WinEdt,建立一个新文档,打开WinEdt,将以下内容复制进入文档(B区)中,保存。
\documentclass{article} \begin{document} new paper test
\end{document}
(2)在图中红圈圈D处点击编译 ,生成RDF
(3)一个简单的文档就排好版了


3、下面来介绍下细节排版
(1)标题papertitle、作者authorname和注释(注释内容前加%)
\documentclass{article} \author{authorname} \title{papertitle} \begin{document} \maketitle new paper test% This is comment \end{document}
编译,RDF效果如下图

4、(2)章节、段落
\documentclass{article}
\author{authorname}
\title{papertitle} \begin{document} \maketitle \section{section1} This is section1. \subsection{subsection1} This is subsection1. \subsubsection{subsubsection1} \paragraph{paragraph1}This is section1 subsection1 subsubsection1 paragraph1
\subparagraph{subparagraph1} This is section1 subsection1 subsubsection1 paragraph1 subparagraph1 \subsection{subsection2} \paragraph{paragraph1}This is subsection2 paragraph1
\end{document}
编译效果如下图

5、(3)加入目录
\documentclass{article}
\author{authorname}
\title{papertitle}
\begin{document}
\tableofcontents
\section{section1} This is section1.
\subsection{subsection1} This is subsection1.
\subsubsection{subsubsection1}
\paragraph{paragraph1}This is section1 subsection1 subsubsection1 paragraph1
\subparagraph{subparagraph1} This is section1 subsection1 subsubsection1 paragraph1 subparagraph1 \subsection{subsection2}
\paragraph{paragraph1}This is subsection2 paragraph1
\end{document}

6、(4)插入图片
\documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics[width=4.00in,height=3.00in]{figure.eps} \end{document}
注意:图片的格式是eps格式