Setting Up Sublime Text with LaTeX

Info Notice: This page is currently under construction. Please check back in soon.



Are you looking for an easy, fast, and flexible text editor, but aren’t sure where to start? Are you easily distracted and want all your files, programs, and projects in the same place? Do you want a editor than can handle a wide array of languages, programs, and platorms? If the answer to any of these questions is yes, then Sublime Text Editor is may be a great fit for you.

I first started using Sublime as a Political Science major in undergrad – and I had no clue what I was doing. Like many others, I had no experience with any sort of coding, and just thinking about mysterious lines on a screen made my head spin. And I wasn’t using it for python yet, only R and LaTeX. But within a short period of time, I was up and running.

In this post, let us walk through what Sublime is, why may be the right fit for you, and how to get it set up with R, LaTeX, Python, and more!

What is Sublime?

Sublime is a text editor. To be more specific, Sublime is a sophisticated, cross-platform source code editor. It supports a variety of programming and markup languages, and features an array of plugins, which are typically community-built and maintained under free-software licenses. You can think about Sublime as the swiss-army knife of text editing. The plugin ecosystem and its extensability make Sublime a worthy choice. It’s incredibly fast and lightweight. An annual subscription costs $99 USD, but note that the free trial period is unlimited.

While downloading Sublime is easy, setting it up to work with R, LaTeX, and other platforms is often less straight forward. But don’t be intimidated – it can be quite easy and straight forward. For this tutorial, I am going to assume you already have Sublime and Package Control set up on your computer. If you don’t already have Sublime, check out my previous post on Setting up Sublime with R.

Setting up LaTeX with Sublime

Sublime can also be an alternative to MikTeX.

Terminus: Run a terminal shell within Sublime Text.


LaTeX Word Count


Package Control



View in Brower

Citer: BibLatex citation handler with citation completions (when you hit @)



R-IDE: A package maintained by randy3k that transforms Sublime into R-Studio with some cool features added.

SendCode: Send your code to a terminal or program such as Terminus/Terminal/R-GUI/R-Studio.


LSP: An implementation of Microsoft Language Server Protocol for various programming languages. It provides a syntax check and function description.