Time for action – swapping out preamble and chapter contents

We begin to write an extensive document about equations and equation systems. The result should be in the style of a thesis or a book. We can use the last example in Chapter 8, TypingMath Formulas, where we dealt with theorems concerning equations.

  1. Create a new document. Inside this, load all the packages and specify the options, like we did in our preambles before. Use all the beneficial packages that we already learned about:
    \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{microtype} \usepackage{natbib} \usepackage{tocbibind} \usepackage{amsmath} \usepackage{amsthm} \newtheorem{thm}{Theorem}[chapter] \newtheorem{lem}[thm]{Lemma} ...

Get LaTeX Beginners Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.