32

In what applications doesn't LaTeX give you much?

5 Answers 5

30

If you have a simple document, with precise layout requirements, then TeX can be a more direct solution, because there are fewer things to 'turn off'. The convenient features of LaTeX -- the ones that make it massively more useful than TeX in most cases -- are implemented via sometimes rather arcane logic, which can get in the way of your desire for a box to go here, dammit!

For example, I remember once producing a set of auto-numbered tickets, eight to a sheet, for some event. They had (if I do say so myself) a rather elegantly sparse design. Using TeX probably wasn't the wisest technology choice for that, but doing it in LaTeX would have resulted in rather more hair being torn out.

On another occasion, I wanted to produce a short booklet of simple texts (that is, no maths, tables, figures, and so on). I had a very clear idea of my intended layout, and it wasn't planned to be generalisable. I got exactly what I wanted, reasonably quickly and unhackily, using XeTeX, in combination with some nice platform fonts.

2
  • Why was TeX probably not the wisest choice for the tickets? You think you should have used hand-coded PostScript, or what?
    – SamB
    Commented Dec 17, 2010 at 23:05
  • 2
    Well, converting numbers to words in TeX (ie, 48 -> 'forty eight') probably comes more naturally under the heading of 'entertainingly perverse' rather than 'efficient'. Come to think of it, that's the column where hand-coded postscript almost lives, but that was an alternative I didn't consider at the time. Commented Dec 19, 2010 at 14:39
22

TeX is also useful if you are generating code. To compile a piece of TeX, you don't need to have all these preamble stuff. You can simply have $x^2$ \bye and it will compile.

0
18

The great advantage of LaTeX(2e) over TeX is that content and formatting are well separated. This allows for logical markup, which improves the organisation of the document and allows you to make global changes to the "look" without affecting the content.

Hence if you want to exert total typographical control over the document, go for TeX, but if the document is in any way structurally complex, go for LaTeX.

8

It's worth remebering that almost anything in TeX will be valid in LaTeX as well, so you can always do most of heavy lifting in LaTeX, and then use TeX to tweak things.

Also, I use the TeX $ for in-line math rather than than LaTeX \( and \).

5
  • 3
    That's a good point, but not totally true. LaTeX is not a superset of plain TeX. For example, the \line macros in TeX and LaTeX have quite different purposes.
    – TH.
    Commented Jan 6, 2011 at 16:53
  • I edited your answer slightly to change \[ and \] to \( and \) which are the LaTeX macros for inline math. \[ and \] are for display math.
    – TH.
    Commented Jan 6, 2011 at 16:54
  • $ and \[...\] are far diffrent. I suppose you mean \(...\)
    – user2478
    Commented Jan 6, 2011 at 16:55
  • @herbert : yes, I meant the latter - my was brain in wrong gear. @TH : I didn't know it wasn't a superset - thanks for that!
    – Tom W
    Commented Jan 6, 2011 at 18:29
  • 2
    Isn't $...$ valid LaTeX, too? As far as I know, only $$...$$ is deprecated and should be avoided. Commented Feb 10, 2013 at 13:34
7

Usually you want to use TeX directly when you don't want the typographic settings been done as it is done by LaTeX. If you want to use direct control of the kerning etc., you probably better off using directly TeX.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .