CINXE.COM
LaTeX Documentation
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>LaTeX Documentation</title> <meta name="description" content="References to the official LaTeX documentation and to documentation that is available on the net. Also contains a non-English documentation section."> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="/css/screen.css"> <link rel="stylesheet" href="/fa/css/font-awesome.css"> <script src="/js/vgwort.js"></script> <script src="/js/cookieconsent.js"></script> <!--[if lt IE 9]> <script src="/js/html5shiv.js"></script> <script src="/js/html5shiv-printshiv.js"></script> <![endif]--> </head> <body class="container"> <header> <script type="text/javascript">window.cookieconsent_options = {"message":"This website uses cookies. To learn more, read our","dismiss":"OK","learnMore":"privacy policy","link":"/privacy/","theme":"screen"};</script> <div class="row"> <div class="col cell1of2 search"> <form action="https://www.google.com" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-8455398809969217:7128444083" /> <input type="hidden" name="ie" value="UTF-8" /> <input type="text" name="q" size="20" /> <input type="submit" name="sa" value="Search" /> </div> </form> <script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script> </div> </div> <a class="site-title" href="/"><img src="/img/latex-project-logo.svg" alt="The LaTeX Project logo"><span>The LaTeX Project</span></a> <nav> <label for="show-menu" class="show-menu">Show Menu</label> <input type="checkbox" id="show-menu" > <ul> <li> <a href="/">Home</a></li> <li> <a href="/about/">About</a></li> <li> <a href="/get/">Get</a></li> <li> <a href="/latex3/">LaTeX3</a></li> <li> <a href="/publications/">Publications</a></li> <li class="active"> <a href="/help/">Help</a></li> <li> <a href="/news/">News</a></li> </ul> </nav> </header> <div class="wrap"> <article> <h1 id="core-documentation">Core Documentation</h1> <hr /> <div class="row"> <div class="col cell1of2"> <p>This page contains references to core documentation about LaTeX written by the <a href="/about/team/">LaTeX team</a>. Articles on specific topics, talks, etc. can be found on <a href="/publications/indexbytopic/">the publication page</a> indexed by topic.</p> <p>In addition pointer to documentation in other languages (usually developed and maintained by user groups) is given. To find documentation that is available elsewhere on the net, visit the <a href="/help/links">links page</a>. Also, there's a whole page dedicated to <a href="/help/books">books on LaTeX and related topics</a>.</p> <p>If you know about a good resource of TeX and related documentation not listed here or on the <a href="/help/links">links page</a>, please <a href="/contact">contact us</a>.</p> </div> <div class="col cell1of2"> <ul class="toc"> <li><a href="#documentation-distributed-with-latex">Distributed LaTeX documentation</a> <ul> <li><a href="#general-documentation">General documentation</a></li> <li><a href="#documentation-of-the-new-hook-management">Hook management</a></li> <li><a href="#documentation-of-the-new-mark-mechanism">Page mark management</a></li> <li><a href="#typesetting-complex-mathematics">Typesetting mathematics</a></li> <li><a href="#japanese-translations-of-documentation">Japanese translations</a></li> <li><a href="#quick-summary-of-changes-by-release">Summary of changes by release</a></li> <li><a href="#source-code-documentation">Source code documentation</a></li> </ul> </li> <li><a href="#other-non-english-documentation">Other non-english documentation resources</a> <ul> <li><a href="#german">German</a></li> <li><a href="#french">French</a></li> </ul> </li> </ul> </div> </div> <hr /> <h2 id="documentation-distributed-with-latex">Documentation distributed with LaTeX</h2> <h3 id="general-documentation">General documentation</h3> <p>A short introduction to newer features of LaTeX is given in the following document:</p> <ul> <li><a href="/help/documentation/usrguide.pdf" target="_blank" onclick="vgwPixelCall('79adb95dcb47435d8c86b3264660ed22');">LaTeX2e for authors — new features</a></li> </ul> <p>The original guide describing commands introduced with LaTeX2e in 1994 (with some focus on the differences between the old LaTeX 2.09 and current standard LaTeX2e) is available as well. It remains relevant because the commands introduced between 1994 and 2020 are not included in the previous document:</p> <ul> <li><a href="/help/documentation/usrguide-historic.pdf" target="_blank" onclick="vgwPixelCall('3a9290b87d904071bbd1e07b74f19d1c');">LaTeX2e for authors — historic version</a></li> </ul> <p>For more extensive introductory documentation take a look at the <a href="/help/links/">links to contributed documentation</a> that have their own page.</p> <p>More advanced documentation about core LaTeX, which is available via the net includes:</p> <ul> <li><a href="/help/documentation/clsguide.pdf" target="_blank" onclick="vgwPixelCall('54a136f9814144fba489022ec511facc');">LaTeX2e for class and package writers — current version</a></li> <li><a href="/help/documentation/clsguide-historic.pdf" target="_blank" onclick="vgwPixelCall('54a136f9814144fba489022ec511facc');">LaTeX2e for class and package writers — historic version</a> (the original document with updates until 2020 with more focus on changes between LaTeX 2.09 and LaTeX2e)</li> <li><a href="/help/documentation/fntguide.pdf" target="_blank" onclick="vgwPixelCall('4db227f3399b4546b97e9f273c16da8e');">LaTeX2e font selection</a></li> <li><a href="/help/documentation/encguide.pdf" target="_blank" onclick="vgwPixelCall('1a8b31ba233c4ad4bc6162d62ab285e7');">LaTeX2e font encodings</a></li> <li><a href="/help/documentation/cyrguide.pdf" target="_blank" onclick="vgwPixelCall('4db227f3399b4546b97e9f273c16da8e');">Cyrillic languages support in LaTeX</a></li> <li><a href="/help/documentation/cfgguide.pdf" target="_blank" onclick="vgwPixelCall('9c6305dd699b4b3c8eae8d42a20c2473');">Configuration options for LaTeX2e</a></li> <li><a href="/help/documentation/modguide.pdf" target="_blank" onclick="vgwPixelCall('aa409ae2ea2a4495b0cbfc65f3ae3ddf');">Modifying LaTeX</a></li> <li><a href="/help/documentation/ltx3info.pdf" target="_blank" onclick="vgwPixelCall('51fc82f5083e42e49d51d818c781d70b');">The LaTeX3 Project</a></li> </ul> <p>The LaTeX3 programming layer (which is part of the LaTeX format) is documented in</p> <ul> <li><a href="https://mirrors.ctan.org/macros/latex/required/l3kernel/interface3.pdf" target="_blank" onclick="vgwPixelCall('43ffde81969e49d587ace76424e37318');">The L3 programming layer interface documentation</a></li> </ul> <h3 id="documentation-of-the-new-hook-management">Documentation of the new hook management</h3> <p>The hook management introduced in 2020 is largely intended for package developers. However, most of the available hooks can also be useful for document authors. The documentation is currently split across several documents:</p> <ul> <li><a href="/help/documentation/lthooks-doc.pdf" target="_blank" onclick="vgwPixelCall('78721ee2481742e58ccc2d8b10baa93e');">Overview of LaTeX’s hook management and core hooks — <code class="language-plaintext highlighter-rouge">lthooks-doc.pdf</code></a></li> <li><a href="/help/documentation/ltcmdhooks-doc.pdf" target="_blank" onclick="vgwPixelCall('e021195650e74fab825f06d16b1f1e45');">Generic hooks for document-level commands — <code class="language-plaintext highlighter-rouge">ltcmdhooks-doc.pdf</code></a></li> <li><a href="/help/documentation/ltfilehook-doc.pdf" target="_blank" onclick="vgwPixelCall('db9d65dcb6fc4eab9c83d8ba9d1c1ad7');">Hooks available when reading files — <code class="language-plaintext highlighter-rouge">ltfilehook-doc.pdf</code></a></li> <li><a href="/help/documentation/ltshipout-doc.pdf" target="_blank" onclick="vgwPixelCall('7a2aefabd77843169cef0df3ec78dbc7');">Hooks available when writing pages — <code class="language-plaintext highlighter-rouge">ltshipout-doc.pdf</code></a> (e.g., for background pictures, etc.)</li> <li><a href="/help/documentation/ltpara-doc.pdf" target="_blank" onclick="vgwPixelCall('c6f0abc213674d8bb743d04d8a374786');">Hooks available when processing paragraphs — <code class="language-plaintext highlighter-rouge">ltpara-doc.pdf</code></a></li> </ul> <h3 id="documentation-of-the-new-mark-mechanism">Documentation of the new mark mechanism</h3> <p>The new mark mechanism introduced in 2022 offers arbitrary many independent marks and resolves the issues with LaTeX legacy marks (available through <code class="language-plaintext highlighter-rouge">\markbox</code> and <code class="language-plaintext highlighter-rouge">\markright</code>). The old mechanism remains available so that classes using it continue to work without any updates.</p> <ul> <li><a href="/help/documentation/ltmarks-doc.pdf" target="_blank" onclick="vgwPixelCall('3dd41d35983b4dbdb9ffd4e2bd967235');">Overview of LaTeX’s new mark mechanism — <code class="language-plaintext highlighter-rouge">ltmarks-doc.pdf</code></a></li> </ul> <h3 id="typesetting-complex-mathematics">Typesetting complex mathematics</h3> <p>Specifically targeting the typesetting of mathematics is:</p> <ul> <li><a href="/help/documentation/amsldoc.pdf" target="_blank" onclick="vgwPixelCall('bad5c323e6d74c1da25ea619481020a1');">User’s Guide for the amsmath Package (Version 2.1)</a></li> </ul> <h3 id="japanese-translations-of-documentation">Japanese translations of documentation</h3> <p>Yukitoshi FUJIMURA kindly translated two of the above documents to the Japanese language. These are</p> <ul> <li><a href="/help/documentation/usrguide_jpn.pdf" target="_blank" onclick="vgwPixelCall('3a9290b87d904071bbd1e07b74f19d1c');">著者のための LaTeX 2e</a> (LaTeX2e for authors) <a href="/help/documentation/usrguide_jpn.tex" target="_blank" onclick="vgwPixelCall('3a9290b87d904071bbd1e07b74f19d1c');"> [source]</a></li> <li><a href="/help/documentation/amsldoc_jpn.pdf" target="_blank" onclick="vgwPixelCall('bad5c323e6d74c1da25ea619481020a1');">amsmath パッケージユーザガイド(Version2.1)</a> (User’s Guide for the amsmath Package) <a href="/help/documentation/amsldoc_jpn.tex" target="_blank" onclick="vgwPixelCall('bad5c323e6d74c1da25ea619481020a1');"> [source]</a></li> </ul> <p>He also provided a translation of “Short Math Guide for LaTeX” distributed and maintained by the American Mathematical Society (AMS):</p> <ul> <li><a href="/help/documentation/short-math-guide_jpn.pdf" target="_blank">はやわかり LaTeX で数式組版 </a>(Short Math Guide for LaTeX) <a href="/help/documentation/short-math-guide_jpn.tex" target="_blank"> [source]</a></li> </ul> <p>Here are <a href="readme_jpn/">his comments on the translation</a>.</p> <h3 id="quick-summary-of-changes-by-release">Quick summary of changes by release</h3> <p>Changes made to the LaTeX kernel or to core packages maintained by the LaTeX team are discussed in some detail in the <a href="/news/latex2e-news/">LaTeX News Newsletters</a> that come as part of each release.</p> <p>A document with all available issues bundled together in their historical order is <a href="/news/latex2e-news/ltnews.pdf" target="_blank" onclick="vgwPixelCall('3f94d8cd27314ca6a11bdb1d1dcdb6c5');"><code class="language-plaintext highlighter-rouge">ltnews.pdf</code></a>.</p> <h3 id="source-code-documentation">Source code documentation</h3> <p>The full documentation of the source code with all commands and their implementation can be obtained by processing <code class="language-plaintext highlighter-rouge">source2e.tex</code> distributed as part of the LaTeX2e distribution. A compiled version (from the current release) with a list of all major changes and an index of all commands and their usage within the kernel is</p> <ul> <li><a href="https://mirrors.ctan.org/macros/latex/base/source2e.pdf" target="_blank" onclick="vgwPixelCall('47645342fb934c628c269524107689eb');">The LaTeX2e Sources (1000+ pages)</a></li> <li><a href="https://mirrors.ctan.org/macros/latex/required/l3kernel/source3.pdf" target="_blank" onclick="vgwPixelCall('43ffde81969e49d587ace76424e37318');">The L3 programming layer sources (1000+ pages)</a></li> </ul> <p>As a companion document Martin Scharrer compiled a useful reference list with links back into the 2e source document if both are stored in the same directory:</p> <ul> <li><a href="https://mirrors.ctan.org/info/macros2e/macros2e.pdf" target="_blank" onclick="vgwPixelCall('47645342fb934c628c269524107689eb');">List of internal LaTeX2e Macros useful to Package Authors</a></li> </ul> <p>For the implementation of the standard classes <code class="language-plaintext highlighter-rouge">article</code>, <code class="language-plaintext highlighter-rouge">report</code>, and <code class="language-plaintext highlighter-rouge">book</code> there also exists a document that contains the complete sources with commentary:</p> <ul> <li><a href="/help/documentation/classes.pdf" target="_blank" onclick="vgwPixelCall('f0486f81546c47df9dba6c8e927c256e');">Standard Document Classes for LaTeX2e</a></li> </ul> <p>In 2015 we introduced a roll-back/roll-forward functionality by which it becomes possible to reset the kernel code (though not external packages at this stage) to the behavior that it had on a particular date. This can be useful when processing older documents. It is documented here:</p> <ul> <li><a href="/help/documentation/latexrelease.pdf" target="_blank" onclick="vgwPixelCall('ef0b0f945a6148be8c924ed494b726d4');">The latexrelease package</a></li> </ul> <h2 id="other-non-english-documentation">Other non-english documentation</h2> <p>There is a lot of documentation in languages other than English. Lists of books and other resources in other languages are maintained by TeX user groups in the respective countries. The following are known to us:</p> <h3 id="german">German</h3> <ul> <li><a href="https://www.dante.de/">German LaTeX documentation maintained by German TeX User Group Dante e.V.</a></li> </ul> <h3 id="french">French</h3> <ul> <li><a href="https://www.gutenberg.eu.org/-TeXniques-">French LaTeX documentation maintained by the Francophone TeX Users Group GUTenberg</a></li> <li><a href="http://lozzone.free.fr/index.php?vlunch=latex">Tout ce que vous avez toujours voulu savoir sur LaTeX</a></li> <li><a href="https://www.framasoft.net/rubrique266.html">A collection of french LaTeX documentation</a> maintained by <a href="http://www.framasoft.net/">Framasoft</a></li> <li><a href="http://www.babafou.eu.org/Apprends_LaTeX/">Apprends LaTeX!</a></li> </ul> <hr /> <div class="row"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Responsive B --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8455398809969217" data-ad-slot="3269883682" data-ad-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <hr /> <div class="row teaser"> <section class="col cell1of3"><a href="/help/books/"><h3>LaTeX Books</h3><p>List of books on LaTeX in English, French, German, and Spanish.</p></a> </section> <section class="col cell1of3"><a href="/help/links/"><h3>Useful Links</h3><p>Links to contributed documentation, tutorials, videos, communities, etc.</p></a> </section> <section class="col cell1of3"><a href="/get/"><h3>Getting LaTeX</h3><p>Get LaTeX for Linux, Mac OS X, Windows and Online.</p></a> </section> </div> <div id="div_vgwpixel"></div> </article> </div> <footer> <div class="row"> <div class="col cell3of5"> <svg xmlns="http://www.w3.org/2000/svg" overflow="scroll" height="40.731" width="110"> <title id="title3047">LaTeX logo</title> <g id="g3049" fill="#EEE" transform="scale(4.4176707,4.4176707)"> <path id="path3051" d="M5.46,4.23h-0.25c-0.1,1.02-0.24,2.26-2,2.26h-0.81c-0.47,0-0.49-0.07-0.49-0.4v-5.31c0-0.34,0-0.48,0.94-0.48h0.33v-0.3c-0.36,0.03-1.26,0.03-1.67,0.03-0.39,0-1.17,0-1.51-0.03v0.3h0.23c0.77,0,0.79,0.11,0.79,0.47v5.25c0,0.36-0.02,0.47-0.79,0.47h-0.23v0.31h5.19s0.27-2.57,0.27-2.57z" transform="translate(0,0.17)"/> <path id="path3053" d="M2.81,0.16c-0.04-0.12-0.06-0.16-0.19-0.16s-0.16,0.04-0.2,0.16c0,0-1.61,4.08-1.61,4.08-0.07,0.17-0.19,0.48-0.81,0.48v0.25h1.55v-0.25c-0.31,0-0.5-0.14-0.5-0.34,0-0.05,0.01-0.07,0.03-0.14,0,0,0.34-0.86,0.34-0.86h1.98s0.4,1.02,0.4,1.02c0.02,0.04,0.04,0.09,0.04,0.12,0,0.2-0.38,0.2-0.57,0.2v0.25h1.97v-0.25h-0.14c-0.47,0-0.52-0.07-0.59-0.27,0,0-1.7-4.29-1.7-4.29zm-0.4,0.71s0.89,2.26,0.89,2.26h-1.78s0.89-2.26,0.89-2.26z" transform="translate(2.48,0)"/> <path id="path3055" d="M6.27,0h-6.09s-0.18,2.24-0.18,2.24h0.24c0.14-1.61,0.29-1.94,1.8-1.94,0.18,0,0.44,0,0.54,0.02,0.21,0.04,0.21,0.15,0.21,0.38v5.25c0,0.34,0,0.48-1.05,0.48h-0.4v0.31c0.41-0.03,1.42-0.03,1.88-0.03s1.49,0,1.9,0.03v-0.31h-0.4c-1.05,0-1.05-0.14-1.05-0.48v-5.25c0-0.2,0-0.34,0.18-0.38,0.11-0.02,0.38-0.02,0.57-0.02,1.5,0,1.65,0.33,1.79,1.94h0.25s-0.19-2.24-0.19-2.24z" transform="translate(7.03,0.23)"/> <path id="path3057" d="M6.16,4.2h-0.25c-0.25,1.53-0.48,2.26-2.19,2.26h-1.32c-0.47,0-0.49-0.07-0.49-0.4v-2.66h0.89c0.97,0,1.08,0.32,1.08,1.17h0.25v-2.64h-0.25c0,0.85-0.11,1.16-1.08,1.16h-0.89v-2.39c0-0.33,0.02-0.4,0.49-0.4h1.28c1.53,0,1.79,0.55,1.95,1.94h0.25s-0.28-2.24-0.28-2.24h-5.6v0.3h0.23c0.77,0,0.79,0.11,0.79,0.47v5.22c0,0.36-0.02,0.47-0.79,0.47h-0.23v0.31h5.74s0.42-2.57,0.42-2.57z" transform="translate(12.5,2.45)"/> <path id="path3059" d="m3.76,2.95s1.37-2,1.37-2c0.21-0.32,0.55-0.64,1.44-0.65v-0.3h-2.38v0.3c0.4,0.01,0.62,0.23,0.62,0.46,0,0.1-0.02,0.12-0.09,0.23,0,0-1.14,1.68-1.14,1.68s-1.28-1.92-1.28-1.92c-0.02-0.03-0.07-0.11-0.07-0.15,0-0.12,0.22-0.29,0.64-0.3v-0.3c-0.34,0.03-1.07,0.03-1.45,0.03-0.31,0-0.93-0.01-1.3-0.03v0.3h0.19c0.55,0,0.74,0.07,0.93,0.35,0,0,1.83,2.77,1.83,2.77s-1.63,2.41-1.63,2.41c-0.14,0.2-0.44,0.66-1.44,0.66v0.31h2.38v-0.31c-0.46-0.01-0.63-0.28-0.63-0.46,0-0.09,0.03-0.13,0.1-0.24,0,0,1.41-2.09,1.41-2.09s1.58,2.38,1.58,2.38c0.02,0.04,0.05,0.08,0.05,0.11,0,0.12-0.22,0.29-0.65,0.3v0.31c0.35-0.03,1.08-0.03,1.45-0.03,0.42,0,0.88,0.01,1.3,0.03v-0.31h-0.19c-0.52,0-0.73-0.05-0.94-0.36,0,0-2.1-3.18-2.1-3.18z" transform="translate(17.91,0.17)"/> </g> </svg> <p>LaTeX is a document preparation system used for the communication and publication of scientific documents. LaTeX is free software and is distributed under the <a class="site-title" href="/lppl/">LaTeX Project Public License</a>.</p> </div> <div class="col cell1of5"> <ul> <li><a href="/">Home</a></li> <li><a href="/about/">About</a></li> <li><a href="/about/team/">Team</a></li> <li><a href="/news/">LaTeX News</a></li> <li><a href="/get/">Getting LaTeX</a></li> <li><a href="/publications/">Publications</a></li> </ul> </div> <div class="col cell1of5"> <ul> <li><a href="/help/">Help</a></li> <li><a href="/help/documentation">Documentation</a></li> <li><a href="/help/books">LaTeX Books</a></li> <li><a href="/bugs/">Bugs</a></li> <li><a href="/privacy/">Privacy</a></li> <li><a href="/contact/">Contact</a></li> </ul> </div> </div> </footer> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-90351653-1', 'auto'); ga('set', 'anonymizeIp', true); ga('send', 'pageview'); </script> <!-- The latex-project.org webdesign by Jonas Jacek - http://jonas.me/ - is licensed under a Creative Commons Attribution 4.0 International License - http://creativecommons.org/licenses/by/4.0/. Based on a work at https://github.com/latex3/latex3.github.io. --> </body> </html>