You are previewing The LaTeX Companion, Second Edition.
O'Reilly logo
The LaTeX Companion, Second Edition

Book Description

This is the digial version of the printed book (Copyright © 2004).

The LaTeX Companion has long been the essential resource for anyone using LaTeX to create high-quality printed documents. This completely updated edition brings you all the latest information about LaTeX and the vast range of add-on packages now available--over 200 are covered! Full of new tips and tricks for using LaTeX in both traditional and modern typesetting, this book will also show you how to customize layout features to your own needs--from phrases and paragraphs to headings, lists, and pages.

Inside, you will find:

  • Expert advice on using LaTeX's basic formatting tools to create all types of publications--from memos to encyclopedias

  • In-depth coverage of important extension packages for tabular and technical typesetting, floats and captions, multicolumn layouts--including reference guides and discussions of the underlying typographic and TeXnical concepts

  • Detailed techniques for generating and typesetting contents lists, bibliographies, indexes, etc.

  • Tips and tricks for LaTeX programmers and systems support

  • New to this edition:

  • Nearly 1,000 fully tested examples that illustrate the text and solve typographical and technical problems--all ready to run!

  • An additional chapter on citations and bibliographies

  • Expanded material on the setup and use of fonts to access a huge collection of glyphs, and to typeset text from a wide range of languages and cultures

  • Major new packages for graphics, "verbatim" listings, floats, and page layout

  • Full coverage of the latest packages for all types ofdocuments--mathematical, multilingual, and many more

  • Detailed help on all error messages, including those troublesome low-level TeX errors

  • Like its predecessor, The LaTeX Companion, Second Edition, is an indispensable reference for anyone wishing to use LaTeX productively.

    The accompanying CD-ROM contains a complete plug-and-play LaTeX installation, including all the packages and examples featured in the book.

    Table of Contents

    1. Title Page
    2. Copyright Page
    3. About This eBook
    4. Addison-Wesley Series on Tools and Techniques for Computer Typesetting
    5. Dedication Page
    6. Contents
    7. List of Figures
    8. List of Tables
    9. Preface
    10. Chapter 1. Introduction
      1. 1.1. A brief history
      2. 1.2. Today’s system
      3. 1.3. Working with this book
    11. Chapter 2. The Structure of a LaTeX Document
      1. 2.1. The structure of a source file
      2. 2.2. Sectioning commands
      3. 2.3. Table of contents structures
      4. 2.4. Managing references
    12. Chapter 3. Basic Formatting Tools
      1. 3.1. Phrases and paragraphs
      2. 3.2. Footnotes, endnotes, and marginals
      3. 3.3. List structures
      4. 3.4. Simulating typed text
      5. 3.5. Lines and columns
    13. Chapter 4. The Layout of the Page
      1. 4.1. Geometrical dimensions of the layout
      2. 4.2. Changing the layout
      3. 4.3. Dynamic page data: page numbers and marks
      4. 4.4. Page styles
      5. 4.5. Visual formatting
      6. 4.6. Doing layout with class
    14. Chapter 5. Tabular Material
      1. 5.1. Standard LaTeX environments
      2. 5.2. array—Extending the tabular environments
      3. 5.3. Calculating column widths
      4. 5.4. Multipage tabular material
      5. 5.5. Color in tables
      6. 5.6. Customizing table rules and spacing
      7. 5.7. Further extensions
      8. 5.8. Footnotes in tabular material
      9. 5.9. Applications
    15. Chapter 6. Mastering Floats
      1. 6.1. Understanding float parameters
      2. 6.2. Float placement control
      3. 6.3. Extensions to LaTeX’s float concept
      4. 6.4. Inline floats
      5. 6.5. Controlling the float caption
    16. Chapter 7. Fonts and Encodings
      1. 7.1. Introduction
      2. 7.2. Understanding font characteristics
      3. 7.3. Using fonts in text
      4. 7.4. Using fonts in math
      5. 7.5. Standard LaTeX font support
      6. 7.6. PSNFSS—PostScript fonts with LaTeX
      7. 7.7. A collection of font packages
      8. 7.8. The LaTeX world of symbols
      9. 7.9. The low-level interface
      10. 7.10. Setting up new fonts
      11. 7.11. LaTeX’s encoding models
      12. 7.12. Compatibility packages for very old documents
    17. Chapter 8. Higher Mathematics
      1. 8.1. Introduction to AMS-LaTeX
      2. 8.2. Display and alignment structures for equations
      3. 8.3. Matrix-like environments
      4. 8.4. Compound structures and decorations
      5. 8.5. Variable symbol commands
      6. 8.6. Words in mathematics
      7. 8.7. Fine-tuning the mathematical layout
      8. 8.8. Fonts in formulas
      9. 8.9. Symbols in formulas
    18. Chapter 9. LaTeX in a Multilingual Environment
      1. 9.1. TeX and non-English languages
      2. 9.2. The babel user interface
      3. 9.3. User commands provided by language options
      4. 9.4. Support for non-Latin alphabets
      5. 9.5. Tailoring babel
      6. 9.6. Other approaches
    19. Chapter 10. Graphics Generation and Manipulation
      1. 10.1. Producing portable graphics and ornaments
      2. 10.2. LaTeX’s device-dependent graphics support
      3. 10.3. Manipulating graphical objects in LaTeX
      4. 10.4. Display languages: PostScript, PDF, and SVG
    20. Chapter 11. Index Generation
      1. 11.1. Syntax of the index entries
      2. 11.2. makeindex—A program to format and sort indexes
      3. 11.3. xindy—An alternative to MakeIndex
      4. 11.4. Enhancing the index with LaTeX features
    21. Chapter 12. Managing Citations
      1. 12.1. Introduction
      2. 12.2. The number-only system
      3. 12.3. The author-date system
      4. 12.4. The author-number system
      5. 12.5. The short-title system
      6. 12.6. Multiple bibliographies in one document
    22. Chapter 13. Bibliography Generation
      1. 13.1. The BibTeX program and some variants
      2. 13.2. The BibTeX database format
      3. 13.3. On-line bibliographies
      4. 13.4. Bibliography database management tools
      5. 13.5. Formatting the bibliography with BibTeX styles
      6. 13.6. The BibTeX style language
    23. Chapter 14. LaTeX Package Documentation Tools
      1. 14.1. doc—Documenting LaTeX and other code
      2. 14.2. docstrip.tex—Producing ready-to-run code
      3. 14.3. ltxdoc—A simple LaTeX documentation class
      4. 14.4. Making use of version control tools
    24. Appendix A. A LaTeX Overview for Preamble, Package, and Class Writers
      1. A.1. Linking markup and formatting
      2. A.2. Page markup—Boxes and rules
      3. A.3. Control structure extensions
      4. A.4. Package and class file structure
    25. Appendix B. Tracing and Resolving Problems
      1. B.1. Error messages
      2. B.2. Warnings and informational messages
      3. B.3. TeX and LaTeX commands for tracing
    26. Appendix C. LaTeX Software and User Group Information
      1. C.1. Getting help
      2. C.2. How to get those TeX files?
      3. C.3. Using CTAN
      4. C.4. Finding the documentation on your TeX system
      5. C.5. TeX user groups
    27. Appendix D. TLC2 TeX CD
      1. Origins—The TeX Live system
      2. Installing LaTeX from the CD-ROM
      3. Running LaTeX directly from the CD-ROM
      4. The LaTeX Companion example documents
      5. Licenses
    28. Bibliography
    29. Index of Commands and Concepts
    30. People
    31. Biographies
      1. Frank Mittelbach
      2. Michel Goossens
      3. Johannes Braams
      4. David Carlisle
      5. Chris Rowley
      6. Christine Detig & Joachim Schrod
    32. Production Notes
    33. CD-ROM Warranty