For more than 30 years, this comprehensive manual has been the standard introduction and complete reference for writing articles and books containing mathematical formulas. This sixth edition uses a slightly changed title, Text and Math into LaTeX, to emphasize the importance of text in mathematical/scientific composition. Sections that previously contained commands such as includeonly and introductions to PDF, have been omitted for clear reasons. Many sections are now enhanced with discussion of new and useful packages. An occasional encouragement for the reader to consult ChatGPT for confirmation on various points illustrates the positive relationship between ChatGPT and LaTeX.The new Chapter 17 describes recent developments that enhance, or replace, BibTeX and the new Appendix C, introduces the reader to ChatGPT.Key features: An example-based, visual approach and a gentle introduction with the Short CourseA detailed exposition of multiline math formulas with a Visual GuideA unified approach to TeX, LaTeX, and the AMS enhancementsA quick introduction to creating presentations with formulasA detailed approach to creating illustrations· Extras are provided on SpringerLink for the following chapters: 1, 2, 3, 4, 6, 7, 10, 11, 14, 15, 16, 17, 18 and appendices A, B