- 下载并安装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 ! \
$limlimits_{n rightarrow +infty} Plbracefrac{sumlimits_{i=1}{n}Xi - ncdot EX}{ sqrt{n cdot DX} } leqslant xrbrace = Phi(x)$ \
$Plbrace a<X<b rbrace approx Phi(frac{b - ncdot EX}{sqrt {ncdot DX}}) - Phi(frac{a - ncdot EX}{sqrt{ncdot DX} })$ \
$F(x,y) = F_{X}(x)F_{Y}(y)$
end{document}
- 按Ctrl + Alt + B 生成PDF文档。
在atom里右键PDF文档,点Split Right。每当重新生成文档,会更新预览。
效果图:
ps. Ctrl + 隐藏/展示左边的目录树
转载于:https://www.cnblogs.com/schaepher/p/5934184.html
最后
以上就是烂漫画板最近收集整理的关于用atom写LaTeX文档的全部内容,更多相关用atom写LaTeX文档内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复