Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use MS Visual Studio as an IDE for LaTeX users?

I am a big fan of Microsoft Visual Studio. I like the code folding, auto-completion, auto-formatting, and many more.

I am thinking that it will be good if I can abuse MS Visual Studio as an IDE for LaTeX users. Shortly speaking, is it possible? For the first step, I think making me possible to invoke LaTeX compiler and invoke PDF viewer from within Visual Studio is more than enough. But you can step further by allowing me to use auto-completion, etc.

Is there any idea?

LaTeX editors usually have setting to invoke LaTeX compilers and PDF viewers as follows. It might be useful for you.

enter image description here

like image 719
kiss my armpit Avatar asked Oct 24 '13 17:10

kiss my armpit


People also ask

Does Visual Studio support LaTeX?

LaTeX language support for Visual Studio Code This extension adds syntax highlighting and snippets for LaTeX language. I developed based on VSCode LaTeX grammars.

Can we write LaTeX in VS code?

Setting up VS CodeTo export LaTeX documents to PDFs, view PDFs, Intellisense and more features, we have to install an extension for VS Code. You can install the extension from the link below. For additional features you can install LaTeX utilities, but it is no longer maintained by the developer.

Is VSCode a good LaTeX editor?

Migrating to Visual Studio CodeThe editor itself is great. There is a good set of available extensions that you can install with a click, it is relatively fast and it provides everything you may need for working with version control in your repositories.


1 Answers

For Visual Studio Code (VSC) use extension: "LaTeX Workshop".

On Windows: Install MiKTeX, then over MiKTeX Console install package "latexmk". Finally install Perl http://strawberryperl.com/

PDF gets rebuilt automatically on saving the .tex file with VSC.

For viewing the changing .pdf file in Windows "TeXworks" did work best from multiple viewers tried, because it does not lock the .pdf file against changes and quickly refreshes the view on changing pdf output.

like image 119
user643011 Avatar answered Oct 03 '22 18:10

user643011