LaTeX软件的安装和使用
在MikTeX的官网下载免费的MikTeX编译包并安装。WinEdt(收费)TexMaker(免费)
打开WinEdt,建立一个新文档
(1)标题papertitle、作者authorname和注释(注释内容前加%)
documentclass{article} author{authorname} itle{papertitle} egin{document} maketitle new paper test% This is comment end{document}
(2)章节、段落
documentclass{article}
author{authorname}
itle{papertitle} egin{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}
(3)加入目录
documentclass{article}
author{authorname}
itle{papertitle}
egin{document}
ableofcontents
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}
(4)插入图片
documentclass{article} usepackage{graphicx} egin{document} includegraphics[width=4.00in,height=3.00in]{figure.eps} end{document}
注意:图片的格式是eps格式