1.Latex下载
中文套装下载地址:http://www.ctex.org/CTeXDownload
安装完成后进入WinEdt进入TEX编辑环境!
2.文档示例
在编辑窗口输入内容:
\documentclass{article}
\begin{document}
My first TEX doc!
\end{document}
在工具栏“垃圾桶”和“B”图标之间有一个编译按钮和一个下拉框,在下拉框中选择TEX文档类型,这里我选择“Latex”类型,选择后再点击编译按钮进行编译,新文档会提示输入文档名字和文档保存类型,一般选择“UTF-8”,点击“保存”按钮后开始进行编译!如果编译成功,会在控制台看到如下提示:
Command Line: latex.exe --src --interaction=errorstopmode --synctex=1 "test.tex"
Startup Folder: D:\LatexDocs
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)
entering extended mode
(D:\LatexDocs\test.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for loaded.
(C:\CTEX\MiKTeX\tex\latex\base\article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(C:\CTEX\MiKTeX\tex\latex\base\size10.clo)) (D:\LatexDocs\test.aux) [1]
(D:\LatexDocs\test.aux) )
Output written on test.dvi (1 page, 264 bytes).
SyncTeX written on test.synctex.gz.
Transcript written on test.log.
_____________________________________________________________________
LaTeX Compilation Report (Pages: 1)
Errors: 0 Warnings: 0 Bad Boxes: 0
_____________________________________________________________________
点击工具栏的放大镜按钮,就可以查看刚才生成的PDF文档!工具栏图标如下: