Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying LaTeX Beginner's Guide
  • Table Of Contents Toc
  • Feedback & Rating feedback
LaTeX Beginner's Guide

LaTeX Beginner's Guide

By : Stefan Kottwitz
4.7 (24)
close
close
LaTeX Beginner's Guide

LaTeX Beginner's Guide

4.7 (24)
By: Stefan Kottwitz

Overview of this book

LaTeX is high-quality open source typesetting software that produces professional prints and PDF files. It's a powerful and complex tool with a multitude of features, so getting started can be intimidating. However, once you become comfortable with LaTeX, its capabilities far outweigh any initial challenges, and this book will help you with just that! The LaTeX Beginner's Guide will make getting started with LaTeX easy. If you are writing mathematical, scientific, or business papers, or have a thesis to write, this is the perfect book for you. With the help of fully explained examples, this book offers a practical introduction to LaTeX with plenty of step-by-step examples that will help you achieve professional-level results in no time. You'll learn to typeset documents containing tables, figures, formulas, and common book elements such as bibliographies, glossaries, and indexes, and go on to manage complex documents and use modern PDF features. You'll also get to grips with using macros and styles to maintain a consistent document structure while saving typing work. By the end of this LaTeX book, you'll have learned how to fine-tune text and page layout, create professional-looking tables, include figures, present complex mathematical formulas, manage complex documents, and benefit from modern PDF features.
Table of Contents (16 chapters)
close
close

Customizing the table of contents

Besides just calling \tableofcontents to get a pre-designed list of contents, LaTeX provides basic ways to modify it. Let's use some.

We will create a document that we will use for customizing, and it will also be our working example for the following sections.

We will build the frame of a document containing some headings. We will modify the automatically created table of contents to be more nuanced and to contain additional entries.

In Chapter 3, Designing Pages, we saw the effect of \tableofcontents. LaTeX collected the entries from the headings. We will use headings down to the subsubsection level.

Later, we will extend the TOC further. We will manually add entries for some headings. Let's start with the base document:

  1. Start a new book document:
    \documentclass{book}
  2. Set the table of contents' depth value to 3 to include headings down to the subsubsection level:
    \setcounter{tocdepth}{3}
  3. Begin the document...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY