Book Image

LaTeX Beginner's Guide

By : Stefan Kottwitz, Robin TUG
Book Image

LaTeX Beginner's Guide

By: Stefan Kottwitz, Robin TUG

Overview of this book

LaTeX is high-quality Open Source typesetting software that produces professional prints and PDF files. However, as LaTeX is a powerful and complex tool, getting started can be intimidating. There is no official support and certain aspects such as layout modifications can seem rather complicated. It may seem more straightforward to use Word or other WYSIWG programs, but once you've become acquainted, LaTeX's capabilities far outweigh any initial difficulties. This book guides you through these challenges and makes beginning with LaTeX easy. If you are writing Mathematical, Scientific, or Business papers, or have a thesis to write, then this is the perfect book for you. LaTeX Beginner's Guide offers you a practical introduction to LaTeX with plenty of step-by-step examples. Beginning with the installation and basic usage, you will learn to typeset documents containing tables, figures, formulas, and common book elements like bibliographies, glossaries, and indexes and go on to managing complex documents and using modern PDF features. It's easy to use LaTeX, when you have LaTeX Beginner's Guide to hand. This practical book will guide you through the essential steps of LaTeX, from installing LaTeX, formatting, and justification to page design. Right from the beginning, you will learn to use macros and styles to maintain a consistent document structure while saving typing work. You will learn to fine-tune text and page layout, create professional looking tables as well as include figures and write complex mathematical formulas. You will see how to generate bibliographies and indexes with ease. Finally you will learn how to manage complex documents and how to benefit from modern PDF features. Detailed information about online resources like software archives, web forums, and online compilers completes this introductory guide. It's easy to use LaTeX, when you have LaTeX Beginner's Guide to hand.
Table of Contents (21 chapters)
About the Author
About the Reviewers
Formatting Words, Lines, and Paragraphs

Time for action – titling your document

We will take the first example and insert some commands that will produce a nice-looking title.

  1. Type the following code in the editor; modify the previous example if you like:

    \title{Example 2}
    \author{My name}
    \date{January 5, 2011}
    \section{What's this?}
    This is our second document. It contains a title and a section with text.
  2. Click the Typeset button.

  3. View the output:

What just happened?

In the first chapter, we talked about logical formatting. First, let's look at this example from that point of view. We told LaTeX that:

  • Our document is of the type article. It will be printed on A4 paper using a size of 11 points for the base font.

  • The title is "Example 2".

  • You are the author.

  • The document was written on January 5, 2011.

  • Concerning the content of the document:

    • It begins with a title.

    • The first section shall have the heading "What's this?"

    • The following text is "This is our second...