I decided to take a break from posting my code and write about something else. A while back one of my friends from undergrad – now a postdoc at the University of Arizona – posted this on facebook:
This inspired me to start what will hopefully become a series of posts about tools that are useful to grad students and people in the tech field. To kick off this series, I’ll be singing the praises of ShareLatex, an online collaborative LaTeX editor.
A brief background for those unfamiliar with LaTeX: Back in late 60’s, a very awesome man named Don Knuth was in the early stages of writing a very awesome set of books called The Art of Computer Programming, affectionately known as TAOCP. The first three volumes had all been published by 1973, and in 1976 Knuth was working on some second editions and realized that he was very unhappy with the typesetting options at the time. So he did what any reasonable person would do: he went away and within 2 years had invented his own typesetting language called TeX, which he continued to develop and improve over the next decade. TeX is widely (and in some fields, almost exclusively) used today.
LaTeX is a TeX-based document preparation preparation system (kind of like a cross between a word processor and a markup language) and it basically makes TeX way easier to use. ShareLaTeX, as I’ve already mentioned, is a LaTeX editor that is both online and collaborative.
I gotta say, I love ShareLaTeX. Before I knew about its existence I used MikTeX, and while I could get by with it, I wouldn’t say that it’s particularly user-friendly. Then one of my fellow grad students told me about ShareLaTeX, and I wondered how I ever got by without it. All of the conference and journal papers I write are done in ShareLaTeX. Sometimes I share them with co-authors so we can collaborate. All of my exams and assignments for the probability models course I’m taking this semester are done in ShareLaTeX. My justification for my solution to the Rosalind IPRB problem that I shared in the last post was created in LaTeX. ShareLaTeX can be used to create other kinds of documents as well. My CV, for example, was created in ShareLaTeX. I use ShareLaTeX on an almost daily basis now. If you do any sort of academic/mathematical/technical writing, you should be using TeX. And unless you spend a lot of time working offline or you to collaborate with multiple people (see my list of cons below), you should be using ShareLaTeX.
Pros:
- Free. Kinda. There are, of course, plans that come with a price tag. I have always used the free version, and this has *almost* always done everything that I have needed and wanted to do. The paid plans still look pretty reasonably priced to me, especially with the student discount.
- Nothing to download. This was a major plus for me. You just create a free account and you’re ready to go.
- Beginner-friendly. With a library of templates to choose from and excellent documentation (which helps even seasoned LaTeX users like me), ShareLaTeX is a perfect place for a beginner to learn TeX.
- Collaboration. While this is a feature that ShareLaTeX likes to put front and center, I actually don’t use it all that much. It’s a pretty neat feature – two people can be editing the same document at the same time and you can see what the other one is doing, but most of my projects as of late have been solo projects. There’s also the restriction that with the free version, you can only collaborate with one other person.
Cons:
- Online. If you want to work offline, you have to use another TeX editor. Earlier this semester I had to download a project from ShareLaTeX to work offline when I was finishing up a conference paper on an international flight.
- Limited collaboration (free version only). As I mentioned above, unless you’re willing to shell out some money, you’re limited to only one collaborator per document. Since I haven’t been using this feature anyway, it’s not that big of an issue for me.