用atom写LaTeX文档

匿名 (未验证) 提交于 2019-12-03 00:22:01

下载并安装Tex Live: 下载页面
下载并安装atom:下载页面
打开atom
File -> Settings -> Install
搜索并安装:
language-latex
latex
pdf-view

新建文件,后缀名为.tex,编码为UTF-8
测试:

\documentclass[UTF8]{article} \author {Author} \title {Title} \usepackage{ctex} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \maketitle \section{First section} test1.     \subsection{First subsection} test2.         \subsubsection{First double subsection}             \paragraph{Fist paragraph} test3.                 \subparagraph{First subparagraph} test4.     \subsection{Second subsection}         \paragraph{段落} 中文测试。 \\ Hello World! \\ % This is comment Hello \LaTeX ! \\  $\lim\limits_{n \rightarrow +\infty} P\lbrace\frac{\sum\limits_{i=1}{n}Xi - n\cdot EX}{ \sqrt{n \cdot DX} }  \leqslant x\rbrace = \Phi(x)$ \\  $P\lbrace a<X<b \rbrace \approx \Phi(\frac{b - n\cdot EX}{\sqrt {n\cdot DX}}) - \Phi(\frac{a - n\cdot EX}{\sqrt{n\cdot DX} })$ \\  $F(x,y) = F_{X}(x)F_{Y}(y)$ \end{document}

Ctrl + Alt + B 生成PDF文档。
在atom里右键PDF文档,点Split Right。每当重新生成文档,会更新预览。


参考:http://www.cnblogs.com/schaepher/p/5934184.html

文章来源: 用atom写LaTeX文档
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!