LaTeX / TeX: Professional Grade Typesetting for Scientific Writing

Spread the love


If you haven’t done so already, you may want to start by reading the Preface to the Computing Series: Software as a Force Multiplier, Sections 1-3.

Introducing the LaTeX typsetting platform

If symbols, formulas, and equations comprise a large portion of your professional communication, then you will gain significantly by becoming proficient with the LaTeX (pronounced “lay-tech”) document preparation platform. With the right tools and a little practice, the relative ease of creating beautiful mathematical documents with LaTeX will likely mean that you leave Office in favor of LaTeX for your technical writing.

This article introduces the LaTeX platform (short for Lamport-TeX, after the mathematician Leslie Lamport), illustrates its capabilities, and highlights the key differences between using LaTeX or WYSIWYG “what you see is what you get” word processing systems such as Office.

For those that like to know the human side of the tools they use, we provide a brief history of the legendary TeX (pronounced “tech”) platform, which underpins all variations of which LaTeX is one, looks at the philosophy motivating the development of TeX, and something about its legendary creator Donald Knuth.

Don Knuth, Leslie Lamport, and an illustration of why writing mathematics in LaTeX is easier than in Word.

Don Knuth, Leslie Lamport, and an illustration of of why writing mathematics in LaTeX is easier than in Word.


This is Part 1 in a series of three articles intended to give you all that you’ll need to begin working with LaTeX on Windows, using free, open-source software. See Part 2: Working with LaTeX on Windows, Part 3: Modularity in TeX.


TeX Appeal

LaTeX, spoken “lay-tech” or “lah-tech”, is a professional document preparation system built atop TeX, spoken “tech”. The name, TeX, is from the Greek, technos, meaning craft, or technology. Together LaTeX and TeX form a powerful typesetting platform that produces “camera-ready” print with a minimum of fuss, even for difficult material such as mathematics. Using TeX means that you can communicate complex ideas in an aesthetically pleasing form, which means your ideas are more likely to be read, understood, and hopefully absorbed.

Here, for example, is what you would get after typesetting the binomial formula in LaTeX.

\displaystyle (a + b)^n = \sum_{k=0}^n \binom{n}{k} a^k b^{n-k}.

The LaTeX markup creating this, shown below, is simple, readable, and, most importantly, has the advantage of being fully specified in text instead of mouse-clicks:


$(a + b)^n = \sum_{k=0}^n \binom{n}{k} a^k b^{n-k}$

To really get a feel for the quality of automatic typesetting that TeX produces, look at a few articles created in LaTeX:

This is how an article looks that was created in LaTeX and contains mostly words:
Mathematics in Pre-History (PDF)

And here is an article, created in LaTeX, having complicated formulas, equations, images, and code listings:
Finite Summations of Integer Powers x^p, PART THREE (PDF)

Download these and browse through their formatting and display. Notice the automatic typesetting details such as kerning (spacing between letters), and subtle differences in how adjoining letters look: \mbox{ff} vs. ff, for example. These, and a host of typesetting subtleties are what distinguishes professionally typeset camera-ready copy from, for example, a Microsoft Word document turned into a PDF. The effort that would be required to manually typeset a similar looking article in Microsoft Word or Sun’s Open Writer would be prohibitive, and not least because of the in-depth knowledge required akin to that of a professional typesetter. By now, if you are not already using LaTeX / TeX, you are hopefully persuaded to give it a try. (If not, here are 10 further reasons to consider.)

“WYSIWYG” vs. the TeX Way — a Philosophical Difference

“WYSIWYG” is an acronymn for “What You See is What You Get”, and represents the idea that the writer is in charge of every aspect of the typography and layout of his product. LaTeX / TeX adopts the opposite point of view, namely that the competence of most writers is highest in the area of creating content, and diminishes as the aesthetic standard for beautifully laid out documents is raised. Thus, the driving idea behind the creation of TeX is that if a computer can be programmed to perform typesetting and layout with the same aesthetic sense of a master typesetter, then most writers would gladly relinquish the responsibility of having to manually make their work look beautiful.

Thus, the heart of the difference between LaTeX/TeX and the so-called “WYSIWYG” programs such the Microsoft, Corel, and Sun Office suites, originates in this philosophical view of the appropriate division of responsibility between writer and typesetter. But this simple philosophical difference results in substantial practical differences, and document preparation platforms that are substantially different in usability, suitability for various writing activities, and quality of the finished product.

The good news is that with the right tools and a little practice, creating documents using LaTeX is relatively easy. And once you get used to the beautiful look of TeX-ed documents, you’ll soon find it onerous to go back to the usual “WYSIWYG” programs such as the Microsoft, Corel, and Sun Office suites, among others, and let TeX do a professional job typesetting for you.

Understanding the Platform: Engine vs. Wrapper

The key to understanding the LaTeX / TeX platform is to recognize the different roles that each of the two software systems plays. TeX is the master typesetting engine that makes it all possible. TeX is versatile and powerful, but complex, with many settings, switches, and configurations possible. Most users don’t compose their documents directly in TeX. So although TeX is the typesetting engine, it is actually LaTeX that you will be using.

LaTeX is wrapper software that encapsulates the powerful functionality of TeX but presents to the user a friendly interface for getting on with the business of document preparation. All of the capability of TeX is still present, but with defaults that are intelligently chosen so that you can proceed out of the box and need only dig deeper when you wish to make major changes to layout or formatting.

Finally, there is the optional, but desirable graphical environment within which most users, especially new users, will actually compose their documents. This provides a pleasant, mouse-enabled method for selecting styles, mathematical and symbolic objects, and the markup elements that go into specifying a TeX document. The markups are descriptive — they inform the typesetting system of your intent. Unlike the WYSIWGY programs, they do not prescribe how to perform the layout. That decision is left to the master typesetter — TeX.

The Creation and Impact of TeX

The significance of TeX and, through it, Knuth’s impact on the field of technical publishing, is hard to overstate. A little background helps put in context the tremendous affection that technical users have both for TeX and for its creater, the legendary Stanford mathematician and computer scientist, Don Knuth.

TeX was not created by a company or corporation. It was designed and created by Knuth during a 10 year labor of love, born out of both necessity and the desire for aesthetic and technical perfection. Remember, this was before Microsft and Windows as we know them, before the ubiquitous world wide web, and before Google search, a time when technical materials were still often written by hand, or typed on a typewriter, with hand written symbols to supplement the missing typography. Once created, TeX and all of its attendant technology were given for free to the user community.

LaTeX was created, similarly, by the mathematician and computer scientist Leslie Lamport, to ease document preparation, and was also given away for free to the community. Together TeX and LaTeX (along with Adobe’s Postscript) revolutionized publishing and brought the tools for quality communication out of the hands of specialists and into the technical community itself.

Today, LaTeX / TeX is the de facto platform of choice for technical communications. In fact,

At least in mathematics, computer science, and physics, the adoption of TeX has been so universal that failure to use it is now a reliable crackpot indicator. – Scott Aaronson (Computer Scientist)

To both Knuth and Lamport are owed a tremendous debt of gratitude by the hundreds of thousands of scientists and authors who use the software every day for their research publications, textbook writing, and book writing. If the author of every document generated freely using TeX were to give Knuth a moment of silence for good karma, he would likely have enough to last several lifetimes. For what it’s worth, let me here add mine!

For additional interest:


This is the first in a series of three articles intended to give you all that you’ll need to begin working with LaTeX / TeX on Windows, using free, open-source software.

Articles two and three get you set up and on your way.

>> Continue reading: Part 2: Setting up a TeX / LaTeX Platform on Windows with Open Source Tools

>> Continue reading: Part 3: Thinking Modular in TeX

2 comments to LaTeX / TeX: Professional Grade Typesetting for Scientific Writing

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

Your comments are valued! (Please indulge the gatekeeping question as spam-bots cannot (yet) do simple arithmetic...) - required

Optionally add an image (JPEG only)

 

Stats: 1,066,417 article views since 2010 (March update)

Dear Readers:

Welcome to the conversation!  We publish long-form pieces as well as a curated collection of spotlighted articles covering a broader range of topics.   Notifications for new long-form articles are through the feeds (you can join below).  We love hearing from you.  Feel free to leave your thoughts in comments, or use the contact information to reach us!

Reading List…

Looking for the best long-form articles on this site? Below is a curated list by the main topics covered.

Mathematics-History & Philosophy

  1. What is Mathematics?
  2. Prehistoric Origins of Mathematics
  3. The Mathematics of Uruk & Susa (3500-3000 BCE)
  4. How Algebra Became Abstract: George Peacock & the Birth of Modern Algebra (England, 1830)
  5. The Rise of Mathematical Logic: from Laws of Thoughts to Foundations for Mathematics
  6. Mathematical Finance and The Rise of the Modern Financial Marketplace
  7. A Course in the Philosophy and Foundations of Mathematics
  8. The Development of Mathematics
  9. Catalysts in the Development of Mathematics
  10. Characteristics of Modern Mathematics

Electronic & Software Engineering

  1. Electronics in the Junior School - Gateway to Technology
  2. Coding for Pre-Schoolers - A Turtle Logo in Forth
  3. Experimenting with Microcontrollers - an Arduino development kit for under £12
  4. Making Sensors Talk for under £5, and Voice Controlled Hardware
  5. Computer Programming: A brief survey from the 1940s to the present
  6. Forth, Lisp, & Ruby: languages that make it easy to write your own domain specific language (DSL)
  7. Programming Microcontrollers: Low Power, Small Footprints & Fast Prototypes
  8. Building a 13-key pure analog electronic piano.
  9. TinyPhoto: Embedded Graphics and Low-Fat Computing
  10. Computing / Software Toolkits
  11. Assembly Language programming (Part 1 | Part 2 | Part 3)
  12. Bare Bones Programming: The C Language

Pure & Applied Mathematics

  1. Fuzzy Classifiers & Quantile Statistics Techniques in Continuous Data Monitoring
  2. LOGIC in a Nutshell: Theory & Applications (including a FORTH simulator and digital circuit design)
  3. Finite Summation of Integer Powers: (Part 1 | Part 2 | Part 3)
  4. The Mathematics of Duelling
  5. A Radar Tracking Approach to Data Mining
  6. Analysis of Visitor Statistics: Data Mining in-the-Small
  7. Why Zero Raised to the Zero Power IS One

Technology: Sensors & Intelligent Systems

  1. Knowledge Engineering & the Emerging Technologies of the Next Decade
  2. Sensors and Systems
  3. Unmanned Autonomous Systems & Networks of Sensors
  4. The Advance of Marine Micro-ROVs

Math Education

  1. Teaching Enriched Mathematics, Part 1
  2. Teaching Enriched Mathematics, Part 2: Levelling Student Success Factors
  3. A Course in the Philosophy and Foundations of Mathematics
  4. Logic, Proof, and Professional Communication: five reflections
  5. Good mathematical technique and the case for mathematical insight

Explore…

Timeline