ArticleslgStudy

computer science

PdfTeX

PdfTeX is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand PdfTeX rather than just read about it. In short: The computer program pdfTeX, sometimes typeset as pdfTeX, is an extension of Knuth's typesetting program TeX, and was originally written and developed into a publicly usable product by Hàn Thế Thành as a part of the work for his PhD thesis at the Faculty of Informatics, Masaryk University, Brno, Czech Republic. The idea of making this extension to TeX was conceived during the early 1990s, when Jiří Zlatuška and Phil…

Key takeaways

  • PdfTeX belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect PdfTeX to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of PdfTeX from memory before moving on to harder problems.

Reference excerpt

The computer program pdfTeX, sometimes typeset as pdfTeX, is an extension of Knuth's typesetting program TeX, and was originally written and developed into a publicly usable product by Hàn Thế Thành as a part of the work for his PhD thesis at the Faculty of Informatics, Masaryk University, Brno, Czech Republic. The idea of making this extension to TeX was conceived during the early 1990s, when Jiří Zlatuška and Phil Taylor discussed some developmental ideas with Donald Knuth at Stanford University. Knuth later met Hàn Thế Thành in Brno during his visit to the Faculty of Informatics to receive an honorary doctorate from Masaryk University. Two prominent characteristics of pdfTeX are character protrusion, which generalizes the concept of hanging punctuation, and font expansion, an implementation of Hermann Zapf's ideas for improving the grayness of a typeset page. Both extend the core paragraph breaking routine. They are discussed in Thành's PhD thesis. pdfTeX is included in most modern distributions of LaTeX and ConTeXt (including TeX Live, MacTeX, and MiKTeX) and used as the default TeX engine. The main difference between TeX and pdfTeX is that whereas TeX outputs DVI files, pdfTeX can output PDF files directly. This allows tight integration of PDF features such as hypertext links and tables of contents, using packages such as hyperref. On the other hand, packages (such as PSTricks) which exploit the earlier conversion process of DVI-to-PostScript may fail, although replacements such as PGF/TikZ have been written. Direct embedding of PostScript graphics is no longer functional, and one has to use a program such as eps2pdf to convert EPS files to PDF, which can then be directly inserted by pdfTeX. It is possible to obtain DVI output from pdfTeX. This DVI output should be identical to that of TeX, unless pdfTeX's extra microtypography features have been activated. Moreover, since LaTeX, ConTeXt et al. are simply macro packages for TeX, they work equally well with pdfTeX. Hence, pdflatex, for example, calls the pdfTeX program using the standard LaTeX macros to typeset LaTeX documents, whereas it was the default rendering engine for ConTeXt documents. Current versions of ConTeXt use LuaMetaTeX as default rendering engine.

Features pdfTeX has several features not available in standard TeX:

Native TrueType and Type 1 font embedding Micro-typographic extensions such as margin kerning and font expansion Direct access to PDF-specific features such as hyperlinks, tables of contents and document information

See also

List of TeX extensions List of PDF software LuaTeX XeTeX

References

External links pdfTeX project page pdfTeX manual Micro-typographic extensions to the TeX typesetting system - dissertation by Hàn Thế Thành 2008 interview

Worked examples

Example 1 — a first encounter with PdfTeX

Start with the simplest possible case. Write down what PdfTeX claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to PdfTeX before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about PdfTeX ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of PdfTeX

In research
PdfTeX appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses PdfTeX in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
PdfTeX is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free PDF software, Free TeX software, so understanding it makes those chapters shorter.
In everyday life
Look for PdfTeX outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “PdfTeX” →

How to study PdfTeX in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what PdfTeX means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain PdfTeX out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is PdfTeX in simple terms?

The computer program pdfTeX, sometimes typeset as pdfTeX, is an extension of Knuth's typesetting program TeX, and was originally written and developed into a publicly usable product by Hàn Thế Thành as a part of the work for his PhD thesis at the Faculty of Informatics, Masaryk University, Brno, Cz…

Why does PdfTeX matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study PdfTeX?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on PdfTeX.

Tags

  • Free PDF software
  • Free TeX software

Keep exploring