| 1 |
.TH LATEX 1 "30 November 2025" "Web2C 2026" |
| 2 |
.\"===================================================================== |
| 3 |
.if t .ds TX \fRT\\h'-0.10m'\\v'0.17v'E\\v'-0.17v'\\h'-0.06m'X\fP |
| 4 |
.if n .ds TX TeX |
| 5 |
.ie t .ds OX \fIT\h'-0.17m'\v'+0.21m'E\v'-0.21m'\h'-0.04m'X\fP |
| 6 |
.el .ds OX TeX\" |
| 7 |
.\" LX definition must follow TX so LX can use TX |
| 8 |
.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX |
| 9 |
.if n .ds LX LaTeX |
| 10 |
.\" OL for oblique LaTeX |
| 11 |
.if t .ds OL \fIL\\h'-0.19m'\\v'-0.15v'\s-2A\s0\\h'-0.09m'\\v'0.15v'\fP\*(OX |
| 12 |
.if n .ds OL LaTeX |
| 13 |
.\"===================================================================== |
| 14 |
.SH NAME |
| 15 |
latex, pdflatex, xelatex, lualatex, dvilualatex, cslatex, pdfcslatex, platex, uplatex, lamed \- structured text formatting and typesetting |
| 16 |
.SH SYNOPSIS |
| 17 |
.B latex |
| 18 |
.RI [ options ] |
| 19 |
.RI [ \fB&\fPformat ] |
| 20 |
\h'.25' [ \fIfile\fP [ \fImore-input\fP ] \h'.5'|\h'.5' [ \fB\e\fP\fImore-input\fP ] |
| 21 |
.\"===================================================================== |
| 22 |
.SH DESCRIPTION |
| 23 |
\*(LX is a \*(TX macro package (format), not a |
| 24 |
modification to the compiled \*(TX programs, so see |
| 25 |
.BR tex (1) |
| 26 |
for details of the command line invocation. |
| 27 |
.PP |
| 28 |
The \*(LX macros encourage writers to think about the content of their |
| 29 |
documents, rather than the form. The ideal, very difficult to realize, |
| 30 |
is to have no formatting commands (like ``switch to italic'' or ``skip 2 |
| 31 |
picas'') in the document, but to use generic markup instructions: |
| 32 |
``emphasize'', ``start a section''. The \*(LX language is described in |
| 33 |
the books and documents mentioned below, among others. |
| 34 |
.PP |
| 35 |
The primary source of documentation for \*(LX is the \*(LX manual |
| 36 |
referenced below. |
| 37 |
.PP |
| 38 |
.BR lualatex , |
| 39 |
.BR pdflatex , |
| 40 |
.BR pdfcslatex , |
| 41 |
.B xelatex |
| 42 |
are \*(LX formats based on the respective engines. These all output PDF |
| 43 |
by default. The lualatex format is built with the luahbtex engine, the |
| 44 |
Lua\*(TX variant with HarfBuzz (https://en.wikipedia.org/wiki/HarfBuzz) |
| 45 |
supported for glyph shaping. |
| 46 |
.br |
| 47 |
.BR platex , |
| 48 |
.B uplatex |
| 49 |
are Japanese \*(LX formats based on e-p\*(TX and e-up\*(TX (DVI output). |
| 50 |
.br |
| 51 |
.B lamed |
| 52 |
is the Aleph-based \*(LX format (DVI output). |
| 53 |
.br |
| 54 |
.B dvilualatex |
| 55 |
is Lua\*(TX-based and outputs DVI. |
| 56 |
.br |
| 57 |
.B cslatex |
| 58 |
is cs\*(TX-based (primitives integrated into pdf\*(TX) and outputs DVI. |
| 59 |
.PP |
| 60 |
On some systems, the commands |
| 61 |
.B latex209 |
| 62 |
and |
| 63 |
.B slitex |
| 64 |
may still be available for compatibility with older versions of \*(LX. |
| 65 |
These should not be used for new documents. |
| 66 |
.\"===================================================================== |
| 67 |
.SH "SEE ALSO" |
| 68 |
.BR amstex (1), |
| 69 |
.BR luatex (1), |
| 70 |
.BR pdftex (1), |
| 71 |
.BR ptex (1), |
| 72 |
.BR tex (1), |
| 73 |
.BR xetex (1). |
| 74 |
.PP |
| 75 |
Leslie Lamport, |
| 76 |
.IR \*(OL: A Document Preparation System . |
| 77 |
.br |
| 78 |
Frank Mittelbach with Ulrike Fischer, |
| 79 |
.IR The \*(OL Companion , |
| 80 |
Addison-Wesley, 2024, ISBN 0-13-811578-8 (3rd edition). |
| 81 |
https://tug.org/l/tlc3 |
| 82 |
.PP |
| 83 |
Package pages on CTAN: https://ctan.org/pkg/latex, |
| 84 |
https://ctan.org/pkg/latex-base |
| 85 |
.br |
| 86 |
\*(LX tutorial topic on CTAN: https://ctan.org/topic/tut-latex |
| 87 |
.br |
| 88 |
\*(LX reference topic on CTAN: https://ctan.org/topic/ref-latex |
| 89 |
.PP |
| 90 |
The \*(LX home page: https://latex-project.org |
| 91 |
.br |
| 92 |
Online interactive tutorial: https://learnlatex.org |
| 93 |
.br |
| 94 |
Getting started page: https://tug.org/begin |
| 95 |
.PP |
| 96 |
Please report bugs in \*(LX |
| 97 |
following the procedure at https://www.latex-project.org/bugs. |
| 98 |
.PP |
| 99 |
Public discussion list for all things \*(TX and \*(LX: |
| 100 |
https://lists.tug.org/texhax |