Home > Store

The LaTeX Companion, 3rd Edition: Part II, 3rd Edition

Register your product to gain access to bonus material or receive a coupon.

The LaTeX Companion, 3rd Edition: Part II, 3rd Edition


  • Your Price: $59.99
  • List Price: $74.99
  • Usually ships in 24 hours.


  • Copyright 2023
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 1008
  • Edition: 3rd
  • Book
  • ISBN-10: 0-201-36300-3
  • ISBN-13: 978-0-201-36300-5

This edition consists of two parts. This is Part II and you can find Part I by going to ISBN 9780134658940. A bundle of both books is available at a special, discounted price; please see the listing for ISBN 9780138166489.

For nearly three decades The LaTeX Companion has been the essential resource for anyone using LaTeX to create high-quality documents. Just like the earlier editions, this completely updated third edition is designed to serve as the stable core resource for users: covering all aspects of document production, from detailed micro-typography questions and macro-typography (heading design, lists, mathematics, tables, graphics, fonts, page-layout, etc.) to bibliography and index production.

All chapters have been thoroughly revised and in many cases largely extended to describe new important functionality and features. More than 5,000 add-on packages have been analyzed in detail, out of which roughly 10% have been chosen for inclusion in The LaTeX Companion. All important aspects of these packages are described to provide the user once again with a satisfying one-stop-shop experience for the decade to come.

Following the concept of the earlier versions, the new edition is full of novel tips and tricks for using LaTeX in both traditional and modern typesetting, and also shows you how to customize layout features to your own needs--from phrases and paragraphs to headings, lists, and pages.

New to this edition:

  • Inclusion of, or more details on, important new or changed large-scale packages, e.g., biblatex, fontspec, hyperref, mathtools, siunitx, tcolorbox, tikz, and unicode-math, to name just a few.
  • Coverage of newer engine developments, e.g., the use of Unicode engines with LaTeX.
  • Discussion of all vital changes to LaTeX itself, which is is undergoing a transformation to keep it relevant in the years to come. Examples are the new hook management system for LaTeX, the extended document command syntax, and the inclusion of the LaTeX3 programming layer into the LaTeX format.
  • Inclusion of many new, useful (smaller) packages in all chapters--each offering additional functionality.
  • Two new chapters devoted to the use of high-quality fonts for text and math (OpenType, TrueType, and Type 1), now available for use with LaTeX. They offer a comprehensive set of samples to choose from (more than 120 text font families and 40 math font layouts), compiled with the help of an expert font designer.
  • Revised discussions of multi-lingual support by the authors of the babel system to typeset text from a wide range of languages and cultures.
  • The chapter on bibliography generation now also covers the styles made available with biblatex and biber.
  • More than 1,500 fully tested examples (an increase of 30%) that illustrate the text and solve typographical and technical problems--all ready to run!

Part I contains chapters on: Introduction to LaTeX and its history LaTeX's document structure Basic formatting tools (paragraph level) Basic formatting tools (larger structures) Page layout Tabular material Float handling Graphics generation and manipulation Font selection and encodings

This volume (Part II) of the edition covers:

  • Text and symbol fonts
  • Higher mathematics
  • Fonts in formulas
  • Localizing documents
  • Index generation
  • Bibliography generation
  • Managing citations
  • Package documentation tools
  • LaTeX programming and troubleshooting problems

In short, the two parts of The LaTeX Companion, Third Edition, cover all you need to know about LaTeX use in the twenty-first century, while also offering expertly curated discussions of the best add-on packages now available.

The examples can be downloaded from https://ctan.org/pkg/tlc3-examples.

Register your book for convenient access to downloads, updates, and/or corrections as they become available.



Visit the author's site to download code examples: https://ctan.org/pkg/tlc3-examples

Sample Content

Table of Contents

List of Figures xxii
List of Tables xxiv
Foreword, Part II xxix
Preface, Part II xxxi

Chapter 10: Text and Symbol Fonts 1
10.1 Overview 2
10.2 Samples of larger font families 11
10.3 Humanist (Oldstyle) serif fonts 36
10.4 Garalde (Oldstyle) serif fonts 38
10.5 Transitional/Neoclassical serif fonts 46
10.6 Didone (Modern) serif fonts 60
10.7 Slab serif (Egyptian) fonts 64
10.8 Sans serif fonts 67
10.9 Monospaced (typewriter) fonts 88
10.10 Historical and other fonts 97
10.11 Fonts supporting Latin and polytonic Greek 106
10.12 Fonts supporting Latin and Cyrillic 110
10.13 The LaTeX world of symbols 113

Chapter 11: Higher Mathematics 127
11.1 Introduction to amsmath and mathtools 128
11.2 Display and alignment structures for equations 131
11.3 Matrix-like environments 153
11.4 Compound structures and decorations 163
11.5 Variable symbol commands180
11.6 Words in mathematics 191
11.7 Fine-tuning the mathematical layout 194
11.8 Symbols in formulas 208

Chapter 12: Fonts in formulas 225
12.1 The world of (Latin) math alphabets 226
12.2 Making it bold 235
12.3 Traditional math font setup through packages 238
12.4 unicode-math -- Using Unicode math fonts 253
12.5 A visual comparison of different math setups 261

Chapter 13: Localizing documents 297
13.1 TeX and nonEnglish languages 297
13.2 The babel user interface 301
13.3 User commands provided by language options 308
13.4 Support for Cyrillic and Greek 324
13.5 Complex scripts 330
13.6 Tailoring babel 332
13.7 Other approaches 341

Chapter 14: Index Generation 343
14.1 Syntax of the index entries 345
14.2 MakeIndex -- A program to sort and format indexes 350
14.3 upmendex -- A Unicode-aware indexing program 364
14.4 xindy, xindex -- Two other indexing programs 370
14.5 Enhancing the index with LATEX features 371

Chapter 15: Bibliography Generation 375
15.1 The standard LaTeX bibliography environment 376
15.2 The biber and BibTeX programs378
15.3 The BibTeX database format 380
15.4 Using BibTeX or biber to produce the bibliography 409
15.5 On-line bibliographies 413
15.6 Bibliography database management tools 414
15.7 Formatting the bibliography with styles 418

Chapter 16: Managing Citations 469
16.1 Introduction 469
16.2 The number-only system 473
16.3 The author-date system 487
16.4 The author-number system 502
16.5 The author-title system 507
16.6 The verbose system 537
16.7 biblatex -- One ring to rule them all 541
16.8 Multiple bibliographies in one document 569

Chapter 17: LaTeX Package Documentation Tools 583
17.1 doc -- Documenting LaTeX and other code 584
17.2 docstrip.tex -- Producing ready-to-run code 599
17.3 l3build -- A versatile development environment 606
17.4 Making use of version control tools 615

Appendix A: LaTeX Overview for Preamble, Package, and Class Writers 621
A.1 Linking markup and formatting 622
A.2 Counters and length expressions 646
A.3 Page markup -- Boxes and rules 660
A.4 LaTeX's hook management 671
A.5 Control structure extensions 685
A.6 Package and class file structure 693

Appendix B: Tracing and Resolving Problems 711
B.1 Error messages 712
B.2 Dying with memory exceeded 744
B.3 Warnings and informational messages 749
B.4 TeX and LaTeX commands for tracing 765

Appendix C: Going beyond 783
C.1 Learn LaTeX -- A LaTeX online course for beginners 784
C.2 Finding information available on your computer 785
C.3 Accessing online information and getting help 787
C.4 Getting all those TeX files 789
C.5 Giving back to the community 792

Bibliography 795
Index of Commands and Concepts 805
People 955
Biographies 961
Production Notes 965


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020