LaTeX是一种排版的软件,对我们办公室办公有非常大的帮助,对于一些刚进入办公室的人来说,掌握这个技能非常的重要,下面小编给大家讲LaTeX的一些使用技巧。
操作方法
-
01
我们现在miktex官网上下载LaTeX,然后再下载一个安装包,再安装到电脑上。
-
02
打开WinEdt,建立一个新文档,打开WinEdt,将以下内容复制进入文档(B区)中,保存。\documentclass{article} \begin{document} new paper test \end{document},然后在图中红圈圈D处点击编译 ,生成RDF,一个简单的文档就排好版了。
排版
-
01
标题papertitle、作者authorname和注释(注释内容前加%) \documentclass{article} \author{authorname} \title{papertitle} \begin{document} \maketitle new paper test% This is comment \end{document} 编译,RDF效果如下图
-
02
章节、段落 \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} 编译效果如下图
-
03
加入目录 \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}
-
04
插入图片 \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics[width=4.00in,height=3.00in]{figure.eps} \end{document} 注意:图片的格式是eps格式