Download & Install TeX Live
1 | $ brew install --cask mactex |
Add to PATH
1 | $ vi ~/.zshrc |
Install & Config LaTeX Workshop
install the extension LaTeX Workshop in VS Code. Update the user settings
1 | "latex-workshop.latex.autoBuild.run": "never", |
Write & Compile
Now you may open a tex file or create a new one. If you want to compile the file, press Ctrl + Alt + B (Windows) or option + cmd + B (macOS). Moreover, you may choose another recipes from the sidebar. There is button in the right top corner to preview PDF file.