当前位置:   article > 正文

VScode + LaTex + TexLive 搭建_vscode+texlive

vscode+texlive

分别下载并安装VScode, TexLive

  1. VScode下载与安装:https://code.visualstudio.com/

  2. TexLive下载(清华大学镜像):https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/

    TexLive安装教程:https://blog.csdn.net/so_geili/article/details/72636466

  3. VScode安装插件:LaTex language support, LaTex Workshop

  4. 安装完毕后开始使用,创建临时文件temp.tex, 输入以下内容:

\documentclass[UTF8]{ctexart}
    \title{文章标题}
    \author{David}
    \date{\today}
    \begin{document}
    \maketitle
    This is the context of the article.
\end{document}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

然后按Ctrl+S 完成编译加保存功能。

  1. 查看PDF

    1539261843199

    左侧工具栏选择 TEX-View LaTex PDF-View in VScode Tab后,右侧就会出现PDF,

    1539261941744

    每次修改后,按Ctrl+S, 右边PDF会进行实时编译。

  2. 常用的Latex数学符号:http://www.mohu.org/info/symbols/symbols.htm

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号