Boost Your LaTeX Workflow with VS Code and GitHub
If you've ever struggled with the limited compiling time on Overleaf or faced issues with large image files, switching to Visual Studio Code (VS Code) could be a game-changer for your LaTeX projects. This guide will walk you through setting up a robust LaTeX environment using VS Code, GitHub , and a few essential tools.
Why Switch to VS Code for LaTeX?
Step-by-Step Setup Instructions
1. Create a GitHub Repository: Start by creating a private or public repository on GitHub. Follow this quickstart guide.
2. Upload Your LaTeX Files: If you already have a LaTeX project, upload it to your new GitHub repository. If not, you can create your LaTeX file later and upload it then.
4. Install MiKTeX: Install MiKTeX from here. For Ubuntu users, use the command:
sudo apt-get install miktex
5. Install Strawberry Perl: It is only necessary for Windows. Download and install Strawberry Perl.
6. Add Essential Extensions to VS Code: Install the following VS Code extensions to enhance your LaTeX editing experience:
7. Log In to VS Code with GitHub: Set up Git in VS Code and log in with your GitHub account following this guide.
8. Clone Your GitHub Repository Locally: Clone your repository locally via VS Code as described here.
9. Open Your LaTeX Project: Open the main.tex file in VS Code. You can view your compiled PDF by dragging main.pdf to the right side of the screen to split the view.
10. Rewrap Your Text: Use Alt + Z to rewrap the text in your .tex file or select specific lines and press Alt + Q.
11. Leverage AI Support with GitHub Copilot (Optional):
By following these steps, you'll create a more efficient, collaborative, and flexible LaTeX workflow. Happy writing!
Feel free to reach out if you have any questions or need further assistance with your setup.
Erencan Bulut
Robotics Research Assistant @Fraunhofer CML | M.Sc. @TU Hamburg
3 个月For the up-to-date version: https://medium.com/@erencanbulut/boost-your-latex-workflow-with-vs-code-and-github-f346b74677be