LaTeX vs. Word vs. Writer

I’ve earlier performed a little test, comparing two files: one produced with MS Word, the other with OpenOffice.org Writer. The purpose then was to demonstrate that Word isn’t necessarily such a bad piece of software — it’s just not always used in a way which is likely to give nice results: most people don’t change the default settings of Times New Roman/Arial and ragged right margin, and they apply formatting manually for each new element, which is bound to lead to inconsistencies.

Now it’s time for the next round of tests, this time including another application in the comparison: the “typesetting environment” LaTeX. I will also go more in detail with the points of comparison, not just considering the crude parameters such as font size and page margins, but also taking into account the finer typographical details. In the former test, I had deliberately turned off hyphenation. That led to a discussion about various hyphenation algorithms, and this time, I have decided to turn on automatic hyphenation in all three programs, using the default settings.

The contestants

MS Word probably needs no presentation: the omnipresent causer of headaches over lost or corrupted files; the producer of hoardes of ~WRL2354.TMP files in some hidden system directory (look in C:\Documents and Settings\<User Name>\Application Data\MicrosoftOffice if you don’t believe me); and the single most influential spreader of bad typographical taste in a hundred years, since the previous low point in the late nineteenth century.

OpenOffice.org is the flagship of the open source movement: a free equivalent to Word, which boasts an almost perfect and seamless conversion filter, so that you can edit almost any word file interchangeably in Word and Writer without ever noticing. Oh yes, and it’s free, both as in beer — you don’t pay for it — and as in speech — the source code is open, the file format is open, so you don’t need a particular program to view its files (there are at least three word processors which natively use the same file format, and countless others which can read it).

Both of the “W” programs are so called Word Processors. Some hold that the use of the same word in “Word Processor” and “Food Processor” is no coincidence, and anyone who has been met by a screenful of random characters from a ruined Word file will be likely to agree. They are both parts of huge pieces of software, “Office Suites”, with several integrated applications in addition to the word processor: a spreadsheet program, a presentation program, a drawing program, a database application, etc. The principle is WYSIWYG — “what you see is what you get”. You type a “b”, select bold/italic, and that’s what you see on the screen and on the paper you eventually print out.

LaTeX is a different beast: it is a “typesetting environment” rather than a word processor. First of all, there is no icon on you desktop saying “LaTeX” which you can click on to bring up the LaTeX program. There is no one particular “LaTeX editor” — any editor which can open and save plain text files without messing them up by adding Microsoft’s secret codes at the end, can be used. Already this is a concept which is foreign to most people who have gotten used to the modern point-and-click way of doing things. (True story: most of the people I have sent LaTeX files to, have complained that they could not open them. Here’s lesson #1 today: just because Windows doesn’t automatically know which program to use, doesn’t mean that there is no program to use).

Edit: Judging from the many comments I’ve received about this parenthesis — most of them along the  lines of “What kind of an idiot sends LaTeX files to ordinary people?!?” — I think a clarification is in place. I’m referring to a handful of occasions when I’ve needed an author to check some little detail, or a proof-reader to go through a text. I’ve sent them the files — accompanied with PDF files — along with instructions to disregard all the \command{this} and \environment{that} rubble. I don’t expect them to install some tex variant and process the file, just to be able to open it, since it’s simply a plain text file. These are people who think that word files live in Word and that it must be the same way for all other kinds of files too.

In fact, LaTeX is much closer to being a “Text Processor” than the other two, it just does the processing much better: You feed it some raw materials, and out comes, not scrambled eggs, but a whole pie complete with chicken and cheese, pefectly seasoned and baked precisely long enough to give it a nice crispy surface without getting burned.

It fills the outer limits of the area where word processors occupy the middle ground. The “raw material” in this case is text which looks like this:

\noindent\lettrine{I}{t is easy} to be seduced by Dylan's lyrics:
\textit{they} were essential when he was nominated for `Voice of a
Generation', and \textit{they} stuck in the fans' throats when he converted

It may look cumbersome, and it is, but the reward comes when you process it and print it out. It then becomes clear why it’s called a typesetting environment: LaTeX is in fact a tiny little typographer, trained by Gutenberg (he’s very old now) and still upholding the craft with pride. A Word document may look nice on the screen, but no publisher with any self-respect would ever publish a book directly from a word file.

The document

Layout in Word, Writer, and LaTeX (pdf file)

For the test, I have used two pages from an upcoming chapter from Things Twice — the book. I have tried to the best of my ability to use exactly the same layout in all three programs. In theory, this is just a matter of writing down settings in one place and applying them in the other, but in practice, it is slightly more involved. In Word, the header and footer are not considered to be part of the page area: if you want the header to start 3 cm down on the page, you will have to indicate a 4 cm upper margin and a 1 cm header, which is a strange way of dealing with the page layout parameters, and one which can cause quite a lot of frustration and trial and error. But those problems aside, I have used a page area of 12x18cm, a font size of 11.5/13.2pt (i.e. 1.7pt leading), a three-line drop cap for the first paragraph, and a slightly stylish, book-type of chapter heading. The font is Adobe’s Garamond, the most beautiful font in the world.

The pdf file contains the following four versions:

  1. MS Word
  2. OOo Writer, produced under Windows.
  3. OOo Writer, produced under Linux.
  4. LaTeX, produced with tetex, under Linux.

So how do our contestants fare?

At first sight, all the versions seem pretty equal, which should not be surprising, since all the brute settings are the same. The page number on the front page is a little lower in the Word Processors, but that’s because of an oversight on my part, not because of intervention from the programs.

But let’s look a little closer.

Small caps

The first major difference appears in the subtitle. It is set in small caps. Small caps are a separate set of characters where the lower-case letters have the same shape as the upper-case, but the same size as ordinary lower-case letters. Most fonts don’t contain any small caps. If they exist for the font in question, they are usually supplied in a separate font file, but neither Word nor Writer can handle them directly. Instead, they take the capital letters and scale them down. This may seem like a good idea: why double the work? but there are some problems, which the W/W versions show.

There is no fixed proportion between upper- and lower-case letters. Some fonts have high ascenders (the long lines in letters like “k”, “l” or “M”) and a small “x-height” (the height of — you guessed it — a lower-case “x”); others may have shorter ascenders and bigger “x”s. But a word-processor has to make some choice, and Word has chosen to let the lower-case small caps be 80% of the upper-case letters, whereas Writer uses c. 66%.

Small-Caps in Word, Writer, and LaTeX

Figure 1: Small caps in Word, Writer, and LaTeX

In this particular font (Adobe Garamond), the ratio between upper- and lower-case small caps is almost exactly the same as in Writer, and one would think that Writer’s version would therefore look good, but it doesn’t. Why? Well, all letters in a font are designed to look good at their correct size, next to their neighbouring characters, but when they lose one third, the lines become way too thin. They stand out as the only element on the whole page with a different “colour”, the typographical term for how the ink is distributed on the page. It is apparent in the subtitle, but it becomes even more painful in the first couple of words, where the fake small-caps look like starved post-war kids next to the healthy regular letters.

Word’s solution is slightly better, but it has its own problems. First, the difference between upper- and lower-case letters is so small it is almost negligible. And secondly, together with regular text, the lower-case substitutes become much too big. This may be a minor problem since their function is to stand out from the rest, but the combination “too tall and yet so skinny” is forgivable in a teenager but not in a full-grown office application.

Now turn to LaTeX, which uses the characters which are designed specifically as small-caps. Notice the color: it’s the same as the rest of the text. There is a clear difference between upper and lower case, and although the letters are about the same height as Writer’s “small-caps”, they look infinitely much better, because the lines haven’t lost a third of their weight.

Latex: 3, Word: 2, Writer: 1

Numerals

While we’re on the subject of letter shapes: a proper font should contain proper numerals, but most don’t, at least not in places where simple programs like Word can find them. The number shapes in the two Word processor files are fine for tables, phone books, and math exams, but they are not designed to be part of a running text.

What you will find in a book like this, is the shapes in the LaTeX version. This is not because the LaTeX font is different from the one W&W use (in this respect; in many other respects it is), but because Latex knows where they are and you can order it to use them. W&W only knows about one set, and uses that. (In the Writer-Linux version, I have used a version of the font where I have moved the nice typographical characters to the place where tabular ones, which I will never want to use, are usually found.)

Latex: 3, W&W: 1

Ligatures

But wait: there’s more. Some letter combinations are more difficult than others. The letter “f” is particularly troublesome, and therefore, there’s a long tradition — back to Gutenberg, actually — of making special characters for the combinations “fi” “fl” and “ff” (and “ffi” and “ffl”) — so called ligatures. Most fonts actually have these, but again, W&W doesn’t use them. This is a consequence of the WYSIWYG paradigm: in order to produce the same output on screen as in the finished file, the word processor will have to change two characters — “f” and “f” — into one — the “ff” ligature — on the fly, and be ready to change that again into the three-character ligature “ffi” if the next input is an “i”. With today’s processing power, this should not be a problem, but when these programs were born, this would have slowed down the process too much, and a 600-year long tradition of typographical cleanliness was thrown out the window (example; left side).

ligatures1.png

Figure 2: Ligatures in Word (left) and LaTeX (right)
For LaTeX (right side), this is no problem, since the input and the output are two different processes. With all the visual pollution in today’s printing world, it may seem a small thing, but once one has gotten used to seeing niceties like the italicized “ffi” in “office”, one cringes when one sees the crash site that W&W can sometimes produce.
And while we’re on the topic of crashes: have a look at the last example: italicized “of” followed by an upright parenthesis: of). It is almost bound to create a mess. Word certainly does, with the linux version of Writer close behind. Strangely, the Windowpeoples version has a better solution, but still with a clash. Again, LaTeX is the winner, with a clear separation between the characters.

EDIT: It has been suggested to me that MS Office 2007 has the option to enable typographical numerals and the ligatures if the font provides them. When the article was written, I didn’t have access to the new beast from Microsoft. Now I have, and if this is in fact featured, I haven’t been able to find out how. A default document still prints out like in the images above.

“Badness”: laying out lines and paragraphs

These are all nice details having to do with how to deal with characters. But the greatest difference between the two word processors and LaTeX, is in the area of paragraph and line formatting. Most word processors adjust the inter-word space line by line, by filling up each line as much as possible. But what if the next line ends with some indivisible, long words? In that case, the line-by-line approach becomes doubly bad: the second line will have big holes — bigger than necessary, even — and the contrast between an overstuffed line and a Swiss cheese line is a death-blow to even page colour.

LaTeX takes a different approach. Instead of fixing the lines, which are just random segments of text, the whole paragraph is considered, and if a problem at the end of the paragraph can be solved by dividing a word differently in the beginning, then that’s what will happen. This prevents the problem with one tight line followed by a loose.

There are some examples of this in the example text. None of them are catastrophic, but at least they illustrate the problem. In the second paragraph, W&W hyphenate “atten-tion”, cramming as much of the word as possible into the first line. But at the end of the next line, there is the word “meaningfully”, which cannot meaningfully be split so that any part of it will fit on the second line, which must end with “cannot”, leaving a number of holes in the line. LaTeX, having looked at the whole paragraph before making a decision, knows this, and divides “at-tention”, in order to distribute the extra space more evenly.

The same is the case in the next paragraph, where there would have been room for the whole “performance” on the third line, as Word has done, but that again gives holes, which LaTeX avoids by dividing “perform-ance”. Writer has somehow managed to get one more word into the fourth line, but there are lines with holes later on in this long paragraph, and they may have been caused by the zealous space-saving earlier.

In LaTeX jargon, this is called “badness”. If LaTeX comes across a paragraph which it cannot divide in any good way, it will give a warning, in effect saying: “as the text now stands, this is impossible to make nice. Do something! Rewrite!”. This is a tremendous advantage: when one has compiled a document, one gets a list of the places where there are “badnesses”, which one can then correct manually. I have edited books of 3–400 pages, and the ability at a glance to review all the dubious places is a time-saving miracle — on top of the comfort of knowing, when all is corrected, that you (i.e. LaTeX) haven’t overlooked anything.

Hyphenation

Hyphenation is a necessary evil: it maintains the flow of the line at the cost of breaking a word in two. There is also the danger of splitting at wrong places, because hyphenation does not always follow strict rules.

The hyphenation points chosen by the three programs are all ok, as far as I can judge. Word has followed the American practice of disregarding the original meaning of compound words, giving beauties like “bi-ography” in the last paragraph, and also the horrible “danc-ing” on the middle of that page. But both are allowed, so that’s ok.

LaTeX has been instructed to follow the British English rules, and so we get “perform-ance” instead of “perfor-mance” on the first page. The only dubious decision is “signific-ation”, which according to Merriam-Webster (with US rules) should be “sig-ni-fi-ca-tion” and according to Oxford Advanced Learner’s Dictionary “sig-nif-ica-tion”. So we actually have an error… The explanation may be that the other “signific-” words, “significant” and “signification”, split after the “c”.

Writer follows LaTeX concerning “signification”, but other than that has unproblematic decisions.

“Uncials”/Drop caps

The first paragraph begins with a drop-cap, an initial covering three lines. All three programs do it slightly differently.

Writer’s “I” is too big; it breaks the square of the text area. Word’s is better: the top of the “I” aligns with the height of the ascenders, which is acceptable.

One thing to keep in mind concerning drop-caps is that the magnification of the letter also means that the space around it grows, and with some letters, this may call for some manual adjustment of the position of the letter, so that it will look right instead of being mathematically right. An “O” will look smaller than it is; “A” and “W” have limbs sticking out in various directions, which may trick the eye, and so forth. In other words: there must be an option to fine-tune the size and position of the initial letter. Both Writer and Word give you the option to adjust the space between the letter and the rest of the text, but nothing more than that. LaTeX, on the other hand, lets you configure everything. In this example, I have increased the size of the “I” by a fraction — mainly because I could…

Points and space

I have to confess: I have cheated — on one point. The ellipsis points at the end of the first paragraph — they didn’t have to end up being separated from the “cetera” to which they belong. I could have inserted a hard space between the word and the dots, but I didn’t, for two reasons. One is that most people don’t: either they type word–space–three dots, which the program may or may not replace with the “ellipsis” character (consisting of three dots, but as a single character), or they insert the ellipsis character themselves — after a space. And the result may be as in the W&W versions.

The other reason is to get a chance to illustrate one further point: regardless of how one deals with the ellipsis in the word processors, it will stand out, some way or another. Use three dots, and they will come too close together. Separate them with a space, and they will come too far apart. Use the single-character ellipsis, and things are slightly better, but the three dots are still closer together than the surrounding spaces. This will only get worse if there are extra holes in the line owing to bad paragraph justification.

The LaTeX dots remedy all these problems, because they neither use a fixed character, nor dot-space-dot-space-dot, but something in-between: single dots, separated by a fixed space, less than a full space. In this case, I have even adjusted the space to my liking, both between the dots and the distance to the previous word.

The same can be said about the troublesome title of the Hymn of a Generation, ‘The Times They Are A-Changin” with the two apostrophes in a row. It’s bound to be ugly whichever way one treats it, but one can get decent results. For the LaTeX version, I have used a 1pt space. I could have done something similar in the other versions, but I didn’t, again because it’s not what the default user — or even the advanced user — would do. I’ve used a normal space, which is too much.

Verdict

Time to sum up the evidence. I think I stopped handing out point at some point, but that doesn’t matter: I can form a verdict without them.

If the visual output is the decisive criterion, there really is no competition: LaTeX wins on all counts. Word and Writer follow on a respectful distance: they both fulfill the most basic tasks reasonably well, but fail flat out on others. Word has a slight edge because of the nicer small caps and the drop-cap, but the difference between Word and Writer are negligible; and on other points, such as the italicized-f-plus-end-parenthesis, Writer wins, so let’s call it a tie.

This short example has of course only scratched the surface of what the three applications can do. Because of the integration with the other elements in the office suits, Word and Writer can handle embedded spreadsheets, drawings and diagrams, and similar effects, and including images is very easy, but once you try to place them where you want them on the page, the result tends to be horrible. LaTeX is the industry standard for mathematical formulae, places images where they should be, and can do just about anything with a paragraph (try to make a justified paragraph with the last line centered in Word…). All in all, it is probably fair to say that there are few limits to what you can do in any of the three alternatives if you know them well, but LaTeX always produces the best results.

Another strength of LaTeX lies in the handling of large documents, where the separation of editing and processing can be a lifesaver. I’ve had 400-page documents crash in Words more times than I care to remember, and the final stage of producing such a book is a desert journey on the verge of a nervous breakdown both for the author and the computer. Not so with LaTeX: no matter how long the text is, since it’s “only” plain text, and all the heavy formatting lies outside of the document, the concrete interaction with the text is always unproblematic. Behind the scenes, the same paragraph for which I gave the LaTeX code initially, looks like this in Writer:

<text:h text:style-name="ChapterNumber" text:outline-level="1">Chapter 10</text:h><text:h text:style-name="ArticleTitle" text:outline-level="3">The Uneven Heart</text:h><text:p text:style-name="ArticleSubtitle">Bob Dylan the Musician</text:p><text:p text:style-name="Standard"/><text:p text:style-name="Standard"/><text:p text:style-name="BodyTextDropCap">I<text:span text:style-name="T1">t is easy</text:span> to be seduced by Dylan’s lyrics: <text:span text:style-name="T2">they </text:span>were essential when he was nominated for ‘Voice of a Generation’, and <text:span text:style-name="T2">they</text:span> stuck in the fans’ throats when he converted to Christianity. Equally easy is it to question his musical abilities: ‘He can’t sing’, ‘he can’t play the harmonica’, ‘he only knows three guitar chords’, ‘his lyrics are good, but I can’t stand the voice’. Et cetera <text:span text:style-name="T3">… et cetera …</text:span></text:p>

Since the program has to deal with all that, constantly, a long document can become a huge workload.

That said, writing in LaTeX isn’t a bed of roses. It can be a hassle to get anything other than text into the document; looking at the extra code all the time is a nuisance; setting up the basic document properties, which is done with a couple of clicks in W&W, can be a long process with a manual in your lap; there is ample room for error to sneak into the code (and it is code; writing in LaTeX is a kind of programming).

For anything but short memos, all this is outweighed by the beauty of the final result. But this isn’t even the main reason why working with LaTeX is such a thrill. It has to do with control, with the difference between having a program which invites you do what you want, and one which you must frequenly fight to make it yield to your wishes if you wish anything which goes beyond the defaults. It is easy to produce good results in Word, but it’s hard to produce anything that’s better than good. In LaTeX, it’s the other way around: it’s cumbersome to get even to the default result, but once you’re there, it’s great, and from there to the truly magnificent specimens of typography it’s just a series of small steps.

It’s not having defaults that’s the problem with Word — in fact, LaTeX is nothing but a huge set of finely tuned defaults — it’s the assumption that you are and should be happy with that. It’s the difference between empowering you and crippling you.

100 thoughts on “LaTeX vs. Word vs. Writer”

  1. Hi there. Just wanted to say this was the nicest read I found lately on the whole LaTeX vs. Word debate. And I agree with your comment later that the best things seems “to use OOo for the writing itself and then export to LaTeX and do the final editing and printing there”. Look forward to reading your “Who’s afraid of WYSIWYG? piece! Thanks

  2. Have you tried ‘Kile’, it’s a fairly nice LaTeX editor that I used when I first started learning to use LaTeX. KDE based and basically the KATE wrapped with {,La,Bib}TeX helper functions (for generating preamble, easily creating tables, etc.)

    However, with the experience I’ve gained by using LaTeX for my college projects, I now prefer just writing all my documents from scratch using emacs. (*puts on asbestos suit* ;] )

    It may have taken me more effort to learn than Word (or another WYSIWYMGIYL (What You See Is What You Might Get, If You’re Lucky) editor.), but if I can get my work done while the rest of the class is fighting with Word’s “I know best” way of dealing with things such as pictures and diagrams, it’s worth it. As a bonus, my work looks better than the Word generated stuff, and it’s easier to read. (Although, I suppose if anyone in our IT class used anything other than the defaults for everything, their work would look better too.)

    Good article. Think I’ll point people here when they ask why I use the “overcomplicated, redundant and outdated” way of creating documents. :)

  3. Good post! I plan to move into this stuff after I’m done with school, as most of it is time consuming. It’s a great post to reference back to. My blog needs more time to gain in popularity anyway

  4. Has anyone come across good LaTeX-like templates for Word/Writer? I have seen some poor ones around. I’m just too lazy to use LaTeX.

  5. The last word processor I used was WordPerfect 6.0 for DOS. It has all been
    LaTeX and, occasionally, HTML since then, with excellent results.

    For a recent introduction to LaTeX, see
    http://www.ctan.org/tex-archive/documentation/beginlatex/html/

    Both Emacs and Vim are great text editors.

    It isn’t surprising that the typographic quality of TeX/LaTeX is still ahead
    of that of word processors.

    As a final note, being blind, and using a braille display and synthetic speech
    to access a computer, I don’t care for a wysiwyg editor. With a markup
    language such as LaTeX, I can proofread my writing accurately, since I can
    read exactly the codes that will determine the final formatting, many of which
    are concerned with structure rather than apperance anyway.

    If you find the LaTeX commands distracting, perhaps there is an editor that
    can selectively hide and expose the markup, as WordPerfect for DOS used to do
    with its “reveal codes” mode.

  6. How did you get the word processor line layout to look so good? Word and writer always give me disgusting, uneven line endings on the right side of the page. Is there some setting you can apply for (relatively) beautiful output?
    But really good article and analysis.

  7. I agree, latex is most excellent.

    I have finally come up with a system for my own personal writing that leaves the source clean and readable as plain text, then i move into latex-xelatex-context for type setting.

    I write my stuff in markdown or multimarkdown (one could easily use reST as well, or textile, or any other plain text markup), then use pandoc or the multimarkdown bundle to convert into TeX. From there I just edit the TeX file until i am satisfied with the result. This has worked out very well for me, as markdown is very readable, I don’t use many image (or any images at all, though latex and markdown handle them very well.).

    You missed one other thing that latex is good with: source control. While you have to use an extra program (I use git, but there are tons of other choices). Word has a “track” changes feature, but this quick bloats the file size, leaving the document somewhat unusable after only a few revisions. If you are making many revisions, or maintain documents that are edited frequently, latex + revision control is awesome.

  8. I only just started to read this article so I cannot yet comment on the whole, but I just wanted to set something straight. You write that MS Word is “the single most influential spreader of bad typographical taste since the late nineteenth century.” However, the nineteenth century was between 1801 and 1900, and MS Word was still a century away in that period. Obviously you meant the “twentieth century”, which ran from 1901 to 2000. This is a mistake many people make, so I wanted to point this out so that hopefully someone who will read this will avoid this mistake in the future.

  9. I meant what I wrote: Word is the worst thing that has happened since the late nineteenth century. There was some really bad typography around a hundred years ago, and there is now, thanks – among other things – to Word.

  10. How did you get the nice latex design on your website.

    I am always dismayed at HTML and happy to see some good typography online.

  11. Yes, Latex is more powerful for me to write any kind of journal and research paper, thanks to my prof in Gunadarma

  12. Thank you for the insightful article. I am a Latex user myself and thoroughly enjoy the proper use of typography. Currently, I am using Latex on Mac(OS X), Linux and Windows platforms however I wish I could just stick with my operating system of choice i.e. Linux. My problem using Latex on Linux (Ubuntu 9.10) is that the package handling. I wish there is a automatic mechanism to download the unavailable packages from CTAN without much of a user intervention. I know that MikTex for Linux does just that but it is on Beta for far too long. Could you point me to a site where I can find a tool for this purpose. I hate manually adding missing packages, every time I compile a tex file?

  13. I am confused. Is there something wrong with your PDF sample? The LaTeX sample is absolutely terrible — no small caps, broken font weighting in the title, bad weights for italics, no ligatures, no real ellipses. Essentially all of the things you cite in your article are not seen in the PDF. The worst thing is, I know from previous use that your explanation of LaTeX’s functionality is what I ought to be seeing.

    1. I’ll have to check this out. I know I had some problems with the special characters not being embedded properly, so that viewing it with Adobe Acrobat, they wouldn’t show, whereas any native linux pdf viewer had no problem with the files. It sounds like what you describe.
      If that is the case, it is a depressing testimony of the shallowness of the internet: the article (and the file) has been online for a couple of years now, with quite a few daily views, but you’re the first person to mention this…

  14. I find this pretty interesting. I’m writing almost anything with LaTeX and I’m always impressed by the results.

    It would be interesting to make the same analysis with eBook readers. I’ve just purchased a nook (which is a great gadget), and noticed that it doesn’t display any ligatures (at least in ePub books, I haven’t tried PDF yet, but I think it will be the same).

    Since eBooks are used for reading (that means static text, no need for WYSIWYG) I think the display mechanisms need some work to achieve good readable text. However, often printed books are also missing these “prettyfiers”.

    So why do eBook readers work with ePub or PDF instead of LaTeX? ;-)

  15. “you can’t easily go back to OOo again once you have done any editing of the LaTeX file”
    Maybe you can use latex2html, then open the html file with writer and export it to odt.

  16. Yes, you can do that, but not losslessly, and that is a requirement for anything but the most basic, one-off conversion. Some things will be lost, because the tools aren’t detailed enough, and some things will look right, but for the wrong reason: User-defined LaTeX classes tend to be disregarded, \usepackage{} likewise, etc. There is no tool (that I know of) that lets you convert from Word/Writer to LaTeX and back again and get the same file.

  17. Hi.
    You are right. In facts, the odt to latex conversion isn’t working for me.
    I have exported a big odt file to latex but it did not compile using either pdflatex nor oolatex so far.
    I did my tests using OpenOffice 3.0 in Windows, with writer2latex 1.0.1, and MikTex 2.8. Maybe have better luck in linux…

  18. Hello,
    i recently found one thing. Word 2007 is really wonderful and powerful. The main advantage which i like in word 2007 is one can avoid hyphenation completely without any problem. In latex it is impossible. In latex even if you use hyphen penalty it avoids hyphenation, but the line goes beyond the margin.

  19. Hi, Your article is interesting. I think you are a fan of Latex, so you highlight the advantages of Latex. So you avoid telling the problems with latex.
    The real important problems are also in Latex. To name a few:
    1. Just try using Charter font in Latex and test: (f). You will notice that ‘f’ and ‘)’ will touch each other. (Same like in Figure 2, left). So there is nothing superiority in latex. Latex also makes problems like in Word.
    2. It is impossible to avoid completely all hyphens in Latex. If you try nohyphen package, some words will cross the margin. You can only give some tolerance or penalty to avoid hyphen. But in the new version of Word one can completely avoid hyphens and no words will crosses the margins.

  20. thanks for the nice comparison. the biggest problem with latex I’ve had so far is when professor douchebag demands that the term paper be in .doc format. latex, of course, makes .pdf files. particularly for mac users, there’s no easy way to go from latex to .doc that I’m aware of. there are some tools for windows users, but even they aren’t free.

  21. Aren’t you just comparing a proper implementation of OpenType features (ligatures, etc) with software that doesn’t implement it at all (MS Office)? The Adobe suite and other professional software do implement all of those, and can do probably better on the small caps, since latex seems to alias characters disproportionally (eg the second b in Bob looks heavier).

  22. So what’s the latest on getting OpenType fonts to work with LaTeX? I use InDesign mostly for that reason, but would be far happier if my LaTeX documents could use, for example, Minion Pro. I’m using the TeXLive distribution with the TeXlipse plugin for Eclipse, so what’s the latest “best practice” for getting the OpenType fonts in there? Thanks!

  23. I only recently tried Latex (my professor suggested it) for a technical review in which there were many equations, special characters and images. Honestly, it was painful to get used to and setup, especially with all that code everywhere (and I’m a programmer!). But that one experience with equations and managing vector graphics in my document has changed my life. What I used to dred in word, I now relish in latex. I’m in love with it. I look through my beautifully compiled documents and just can’t imagine ever going back to Word. Your description of some of the issues with W&W made my stomach turn, I remember those days of fighting with Word to the point where I just didn’t care anymore and turned in a jumbled, hacked together paper. Thanks for the comparison, I really enjoyed reading it.

  24. Nice article! I have learned more about the difference between these major word processors. BTW, I noticed that in those web pages of your blog, the ligature traits and other typographic features (like auto replacement of quotes, dashes) are properly applied. I’d like to ask you that how you could achieve this, as I would like to use some of them on my web pages. Thanks a lot.

  25. Word and Writer are writing tools with basic desktop publishing features. Latex is a typesetting macro suite that also serves as a writing platform. They are all writing instruments, but were developed for different reasons and serve different purposes. More meaningful head-to-head comparisons are between a Latex suite and Nota Bene, which was developed from typesetting language, and between Latex and a desktop publishing program such as Framemaker. Nonetheless, I am less interested in contrived comparisons than in learning how Latex users who are also good writers compose and edit their work.

  26. Thanks a lot for your analysis. It really solved me a lot of doubts about what software should I use in my everyday life to compound texts.

    Saludos!

    Tony.

  27. Hi,

    thanks for a nice comparison. However, there is something wrong with the image demonstrating small caps. If you take a closer look, in the LaTeX sample the uppercase letterrs are thinner than they should be. (compare them to uppercase letters in other two samples in the same image). This makes uppercase look too thin compared to lowercase caps.
    I checked the pdf and in pdt everything looks fine, so i guess that there was something wrong with the screenshot. Could you fix it, please? When my friend saw this image, he said “if that’s how proper small caps should look, i don’t like it at all” :P Only a zoomed pdf convinced him that in reality LaTeX small caps look best.

    thanks,
    Janek

  28. I stick with Word because I’ve mastered it dating back to high school and so does my senior colleagues. LaTex is for those who have time to learn LaTex. As a grad student who frequently publishes (on top of balancing other stuff), I don’t see why your article should be better just because you’ve written it in LaTex. And my officemates who struggle writing their papers in latex are just wasting time ridiculously. Who cares about the marginal visual improvement if no one reads your papers? Technical writing does not have to be technical. I’m sure LaTex is alright if you’ve mastered it too. Latex tells you to focus on content as if it is the simplest most intuitive tool for writing. Overall, it is more important to focus on productivity/efficiency and use the tool you’re most comfortable with.

  29. You’ve mentionned that LaTex markup is cumbersome; I agree. But since LaTex is in terms of output quality **unbeatable** wouldn’t it be nice to have a natural looking markup sitting on top of LaTex? This is exactly what NoTex does:

    You can enter your content in the so called *reStructuredText* format (looks like simple, natural text), and NoTex takes this and converts it via LaTex to a beautiful PDF!

  30. Thank you for your thoughtful essay.

    I, too, have struggled with Word. But Word allows me to easily create and manage 25-40 different STYLES in a document, although it doesn’t allow me to programmatically control those styles. LyX offers the TeX-made “Roman,” “Sans-Serif,” and “Typewriter” variants, which were not helpful to me, and I stopped using LyX.

    Typographers and other typesetting experts claim that serif fonts are easier to read. I have found, on the contrary, that properly chosen sans-serif fonts are always easier FOR ME to read. (Example of when readability is crucial: road signs indicating directions to hospital Emergency Rooms. You’ll never see one in Adobe Garamond! Think about why that’s true.) In fact, I no longer even wish to read ANY materials that use serif fonts, be they books, articles, or brochures. The entire TeX/LaTex/LyX/xxxTeXxxx community seems to be thoroughly enamored of serif fonts, but I want nothing to do with serif fonts, including Knuth’s Computer Modern. I even suspect that mathematical formulas may one day be more properly rendered in a sans-serif font.

    Another reason for my unwillingness to use TeX or LaTeX variants is their default handling of inter-sentence spacing. Knuth provided the so-called “frenchspacing,” and I’m aware of the current Internet debates about the supposedly correct number of spaces that are to be used between sentences. But I began using two inter-sentence spaces to make my own documents easier for ME to read, not because I learned to do this in a typing class or because I had ever analyzed specimens from the period 1600 to 1940. And without exception, I find all documents that use single inter-sentence spacing less, not more, readable.

    Sadly, there simply does not seem to be any software package that meets all of my needs. And when I read about the thousands of problems that other users of Word, OO, TeX/LaTeX, etc. are having with features both simple and complex, I feel that I’m part of a worldwide group of largely unsatisfied customers.

    Which leads to this important question:

    If ALL of the supposedly superior functionality of TeX/LaTeX was available in a WYSIWIG program that did not itself create or call TeX or LaTeX files, and that had none of Word’s shortcomings, how many writers would continue to use TeX/LaTeX? How many would even continue to use Word?

    I wonder if, when, and how such a program might be written, tested, maintained, and distributed. Perhaps this is a project for future generations of programmers.

  31. Thank you for the clear comparison and the objective opinion, I believe that Microsoft word is better than LaTEX when it comes to writing simple documents with graphics. And when writing technical documents such software and IT documentation. I think LaTEX is better for research houses and mathematical documents. Anyway I did an analysis about LaTEX and Microsoft Word for IT organization please have a look on it : http://www.jaftalks.com/wp/index.php/latex-or-microsoft-word-in-it-organization/
    I will be waiting for your opinion, kindly post your agreement in the comment.
    Thank you

  32. To be honest, I think your review is a bit short-sighted. It only focuses on features that 99% of people wouldn’t even think of using. Like changing the space between the ellipsis dots.
    Sure, LaTeX would win qua typography, but that would be one of the fewer things.
    I have used LaTeX myself over a period of two years, and in my opinion it has always been a huge waste of time. Inserting a quickly generated graph, themeing, reviewing, everything visual is much easier in word in my opinion. If you have to make technical documents with lots of mathematical equations, I can see the advantage of using LaTeX.

    1. Yes and no. Yes, it is short-sighted, and WYSIWYG tools are generally superior for most tasks – no doubt about it.
      But what you call the short-sightedness was part of the aim of the original post: to point out that typography matters, not just for the aesthetes among us, but in general — as a plea for some level of awareness of those details, even for things like the space between the dots of the ellipsis. We owe it to ourselves to care, just a little, about those things. A substantial amount of communication takes place in the written medium. When we speak, we are able to make sense of the slightest nuances in voice, etc., to pick up meaning beyond what is communicated in the “text” itself. Why should we deny ourselves that ability in writing?
      My other main aim was to counter the LaTeX fanboi claim that “LaTeX will ALWAYS produce beautiful output”. It won’t. Knuth may be a genius in many ways, but not as a font designer. So when Andy Pletta complains about the Computer Modern fonts in a previous comment, I can only agree.

Leave a Reply

Your email address will not be published. Required fields are marked *