文章出處

  1. 下載并安裝Tex Live: 下載頁面
  2. 下載并安裝atom:下載頁面
  3. 打開atom
    File -> Settings -> Install
    搜索并安裝:
    • language-latex
    • latex
    • pdf-view
  4. 新建文件,后綴名為.tex,編碼為UTF-8
  5. 測試:

    \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}
  6. 按Ctrl + Alt + B 生成PDF文檔。
    在atom里右鍵PDF文檔,點Split Right。每當重新生成文檔,會更新預覽。

效果圖:

ps. Ctrl + \ 隱藏/展示左邊的目錄樹


文章列表


不含病毒。www.avast.com
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 大師兄 的頭像
    大師兄

    IT工程師數位筆記本

    大師兄 發表在 痞客邦 留言(0) 人氣()