183

When comparing MS Word vs LaTeX the proponents of Word often say that many advantages of LaTeX over Word from say 1997 disappeared over the years as Word evolved to the current 2013 version. For example,

  • Word no longer has a binary format, the files are just zipped XML files;
  • Word is capable of automatic equation numbering, index generation, table of contents and so on;
  • In Word you can easily define templates and structure your text using defined levels of headings, etc.;
  • Word 2013 is much more stable for large documents than it was 10 years ago;
  • Word now has an improved equation editor with nearly plain-text Unicode editing and customizable keyboard shortcuts.

Now, LaTeX too has improved over the years. So my question is the following:

What are major improvements of LaTeX or associated tools (e.g., editors) which

  • fix some (major) disadvantages LaTeX might have had in comparison to Word some years ago?
  • or introduce new (killer-) features where Word can't keep up?

I want to restrict the question to changes from 2000 to today. Please add a short description of the improvement/feature and the year it was introduced.

David Carlisle
  • 757,742
student
  • 29,003
  • 22
    Compared to an earlier time, more LaTeX style packages exist for out-of-the-box solutions to common typesetting challenges (problems or formats). – Steven B. Segletes Dec 18 '14 at 15:46
  • 1
    In word you may define templates and maybe even easily, but they are not stable at all. They change that much (depending on cases I do not understand) that they are impractical for me. In order to answer something to your question: Does Word know selnolig? – LaRiFaRi Dec 18 '14 at 15:46
  • Emphasize mine: capable of, easily. I agree with the first one (however, "capable of" doesn't mean much, remember that TeX is Turing-complete; it's capable of a lot). I disagree with the latter. – yo' Dec 18 '14 at 15:48
  • @tohecz The points about the capabilities of word are not my opinion, I just wanted to give some examples of what word proponents say, how word improved compared to LaTeX over the years. I should add that the last time I used word is more than ten years ago, I just have use it if I have to help friends when they have problems with word :-). – student Dec 18 '14 at 15:56
  • 12
    I have used Word since version 1.1 and regarding templates, the best version was version 2.0c. It was notorious unstable (crashed at least ten times a day), but it did not unexpectedly change my template. From version 2002, I gave up templates because they always changed in ways I could not understand. Neither could my IT department, but the reason was some weird interaction between word, the network and how they set up mobile computing. Word is best for a single user on a single computer, for a advanced user in a restricted network environment,... impossible. Typesetting nice document? Not .. – Sveinung Dec 18 '14 at 16:09
  • 10
    Is it easy, in Word, to write equations? How about inline math? Is it easy to write a document template? Do you still have to struggle against the software when trying to create a bulleted or numbered list? Word may indeed have shown substantial improvement, but this is not the same as it being worthwhile to use. If the best thing to be said about Word documents is that you don't have to use Word to edit them... why wouldn't one use LaTeX instead? – Niel de Beaudrap Dec 18 '14 at 16:11
  • 4
    It's very easy to write equations in Word from 2007 onwards, I use it to take notes and develop maths expressions/solve equations, you can't do that with LaTeX because it's not readable until you compile every time and the syntax is more complex, plus the code isn't similar in any way to real maths (as written by hand). LaTeX gives you superior output, so when you have to publish a document and stuff it's worth using it, but not for quickly solving some equations. – Formagella Dec 18 '14 at 18:40
  • 5
    @Formagella I actually have the opposite experience -- Word equations are OK (almost entirely because you can use many LaTeX sequences that Word will interpret, so you don't have to use your mouse), but for speed it's way faster for me to just type linear code and not deal with Word's quirks. It helps that I can pretty much read my TeX at full speed in source code, so I don't have to compile to process most stuff (and for quick solving I use the flexibility of pen and paper to put stuff wherever I want it). – cpast Dec 18 '14 at 19:12
  • @cpast Compare the paper I linked above. – student Dec 18 '14 at 19:13
  • 1
    Isn't this a matter or opinion? – user2752467 Dec 18 '14 at 20:02
  • 62
    "Nowadays Word doesn't have a binary format anymore, the files are just zipped xml files" – Well, the specification for those "just zipped XML files" weighs in at 6546 pages, and has to this day not been fully implemented, not even by MS Office itself. – Jörg W Mittag Dec 18 '14 at 20:04
  • 1
    @JörgWMittag Interesting point. Do you have a link to the 6546 pages specs? – student Dec 18 '14 at 20:17
  • Why the close votes? – student Dec 18 '14 at 20:40
  • 3
    The whole ugly story: http://wikipedia.org/wiki/Standardization_of_Office_Open_XML – Jörg W Mittag Dec 18 '14 at 20:45
  • 1
    @JörgWMittag --- and I thought the Fortran standard (623 pages) was getting a bit over complicated! – Ian Thompson Dec 18 '14 at 21:16
  • 4
    Word output is still ugly as [swearword]. – Raphael Dec 18 '14 at 23:56
  • 21
    @Formagella Word equations are incredibly clunky to write. There's no excuse for having to use a mouse to build equations (or edit them). – Carl Witthoft Dec 19 '14 at 01:51
  • 4
    And a general comment: Word encourages use of the mouse (a very bad thing) and futher encourages formatting while editing (WYSIWYG gone mad), which is a very poor workflow style. Given that modern LaTex IDEs have a window where you write the code next to a display window for the final result, LaTex is a fantastically better way to get your document done. And then there's Word's tendancy to slow to a crawl if the doc is over 80 pages long. – Carl Witthoft Dec 19 '14 at 01:53
  • @Formagella - Have you used Lyx? It gives you previews of rendered formulae while you edit. – detly Dec 19 '14 at 03:10
  • 6
    @student I can tell you why the close vote (from me). I have actually chosen the wrong reason, but it really doesn't matter. This is so much open-ended and so much opinion-based that it doesn't make a good SE question. – yo' Dec 19 '14 at 11:32
  • 3
    Even with XML file format, it is very difficult to write code (in any programming language) to output Word files. It is very easy (using macros and \input{}) to output TeX files. – Benjamin McKay Dec 19 '14 at 13:23
  • 3
    There is still no Linux version of Word and even the Windows and Mac Versions are often not compatible. So one of the major disadvantages of Word is still out there ... – samcarter_is_at_topanswers.xyz Dec 19 '14 at 18:32
  • 3
    @tohecz After 40 votes who cares SE ? :P – percusse Dec 19 '14 at 20:54
  • 9
    Word files don't work well with version control. At least, not in anything like a straightforward way. Maybe you will tell me that there is some circuitous way to get them working with it, but .tex files, .sty files, .cls files etc. just work with it - I don't have to get them to do so! – cfr Dec 19 '14 at 23:14
  • This could potentially be a good resource to have, but I just don't think it fits the site very well. It could perhaps be a community-wiki answer, but we would certainly be circumventing the spirit of StackExchange in the interest of the resource. – Sean Allred Dec 20 '14 at 02:13
  • 8
    The real competitor of .tex is not .doc(x) but .html+.css. Antenna House Formatter, weasyprint and PrinceXML are becoming real alternatives, as are .epub readers, even browsers are getting better at large single-file documents and fine typography. – Crissov Dec 20 '14 at 07:35
  • 1
    "Word no longer has a binary format, the files are just zipped XML files" Zipped XML files are a binary format skippy – Lightness Races in Orbit Dec 22 '14 at 11:39
  • 1
    @CarlWitthoft: You can type symbols and formatting in Word’s equation editor, too. \div, \times, ^, _, etc.. – Ry- Dec 23 '14 at 03:24
  • @U2744SNOWFLAKE Yes, the details are in the paper I linked above. – student Dec 23 '14 at 09:43
  • @U2744SNOWFLAKE Yes, I'm aware of the "math autocorrect" feature which is independent of the equation editor. It's still nowhere near as flexible or full-featured as LaTex, tho. – Carl Witthoft Dec 23 '14 at 12:12
  • 1
    @student: Oh, so it is. I don’t see what CarlWitthoft is complaining about, then… it’s not as flexible as LaTeX, of course, but it can represent anything you could do with the mouse. – Ry- Dec 23 '14 at 17:40
  • 2
    Well, one of the very big advantages is that LaTeX is free, both Libre and Gratis. – Vaibhav Garg Dec 25 '14 at 04:26
  • 1
    You can make your own counters, you can code your own containers. You can actually see what will be put into your document, and you can do that with macro. The macro language is much better in \TeX – Anders Dec 28 '14 at 03:45
  • @CarlWitthoft -- Can you give an example of an equation that requires the use of a mouse in Word? Why is using a mouse a bad thing? Can you type \Longleftrightarrow faster than you can click on an icon? I can't. – bubba Dec 28 '14 at 08:14
  • @bubba - you've just committed the sin of "cherry picking." It is NEVER better to use a mouse than to click thru a collection of menus, and in the case of EquationEditor, trying to edit an existing equation is pain beyond belief. Once you've learned the LaTex codes, the average time to write a complicated eq'n is far less, and, equally important, the strain on wrist/arm related to using a mouse (and switching back&forth from KB) is gone. – Carl Witthoft Dec 28 '14 at 13:10
  • Haven't been using Word for years. Last time I checked it did not implement best-cost hyphenation, line breaking and paragraph breaking the way TeX did it since its creation. Doesn't Word still use the same greedy layout algorithms? – ybungalobill Dec 28 '14 at 23:10
  • @CarlWitthoft -- have you used a recent version of Word? To create/edit equations, you can just type codes (if you can remember them). You don't have to use the mouse if you don't want to. Clicking on icons is obviously faster than typing if you can't remember what magic codes you have to type. – bubba Dec 29 '14 at 01:01
  • @bubba: not "obviously faster": you have to grab for the mouse (or going around your apartment/house for a while looking for it;-)), point and click, and then get your hand back to the keyboard. OTOH, typing (with autocompletion, of course) is really fast. Unless you come up with an actual experiment and measure the times, please don't say that something is "obviously faster". – mbork Dec 29 '14 at 01:18
  • @mbork -- I am willing to concede that using a mouse is slow if you don't have one connected to your computer. If you do have one (as most people do, I think), then I still claim that clicking on an icon is obviously faster than looking up a code that you've forgotten. – bubba Dec 29 '14 at 02:18
  • @bubba: Equation Field Codes have been part of Word for over 20 years now. Yes I know how to use them. No they're not as good as LaTex – Carl Witthoft Dec 29 '14 at 12:18
  • @CarlWitthoft -- I'm not talking about field codes; I'm talking about the built-in equation editor that was introduced in Word 2007. The codes look a lot like TeX. For example, to get the quadratic formula, you just type: x = (-b \pm \sqrt(b^2-4ac))/2a. The mouse is not required, but it can be used if it helps. – bubba Dec 29 '14 at 12:55
  • @bubba: maybe, maybe not. The commands I use I do remember; if not, I could always use detexify (though I tend to use the Comprehensive LaTeX Symbol List). Then, hunting through menus (especially multilevel) is not only slow, but extremely unpleasant. Also, they have other disadvantages, for instance, they usually take up precious screen real estate. (In my Emacs config I turned the toolbar and menu off, and saved two lines of text!) – mbork Dec 30 '14 at 08:34
  • This doesn't qualify as an answer, but I can't leave it unmentioned: In my opinion, the most important recent improvement in LaTeX is ...drumroll... : pandoc. No more {endless {opening and closing}} brackets where you loose count} no more \emph{unreadable} markup, no more unintelligible error messages, no more distraction by fiddling with the typesetting while you actually should concentrate on writing text. But you can still have all the beauty of LaTeX's superior typesetting. Oh, and if you happen to need a Word document for that pesky editor or colleague, you can have that, too. – A. Donda Jan 04 '15 at 02:55
  • Not LaTeX vs Word but LaTeX vs LibreOffice (and in German), but... http://www.niederberger.com.de/warum-latex-ein-vergleich-mit-libreoffice – cgnieder Mar 21 '15 at 16:16
  • 1
    LaTeX created math equations have found their way to websites. Some blog posts with lots of formulas almost resemble LaTeX created docs. – Concerned_Citizen Apr 05 '15 at 20:41
  • You could also do the comparison to many other programs, such as Adobe Framemaker or Adobe Indesign, all of them much more expensive than Microsoft Word, and all with their on problems. – skan Jul 11 '15 at 00:03

28 Answers28

131

I do not know of LaTeX ever having any disandvantages as compared to Word over the years, other than Word had more funding, so I will only comment on the new (killer) features where Word can't keep up.

  1. Macros - been there from day one, include here hundreds of new packages.

  2. PGF/TikZ

  3. XeTeX and LuaTeX, ConTeXt

  4. Microtype

  5. The ability to exercise your brain while you're typing and writing macros

  6. The confidence that your code and documents can survive possibly for ever.

  7. A great community.

Sverre
  • 20,729
yannisl
  • 117,160
  • 11
    I like the edit you just made ;-) +1 – Johannes_B Dec 18 '14 at 16:45
  • 2
    "I do not know of LaTeX ever having any disandvantages as compared to Word over the years" Oh, just ask any Word user! :) – T. Verron Dec 19 '14 at 11:42
  • 1
    You missed tex4ht. – Nasser Dec 19 '14 at 12:09
  • 84
    You can't think of a single disadvantage of LaTeX over Word? How about the fact that, for simple documents, anyone can just open up Word and create something adequate. LaTeX requires you to learn stuff before you can even write "Hello world." – David Richerby Dec 19 '14 at 14:02
  • 25
    @DavidRicherby "anyone" can get a pen and write on a piece of paper. There is no causation to disantvantages or advantages in your statement. You need to look at what you want to achieve. If your aim is to typeset a good looking book then the "ease part" does not play a role. – yannisl Dec 19 '14 at 15:17
  • 18
    The causation is that Word has a user interface that makes it easy and intuitive to do simple things in simple documents, whereas LaTeX has a user interface that requires learning multiple different steps to produce even a simple document. Yes, that learning pays for itself many times over but it still has to be done. It appears that the reason you see no advantages at all in Word is that you've restricted your attention only to use cases (e.g., typesetting books) where LaTeX is a clear winner. – David Richerby Dec 19 '14 at 15:30
  • 3
    @DavidRicherby Not really, I use LaTeX for all sort of documents. Also I am from the old school that sees a learning curve, as a positive and not a negative thing. LaTeX is still with me long after Wordperfect... – yannisl Dec 19 '14 at 16:00
  • 32
    A steep learning curve cannot be seen as a good thing unconditionally, because there's simply no limit (why not write pdf documents in an hex editor?). Maybe the good outweighs the bad for latex, and on this website, most will probably agree on that; and maybe the good of latex requires some learning curve at some point (but I am not convinced of that, see for example lyx or texmacs). In any case, it doesn't mean that the learning curve, by itself, a good thing. – T. Verron Dec 19 '14 at 16:47
  • 1
    @T.Verron Sure not unconditionally. – yannisl Dec 19 '14 at 17:33
  • 23
    @DavidRicherby: Define 'anyone' and 'something adequate'. Most people, maybe, but I can't. Now I'll grant that I'm several sigmas away from the normal/average user, but my every attempt at using Word, or more frequently Open/LibreOffice, to do more than read a document someone else has sent me has been a dismal failure. Their learning curves are, for me, more like cliffs, while LaTeX is just another programming language. – jamesqf Dec 19 '14 at 19:23
  • 3
    @jamesqf I fully support you. I came from WordPerfect 5.1 and the learning curve to use Windows and Word 1.1 was terrible. For writing a simple macro in Word, you needed to learn an unintuitive (buggy) programming language (Word Basic). After using Word from 1992 (1.1, 2.0, Word95, Word97, Word XP and Word 2003), I was force to relearn absolutely everything in 2010, when my employer changed to Win7/Word 2007. And then this spring, new relearning when we switched to Word2010. And in 2015, we will switch to Word2013. My templates have never survived upgrading, but always needed major rework. – Sveinung Dec 19 '14 at 20:08
  • 2
    @Sveinung At least you learn how to do it. I never was able to make a useful macros in Word, when I used to make a lot of macros in Framework II or WordPerfect (not simple actions like insert a space and a carriage return in everyline, but programming a calculator or a popup clickable list of preformatted texts). In this aspect, the dominance of Word was not terrible, it was a catastrophe. – Fran Dec 19 '14 at 22:20
  • 14
    "The ability to exercise your brain" is not an advantage. The end goal is to produce a document. Entertaining myself with logic puzzles may be fun and addictive, but claiming that tools requiring more thinking from the user is an advantage doesn't make sense. – DanielSank Dec 23 '14 at 20:33
  • 7
    @jamesqf You're over-thinking it. For simple documents (simple as in a letter to your gran) you can just type and align things with the tab and space keys. It'll be fine. Sure, anything more complicated, with headings and so on is... more complicated and I don't know how to do that stuff in Word, either. – David Richerby Dec 24 '14 at 12:22
  • 1
    @DavidRicherby: But for something that simple, I would simply send an email or text. Just as a point of reference, though, it'd be me sending something to friends' grandkids. – jamesqf Dec 25 '14 at 06:48
  • 1
    Handling more advanced stuff in propper way, that is not just marking headings and change to bold and bigger font, both MS Word and LibreOffice/OpenOffice needs some learning. And I have spent more than reasonable amount of time trying to make my own templates. I start to getting the hang of LibreOffice, but in that time I have designed and redesigned my LaTeX template many times by now. Adding counters and formattings. And I know it will survive next version, wich I'm not that convinced MS Word will let my templates do, nor LibreOffice. But there I are have more faith anyway. – Anders Dec 28 '14 at 03:56
  • 2
    @DavidRicherby, anyone can just open up a WYSIWYM editor like LyX and create something adequate. The development of WYSISYM editors for LaTeX should perhaps be counted as one of the major improvements the OP asked about. – Vectornaut Aug 19 '15 at 22:41
  • 2
    I think "The confidence that your code and documents can survive possibly for ever. " does not apply here, because the packages change, get incompatible. It is difficult to downgrade a texlive installation, and even more difficult to find out what the real requirement was n years ago. One can try to restore the text between the commands like the text in the xml file. – Jonas Stein Nov 07 '17 at 17:44
125

this is not about any improvements in (la)tex. it is only about stability.

it is very likely that an article created (and published) in 2000 in latex can be re-used directly today in a volume of "collected works", whereas such an article created at the same time in word will most likely require considerably more work, possibly even rekeying.

mathematics has a long shelf life.

yo'
  • 51,322
  • 19
    I really like the shelf life part. – yannisl Dec 18 '14 at 16:45
  • 3
    @YiannisLazarides -- thanks. not original. it's not really unusual to see works from the late 1800s -- or even earlier -- cited in contemporary books; less frequently in articles, but not unknown. – barbara beeton Dec 18 '14 at 16:48
  • 20
    Hm... might work today with a plain document from 2000, but I am not so sure about it in 2030 with a LaTeX document from today. I have experienced too many problems reusing documents less than three years old if they employed modern packages or classes, such as biblatex, libertine, tikz, moderncv. Unfortunately, issues with back-compatibility are no longer a privilege of Word and Co. – Daniel Dec 18 '14 at 20:48
  • 15
    @Daniel -- true enough. however, if you keep track of what versions of various packages were used (the ams uses the snapshot package to record that information), and keep an archive of old versions, reprocessing old versions is possible with little hassle. it's too bad that many package writers don't try to enforce backward compatibility. it's essential in a production environment. the minimum requirement is good documentation of incompatible changes. – barbara beeton Dec 18 '14 at 21:28
  • @Daniel but you'll always be able to read the ASCII source file. Try that with a Microsoft Word 1995 document. – Carl Witthoft Dec 19 '14 at 01:54
  • 12
    @CarlWitthoft: Just for curiosity I did: No problems at all to open it in a current version of Word. – Daniel Dec 19 '14 at 08:10
  • 2
    @barbarabeeton: Thanks for mentioning snapshot! For some years I have been maintaining a project-specific texmf tree for every project that uses "critical" packages (especially biblatex...). However, "criticality" was purely subjective here – I added a package if something did not work with some colleagues TeX installation. snapshot seems to be the missing link to systematically maintain version dependencies! – Daniel Dec 19 '14 at 08:19
  • 1
    @Daniel,-- go back a couple more versions then. I certainly can't open files from 1991. – Carl Witthoft Dec 19 '14 at 20:22
  • @barbarabeeton Now that we have pervasive virtualization technology, LaTeX's backward stability and snapshot are much less of a killer feature. It is easy to keep around an old VM with an old version of Word, and then one gets functionally the same results as snapshot with much less hassle. – Federico Poloni Dec 24 '14 at 09:52
  • @FedericoPoloni -- thanks for the observation. this is certainly true, but it also depends what sort of environment one is working in. i've spent my working life in a production environment with a math publisher, receiving manuscripts from all conceivable sources. in this environment, stability is essential, and the ability to exhume files for material published 25+ years ago to reprocess it in "collected works" is a relative dream, whereas without stability it could be a real nightmare. before tex, it was always "start over". – barbara beeton Dec 24 '14 at 13:06
  • 3
    FYI: " An Efficiency Comparison of Document Preparation Systems Used in Academic Research and Development " Markus Knauff & al. published in PLOS ONE. December 19, 2014 DOI:10.1371/journal.pone.0115069 . http://www.plosone.org/article/info:doi/10.1371/journal.pone.0115069 – Pierre Dec 27 '14 at 00:09
  • 5
    I have twice had papers that I was preparing in Word fall into some unrecoverable state from which the only way to avoid retyping the whole thing was to cut and paste bits and pieces of the text into a new document. In one case I couldn't even cut and past directly; it had to go through Notepad first to clean out all the formatting. So the shelf life of the Word document wasn't even long enough to publish it once. This hasn't happened in about five years, but that's mainly because I convert my Word drafts to LaTeX before anything could go wrong with them. – David K Dec 27 '14 at 03:14
  • 2
    @Pierre -- thanks for the reference. i have read it, but am not well enough versed in statistics to understand why they say that the differences with respect to the math sample (and only that sample) are not significant. i can't disagree with what they say regarding tables; tables are beastly in latex, and word has excel behind it. what i do find objectionable is that in the last paragraph they recommend "preventing researchers from producing documents in LaTeX" -- that is simply inflammatory and not sufficiently backed up by their study. – barbara beeton Dec 27 '14 at 13:40
  • 3
    .. and robustness, I may add. More than 10 years ago, a friend of mine wrote an entire textbook in Word and mathtype, if I remember correctly. After some time, he couldn't edit the equations, because all of them had turned into images! I felt sorry for him, as he had to retype every equation in the book before the deadline... – auxsvr Dec 27 '14 at 14:46
  • 2
    @Pierre: there has been a discussion on the Emacs Org-mode mailing list about that paper; the consensus was that it's complete BS. (And note that this was an Org-mode list, so there were a lot of people actually not using LaTeX, possibly because it's too complicated when they have Org!) And BTW, in Org you can edit a table very easily and have it exported to LaTeX. (One thing it lacks, though, is cell joining.) – mbork Dec 29 '14 at 01:24
  • Just looked at the paper a bit. It gives researchers a previously written article and re-type it. Much as I usually like LaTeX, this seems to be a solution that quite possibly skews the result in favor of LaTeX, as it significantly reduces advantages from instant visual feedback. I just wish Texmacs had caught on; It could have given us the best of both worlds (basically visual editing like word, with a cleaner underlying and user-accessible logical structure than Latex, let alone Word). (I use Latex and Lyx mostly, though recently I am giving Word 2010 a chance). – kdb Oct 19 '15 at 09:20
  • 2
    @kdb It is just the opposite. Having to re-create a document's formatting clearly skews the result in favor of Word, as it caters to WYSIWYG's ability to move the placement of text and see the result right away. To my mind that is Word's one and only advantage, and certainly does not make it worth using it for anything one cares about. – A Feldman Jun 21 '16 at 20:13
106

The main reason I gave up Word for LaTeX is so that I could keep all of my documents under version control. You could argue that I could do the same thing with a .docx file, but Git likes .tex just fine, and I can do all the usual cool Git tricks as well.

Steve V.
  • 1,243
  • 1
  • 7
  • 8
  • 18
    This is a highly underrated point! XML or no, the amount of cruft inside a .docx (or .doc, or .docm) document makes version control near-impossible. – Carl Witthoft Dec 19 '14 at 01:57
  • 11
    Doesn't office provide built-in version control? – T. Verron Dec 19 '14 at 11:37
  • 28
    @.T. Verron - If it ain't Git, it ain't version control. (No offense, personal opinion) – Steve V. Dec 19 '14 at 14:14
  • 16
    @T.Verron how good is Word at merging what three authors did, all starting from version A? How much work is conflict resolution? Git does that better than, say, svn or perforce (in my opinion) - and if Word played in the same ballpark, I’d be really impressed. – Christopher Creutzig Dec 20 '14 at 10:40
  • 6
    @T.Verron: If it's built-in into Office, can I still integrate non-Office content that I want to manage together with my documents in the same version control? How about version-controlled projects that, for one reason or another, do not include any Office documents at all - can I still use the built-in Office version control for those? – O. R. Mapper Dec 20 '14 at 20:06
  • @ChristopherCreutzig No idea to be honest. I'll ask people who use word about that. – T. Verron Dec 20 '14 at 20:34
  • @O.R.Mapper Why would you want to use the office VC with something else than an office document? Afaik it's only about embedding history information in office files and thus getting the benefit of a VC system on the binary files. About non-office integrated content, I don't know too, I will ask as well. But it seems that the typical office workflow consists of having as much of the project as possible in the office family (e.g. data tables in xlsx). – T. Verron Dec 20 '14 at 20:38
  • 3
    @T.Verron: I cannot remember ever working on anything that would include only documents of one type. Even if I chose Word over LaTeX for my text documents, whether I would choose an Office program over a graphics/diagramming/music/programming/... software is a whole other question. Hence, any Word document of mine will invariably be accompanied by documents that are most probably not edited in an Office application, and using two VC repositories for one project just seems like some pointless trouble. – O. R. Mapper Dec 20 '14 at 20:50
  • 2
    @T.Verron: Likewise, I'd try to avoid using different VC software for different projects. Hence, if I had to switch to another VCS for projects that do not happen to involve any Office documents, that would kind rule out touching the built-in VC of Office in the first place. – O. R. Mapper Dec 20 '14 at 20:51
  • 4
    @T.Verron Having it built in actually destroys the credibility of any audit trail it would provide. If I send a file to someone, and they send it back with changes, the file I get back may show me, what was changed. But since the file contains the entire revision history, they could have introduced changes to the history to make it look as if a certain wording had existed in the original version and wasn't changed. – kasperd Dec 22 '14 at 03:14
  • @ChristopherCreutzig In the end I tested it. It seems to work fine, you can compare several versions of the document and merge them. The merge seems to be fairly automatic, but you have tools to accept or reject changes. Overall, the interface is intuitive, and the only googling I had to do was to find to compare the revisions (and I probably would have found it anyway). – T. Verron Dec 22 '14 at 11:46
  • 1
    @CarlWitthoft: version control isn't "near-impossible" even with completely un-transparent binary file formats. For instance, I use git for image processing, as well as for DAW/NLE project files. But you're right of course in the sense that any automatically-generated (as opposed to manually-edited) files will generally make all but the most basic VCS tasks a lot harder, and clean merges are almost impossible. – leftaroundabout Dec 23 '14 at 21:21
  • One could argue that Git is a new evolution in the last years, but nothing in TeX/LaTeX changed related to this. So this doesn't really answer the question. – Paŭlo Ebermann Dec 26 '14 at 10:59
  • 3
    @PaŭloEbermann "...major improvements of LaTeX or associated tools". I would respond that Git is an associated tool for this particular workflow. – Steve V. Dec 26 '14 at 11:51
  • Git can also track word documents. After all, a docx file is just (extremely verbose) xml. Of course, out of the box, git is better at tracking tex files... –  Jul 04 '15 at 07:29
99

The main advantage I see with LaTeX is that everything's in the open. You can ask a question, like on StackExchange, by quoting straightforward text, and you get an answer in straightforward text rather than "try clicking this menu and that, oh, in Windows 7 this may be in a different ribbon and they self-organize anyway". Word help tends to work better with somebody in the same room.

So as social networks and wikis and sites like StackExchange have grown in importance over the last few years, the advantage of LaTeX being something that one can competently talk about and view and discuss in plain text media has grown.

user69236
  • 991
  • 7
    I think this is a very good point! +1 – student Dec 18 '14 at 20:27
  • 8
    So true. Try googling your *Office problems... – Raphael Dec 18 '14 at 23:59
  • 5
    @Raphael I have - there is often very high quality documentation available from Microsoft. Word's GUI makes figuring out unfamiliar tasks much easier as well. – Superbest Dec 19 '14 at 14:24
  • 2
    Word has a "what do you want to do?" input field which lets you use a command even if you do not know where it is exactly. Agreed, it is still more complicated than a mere copy and paste in your preamble. – T. Verron Dec 19 '14 at 17:10
  • 2
    @Superbest: Maybe the tasks you have been trying to find were not "unfamiliar" enough. I have frequently failed to find any suitable information about something I was trying to do in Word ... and when I do find a description, half of the time it turns out it describes the menu structure of the pre-ribbon versions, and everything is named and sorted differently now. – O. R. Mapper Dec 20 '14 at 20:04
  • I want to add a little comment that SE is not a social network site – Ooker Dec 22 '14 at 06:10
90

Let's break down the list first;

  • Nowadays Word doesn't have a binary format anymore, the files are just zipped xml files

This sounds as if it is a good thing.

  • Word is capable of automatic equation numbering, index generation, table of contents and so on

I wish. The gist is there but if you really want to use it on long documents, better buy lots of antidepressants or start a boxing course. A simple problem example that my company almost everyday suffers; We use a commercial version system and different people update the same document. Almost always the table of contents on the side bar is repeated if there are hyperlinks in it. If you search online, you get wishful thinking solutions from MVP MCSE YMCA bla bla certified experts. So far we don't know why, we just accepted it. Many say there is a page break somewhere but even if you delete everything it's not fixed. Probably, main template XML gets corrupted somewhere. So yes it is there but I won't touch it.

  • In Word you can easily define templates and structure your text using for defined levels of headings etc.

This is indeed the case but without the easily part. It really got improved over the years. But again, the <insert very strong language here> preceeding pagebreaks are breaking not only the page but the document if you are 0.tiny careless.

  • Word 2013 is much more stable for large documents as it was 10 years before

A dung beetle can roll stuff that is 10 times its own weight but still it's a tiny shit that it is carrying. When you really scale up, this is certainly not true. Double click a huge document, go wash your car, come back... still counting words, spell checking bla bla... fill in your tax form, post it, come back... maybe it is ready. Now insert a page break or restructure the document, wait for the government to respond to the tax form, come back... Maybe.

  • Improved equation editor with nearly plain-text unicode-editing and customizable keyboard shortcuts

I'm not going to take this one seriously. See the dung beetle argument for the improvement part. The \theta is still almost 45 degrees slanted. In fact all math renders as if there is a wind blowing from the left edge affecting only the math. Even our software guys complain when they read our specifications.

But! The field management and auto-completing the templates are really improving. Finally I can feel like something is automated in Word after so many years. Sure there are some quirks but still it is really getting better. Also font management is somewhat better. It doesn't look as if your screen has been shaven with old razors anymore. And to be honest every once in a while it is almost there with the kerning. But definitely still not there. Another thing that should be mentioned is the cross-referencing. It's not fun to refer to things but at least it discovers referable material much better. Captions are still just a joke I think.


Finally, my list of the recent improvements of TeX and da Dudes,

  • L3 project kicked off (I really really appreciate all the efforts)
  • Normal people :) realized that TeX is actually a (horrible :P ) language and it exploded the interest and demand which in turn gave us a lot of fancy packages.
  • Beamer is being (ab)used more and more. I'm watching a lot of software-cons lately for learning how-to-code and seeing lots of beamer presentations.
  • fontspec is a life saver. Lua- and Xe- TeX saved a lot of time and effort.

Actually here is an example, if some MS Word person bothers you about TeX, give this problem to them to fix in word. How to suppress the operation of a luatex-defined macro on a string if the string is part of macro or a label and the final progress New package, selnolig, that automates suppression of typographic ligatures. That is simply amazing to me. just like hyperref and biblatex. There is no way you can match them via Word.

percusse
  • 157,807
  • 3
    Imo the first modern answer in this thread. :) Just one thought: while making changes to large documents with latex is easy, but compiling them can take some time. Word is slow to start, but then you have fast (or maybe not, based on other answers here) feedback on your changes, while with latex you can have instant start (depending on your editor), but then the feedback loop is slow. – T. Verron Dec 19 '14 at 17:22
  • 9
    @T.Verron Big documents are usually structured so you can work on it part by part via \input{} or \include{} otherwise we would see a pike in the PhD suicides :) So far what I'm really fed up with is Ctrl+A + F9 + click about ten times entire document and after finishing a subitem you hit enter twice then you change your mind and want to create it again but fun begins. Oh my, I can really punch my computer every time I have to do that. – percusse Dec 19 '14 at 17:42
  • 1
    Many thanks for mentioning the selnolig package. :-) – Mico Dec 19 '14 at 20:43
50

High level decisions

Two major improvements of the last ten years:

  1. The large packages (KOMAscript, memoir, pstricks, TiKz, e.g.) matured. The major improvement wasn't the definition of hundreds of new commands or subpackages. The major improvement was the development of high level commands which made writing in LaTeX less »programming while writing«. Users without technical background now can realise documents according to their own taste, without the need of ugly hacks.

  2. MikTeX and TeXlive are easy to install, well maintained systems, really user friendly.

You could mention hundreds of really valuable developments, take the whole Oberdieck bundle as an example. Thanks to Heiko the colourstack in pdftex no longer paints large parts of a page by accident! And yes, there is LuaTeX, the LaTeX3 project and so much more.

After ten years of writing with LaTeX, the advantage I really appreciate is that my documents have more text and less LaTeX, although they have a more sophisticated layout.

Faheem Mitha
  • 7,778
Keks Dose
  • 30,892
46

Word has two big ‘advantages’ over LaTeX: The ability to (a) let you smash together terrible looking documents in minutes, and (b) totally distract you from the content of the document (the text) when you try to correct the mess.

Well, this was not about the improvements of LaTeX.

The biggest improvement in LaTeX the last years, is the much better documentation that is available for free on the internet. Also, internet sites like StackExchange and similar, which make it possible to ask questions and get immediate response to problem, are big improvements, making it possible for mortals to utilize one of the best feature of LaTeX:

The ability to write solid and consistent templates that will not change without you implementing that change.

Of course, I may list lots of disadvantages of LaTeX, but that was not the question.

Sveinung
  • 20,355
  • 12
    +1 for the mention of TeX.SX - its existence is a huge improvement. Before I found this site I didn't know anyone with much more (La)TeX knowledge than me. That isn't the case any more... – Ian Thompson Dec 18 '14 at 19:45
  • 3
    (b) is not longer true: Word 2013 (maybe also 2010) supports different "views" of the document: a view for printing, a view for web publishing, etc. This includes a view for focussing on the contents, with minimal emphasis on the text layout? (a) is a matter of taste of course, but a lot of effort has been put in improving what people will get if they don't care, and word documents created with a recent version of word, plus two clicks to choose a theme, will maybe not be to your taste, but not be that terrible either. – T. Verron Dec 19 '14 at 11:36
  • @T.Verron The outline view goes back at least to MS Word 6 (1993 vintage). I don't know how useful it was for large documents, because I did not produce large documents back then. – user Dec 19 '14 at 12:03
  • @MichaelKjörling I'm not very familiar with word, so I wasn't saying when it got introduced. What is in 2013, and wasn't in 2003, is that, as far as I can see, this approach is somewhat encouraged when you create a new document. – T. Verron Dec 19 '14 at 12:56
  • @Sveinung http://i.imgur.com/0H1YlJm.png This is 15-20 minutes with word, and most of the time has been spent trying to guess the interface (I'm definitely not an experienced word user). Making it an exact copy of the booktab example would be a matter of finding the relevant parameters in the manual and applying them (the long part being the first). For example, applying the 1.5pt rules on top and bottom took me a few clicks (select the parameters, click the top rule, click the bottom rule), which is faster than what I'd have needed in latex (finding the top of the table, entering "top"...) – T. Verron Dec 22 '14 at 12:14
  • And for more complicated layouts (e.g. alternating colors for rows) for which there is no 100%-perfect solution in latex, 2-clicks-and-forget is hard to beat. – T. Verron Dec 22 '14 at 12:15
  • @Sveinung "If you find Word simpler, more stable and better than LaTeX, use Word" Obviously I don't. ;) But it doesn't mean that all advantages of word should be ignored, and that we shouldn't try to learn from some of them. Nor does it mean that we should give up the advantages of latex when trying to do so, of course. – T. Verron Dec 22 '14 at 13:53
  • @T.Verron As a last comment, I have been what I will classify as an advanced user of Word since 1992, using templates, styles and style sheets, macros etc. Still, I have never been able to compose a really nice document with Word (and cannot remember to have seen one). With LaTeX and microtype I can load a template, write my text and typeset a nice looking document, consistently. I have used less time learning LaTeX than learning Word. – Sveinung Dec 22 '14 at 14:31
  • @T.Verron (I know this is grave robbery) the terrible look of word is NOT a matter of tastes. Typography is NOT a matter of tastes. There are rules. And word does look terrible! – Skillmon Apr 06 '17 at 21:45
  • @Skillmon I wholeheartedly agree with you. I would love to summon my 2-years-ago self to have him explain his point. ;) – T. Verron Apr 07 '17 at 08:06
45

Most of the greatest recent advantages of LaTeX have been mentioned, but I want to highlight the fact that XeTeX and LuaTeX are among the best systems for multi-lingual documents. In my line of work, I have found that the only truly reliable way of composing documents in different languages, scripts and even dialects is with recent TeX engines and the associated packages. Indeed, even the classic pdfTeX is now excellent in handling multiple languages and scripts — and that is no small feat considering that it is an ‘8-bit’ engine without native Unicode support.

I once read that even Adobe InDesign does not natively support complex typesetting of many eastern languages in their original scripts, e.g. Arabic, and that one must separately purchase an extension to InDesign in order to get everything that is needed (I don’t know if this is still true, though). I won’t even get started on complex typography in Word.

In modern TeX Live, one faces a beautiful dilemma:

  • with pdfTeX, the very best typesetting with all microtypographic features and classic PostScript fonts, plus unparalleled stability, or
  • with XeTeX and LuaTeX, easier integration of XML sources, native support for Unicode and OpenType and excellent font management packages.

One final rhetorical question: does Word 2013 finally support all OpenType features?

  • 10
    Answer to rhetorical question: no, but neither does any TeX system. – Crissov Dec 20 '14 at 07:09
  • 2
    What are these "all OpenType features"? – luser droog Dec 20 '14 at 17:48
  • 2
    Is that true ? A chinese-japanese-vietnamese-french document with multilingual section titles is not really easy to achieve in my experience. I really dislike word, but I must admit that using characters from vietnamese, chinese and japanese scripts is much easier. – TZDZ Dec 22 '14 at 15:41
  • 3
    Indeed, not all OpenType features, but a reasonably complete subset. One of my biggest gripes with Word is that, in the 2010 version, it still had no support for true small caps, and I don’t know for sure if they are available in Word 2013, but apparently no. As for documents with the CJK languages, vietnamese, and the like, I have never tried, but I would hope there is a way to make it work with Fontspec and Polyglossia? – Christian Gagné Dec 24 '14 at 17:41
36

We are comparing the incomparable. Word is a user interface for creating documents and TeX is a language for typesetting. We can say that Word is something like Lyx, but it means that the most important aspect is the user interface. Word generates a special XML language. But the TeX language is much more flexible than this XML. And very important is that the TeX language was designed for direct interaction with human beings when writing a document (specially when good markup for human is devised for example with good plain TeX macros). On the other hand, the XML needs the inter-layer between human and the generated XML in all circumstances, because this is its design. This mentioned inter-layer is Word.

The main advantage of TeX was, is and will be: we can avoid this inter-layer and write/modify/search etc. the TeX code directly. And the TeX language is very flexible (LaTeX is only one example of this language flexibility).

Of course, I don't mention about open vs. commercial software because this was mentioned by other answers. I never in my life created any document in Word. All my documents are only in TeX. This is a slight complication for me because I am working in lawmaking in Academic senate and Council of Higher Education Institutions in the Czech republics. Everything which I get from these activities is in Word and the first thing I do is convert those to something more reasonable. I did do a generator based on TeX for the publishing of all Czech laws, for example.

A Feldman
  • 3,930
wipet
  • 74,238
  • 6
    They have pretty comparable end products. – percusse Dec 19 '14 at 07:48
  • 1
    @percusse The end products depend on the quality of used fonts and used style for typographical design. This is most visual feature of end product. On the other hand you are right: the paragraph breaking algorithm, microtypography etc. influence the end product too. – wipet Dec 19 '14 at 08:09
  • 1
    I'd say @percusse's point was mainly that the two programs have the same scope; hence they are comparable somehow. Their approach is, as you said, rather different though. – Ruben Dec 19 '14 at 12:25
33

I'm very leery of (collaborative) open-source software which is supposedly better than much more polished commercial software full of "bloat and eyecandy". For a long time I avoided LaTeX, since I assumed the users were just being elitist about an overcomplicated system (needless to say, I no longer hold this opinion). Even so, I have recently (after the release of Word 2013!) started using LaTeX where possible. This was explicitly due to killer features LaTeX has, that Word not only doesn't have, but likely cannot possibly have.

I still use Word for quick, short, simple documents. The extra overhead for writing and maintaining documents in LaTeX unfortunately makes itself felt. But I've learned the hard way that there is a threshold (usually around 10 pages for me) after which it's best to give up on Word and switch over to LaTeX.

Word is capable of automatic equation numbering, index generation, table of contents and so on

Yes, but only insofar as it allows you to claim that it does in this exact sort of discussion, and compels me to begrudgingly accept that yes, technically it does.

However, these features are extremely basic. If you're a caveman who has just heard of ToCs and want to include one in your new great Pangean novel, it will work. But realistically, many texts are written to strict requirements. There are many nuances of formatting, style and just the particulars of how these are generated that Word is unable to do. There are many more that Word is able to do, but it is so laborious as to be impractical.

Point and click is nice for using features for the first time. But once you label your 1000th figure, it becomes very annoying that you can't just press some simple key combination to quickly get a label that looks exactly like you want (unless you happen to want the default one).

In Word you can easily define templates and structure your text using defined levels of headings, etc.

This has, in fact, been possible at least as far back as Word 2003. The problem with styles in WYSIWYG is that there is no longer a 1-to-1 map between appearance and style, so you can't always easily tell exactly which characters are using which style. For instance, is this period italic (it's not irrelevant - if you start inserting characters after an italic period, Word will make them italic)? Is this space bold? Is this bit of italic text actually using the Emphasis style, or is it just italic (Word sometimes can match the styles automatically, but this is not reliable)?

On the other hand, when editing markup there is in fact a 1-to-1 correspondence between what you see on the screen and the actual structure of the text - because every formatting command will be appropriately indicated in the source (which is what you will be working with anyway). The trade-off is that you can no longer easily see the appearance of the output easily (exception: features like the buggy in-line preview in TexStudio), but it turns out that for many documents, it's not hard to "imagine" how a given bit of TeX looks after you've been working with that document for an extensive time.

Also, a word on defaults: The default styles of Word tend to be inadequate. To my untrained eyes, they are only mediocre. My trained graphic designer friends say they are hideous. The extra styles you could look for on the internet and download are, for the most part, also not very pretty. Conversely, even a default document in TeX looks gorgeous. Sure, you could easily make a "LaTeX style" in Word 2013 - but as a user who hadn't seen how nice LaTeX looks and isn't trained I had assumed that professional typesetting can only be done by large publishing companies, and never even tried with Word.

Word 2013 is much more stable for large documents than it was 10 years ago

Indeed, in my experience it hardly ever crashes. In that sense it is stable.

Performance is a whole other matter. With TexStudio, I see hardly any impact of length on performance. Even compile times can be kept manageable thanks to include. With Word, after adding a couple dozen figures and tables, a few hundred references, typing into the middle of the text leads to very perceptible and distracting lag.

Word now has an improved equation editor with nearly plain-text Unicode editing and customizable keyboard shortcuts.

The equation editor in Word is unfortunately crap. Again, typesetting a very basic equation for the sake of being able to say that yes, Word can technically typeset equations is possible and easy.

But once you start trying to do real work, you quickly notice gaps in functionality, both in terms of what forms can be displayed and whether the tools provided are effective at saving you time and effort. Add to this the issue I mentioned above about seeing exactly what the input markup was from looking at the output, and it becomes challenging and frustrating to get your equations looking just right. Sometimes (like a simple sheet of notes from a non-math talk) it doesn't matter if the equations look perfect. But other times (like writing a paper) it may be very important or even mandatory.

As for keyboard shortcuts - well named TeX commands are mnemonics of themselves, and if your editor supports auto-completion, things become much easier. Keyboard shortcuts have to be laboriously memorized and are less straightforward.

What are major improvements of LaTeX or associated tools (e.g., editors) which fix some (major) disadvantages LaTeX might have had in comparison to Word some years ago? or introduce new (killer-) features where Word can't keep up?

I think development of LaTeX editors like TexStudio has made working with LaTeX much easier for many users, as well as drastically lowering the barrier to entry. Sites like this one have made getting help much easier.

One killer feature that was a big factor for me, which you don't mention, is working with parts of the document at a time. If you have a long book, and want to work on one chapter at a given time, Word does not make this easy. Keeping the whole thing in one file causes lag and reduces the usefulness of the scrollbar. You could have separate documents, but then how will the page numbering of Book - Chapter 6 know to stay in sync with Book - Chapter 5? How will you keep the styles consistent? If you edit your document a lot, and accurate formatting is critical (e.g. grades taken off for formatting errors), just validating the formatting of your document becomes a headache in it's own right.

A second one is figures. The one Word feature I miss in TeX is being able to drag and drop JPEGs to exactly where I want them - but aside from that, Word is very annoying in how it jiggles your figures around the text when you add content in preceding sections, or how there is not a tight coupling between figure and caption (which is still just an ordinary textbox, that the caption tool positions for you initially).

Another small one is citation styles. Word has a few citation styles included by default, but there are glaring omissions (for example, the style used by Nature). You can luckily download some common ones if you search online, but if you still cannot find the one you need, making your own citation style is not a simple matter.

Speaking of citations, the built in reference manager in Word is horrendous for anything beyond a handful of cites. If you have more than 5 sources, the busywork of filling out a whole form for every source really adds up, meanwhile tools like JabRef can just fetch all the information by parsing output from sites like Google Scholar. I'm not sure if this counts as a missing feature, since it is solved by those same TeX tools - for instance, JabRef can export citations for Word, effectively nullifying this problem.

Superbest
  • 1,534
  • Regarding drag and drop: For emacs it seems to be possible in principle (but it doesn't work for me): http://tex.stackexchange.com/questions/44126/drag-and-drop-in-auctex, see also http://tex.stackexchange.com/questions/59575/open-images-from-auctex-with-your-favourite-image-editor and http://emacs.stackexchange.com/questions/3955/select-images-in-auctex-with-preview – student Dec 19 '14 at 16:55
  • @student It turns out you can do it in TexStudio as well - but at this point I have gotten used to my own \newcommands and it is actually less convenient to drag and drop. – Superbest Dec 20 '14 at 00:59
  • 3
    thank you for mentioning the math input. i guess i'm not thinking of the equation editor per se, but the revamped mechanism introduced after the addition of thousands of math symbols and alphanumerics to unicode. people complain about the number of braces required by {la}tex to keep things straight. (i complain about the number of braces, preferring delimited macros.) but word uses parentheses for both structuring and nesting, and it's not easy to know whether a paren is just a structural marker or will appear in the output. yikes! – barbara beeton Dec 20 '14 at 20:27
32

I don't think this qualifies as an improvement, since it's always been that way, but for me the big advantage of LaTeX over just about anything is that I can write documents using the same editor I use for code, and so don't have to retrain my fingers to an entirely different set of commands.

For actual improvements, I'd say the ability to go straight to pdf format, and to use that to get near-immediate feedback on what the actual document looks like, by running e.g. 'gv --watch' on the document.

jamesqf
  • 437
  • 21
    Another huge advantage that has always been that way is that what you delete is really deleted, not just hidden from less sophisticated recipients of your document. – Thérèse Dec 18 '14 at 18:51
  • 2
    +1 I love SyncTeX, which lets you hop from the code to the right place in the PDF and back. – Sumyrda - remember Monica Dec 19 '14 at 15:34
  • Actually I'd say that the one in your fist paragraph is a big disadvantage of Emacs and VIM: their keyboard shortcuts haven't standardized to the same set as the rest of the software ecosystem (ctrl+C, ctrl+V), so you have to retrain your fingers. – Federico Poloni Dec 24 '14 at 10:00
  • 4
    @Federico Poloni: That's only true if the " rest of the software ecosystem" you use uses those particular commands. For me, it isn't: at a rough guess, at least 95% of my software-using time is spent in an ecosystem - xterm, editor, gdb, etc - that doesn't use those "standardized" commands. You know what they say about standards: everyone should have their own :-) And in fact, offhand the only place I really see that "standard" is in Word-like programs (OO, LibreOffice, etc) and web browsers. – jamesqf Dec 25 '14 at 07:05
  • @FedericoPoloni: what is the "rest of the software ecosystem"? My "software ecosystem" consists mainly of Emacs and a bootloader for it (I'm using that small piece of software called "Ubuntu" for that purpose). – mbork Dec 29 '14 at 01:34
31

Advantages of MS Word:

  • Your grandmother can probably use it. (You may sneer, but not every human is a computer expert. Some of them are salesman or piano tuners.)

  • It's highly compatible. (I.e., almost everybody has it — especially in a commercial setting.)

  • You can instantly see what the final document is going to look like. You don't have to "compile" it first.

  • It's easy to quickly throw together trivial documents and make them look approximately how you want.

  • It has a spell-checker! (And a grammar checker that erroneously tells you to reword everything in the active voice.)

  • Lots of programs that aren't Word know how to import or export it.

  • It's trivial to paste an Excel worksheet or chart into a document, or indeed to insert lots of other external content.

Disadvantages:

  • Final output looks ugly. (Newer versions have improved this, but the defaults still look pretty ugly.)

  • Doesn't handle large documents well.

  • Virtually impossible to separate content from style, or to change styles without manually applying them to thousands of pages one at a time by hand.

  • Cross-referencing never works properly (unless you remember to constantly click "update cells" all the time).

  • Numbering lists should be trivial, but isn't.

  • Equations are just painful.

  • Documents sometimes get "corrupted" in ways where editing suddenly does very strange things (e.g., delete one letter, and half the page becomes bright green, or changes font, or two paragraphs further up suddenly vanish...). Sometimes a document becomes so corrupted that opening it crashes Word. (Usually opening with LibreOffice instantly fixes this — which is amusing...)

  • You can't put it in version control. (Well, you can, but despite what somebody said about it being "just text" now... no, it's basically a binary file. Any edits transform the underlying XML beyond recognition, so you can't meaningfully diff it.)

Advantages of TeX:

  • With default settings, the output is stunningly beautiful. MS Word has never looked even remotely this pretty.

  • Excellent support for equations.

  • Solid support for cross-referencing.

  • You can trivially version-control it.

  • Multiple people can work on different parts of a TeX document simultaneously. (Because you can split it into multiple source files.)

  • If you have text-mangling tools (e.g., cpp), you can easily generate multiple "versions" of the same document from a single source. (Closest thing Word has is mail merge.)

  • You can (to a limited extent) define your own semantic constructs, styles, etc., and change them instantly be altering their definitions.

Disadvantages of TeX:

  • You have to be a computer programmer to use it. (Seriously, your grandmother wouldn't have a clue.)

  • TeX doesn't understand graphics, and it doesn't understand colour. You can have these things, but don't expect them to work reliably.

  • TeX also doesn't understand hyperlinks, but that tends not to be so much of an issue. (It's supposed to produce printed documents, remember?)

  • If you find a mistake in the printed output, it might take ten minutes to work out where that is in the source code.

  • There is no spell-checker. (And even if you could find a 3rd party spell-checker, it would just complain endlessly that \newcommand isn't a word.)

  • Syntax errors can make the entire document unusable. (Word doesn't have this issue — although, document corruption issues...)

  • Memorising things like \varepsilon is a lot harder than just "Insert Symbol..." and scroll until you see it. (Then again, TeX has way more symbols, so...) On the plus side, once memorised it is faster to type. (Also, need to remember which package(s) to import to get that symbol!)

  • It's drastically harder to rearrange the contents of a document. Like, if you decide you want that table on the left side instead, oh and put that other paragraph at the top of the page instead... in a WYSIWYG environment, that's a simple case of drag and drop, mostly. With TeX it's a complicated cut and paste job. Heaven forbid you want to reorder the columns of a table!

  • The default styling is excellent, but it's almost impossible to change anything. If you want your HTML document in Helvetics instead of Times Roman, it's a trivial one-line CSS change. If you want to change any detail of what TeX does... good luck with that!

  • Occasionally TeX does something you don't want it to, and nothing in heaven and earth will make it stop. (E.g., when it insists on putting a page break where you don't want one.)

  • Packages sometimes fight with each other, sometimes with dire consequences.

For me, the biggest problem with TeX is its clunky, long obsolete macro-expansion programming language, where styling is defined imperatively rather than declaratively. I have long wished we could take the excellent formatting engine and font system from TeX and bolt it into something with CSS styling, support for graphics and colours, and sane syntax. But I don't see that happening any day soon...

In short, I use TeX because the output is so excellent. The input is pretty awful, though.


At my last job, we had two employees whose job was to copy / paste-special thousands of chromatagrams into giant 14,000-page Word documents. As far as I know, there's simply no way for a non-technical user to do that kind of thing with TeX. You would have to screen-shot the spectrometer software, save the image files, convert them to the correct format for import into TeX, and then write the TeX code to generate the rest of the report... Much as I wanted us to start using TeX instead of Word, never going to happen.

When it comes down to it, MS Word is designed primarily for editing documents. TeX is only concerned with typesetting them. It's for producing the final product. So, to some extent, this is all an apples-to-oranges comparison.

Faheem Mitha
  • 7,778
  • 4
    Hi and welcome, this is quite a good answer. I am disagreeing a bit on disadvantages of (La)TeX. Since LaTeX is a macro language, it is easy for one guy to define macros another human beeing with the ability to read can use. There are spellcheckers out there with a special TeX-mode (if they don't recognize the file ending). – Johannes_B Dec 19 '14 at 20:37
  • 1
    btw: Was is so hard in remembering \alpha? ;-) There are some (many) commands that are harder to remember. – Johannes_B Dec 19 '14 at 20:38
  • @Johannes_B The Greek letters are probably the easiest ones to deal with, yes. For those, being able to type them is almost certainly faster than having to hunt for them with a mouse. My comment is more about obscure symbols like the inverted-delta. – MathematicalOrchid Dec 19 '14 at 20:41
  • 11
    I think you have not been using new TeX packages in the last 5 years. Practically your first 5 points are not true about disadvantages of TeX. Plus who writes down those documents to be handled by an editing documents software in the first place? – percusse Dec 19 '14 at 20:45
  • @percusse I am not sure, but it sounds a bit like the confusion of TeX and LaTeX. – Johannes_B Dec 19 '14 at 20:52
  • @Johannes_B Ah then it might also be my mistake too. – percusse Dec 19 '14 at 20:53
  • @Johannes_B Certainly lots of people have written useful packages. But you won't find a package that changes every single style detail in the way that you want for your particular project. It's times like when I wish I could just CSS the thing... – MathematicalOrchid Dec 19 '14 at 20:54
  • @percusse Can you be a bit more specific about which packages you feel contradict my list? – MathematicalOrchid Dec 19 '14 at 20:55
  • 2
    CSS is a markup language, just like LaTeX You are using styles someone else designed. If that isn't enough, define own styles. In my POV, there is not really a difference. – Johannes_B Dec 19 '14 at 21:01
  • @Johannes_B If I want to change the font of an HTML page, I just write 1 line of CSS to say what font I want. If I want to change the font of my TeX document, I have to take the entire LaTeX page rendering engine apart and monkey-patch the code to change its behavior... – MathematicalOrchid Dec 19 '14 at 21:02
  • 4
    There is package graphics to support graphics, package graphicx to support a better interface for users. Package color and xcolor for support of colors (with a nice interface). Package hyperref takes care of, well, hyperlinks. I think this is what @percusse meant. – Johannes_B Dec 19 '14 at 21:02
  • 2
    I repeat: TeX does not understand colour. There are packages that make TeX spit out specials that the driver on the other side understands (you hope!) to kludge around the problem, but this is not the same as "TeX understanding colour". For example: my paragraph is green, and then a page break... oh, the rest of the paragraph is black again. Oops! Because TeX doesn't know what you did to the last page; only the package knows that. Like I said, you can do it, but it's not very reliable. – MathematicalOrchid Dec 19 '14 at 21:04
  • 2
    You talked about helvetica, right? \usepackage{helvet}. One line, nothing more. You just need to know how to do it, in that is the same with CSS. Your granny couldn't style web pages unless she reads a bit about it. Same goes for running nuclear power plants. – Johannes_B Dec 19 '14 at 21:04
  • 1
  • 7
    @MathematicalOrchid That thing about color is not true. There is simply ample amount of packages which fixes that. Better not hit on that nail if you mean LaTeX. You can have as many pages as you want. xcolor for example is a top notch package. – percusse Dec 20 '14 at 00:11
  • Of course TeX doesn't do spell checking. What would be the point? You'd have to compile before you saw the error. Spell checking is a job for your editor and there is no problem having it ignore macros. As a bonus, I'm not aware of any grammar checker for TeX - so you can have your cake and eat it. Many of the claims about LaTeX's disadvantages are manifestly false. Also, maybe my grandmother could use Word (if MS markets it to the dead), but *I* cannot. Every time I try to use it, I end up in the IT guy's office. Why? Lack of familiarity. I'm better with HTML, even CSS. Only relatively. – cfr Dec 20 '14 at 04:25
  • 1
    "Heaven forbid you want to reorder the columns of a table!" --- Both emacs and winedt (and maybe other editors as well) can cut and paste arbitrary rectangular regions, so this is not an issue. – Ian Thompson Dec 20 '14 at 07:48
  • 1
    @Johannes_B -- you hit the nail on the head when you said this may be a confusion between tex and latex. the original question is about latex, not tex, so i think much of this answer, while true (tex itself definitely does not understand color), is irrelevant. (regarding word, once a year i have been given a questionnaire to update. looks like simple formatting. unfortunately, every time i try to add an item, word changes what's already there. last time i had to do this, it took me 5 hours to get it right. i could have redone the thing in plain tex in less than half an hour.) – barbara beeton Dec 20 '14 at 13:25
  • 2
    *nix spell checkers like ispell are perfectly capable of spell-checking LaTeX input. Granted, it's a post-processing step, but IMHO it should be: I find active spell-check-as-you-type annoying, and turn it off wherever possible. As for Word being able to cut&paste Excel documents, that's only relevant if you use Excel. With LaTeX, it's trivial to write code to format data (perhaps generated by some other program) as tables. I don't think it's so easy with Word &c. – jamesqf Dec 20 '14 at 19:45
  • This answer is confusing too many things: e.g., TeX, LaTeX, (*TeX-aware) editors, TeX-to-PostScript (not direct to PDF) on the one hand, and the Microsoft Word program on the other. It is inconsistent to complain that TeX doesn't understand something like colour, but then complain about conflicting LaTeX packages. It would be better to specify at what "level" each disadvantage operates for people who are more unfamiliar with the TeX multiverse. – jon Dec 23 '14 at 18:07
  • Kile has a spell-checker and doesn't complain about "usepackage" at all. – jinawee Dec 24 '14 at 12:48
  • 2
    @MathematicalOrchid good unbiased points. Had your salient comparison between LaTeX and Word, were posted in a site geared towards the latter, perhaps more unbiased votes, would have acknowledged your answer. I still think both are incomparable. It would be the case, I think, as long as it is, between publishing software, commercial and open source, but not in so much as between a word processor and LaTeX. Nevertheless, a good question by the op, which brought along a number of answers, but you know what the say about opinions... – doed Dec 25 '14 at 03:50
  • @doed while there are unbiased points, there are points which state false facts (e.g. spellchecking, which every decent editor is capable of, or changing defaults, which is the reason there are a bazillion packages) and points which seem to mix up stuff (see other comments). Facts are not subject to opinions, you could build different opinions based on the same facts, but that doesn't make the facts change. – Skillmon Jul 23 '18 at 17:21
28

...all the 9 answer before me +

We can program with/in TeX

  1. Comand line: It is easy to include in programs, scripts, makefiles

  2. (Any → Tex): tex is textual: we can write tools (DSL in Perl, Python, Ruby, yacc, etc) that generates LaTeX or parts of LaTeX.

  3. (Tex → Any): tex is textual: we can write tools that convert to other type of documents (TeX4ht, pandoc, etc)

  4. (include (Any → Pdf | Tex)): You can write TeX-styles that use external commands to process in LaTeX commands (eg abc, gnuplot, graphviz, ...)

  5. It is a very powerful tool for PDF transformation (pdfpages, graphicx, etc): a good way to reorder pages, transform, cut, build proceedings from individual articles

and it has a good sty for chess typesetting :)

and it has a transcendental version number :)

A comment some comments in this "question" are too good to be just comments and should be reformated as answers!!

Edit 1

About 3: can *TeX be exported to docx? ;)

yes: pandoc x.tex -o x.docx

The bad news: it works for hello-word LaTeX. But I would not try "the LaTeX companion" :)

JJoao
  • 683
21

Tl;dr: A few new features have brought latex closer to word, but word retains a few advantages. Latex still has unmatched killer major features, but none of them is really new.

fix some (major) disadvantages LaTeX might have had in comparison to Word some years ago?

Answers should start with these disadvantages, maybe. Here are a few I can think of (or got proposed by Word users to me):

  • Support for system fonts The user doesn't want to know if his font is opentype, or truetype, or type3, he just knows he installed it on his system and expects to be able to use it. This works out of the box in every word version I ever used. This does not work with latex.

    This is no longer a shortcoming of *tex: xetex and lualatex have the package fontspec to fill that gap.

  • Learning curve Online documentation (including this site) has improved a lot, but we still are not at the point where a newbie can fire-up his editor and come with a basic document without effort.

  • Click and point for complicated layout Can be seen as either a pro or a con... Yet, layout tends to break with minor edits in word, but the same is true in LaTeX: a cautious user, taking care of the content before polishing the layout will have no problem in either system.

    As an extreme example (and out of word), making a presentation with beamer and tikz is funny and all, but it is much more time consuming than patching three blocks in powerpoint.

    In the same way, typesetting a table in word is much easier than it is with LaTeX. Sure, maybe you won't get the nice features you want (and with recent versions of office, you actually probably will get them), but is the occasional detail worth the constant overhead?

  • Support for in-document annotation In LaTeX, if someone wants to annotate your document, he either needs to do it on the pdf (and you will have to alternate between the pdf and the source) or on the source (but then he needs to know latex). In word, this problem doesn't exist (provided the reviewer has word). Essentially, this boils down to the "learning curve" problem.

or introduce new (killer-) features where Word can't keep up?

Same here, what would be the killer features of LaTeX?

  • Text-readable files Not new, but true. Note that it is only true for your documents, not those you find on the internet: usually, you have only access to the pdf file, and this one is as binary as docx.

  • Edittable binary files can get corrupted The problem stands for pdf as well (at least theoretically... I have never heard of a pdf file getting corrupt. Maybe that's because edittable facilities of pdf are much more restricted). So again a win for *tex.

  • Availability of the software Word now has an stripped down online version, which is both free (as in beer) and cross-platform. But you need internet access. Incidentally, I find that projects like writelatex, making users forget about words like "compilation", offer some form of convergence between word and latex on the internet battlefield.

  • Never spend hours trying to get the pagebreaks correct Sure. But have you really never spent hours trying to debug some document that simply won't compile? Or removed your packages, one by one, because some online platform uses its own compiler and doesn't have an up-to-date texlive? So that's a draw here, imo.

  • Semantic formatting, bibliography, references, math typesetting I'm told word has made a lot of progress here, but that's not personal experience.

T. Verron
  • 13,552
  • If you haven't ever seen a corrupted PDF, then you haven't seen much :) http://chat.stackexchange.com/transcript/41?m=18977588#18977588 – yo' Dec 20 '14 at 00:34
  • Hm, I didn't mean an unopenable pdf, that can happen for a variety of reasons. But a pdf file that one day works well, and then, after a harmless change (on a pdf, this is rather restricted, but it can be an annotation, for example), gets corrupted, that I have never seen. And yes I haven't seen much. – T. Verron Dec 20 '14 at 06:03
  • Well, I'm not sure if you'd succeed in annotating a corrupted PDF. But still, they exist, so I suppose it's possible that it's corrupted in such a way that a program is willing to add the annotation, but it makes the corruption as bad as in my country's government and the file can't be opened anymore. – yo' Dec 20 '14 at 08:02
  • Usually, corrupted means that it can't be opened, yes. But have you ever seen a (truly) valid pdf file be opened, annotated and saved, and become corrupted (=unopenable) in the process? – T. Verron Dec 20 '14 at 08:06
  • 1
    to me, "corrupted" doesn't mean just "can't be opened". if the content of the file becomes unreadable -- which can happen if fonts aren't embedded, and i've seen that lots of times! -- it's pretty useless anyhow, even if someone can add annotations. – barbara beeton Dec 20 '14 at 13:13
  • @barbarabeeton Good point indeed. – T. Verron Dec 20 '14 at 20:33
  • None of these is a post-2000 improvement. – Federico Poloni Dec 24 '14 at 10:06
  • @FedericoPoloni None of the killer features, no. But in terms of catching up with word, both the support for otf fonts and the massive influx of resources making *tex easier to learn are post-2000, aren't they? – T. Verron Dec 24 '14 at 10:56
  • @T.Verron I agree to that. – Federico Poloni Dec 24 '14 at 12:59
13

This is not really a LaTeX/TeX improvement, but probably existed because TeX existed: the literate programming term coined by Donald Knuth.

Although the concept is not so new (the Literate Programming book was published in 1992), this allowed in the last years an unprecedented relation between stored data, analysis, programming and manuscripts, IMHO mainly because of the collaboration of R and LaTeX, first due to the Sweave function of R and lately with knitr.

In words of Friedrich Leisch, author of Sweave;

The purpose of Sweave is to create dynamic reports, which can be updated automatically if data or analysis change. Instead of inserting a prefabricated graph or table into the report, the master document contains the R code necessary to obtain it. When run through R, all data analysis output (tables, graphs, . . . ) is created on the fly and inserted into a final LaTeX document. The report can be automatically updated if data or analysis change, which allows for truly reproducible research .

Now reproducible research is a emerging totem in sciences, probably because the basic paradigm of "write the report around the computation analysis" makes this science requirement really available in practice.

For Word, the alternative usually is still "digest" the result of a hard job with the statistical program, handwrite in Word some untraceable means and p-values, copy & paste some graphs, or even remake manually the graph in Excel to receive a comfortable feeling ("Why this "odd" boxplot? A bar graph will look better, sure ...") And when data changes, the best to do is send the manuscript to the trash and start again.

Really, the literate programming concept has surpassed the limits of the TeX universe. One can also make dynamic reports in Word in many ways, since because of the increasing popularity of R, you can obtain statistical reports with other formats such as markdown, HTML, ODT or RTF that can exported or used by Word directly, as shown in the Task of Reproducible Research in CRAN. But this is not the usual way to do things by the average Word user (In my limited experience).

Moreover, on one hand, the other formats could be useful for other purposes (such as showing results in a Web page or not having to learn LaTeX) but not to produce high quality ready-to-publish dynamic articles. In this sense, there are not alternatives as far I know. On the other hand, literate programming with LaTeX is not limited to Sweave and R. With the noweb tools you can integrate any programming language in LaTeX. I do not have experience except with R, so edits at this respect (or any other) are welcomed.

Fran
  • 80,769
11

Long-term interoperability is the first in honor for (La)TeX.

Word cannot boast in this, for example, W'07 docs show no warranty to be open totally properly by W'10.

alex
  • 119
  • 4
    I sometimes find latex file which use packages I don't have, or are require different versions to the one I have installed, and I century opened a Word 2 (written on windows 3.1!) Document fine in the latest version of word. – Chris Jefferson Dec 22 '14 at 23:57
  • Long-term interoperability hasn't improved since 2000 has it? – bubba Dec 28 '14 at 12:46
  • 2
    @bubba Well, there is new evidence for the longer-termness of it! – cfr Dec 29 '14 at 02:02
  • @ChrisJefferson My Word 2.0 documents written in a Norwegian version of Word 2.0 does not open perfectly in either version of Word after 2.0. For example, all date fields are broken. – Sveinung Aug 02 '15 at 21:33
10

In addition to the earlier answers:

  • Programmability. You can use VBA to change a Word document (e.g. to change its layout), but it's a pain in the ass. There are so many inconsistencies, limitations, commands that should work but don't etc. Writing code for Word is an exercise in frustration.
  • Consistency. It's difficult to enforce a consistent layout in a Word document. You can define styles and templates, but users are free to deviate from the defined styles. Autonumbering is a convoluted mess and prone to failure. Advanced layout requires the use of macros (see above).
  • Typesetting quality. Word limits what you can do with styles. Keeping paragraphs with the next paragraph is possible, but only barely. It's a crude mechanism compared to what's possible in other tools. Exact positioning isn't possible.
Hobbes
  • 217
  • 4
    *TeX users are also free to "deviate from the defined rules" and achieve arbitrarily ugly text. One of the best examples being the style sheets some journal designed to match their word format. – T. Verron Dec 19 '14 at 11:39
  • AIU, the template designer can deviate from the rules, but the users can only choose from the styles created by the template designer. – Hobbes Dec 19 '14 at 11:51
  • 1
    Both with word and with latex, users can do whatever they want: {\color{red}\huge\textbf{1. THE SECTION TITLE}} – T. Verron Dec 19 '14 at 12:59
  • 1
    @Hobbes -- users can and do deviate. i was once asked by the editor of an ams journal (he also happened to be the ams president at the time) why some articles were so ugly. when i vetted the input, every deviation from "expected" was a "correction" because the author thought he knew better. (the deviations were all in the math and they were really ugly!) one writes and distributes the best, clearest guidelines one can, but many authors are pleased to say that they never read instructions. – barbara beeton Dec 19 '14 at 13:10
  • OK, was unaware of that. So for consistency you need FrameMaker, where you can nuke any format changes by applying a new template. Or a CMS like Author-it. – Hobbes Dec 19 '14 at 15:17
  • 3
    -1: none of these is a post-2000 improvement. – Federico Poloni Dec 24 '14 at 10:07
  • Consistency: Modern versions of word have functions like disallowing formatting changes (allowing only a configurable set of format templates). Sadly it seems likely that this will do more harm than good when used for journal templates, since it massively chances the workflow. TeX meanwhile makes "sticking to the template" the default behaviour. – kdb Oct 19 '15 at 09:47
10

I'm not sure that all of these occurred after 2000, but here are a few improvements that are fairly recent (which is what the OP asked about).

(1) Easy authoring tools like TeXworks and TeXShop. Type some stuff, click on the "Typeset" command, and you get a PDF file. No messing around with DVI or with command-line jibberish.

(2) The font mess seems to have been fixed. Things like fontspec and unicodemath are vast improvements, in my opinion.

(3) The memoir package has finally allowed me to create documents that match my tastes, rather than matching the tastes of Donald Knuth or Leslie Lamport.

(4) OpenType math fonts. This is not a TeX improvement (in fact, it owes more to Microsoft than to the TeX community), but it has the potential to significantly improve math typesetting, and reduce the amount of manual fiddling required to get things to look the way you want.

(5) A single source of authoritative help -- this site. It used to be the case that there were umpteen different places where you might (or might not) get your TeX questions answered. This site now seems to be the dominant one, and I've almost always been able to get the help I needed.

Though the OP didn't ask, I think that (as always) there are still things that need to be improved. A few examples are:

(1) Package management. The answer to every question seems to be "there's a package ...", but these packages seem to conflict in mysterious ways.

(2) Real-time typesetting. Personally, I don't like the two-step type-then-compile workflow. I want to see what the document will look like as I'm typing it. The idea that TeX will take care of all appearance issues for me is naive.

(3) Tables. Still much easier in Word.

(4) The religious fervour of the community. Many TeX/LaTeX users seem to think that all other solutions (especially commercial ones) are universally inferior and inherently evil. This attitude makes it difficult to have intelligent discussions, sometimes.

bubba
  • 2,462
  • regarding memoir, the first edition of the manual was released 3 june 2001, so yes, post-2000. re package management, almost everything has been done by volunteers; only a few projects (except for ctan and tex live) are funded or produced by formal organizations, and their focus is not primarily tex. yes, coordination could be better, but there isn't enough time or interest among the volunteers for such a massive undertaking without some sort of support. – barbara beeton Dec 28 '14 at 13:35
  • 4
    regarding real-time typesetting, are you willing to have your ability to type input slowed down when your project exceeds some (large) number of pages? computers are faster than they used to be, but there is still a penalty for imaging every character as it is entered, especially when reflowing paragraphs and pages is involved. no, tex will not take care of all appearance issues, but a final, careful reading -- on paper -- is still the best way to decide how the product needs to be refined. – barbara beeton Dec 28 '14 at 13:41
  • @barbarabeeton: regarding package management -- the cost of the project doesn't reduce its value, it only reduces the ROI. I'd be willing to pay, but I suspect many people would not. It's ironic that one of TeX's most highly praised attributes (it's free) places a strong constraint on its development. – bubba Dec 29 '14 at 00:38
  • 1
    @barbarabeeton: I don't accept that real-time typesetting as I type would lead to unbearable slowness. The whole document does not need to be typeset, only the part I'm looking at. I agree that final reading on paper is a good way to do a final check, but people who are much younger than you or me might disagree -- lots of people never print anything, these days. – bubba Dec 29 '14 at 00:44
  • @bubba: Regarding real-time typesetting: It would distract me a lot if something would compile constantly in the background - I want to compile when I'm ready to check my code. But if you really need it try bakoma tex (it is not free, and imho it doesn't use one of the new engines xetex/luatex.) – Ulrike Fischer Dec 29 '14 at 10:20
  • @Ulrike -- I did try Bakoma TeX. It's buggy, and I gave up. Getting this right might well take a significant investment, which no-one would be willing to make, since there's little hope of making any money. If it were implemented, presumably it could be optional, so you could turn it off, I could turn it on, and we'd both be happy. – bubba Dec 29 '14 at 11:51
  • @bubba I only tried Bakoma TeX once a bit for a customer. It seemed to work quite ok. Imho the main problem with such real time typesetting is not the speed - one always can restrict this to some selection - but incomplete code snippets like \section{A where the typesetter would have to capture the errors. Imho previews that you trigger manually like in texstudio are better. – Ulrike Fischer Dec 29 '14 at 13:59
  • @UlrikeFischer -- Yes, compiling code that has errors (because it's not yet complete) is much harder than compiling complete correct programs. But it's not impossible. Presumably the current TeX engine would need to be significantly rewritten, though, and I don't see any way to get this work funded. – bubba Dec 30 '14 at 00:59
10

I will try to give a clear answer as many answers here point out interesting things but I don't find them clear enough or not answering the actual question.

What are major improvements of LaTeX or associated tools which fix some disadvantages LaTeX might have had in comparison to Word some years ago?

  • Speed: Compilation got much faster thanks to faster CPUs, larger RAM and SSDs. Therefore compiling a document takes fraction of what it used to take. From this other improvements follow:

    • Better editors: Editors like TeXstudio (2009), Texmaker (2003) enable you to write LaTeX in the left pane and show the compiled pdf in the right pane. So you get instant feedback and thanks to synctex (2008) the position in the pdf and the source are synchronised! So the feedback you get in LaTeX is kind of comparable to Word. Editor with source on the left and pdf on the right
    • Online LaTeX editors: Servers (and the Internet) got faster and one can do much more in a browser nowadays. Therefore it is possible to create, share and collaboratively edit LaTeX online (see ShareLaTeX (2013) for instance). This is where LaTeX is on the line with Google Docs or Microsoft Office Online, but still maintains its power. Great tool if a couple of people from various scientific institutes need to write a paper together.
    • Other tools: Some tools such as PDFjam (2002) that use LaTeX internally emerged due to speed improvements.
  • Tools: As mentioned already above, the tools for LaTeX manipulation got much better:

    • They provide feedback on the look of your document.
    • Debugging information is much more helpful, usually you are pointed to the line with error.
    • WYSIWIG wizards for common case scenarios have been created (e.g. table wizard in TeXstuio).
    • Menus/buttons for common tasks such as font size, font style, common environments... Even standard shortcuts work like Ctrl+B, Ctrl+I.
    • Character and symbol catalogs are built-in the tools so you don't have to remember (or search for) codes of symbols you don't use often.
    • New tools emerged, such as Freescobaldi (2009) - LaTeX music editor, LyX (1995) - WYSIWYM LaTeX editor, Wikipedia uses LaTeX to render equations, there is even a Facebook chat plugin which enables LaTeX equations in the chat.
  • User friendliness:

    • Manuals and documentation got much better. No more man or info commands, but nice, clear pdfs with documentation, online tutorials or TeX@StackExchange.
    • Installing LaTeX is quite easy with TeXLive (1996) or MiKTeX (??). Also, MikTeX has automatic package management, so new LaTeX packages will be installed automatically when needed.
    • LaTeX has also became a standard in the scientific community, so it is now taught on most of the universities and hence general knowledge of LaTeX is growing.
  • TeX/LaTeX improvements

    • Tons of new packages, literally for everything. Although drawing easy diagrams or changing fonts is a piece of cake in Word, packages lower Word's dominance in these areas slightly.
    • Export to LaTeX is more and more supported by other programs such as Inkscape (2003) or GeoGebra (2001) which offer export to TikZ. So you get the comfort of WYSIWIG and then export it to LaTeX where you have 100% control.
    • New compilers such as XeTeX (2004) of LuaTeX (2007) provide support UTF-8 characters, custom font support, etc. XeTeX can use any fonts installed in the OS, which makes it even with Word. Honestly, this is a very important and vital improvement for a lot of users.

What are major improvements of LaTeX or associated tools which introduce new (killer-) features where Word can't keep up?

I think LaTeX has its fundamental features from the start (i.e. plain-text format, flexibility, correct typography, strict separation of input and output, price, etc.) and nowadays it is mostly trying to improve on the features it lacks compared to Word or other tools. LaTeX and Word will happily coexist, as each of them is a tool designed for a different thing. LaTeX might get some nice editor that will be comparable to Word and that will help it spread. LaTeX might get support for faster (parallel?) compilation. LaTeX might even transform into something totally with simpler and more modern syntax. We will see.

Augustin
  • 5,695
10

From a point of view of a user who uses Latex only as a tool while being mostly ignorant of the underlying processes I've noticed two significant changes:

The time to resolve a problem has significantly reduced from 10 years ago when I started. The main reason is that there is much more to the point information on the net. Furthermore, what nearly disappeared where the 'read the manual' replies to people who had the same question as I. (In such cases I usually either read the manual and didn't get forward or the manual has about 100 pages.) Today, I often find those simple questions answered concisely. In short, the attitude and level of support of the community has changed considerably to the better.

I have the impression that the tools I use for my documents work together much better. The workflow is immensely smoother. gnuplot (cairolatex), asymptote, pdflatex (KOMA/revtex, hyperref, utf8, fontenc), biblatex (biber) just work without having to care or tinker at all. This also includes the publishers side, where automatic scripts seem to do a great job getting the work into the intended form.

Both aspects increased perceived productivity considerably and reduced frustration.

gschenk
  • 263
7

I'm not sure today's zipped XML in Word is a step up - because only Word reads it reliably.

A colleague wrote her thesis in Word - now, given the colleague has no intention of paying for Word, Libre Office is a natural alternative. However the formatting is utterly and completely broken... Now you may blame this on Libre Office not reading the docx specification, however their point is that the specification exists mainly as an excuse as it is needlessly complex covering thousands of pages. Interestingly, saving said Word document from Word in odt, the open document format causes the same issues - breaking the entire formatting.... (Odt would however be read in flawlessly in Libre Office.)

Incidentally, formatting can also be problematic across much simpler documents once they contain a bit more than plain text... (I also cannot be bothered to pay for Word and use LaTeX exclusively, which means any forms in Word from my university end up being mangled on my laptop in Libre Office...)

LaTeX does not have such issues, except that some packages may be removed which may mean that every few years more "exotic" input may be unsupported. However, as others have pointed out correctly, the shelf life of LaTeX documents is very long as the basics have remained virtually unchanged for many years now. (While Word has gone through multiple iterations.)

DetlevCM
  • 453
7

There is one advantage left which has not been mentioned (or at least I have not read). As *tex files are just text files (which leads to a lot of advantages, see the other answers), you can use your favourite editor.

That may not be important for all users, but if I have to type a lot of text, I will love to that in Vim rather than in Word: (After "some" learning and configuration) this approach is a lot faster and way more convenient.

On the other hand, if you do not like Vim, you can use your favourite editor as well. That is the advantage here. We could even work on the same document while both using our favourite editor.

Edit: As mentioned in the comments, I did not really answer the question. This not not about "Word vs. LaTeX", but about the improvement of LaTeX since 2000. (After reading all these answers, I might have forgotten the actual question. Sorry for that.) However, my point is still valid: You get all the improvements of your favourite editor.

Vim 7.3 was released 2010; in 2000 only 5.7 was available. I do not even use Vim long enough to know a lot of improvements made in 14 years, but I guess I would miss many of them, if I had to switch to 5.7 right now. Of course not only Vim itself improved, there are also more and better addons/plugins available. For example: LaTeX-Suite (which I do not use, but that is not important here) exists since 2002.

Keba
  • 581
7

The question was about recent improvements to LaTeX (since the year 2000), but most of the answers are just comparisons of LaTeX capabilities with MS Word, regardless of when those capabilities were implemented. Since several such answers are highly up-voted, this seems to be what people want, so I'll add my own two cents worth here.

It seems to me that the pro/con arguments on this topic are often based on dubious reasoning. Some people just hate anything from Microsoft, or they think that all software should be free, so they have reasons to prefer LaTeX regardless of its capabilities. Other advice is based on folk-lore that seems to get repeated over and over again, even though it's false (in my opinion). The folk-lore includes things like:

(1) Word can only represent the appearance of a document, whereas LaTeX represents its logical structure. This is false. You can represent document structure using Word "styles", too. LaTeX forces you to think about structure; Word allows this, and even encourages it, but does not demand it.

(2) LaTeX gives you "separation of format and content" -- you can just type text, and you don't have to worry about formatting and appearance. This is not really true. LaTeX does a lot of formatting automatically, but it can't do everything. Even the books by Donald Knuth are full of little "tweaks" that he used to improve appearance.

(3) MS Word math looks horrible. This is somewhat a matter of taste and convention, so people will have to decide for themselves whether Word math looks nice. Word's math layout algorithms are derived from the TeX ones, and Word can even do some fine adjustments that TeX can't because it makes more use of the capabilities of OpenType math fonts. Anyway, this is a matter of taste/choice.

(4) MS Word math is slow because it requires too many mouse clicks. In fact, recent MS Word equation editors (MathType, or the built-in one) all allow you to type Tex-ish codes if you want to (and can remember them). Simple in-line math might be a bit faster in LaTeX, but not much. For complex formulae, I find LaTeX slower because, when I make mistakes, the only output I get is a list of mysterious error messages that take time to decipher. So, even when I'm writing a LaTeX document, I often use a graphical equation editor (MathType) that outputs LaTex code. If I have to go look up the LaTeX code for a symbol, then LaTeX is obviously a lot slower. Even if I know the code, clicking on an arrow icon is faster than typing \leftrightarrow (for me, anyway).

While the four claims listed above are dubious (in my view), LaTeX does have some real advantages. And, in a community like this, there's no shortage of people to point them out, so there's no need for me to repeat them. My purpose is to provide a bit of balance.

It's interesting to ask the Word-vs-LaTeX question in different places. The answers you get are quite different -- every community has its own bias and prejudices, obviously. In fact, in some places, the most common answer is "what's LaTeX?".

Disclaimer: I consider myself to be an expert user of MS Word. I've been using it since 1987, and I've written thousands of pages of stuff, including documents that are several hundred pages long, containing lots of mathematics. With LaTeX, I'm at the beginner/intermediate level. I have been writing a book using LateX for the last 5 years, on and off, but I still don't feel competent. I have switched to MS Word, a couple of times, and switched back again, for reasons that barely make sense to me today. So, for me, at least, the right choice is far from obvious.

bubba
  • 2,462
  • 3
    I think this is a nice list though I would argue for (1) I wish the styles were really an alternative but they are broken (and confirmed by those MS experts on those forums) and (2) TeX is using an optimization algorithm for a very tough (NP-hard) problem and Word is not even trying (that's why TeX compiles, Word shows) and those tweaks you mention are typographical nudges when there is no good solution by the algorithm. However, it depends on the use case. If one is happy with the end product of Word I don't think anyone has the right to argue that TeX is better to a Word user. – percusse Dec 29 '14 at 02:09
  • 1
    But I can't agree with number 3. That's not correct in both typesetting part and also the font property part. The problem of math in Word is that it doesn't understand the context. It most of the time assumes and often does wrongly. – percusse Dec 29 '14 at 02:12
  • @percusse -- On the typesetting topic: a few details here: http://blogs.msdn.com/b/murrays/archive/2006/09/13/752206.aspx. I don't know what you mean by "doesn't understand the context". If the material is in a Math Zone, then it's math ?? – bubba Dec 29 '14 at 02:29
  • 1
    I'm semi-aware of those improvements but they don't show up in the end product at all or only optimized for simple cases. Even Leslie Lamport is working for MS so I'm not implying that they are not improving. Quite the other way around but there is no way that there is a competition yet. And for reemphasizing if you don't feel uncomfortable with the end product, nobody should force you out of MS Word. So it is a matter of satisfaction with the exception probably the math part. By context I mean the order and the grouping of symbols change behavior very much like ligatures in normal text. – percusse Dec 29 '14 at 02:55
  • 1
    regarding number 3, unless it has changed recently, the algorithm in word for formatting text is not based on the tex algorithm. with respect to math, it definitely is, and microsoft is responsible for designing and implementing the opentype math table, in which they even corrected an oversimplification that knuth made. so potentially, the math layout (with proper fonts) could be better with word. but it's not faster once you have mastered the names of the symbol commands. mouse clicks are demonstrably slower. – barbara beeton Dec 29 '14 at 14:15
  • @barbarabeeton I wonder then why I can't see the proper end product regarding the ordinals and relational corrections. It just seems even worse with the dedicated math fonts. – percusse Dec 29 '14 at 17:36
  • @percusse -- not being a regular user of word, including the math implementation, i'm having some trouble picturing what you're describing. is there an image somewhere i can look at so i can understand this? (i'm peripherally involved with the current upgrading of the stix fonts, so if there's something that should be looked at in this regard, concrete information would be useful.) – barbara beeton Dec 29 '14 at 17:54
  • @barbarabeeton. I was talking about math layout in my #3. I added clarification. Agree that typing is faster than mousing if you know exactly what to type and you don't make any mistakes. But this isn't a LaTeX advantage, because the Office 2007 equation editor and MathType both allow mouse-less operation, too. – bubba Dec 29 '14 at 23:36
  • @percusse: Word's ability to do improved math layout is obviously dependent on the math tables in OpenType fonts. Cambrian has these tables; Latin Modern Math doesn't; not sure about XITS. – bubba Dec 29 '14 at 23:40
  • @bubba Can you point to a link with one of your documents for comparison? Preferably largish one. – yannisl Dec 30 '14 at 00:27
  • @barbarabeeton Simplest example. http://i.stack.imgur.com/EUzT2.png I don't have the examples because they are at my work computer but this is something I can replicate in 2 minutes. That really doesn't look like this is a superior rendering. And I have to say, there is no way this thing can be faster than typing in TeX. In the TeX one I have a typo with one zero too many because of a missing &. – percusse Dec 30 '14 at 01:52
  • @bubba I really think you are oversimplifying font issues. I have been reading these stuff for about two years now and I'm yet to see a properly designed equation in Word that beats TeX output with the same font. Do you have any examples? – percusse Dec 30 '14 at 01:57
  • @percusse -- nice example, except it looks like you forgot a & in the tex version. the brackets in the word version don't extend down as far as they should, or maybe they're just not centered vertically. there's an equation with somewhat nicer looking braces in unicode tr#25 on p.40. (hmm, some errors; have to re-review.) murray sargent's report "unicode nearly plain-text encoding of mathematics" (hmm, need to reread this too) describes the word input model. both reports were prepared with word. – barbara beeton Dec 30 '14 at 16:03
5

Support for PDF and press-ready printing, including colour models other than RGB, vector graphics beyond the simplistic (E)WMF --- these options have been available in (La)TeX almost since its inception.

WillAdams
  • 7,187
  • 3
    Whose inception? TeX goes back to 1977, LaTeX to 1983, while the first specification of .pdf is 1993. – T. Verron Dec 19 '14 at 17:02
  • 1
    i believe that earlier computer-to-plate software used postscript, which existed before pdf. before that, tex-to-typesetter, at astonishingly high quality, worked almost from day 1, with no pasteup; from there, a camera was needed, and real negatives. – barbara beeton Dec 19 '14 at 20:26
5

The question specifically asks for improvements made after 2000, but framing things that way makes it hard to point out the basic benefit of LaTex, one that hasn't changed since it was created nor is MS Word ever likely to 'catch up': LaTex is for writing code, Word is for writing (mostly) inactive text.

Having read so many competent and technical answers, this seems to be a completely obvious statement to the point of being trivial, but the differences are quite profound. One recent example to illustrate that basic point. Using \automultiplechoice package (AFAIK created after 2000) I can pass on the series of commands to the computer that will copy question sets from specified files in my computer, combine randomly chosen questions from each file in specific ratios, shuffle the questions as well as answer choices, then compile any number of individualized exams with active answer fields that can be easily processed with the help of a scanner. I can do this because using LaTex means I am writing active code.

Using MS word I may be able to write that code too, and then ... nothing. MS Word was never meant to process and compile code and that fact is not likely to change. There is no MS Word specific computer language that will enable that kind of functionality. I would have to type out 75 permutations of my 6 page exam manually, and score it manually as well.

Niko Z.
  • 431
  • 2
    Well actually there is and many non-tech companies hire people for that. And that is, with the most disappointed voice, Visual Basic and macros. Not saying it is in par with LaTeX or anything but it is there. – percusse Mar 21 '15 at 16:33
  • @percuse Interesting. I am out of my depth here, as I don't use Microsoft products much, but I was under impression that Visual Basic was a separate piece of software to MS Word, and that it costs around $500 for a full version. Is there any specific relationship between MS Word and Visual Basic? I understand there is a free version as well, perhaps in relation to MS Word that could be considered in the same vein as various packages that extend LaTex functionality? – Niko Z. Mar 22 '15 at 14:13
  • Ah no. I think you are confusing VB with VBA because of my mistake. I meant VBA (Visual Basic for Applications). Many firms who do extremely repetitive tasks (forms, spreadsheets etc.) make document templates using an API within MS Office to VB and that framework is called VBA. For example imagine you have a document that you would like to export automatically to some other format then you can program a macro to fetch and arrange certain parts of the document etc. I'm quite happy to realize that I don't remember anything about it:) http://www.microsoft.com/en-us/download/details.aspx?id=40326 – percusse Mar 22 '15 at 18:27
  • I don't use Microsoft products much. Then it's odd that you make comments about their deficiencies. Your ideas about Word APIs, available languages, and costs are all incorrect.

    – bubba Mar 28 '15 at 06:14
  • Okay then, perhaps you'd care to educate? As for the extent of my experience, I have used Powerpoint presentations with Macromedia content and some macro-enabled Excel spreadsheets. It strikes me that it's only used for routine, repetitive tasks. If there is a way to use MS Word to compile more complex code, perhaps it would be useful to provide that information here, I am genuinely interested. By the way, I have not mentioned any perceived 'deficiencies' in my post, my point is that MS Word and LaTex have a different scope, hence the use of quotes around 'catch up'. – Niko Z. Mar 28 '15 at 11:52
4

The improvements to LaTeX since the year 2000 for me is the LaTeX editors are much more sophisticated today and I do believe that we have a wider choice of editors.

Also, thanks to the generous people who have created instructional videos and shared them on YouTube, and to websites like this one, the learning curve has diminished.

I agree with the post just above this one, yes it is the speed of the computers that has helped (probably that is what drove the improvement of the editors)

John Kerr
  • 131
3

The major improvements in LaTeX is that people have been writing plugins to do useful things. TeX and LaTeX are still viable for this reason, and will be for many years to come.

Word has no open API to allow developers to add functionality, and you can hit an insurmountable brick wall at some point or another.

On the other hand, I opened up LaTeX documents created under EMTEX for OS/2 + Semware for DOS + rexx scripts, and a series of DOS editors, into Windows TeXLive + WinEdt, and although the DVIs did not work after 15 years of technological improvements, the new ones compiled flawlessly.

Documents I created under MultiMate, or AmiPro, I had problems importing into Word, because Word lost all of the hierarchy, and MM was not a big player, it is hard to get stuff to run on the dusty deck.

So in effect, LaTeX got it right.

Here is somewhere it could be improved:

When you set up a distribution, you should be able to store the improvements in a single directory, and simply reload these. For example, my main box was overheating, and I started using the ThinkPad. You can easily set the distribution up, and because I make a special effort to keep the additional upgrade/extras in a directory, it was fairly easy to update it to full working order without having to grope and search for stuff.

Faheem Mitha
  • 7,778
  • Word has no open API -- Yes it does. And there are many add-on packages created by third parties. Not as many as there are LaTeX packages, though.

    – bubba Dec 28 '14 at 07:29
  • I don't understand the last paragraph. Why was special effort required? System-wide non-distribution stuff: TEXMFLOCAL. Personal non-distribution stuff: TEXMFHOME. That's part of the standard TDS hierarchy (at least as implemented in TeX Live). Maybe special effort is needed in MiKTeX? – cfr Dec 29 '14 at 02:01
  • If you try to set something up on a new laptop, you can rebuid from a base install, additional and updated stuff. I had to set up a working distribution from TeXLive 2003 + what i thought were updates. It missed some things, such as the updated english file for babel. I got most of it right, though. – wendy.krieger Dec 29 '14 at 04:29
3

Speed! Quite simply, (La)TeX has become much more useable with faster computers. From the 80286 I used in 1986 to my present Macbook Pro, this is likely where I have seen the most progress. I Imagine Word benefited as well, but for TeXing the improvement has been huge.

The next big jump I am waiting for is a rendering engine that will show changes in real time even for long and complex documents.

A.G.
  • 457
  • I doubt you'll see real time updates without a fundamental architectural change in latex unfortunately. – Neil G Dec 30 '14 at 01:09