O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with templates

When we start to develop a document, we specify the document class, choose meaningful packages and options, and create a frame for the contents. To repeat these steps for each document would be too laborious.

If we plan to write several documents of the same type, we may create a template. This could be a .tex file containing:

  • Declaration of a suitable document class together with a set of meaningful options
  • Routinely-used packages and packages which are most eligible for our document type
  • A predefined layout for header, footer, and body of the text
  • Self-made macros to ease our work
  • A framework of sectioning commands, where we fill in the headings and the body text
  • Or a framework containing \include or \input commands, for which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required