LinuxCommandLibrary

tex

Original TeX typesetting engine

TLDR

Compile document

$ tex [document.tex]
copy
Compile with jobname
$ tex -jobname=[output] [document.tex]
copy
Interaction mode
$ tex -interaction=nonstopmode [document.tex]
copy
Initialize format
$ tex -ini [format.tex]
copy

SYNOPSIS

tex [-interaction mode] [-jobname name] [options] file

DESCRIPTION

tex is the original TeX typesetting engine created by Donald Knuth. It reads plain TeX source files and produces DVI (Device Independent) output, which can then be converted to PostScript, PDF, or other formats using tools like dvips or dvipdfm.
TeX uses the plain TeX macro format by default, which provides basic typesetting commands without the higher-level abstractions of LaTeX. It excels at mathematical typesetting, producing publication-quality output for equations, formulas, and technical documents. TeX serves as the foundation upon which LaTeX, ConTeXt, and other macro packages are built.

PARAMETERS

-interaction MODE

Set mode (nonstopmode, batchmode).
-jobname NAME
Output base name.
-ini
Initialize format.
-output-directory DIR
Output location.
--help
Show help.

CAVEATS

DVI output only. Plain TeX macros. Use pdflatex for PDF.

HISTORY

TeX was created by Donald Knuth starting in 1977 for typesetting his books, especially mathematical content.

SEE ALSO

latex(1), pdftex(1), xetex(1), dvips(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community