A blog by Rob J Hyndman 

Twitter Gplus RSS

I’m switching to TeXstudio

Published on 29 March 2011

I’ve hap­pily used WinEdt for all my LaTeX edit­ing for about 15 years and I’ve encour­aged my whole research team to use it. But I’m tired of prob­lems with WinEdt that take up my time. I reg­u­larly have requests for help from one of my research team because some­thing in WinEdt is not work­ing prop­erly — such as pdf syn­chro­niza­tion prob­lems, or it is using an old ver­sion of Mik­TeX that no longer updates, or that it has switched to using another pdf viewer with­out warn­ing. These aren’t that hard to fix, but they shouldn’t happen. When a coau­thor at another uni­ver­sity has a request for help, it is much more dif­fi­cult. If a new per­son joins our research team, there is always a has­sle get­ting WinEdt con­fig­ured for their use. Jeromy Anglim has a nice post on con­fig­ur­ing WinEdt 6.0, but it should work nicely with­out need­ing this sort of configuration.

I tried TeXnic­Cen­ter for a while, the most pop­u­lar free­ware LaTeX edi­tor for Win­dows. V1.0 is very clut­tered and messy which dri­ves me crazy. V2.0 is an improve­ment, but is very buggy and progress is so slow that I’ll be dead before it is released! It was announced in 2008, but there still isn’t a beta ver­sion. The last alpha 3 release was nearly a year ago.

So I’ve been look­ing around for another LaTeX edi­tor, and after try­ing a hand­ful of alter­na­tives, dis­cov­ered TeXs­tu­dio (pre­vi­ously called Tex­Mak­erX) which seems very clean and sim­ple, but does every­thing I need. The fol­low­ing fea­tures are great:

  • Colour syn­tax coding;
  • Inte­grated pdf viewer with sync­ing in both directions;
  • Tree view of doc­u­ment struc­ture auto­mat­i­cally cre­ated and high­light­ing my posi­tion in the document;
  • Auto-​​completion of stan­dard commands;
  • Auto-​​fill of \ref commands;
  • Auto­matic detec­tion of mas­ter document;
  • Auto­mat­i­cally works with Mik­TeX with no con­fig­u­ra­tion required;
  • Code fold­ing;
  • Error list with auto­matic link­ing to the rel­e­vant line of the document;
  • Regex search and replace facility;
  • One click build process for LaTeX documents;
  • Built-​​in spelling checker;
  • Built-​​in thesaurus;
  • Text analy­sis includ­ing word counts;
  • It works on Win­dows, Unix/​Linux, BSD and Mac OS X;
  • Free­ware.

For begin­ners, there are lots of but­tons to assist with fonts, math­e­mat­i­cal sym­bols, etc. There are also wiz­ards for fig­ures and tables. I won’t use these but they might be use­ful to new LaTeXers.

It is not as pow­er­ful as WinEdt in it’s macro capa­bil­ity, and it only han­dles LaTeX (so no good if you want to use TeX, Con­TeXt, or some other vari­ant). But for the sort of work I do, it has all the facil­i­ties I need. I think it will also lead to far fewer requests for help.

The only cus­tomiz­ing I’ve done is to map F3 to the “Find next” so it matches other soft­ware I use. By default, F3 is linked to YAP for dvi files, but I never use dvi files any­way. I also turned off ToolTip-​​Help which I found annoying.

One bug I have found is that Bib­TeX is not always called when it should be. It is easy enough to man­u­ally run Bib­TeX, but it would be nice if the need to do so was detected more reliably.

I’m not sure if TeXs­tu­dio will be my LaTeX edi­tor for the next 15 years, but I’ll use it as my main LaTeX edi­tor unless some­thing bet­ter comes along, and I will encour­age my research team and coau­thors to use it too.


Related Posts:


 
28 Comments  comments 
  • http://www.ilorentz.org/~gio Gio­vanni Lanzani

    I’d go with Emacs with AucTeX.

    You can’t imag­ine how slow the other edi­tors are com­pared to them. (I’ve used Winedt, Kile and TexShop, so I know a bit about editors.)

    • Yin Zhu

      Emacs + Auc­Tex is OK on win­dows. But when you start to add spelling check­ing, auto com­ple­tion, it is slow to death.

      On Linux, there is no such problem.

  • Sotiris Fragkiskos

    it sure looks inter­est­ing feature-​​wise, but it looks kind of buggy to me.. I ve used it for the last hour and there are a cou­ple of ugly glitches that ren­der it unus­able (like, find mode doesn’t work cor­rectly, I type some­thing I want to find find and it stops ran­domly and starts typ­ing what I type inside the text!! Also, selec­tions sort of stop ran­domly..)
    I liked the absolute sync­ing part very much though, it’s far more ele­gant than winedt’s implementation..

    • http://robjhyndman.com Rob J Hyndman

      I’ve prob­a­bly used it for 20 hours so far and I haven’t had any trou­ble with find mode.

  • Bruno

    Sim­ple curios­ity : have you had a try at Tex­Maker, and found any dif­fer­ence between Tex­Maker and Tex­Mak­erX ?
    I have the impres­sion that the func­tion­nal­i­ties orig­i­nally added by the Tex­Mak­erX fork are now also in Tex­Maker, but I’d like to hear from some­one who actu­ally compared.

    • http://robjhyndman.com Rob J Hyndman

      Yes, I used Tex­Maker for a few hours before try­ing Tex­Mak­erX. There are quite a lot of addi­tional fea­tures in Tex­Mak­erX that I find use­ful includ­ing regex search/​replace which is essen­tial for me.

  • Sotiris Fragkiskos

    sorry, it’s been ages since I ve tried Tex­Maker. I am now using latexmk with vim mostly, and have winedt open for bracket match­ing test­ing and find in project functionality.

  • http://blogs.helsinki.fi/aphalo/ Pedro Aphalo

    I am still using WinEdt 6.0 and the lat­est build works very well out of the “box”, but I need to co-​​author a report in LaTeX with authors who nor­mally use Word. I think Tex­Mak­erX would have been ideal, but after using it for some hours I found bugs with cur­sor nav­i­ga­tion in the edi­tor. The cur­sor would jump ran­domly and at some point it became impos­si­ble to move the cur­sor to some lines of text. I had to restart Tex­Mak­erX to recover. Then I found a bug in the pre­viewer that would pre­vent mov­ing to the next page in the pdf, but the page could be reached by going to the last page and then mov­ing backwards.

    I think that if debugged Tex­Mak­erX would be use­ful, but as it is I would not like to give it to some­one new to TeX.

  • User

    Why I don’t use WinEdt:

    1. Money

    2. Pro­pri­etary license

    3. No utf8 support

    4. Not vim.

  • http://blogs.helsinki.fi/aphalo/ Pedro Aphalo

    The two bugs I reported yes­ter­day are one and the same and related the sync­ing between viewer and edi­tor. And they seem to occur only with a very par­tic­u­lar but valid LaTeX input. I reported them to the author, and they don’t seem to be as bad as I orig­i­nally thought. He answered very fast. Sorry, for my slightly mis­lead­ing ear­lier message.

  • Wen­jin

    Their web­site says “been seized by US copy­right office”? Am I going to the right site?

  • Víc­tor M. Garcia

    Hi, it sound very inter­est­ing. I’m going to try it.

    Have you tried Tex­works? It is installed with Mik­tex. I do my papers with Texshop for Mac OSX when I’m at home and at work I use Tex­works. I like it because there isn’t any encod­ing trouble.

  • Víc­tor M. Garcia

    Hi, it sound very inter­est­ing. I’m going to try it.
    Have you tried Tex­works? It is installed with Mik­tex. I do my papers with Texshop for Mac OSX when I’m at home and at work I use Tex­works. I like it because there isn’t any encod­ing trouble.

    • http://robjhyndman.com Rob J Hyndman

      Yes, I tried TeX­Works. It was a bit lim­ited for my lik­ing, but cer­tainly easy to use. Given the effort going into it, TeX­Works could well be the edi­tor of choice in a cou­ple of yearss

  • Samik R

    A sim­i­lar one which I use is LeD (LaTeX Edi­tor), avail­able at: [www​.latexed​i​tor​.org]. Avail­able only on Win­dows though, but fea­ture rich, easy to use, and I am yet to stum­ble on any bug (has been using it for around 3 years).

  • JC_​_​

    Quite inter­est­ing your review about the texmakerx.

    Just to say I also changed the “Find next” short­cut to F3, which is the usual in other text edi­tors, like notepad++ or so.

    That bug with the bib­tex I did not under­stand it. When you call it with the short­cut (the default is F11) it does not always run it?

    I still find some annoy­ances with the tex­mak­erx: the fact that after you save a file the “Save” but­ton (in the tool­bar) does not change to gray. And why does not always show the log after a “pdfla­tex” (F6) or quick-​​build (F1)?

    By the way, all these short­cuts are a mess in my hum­ble opin­ion because they are not the stan­dard among other IDEs (see Eclipse for instance..)

    But nowa­days tex­mak­erx is my favorite tex edi­tor, until a bet­ter option appears :)

    JC

  • James M

    After using Texnic Cen­ter for some time I tried TexS­tu­dio. Yes, it has some nice fea­tures in the edi­tor, but this is the only plus point. It doesn’t inte­grate well with Mik­tek, and often has prob­lems build­ing even sim­ple files. And it is so slow in com­pil­ing. So I’m not going to use it any more.

  • Domagoj

    I’ve been using Tex­Maker for almost 3 years (suc­cess­fully:-)), but now, I’m switch­ing to TexS­tu­dio. Only 10 min­utes of test­ing it was enough to see that it’s a ‘bet­ter ver­sion’ of Tex­Maker (it’s sim­i­lar to Tex­Maker, but with sig­nif­i­cant improve­ments).
    Thanks for infos/​review!

  • D Venu Gopal

    I also turned off ToolTip-​​Help which I found annoying !!

    How to  turn off ToolTip Help? For expe­ri­enced LaTeX users it is very annoying.

    • http://robjhyndman.com Rob J Hyndman

      Go to Options menu, click on “Com­ple­tion” tab. You will see a check box for “Enable ToolTip-​​Help”. Make sure it is unticked.

  • jay

    i really rec­om­mend the orig­i­nal tex­maker(http://​www​.xm1​math​.net/​t​e​x​m​aker/) over the TexmakerX/​TexStudio fork. :)

    • Alex

      Why? The TexS­tu­dio offers supe­rior func­tion­al­ity. Also in the past the Tex­maker owner had refused to fix issues oth­ers had reported as impor­tant (e.g. when changes are made to files exter­nally e.g. via SVN — only inte­grated it after peo­ple started com­par­ing it with TexS­tu­dio…). This kind of behav­ior made me change 2 years ago from Tex­maker to Texs­tu­dio, and I am never going back — I am happy with the sim­plic­ity and fea­tures offered…

  • Car­los

     I think TeXS­tu­dio is the best TeX edi­tor avail­able right now. For­merly I used Tex­Maker and Tex­Mak­erX, I agree they were some­what buggy. The only bug or hand­i­cap I found in TeXS­tu­dio is that Bib­TeX is auto­mat­i­cally called less often that it should. And that call­ing it by hand some­times reports non exis­tent errors, so I end eras­ing all the files gen­er­ated by TeXS­tu­dio and recom­pile, takes a few sec­onds but is a bit annoying.

    Oth­er­wise TeXS­tu­dio is extremely func­tional and full with help­ful features.

  • tex­fo­gey

    It’s even bet­ter than you say, Rob, because for­ward and inverse search (with Suma­tra) work right out of the box with no mods; it could be because Suma­tra is set as my default pdf. I’m switch­ing (also after about 15 years).

  • Dinesh Dileep

    Hi, Spell check­ing is not work­ing for me by default. Any way out ?? :( :(

  • Bbri­coleur

    I really like TeXs­tu­dio (except for the default col­ors). Things like indentation/​real tabs etc are def­i­nitely a plus.

    I have no idea why TeXs­tu­dio reviews are so neg­a­tive on source­forge (some of them are utter non­sense… like accus­ing them of copy­right infringe­ment when they’re explic­itly fork­ing a GPL project). Is this some orga­nized trolling cam­paign against the software?

  • Pingback: LaTeX and Zotero for the scientists – Goodbye to MS Word « Angels fall first