There are 2 main Tex Distribution for windows The main difference is that TexLive has tlmgr that allows you to make a granular installation downloading only the package that you'll need. While MikTex has tons of packagee per installed but it works too.
TexLive for windows Click here to download it (Warning: The full installation of TexLive is big and it will take a while)
MikTex Click here to download the full version
GnuPlot is a small library for drawing some kind of plots, I use it all the time. You can download it here
Imagemagick You can download it here
SumatraPdf is a pdf viewer that syncs nicely with sublime text. You can download it here
Latexindent There is a problem, currently cpan Log::Log4perl fail the headers test so we have to fore-install it skipping the tests. Here a reddit thread about it..
To install Cpan and use LatexIndent you'll need Perl
strawberryperl You can download it here
Just execute the command cpan in the terminal and follow its instruction. Then exit from the cpan ambient and install the following dependencies as follow:
cpan XML::DOM
cpan Log::Dispatch
cpanm -n Log::Log4perl
cpan YAML::Tiny
cpan Getopt::Long
cpan File::HomeDir
cpan Unicode::GCString
Now exit from cpan and try running the command latexindent. Make sure that it runs.
After following my guide over here we can continue here. Add to your package control settings these packages:
{
"installed_packages":
[
"LaTeX-cwl",
"LaTeXSmartQuotes",
"LaTeXTools",
"LaTeXYZ"
]
}
With packages such as minted you will need to enable shell escape. Just open up the package specific settings for LaTeXTools and add in the builder settings the following options:
"builder_settings" : {
"display_log" : false,
"options": [
"--shell-escape"
],
"osx" : {},
"windows" : {},
"linux" : {}
},
Pygments script is necessary for stuff like code highlight. You might have already this installed.
To ger Pygments you have to have some python distribution installed, if you haven't one you can download the latest python 3 release here
then you can install pygmentize with this command
pip install pygmentize
If you have already installed it with Anaconda and your Tex editor does not find it, probably you need to make Anaconda your default python adding it to your PATH enviorment variable: video tutorial
BeautifyLatex is a a package for sublime text that help format the latex code using latexindent. You need to add this by hitting ctrl+maiusc+p and search for "Add Repository". Then you can add the package as usual, with ctrl+maiusc+p and "Add Package".
Dictionaries adds multilanguage dictionaries for your latex projects. You need to add this by hitting ctrl+maiusc+p and search for "Add Repository". Then you can add the package as usual, with ctrl+maiusc+p and "Add Package".
What follows is a list of packages that are commonly needed (they are needed in our main project), they come installed with the complete package from MikTex, but I prefer a granular approach to avoid useless software. They can be installed all with the following command:
tlmgr install latexmk subfiles ctablestack luacode luatex85 silence emptypage framed biblatex logreq xstring chngcntr sectsty minted fvextra ifplatform ifoddpage relsize relsize csquotes pgfplots circuitikz paralist enumitem glossaries datatool glossaries-english glossaries-italian glossaries-german mfirstuc xfor substr imakeidx fourier utopia quotchap soul collection-fontsrecommended algorithm2e xargs stanli preview standalone tikz-qtree
Here you can read to have an idea on the usage of each package:
Latexmk is a tool used to build latex documents.
Subfiles is a package that allows to compile subfiles.
Ctablestack is a package that allows to render tables.
Luacode is a package that allows to compile luacode in luatex.
Silence is a package that allows to shush noise and useless warnings.
Emptypage is a package that allows to leave empty pages to separate topics.
Frames is a package that allows to frame theorems, definitions etc..
Biblatex is a package that allows to load bibliographies.
Logreq is a package that allows to automate some workflows.
Xstring is a package that allows to automate workflows on string editing.
Chngcntr is a package that allows to reset counters for images, equations etc...
Sectsty is a package that allows you to apply custom styles to chapters and sections.
Minted is a package that allows you to highlight code.
Fvextra is a package that automates line breaks.
Ifplatform is a package that allows for if statements in latex for the various compilers (pdflatex, latex, lualatex...).
ifoddpage is a package that allows to check if the current page is odd or even.
Relsize sets relative font size.
Csquotes allows for automatic smart quotes.
Pgfplots allows compiling cool graphs.
Circuitikz allows to draw circuits.
Paralist allows for advanced lists.
Glossaries allows to automate glossaries.
Mfirstuc allows to make first letter upper case.
Mfirstuc reimplements stronger latex "for" cycles implementation.
Substr enables commands to check substring relationships.
Substr enables you to get info about the current language from babel or polyglossia.
Imakeidx builds automatically the index.
Fourier extends the fonts enabled in amsmath.
Quotchap enables nice style for chapters.
Quotchap enables nice style for chapters.
Soul enables Hyphenation for letterspacing, underlining, and more.
Fontsrecommended is a collection of fonts commonly used.
(https://ctan.org/pkg/algorithm2e?lang=en)[algorithm2e] Algorithm2e is a package to write pseudocode.
(https://ctan.org/pkg/xargs?lang=en)[Xargs] is a package that provides extended versions of \newcommand
(https://ctan.org/pkg/stanli?lang=en)[Stanli] is a package to draw 2d and 3d structural analysis.
(https://ctan.org/pkg/preview?lang=en)[Preview] and (https://ctan.org/pkg/preview?lang=en)[Standalone] are packages used to run math preview in latextools in sublime text.
(https://ctan.org/pkg/tikz-qtree?lang=enn)[Tikz-qtree] is a package to easily draw trees.
For
latexindent.pl
, there's no need forLog4Perl
as of Version 3.9 :)