3 Home
Gerardo Marx Chávez-Campos edited this page 2 years ago

This basic tutorial is based on the (How to have a clean and minimal sublime setup + Dark Mode)[https://abhigupta.io/2021/05/14/clean-sublime-setup.html].

Softare and Packages installation

To handle small or large projects with LaTeX highly depend on the IDE or Source Code Editor. For this tutorial, Sublime Text will be the main application to prepare LaTeX documents. Thus, first, install MikTeX (or your preferred LaTeX distribution). Next, install a PDF viewer listed here:

  • Sumatra - Windows
  • Evince - Linux
  • Skim - MacOS

Then, is also highly recommended to install ImageMagick. Finally, install at least Sublime Text 4.

To start configuring sublime follow the next steps[^1]:

  • Open the Command Palette: Press Ctrl+Shift+P

  • Type install in the Command Palette input box, which should autocomplete to Install Package Control Press Enter to select it.

  • Sublime Text 3 will start installing Package Control. This may take a short while. Once installed, a pop-up will display the message: Package Control was successfully installed

  • Go to Preferences → Package Settings → Package Control → Settings and paste the following:

{
	"bootstrapped": true,
	"in_process_packages":
	[
	],
	"installed_packages":
	[
		"A File Icon",
		"Agila Theme",
		"AutoPEP8",
		"ayu",
		"DistractionFreeWindow",
		"Dracula Color Scheme",
		"Fold Comments",
		"ImageMagick",
		"LaTeX Word Count",
		"LaTeX-cwl",
		"LaTeXTab",
		"LaTeXTools",
                "LaTeXYZ",
		"Non Text Files",
		"Package Control",
		"Python 3",
		"SideBarEnhancements",
	]
}
  • After saving the file, this will automatically install all the packages necessary for the setup. You must wait between 5-10 mins for the installation to complete. Wait until a new window appears containing the information overview from previously installed packages.

  • Next open Preferences → Settings and paste the following:

{
	"auto_complete_triggers":
	[
		{
			"characters": ".",
			"selector": "source.python - string - comment - constant.numeric"
		},
		{
			"characters": "\\",
			"selector": "text.tex.latex"
		}
	],
	"color_scheme": "Packages/Color Scheme - Default/Mariana.sublime-color-scheme",
	"default_line_ending": "unix",
	"font_size": 14,
	"ignored_packages":
	[
		"Vintage"
	],
	"open_externally_patterns":
	[
		"*.jpg",
		"*.jpeg",
		"*.png",
		"*.gif",
		"*.zip",
		"*.pdf"
	],
	"rulers":
	[
		100
	],
	"tab_size": 4,
	"theme": "Agila.sublime-theme",
	"translate_tabs_to_spaces": true
}