多语言展示
当前在线:1628今日阅读:126今日分享:42

Latex入门基础篇

LaTeX是一种基于ΤΕΧ的排版系统,利用这种格式,即使使用者没有排版和程序设计的知识也可以充分发挥由TeX所提供的强大功能,适用于生成高印刷质量的科技和数学类文档。
方法/步骤
1

LaTeX软件的安装和使用 在MikTeX的官网下载免费的MikTeX编译包并安装

2

打开WinEdt,建立一个新文档,将以下内容复制进入下图中的B区中,保存。\documentclass{article} \begin{document}  new paper test\end{document} 在工具栏中找到编译按钮(下图红圈圈D)的位置,生成pdf文件

3

标题、作者和注释 \documentclass{article}   \author{authorName}   \title{papertitle} \begin{document}   \maketitle   new paper test\end{document} 编译,生成RDF如下图

4

段落章节\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 subsubsection1 paragraph1 \end{document} 生成RDF如下图所示:

5

目录在第四步的基础上添加\tableofcontents把 \tableofcontents放在\maketitle的前后,显示的效果不同,可以自己试试

推荐信息