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

Time for action – starting with a template

LaTeX editors often provide templates to start with. TeXworks offers some as well. So we shall test this feature, let's take one, open it, modify it, and Typeset:

  1. In the TeXworks main menu, click on File and then on New from template. A window will open allowing you to choose a template:
    Time for action – starting with a template
  2. In the lower part of the window, you can read the template's source. Here's an example of KOMA-Script (KOMA-letter.tex):
    % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode % An alternative to the standard LaTeX letter class. \documentclass[fontsize=12pt, paper=a4]{scrlttr2} % Don't forget to read the KOMA-Script ...

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