
Free first chapter
From First Document to Publication-Quality Output
Read the first chapter in your browser. It's free, with no account and no email needed.
Free to read. No account required.
You have seen the clean, professional look of scientific papers, theses, and technical books, and you want your own documents to look that good. LaTeX is the tool behind much of that work, but the first compile and its error messages can be intimidating.
Professional LaTeX Typesetting takes you from a first document to publication-quality output. You can follow along in your browser or on your own machine. You will learn document structure and text formatting, then mathematical typesetting for equations and symbols. The book covers figures, graphics, and float management, and tables and structured data. You will manage bibliographies and citations, control page layout with headers and footers, and build slide decks with Beamer.
Later chapters show you how to write custom commands and environments to save time, and how to work with collaborators on Overleaf. By the end, you will understand how LaTeX works well enough to produce polished documents and fix problems when they appear.
LaTeX is the tool behind most professional scientific and technical documents — from journal articles and theses to books and presentations. This book takes you from your first compiled document to publication-quality output: mathematics, figures, tables, bibliographies, custom macros, and collaborative workflows.
Work through the chapters in order on your first pass — each builds on the last. Type the examples yourself; LaTeX is learned by compiling, reading the errors, and fixing the first one.
You can follow along entirely in your browser with Overleaf, or install a local TeX distribution (TeX Live / MiKTeX) with a code editor. Both are covered in Chapter 1.
By the end of this module, you will be able to:
Undefined control sequence, Missing $ inserted) using the fix-first-error-only rule.You write a document in Word. You adjust the margins, resize a figure, move a table. Three pages later, the formatting breaks — text wraps in the wrong place, the numbering resets, the table of contents is wrong. You fix it, and something else shifts. This is the cost of a system where you place objects on a page by hand. LaTeX takes a different approach: you describe what you want, and the compiler handles placement.
LaTeX is a markup language and typesetting system. You write a plain text file containing your content and structural instructions. A compiler reads that file and produces a PDF. This is fundamentally different from word processors like Microsoft Word, Google Docs, or LibreOffice Writer, which are WYSIWYG ("what you see is what you get") tools — you type on a visual page, and the document looks on screen the way it will look when printed.
LaTeX is WYSIWYM: "what you see is what you mean." You describe the structure of your document — "this is a section heading," "this is an equation," "this is a citation" — and LaTeX decides how to format it. The result is consistent, professional typography that handles complex content (mathematics, cross-references, bibliographies, multi-hundred-page documents) without the fragility of visual placement.
This is not a matter of taste. For documents with mathematical equations, numbered figures, cross-references, and bibliographies, markup-based typesetting produces more reliable output than visual editors. That is why virtually every mathematics, physics, and computer science journal requires LaTeX submissions.
The transition from Word to LaTeX requires a mental model shift. In Word, you are a designer placing objects on a canvas. In LaTeX, you are an author writing instructions for a typesetter. The table below maps familiar Word actions to their LaTeX equivalents.
Word-to-LaTeX Comparison
LaTeX is the tool behind much of that work, but the first compile and its error messages can be intimidating.
Free to read. No account required.