Skip to content

Hydraallen/Latex-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latex-vscode

This is a repository for latex settings in vscode

Repository

Github: https://github.com/Hydraallen/Latex-vscode

Downloads

Installation

Windows

Video for Reference->https://www.bilibili.com/video/BV1wP411f7gG/

  1. Install Texlive (about 4G)

Download -> https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/texlive.iso

Run as asministrator

Wait for finish

Test installation

Open cmd or Powershell and type in tex -v, if shows information like picture below then it means texlive has been installed.

  1. Install VScode and Latex Workshop

edit settings.json (You may refer to vscode-settings.json in repositoryLatex-vscode/Windows and refer to the video)

  1. Install SumatraPDF (optional)

macOS

(It applies to both Intel and Apple Silicon)

Video for Reference->https://www.bilibili.com/video/BV1DM4y1z71m

  1. Install MacTex

First check your system version

option 1

Download MacTex on http://tug.org/mactex/

Choose one according to your system.

Remember to check md5 for MacTex.pkg

Install MacTex.pkg

option 2

Install with homebrew. If you fail to connect to the official website, you may try mirror.

brew install mactex --cask

Test MacTex.pkg

  1. Install VScode and Latex Workshop

https://code.visualstudio.com/

  1. edit setting.json in VScode

You may refer to Latex-vscode/Linux/vscode-setting.jsonin the repository

Remember to change the route of Xelatex, PDFLatex, etc.

  1. testfile

Linux

Arch/Manjaro

article for reference -> https://www.bilibili.com/read/cv22494481

  1. Install VScode and install Latex Workshop in VScode
yay -S visual-studio-code-bin
  1. Install TexLive
yay -S texlive-full

use tex -v to test

  1. edit setting.json in VScode

You may refer to Latex-vscode/Linux/vscode-setting.jsonin the repository

Remember to change the route of Xelatex, PDFLatex, etc.

  1. testfile

debina/ubuntu

Run sudo apt-get install texlive-full

Reference

https://zhuanlan.zhihu.com/p/166523064

https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile#placeholders

https://mp.weixin.qq.com/s/GxYrbhxiv7bIG5Ulr2XetQ

Star History

Star History Chart

About

This is a repository for latex settings in vscode

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages