Open main menu

Wikibooks β

This is a guide to the LaTeX markup language. It is intended to form a useful resource for everybody from new users who wish to learn, to old hands who need a quick reference.

TeX and LaTeX

TeX is a computer program for typesetting documents, created by Donald Knuth. It takes a suitably prepared computer file and converts it to a form which may be printed on many kinds of printers, including dot-matrix printers, laser printers and high-resolution typesetting machines. LaTeX is a set of macros for TeX that aims at reducing the user's task to the sole role of writing the content, LaTeX taking care of all the formatting process. A number of well-established publishers now use TeX or LaTeX to typeset books and mathematical journals. It is also well appreciated by users caring about typography, consistent formatting, efficient collaborative writing and open formats.

This book is organized into different parts:

  • Getting Started will provide you with the very first steps to print your first document: general concepts (very important!), software installation, and basic syntax.
  • Common Elements groups all common features you would expect from a document processor, covering fonts, layout, colors, lists, figures and others.
  • Mechanics are some topics that are not really necessary to write a basic document, but could help you understand how some parts of the machinery work. These topics are required for fine tuning documents. Use them as support for various chapters, as they are often being referred to.
  • Technical Texts focuses on different specialized matters, mostly for scientific work.
  • Special Pages is for the structured pages usually put in appendices.
  • Special Documents: this part tackles other kind of documents different from the classic article style.
  • Creating Graphics is for the process of writing graphics from a LaTeX document.
  • Programming or how to create your own macros and packages.
  • Miscellaneous contains everything that does not fit in the previous parts, like project management and other subjects related to LaTeX but not inherent to LaTeX itself.
  • Help and Recommendations : the FAQ encompasses very common pitfalls and important recommendations for everyone, we urge you to read it; the Tips and Tricks are much more specific matters.
  • Appendices.


If you have questions related to LaTeX, ask at the Q&A.

Edit the TOC or the stages

  1. Getting Started
    1. Introduction  
    2. Installation  
    3. Installing Extra Packages  
    4. Basics  
    5. How to get help  
  2. Common Elements
    1. Document Structure  
    2. Text Formatting  
    3. Paragraph Formatting  
    4. Colors  
    5. Fonts  
    6. List Structures  
    7. Special Characters  
    8. Internationalization  
    9. Rotations  
    10. Tables  
    11. Title creation  
    12. Page Layout  
    13. Customizing Page Headers and Footers‎  
    14. Importing Graphics  
    15. Floats, Figures and Captions  
    16. Footnotes and Margin Notes  
    17. Hyperlinks  
    18. Labels and Cross-referencing  
  3. Mechanics
    1. Errors and Warnings  
    2. Lengths  
    3. Counters  
    4. Boxes  
    5. Rules and Struts  
  4. Technical Texts
    1. Mathematics  
    2. Advanced Mathematics  
    3. Theorems  
    4. Chemical Graphics  
    5. Algorithms  
    6. Source Code Listings  
    7. Linguistics  
  5. Special Pages
    1. Indexing  
    2. Glossary  
    3. Bibliography Management  
    4. More Bibliographies  
  6. Special Documents
    1. Scientific Reports (Bachelor Report, Master Thesis, Dissertation)  
    2. Letters  
    3. Presentations  
    4. Teacher's Corner  
    5. Curriculum Vitae  
  7. Creating Graphics
    1. Introducing Procedural Graphics  
    2. MetaPost  
    3. Picture  
    4. PGF/TikZ  
    5. PSTricks  
    6. Xy-pic  
    7. Creating 3D graphics  
  8. Programming
    1. Macros  
    2. Plain TeX  
    3. Creating Packages  
    4. Themes  
  9. Miscellaneous
    1. Modular Documents  
    2. Collaborative Writing of LaTeX Documents  
    3. Export To Other Formats  
  10. Help and Recommendations
    1. FAQ  
    2. Tips and Tricks  
  11. Appendices
    1. Authors  
    2. Links  
    3. Package Reference  
    4. Sample LaTeX documents  
    5. Index  
    6. Command Glossary  

Other wikibooksEdit