Why is LaTeX better than word processors?  Experience of a dissertation-writing (synthetic) chemist.

$latex LaTeX$ is the tool-of-choice for writing in math, physics, and engineering.  Chemists (particularly synthetic chemists) tend to use word processors (e.g., Word) for their manuscripts, out of habit and not consciously choosing among alteratives.  Over the past 4 months I’ve transitioned to writing in $latex LaTeX$, and others’ experience helped tremendously.  This series of posts charts the toe-holds I found; hopefully they will be of help in you scaling the learning curve.

Why $latex LaTeX$?  People choose $latex LaTeX$ over a word processor for different reasons.  For me, the single reason for converting is that $latex LaTeX$ scales well for large works.   Here are several unpleasantries common to the MSc theses I’ve edited, and how writing in $latex LaTeX$ helps avoid them at first place:

  • 200+Mb documents, grainy images.  Scientific writing are full of graphics — figures, schemes, spectra$latex cdots$ and the most common way of handling this to embed our best resolution .tiff.  This results in a gigantic document that is slow to open, sluggish to save, and madly crash-prone.  On the other hand, a $latex LaTeX$ document can be thought of as a control structure (more on this later when we talk about how $latex LaTeX$ works).  The workflow enforces linking with external images, and encourages using resolution-independent .eps and .pdf.  The outcome is happy writing and crisp, beautiful prints.
  • Illogical, ugly layout.  In manuscripts generated by word processors, I often see tables that are split across pages, or a lonely section heading placed at the bottom of the page, stranded from the main text on the next.  $latex LaTeX$’s typeset algorithm heavily penalize these “badness”, and I have yet to see them occur even when I try to push the boundaries.
  • Poor support for multiple documents.  Word processors generally allow for master document that links in child documents (e.g., chapters).  In all the manuscripts I’ve seen that use this (often to combat the large file-size mentioned above), they fall apart at the seams in subtle ways.  Many of them are related to automatic numbering (of pages, figures, schemes, equations) and cross-referencing (by master document, or between child documents).  Some of them have to do with incompatible styles of text.  Almost all failing are mysterious and unique,with haphazard hacks to make it “look right for now”.  $latex LaTeX$ supports usage of multiple documents very well – it just works!
  • Static documents. Word processed documents are static pieces of work.  They don’t “change” (they can’t change), and neither do their embedded content.  $latex LaTeX$ is extensible, and it can be extended to process content “on the fly”.  For example, $latex LaTeX$ can be instructed to open up the linked images, search for a piece of text, replace it, and use that new tag for cross-referencing in the text (I use this feature for automatic number of compounds – a tremendous boon in a review paper with >130 compounds).  It can also look up information from an external database and create fresh tables and content in your manuscript every time you typeset the document.  It’s magical.

That said, $latex LaTeX$ is not all fun and joy: it gives a great amount of transparency and control to the user, and this can feel overwhelming at the beginning.  In part 2, we’ll talk about how $latex LaTeX$ work, and that should give you a sense of whether it is for you or not.  Part 3 talks about installing $latex LaTeX$ on your machine, and useful resources on the internet.  In part 4, we’ll start with your first $latex LaTeX$ document, and build up to an interlinked document.  Part 5 is a specialized part for extended features.