Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • LaTeX Beginner's Guide
  • Toc
  • feedback
LaTeX Beginner's Guide

LaTeX Beginner's Guide

4.6 (20)
close
LaTeX Beginner's Guide

LaTeX Beginner's Guide

4.6 (20)

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)
close
LaTeX
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
2
Formatting Words, Lines, and Paragraphs
Index

Time for action – shortening the table of content entries


We will use the optional argument of the sectioning commands to produce shorter entries, different to the actual headings:

  1. Take our example and modify the sectioning commands as shown in the highlighted lines:

    \documentclass[a4paper,12pt]{book}
    \usepackage[english]{babel}
    \usepackage{blindtext}
    \usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm,
    bottom=3cm, bindingoffset=1cm]{geometry}
    \begin{document}
    \tableofcontents
    \chapter[Page layout]{Exploring the page layout}
    In this chapter we will study the layout of pages.
    \section[Filler text]{Some filler text}
    \blindtext
    \section[More]{A lot more filler text}
    More blindtext will follow.
    \subsection[Plenty]{Plenty of filler text}
    \blindtext[10]
    \end{document}	
  2. Typeset twice and look at the modified table of contents:

What just happened?

Besides the mandatory argument producing the heading, each sectioning command understands an optional argument. If this is given, it will be used instead...

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
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