LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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 interaction mode: batchmode, nonstopmode, scrollmode, or errorstopmode.
-jobname NAME
Set the job name instead of deriving it from the input file name.
-ini
Start in INI mode for dumping formats; no format is preloaded.
-output-directory DIR
Write output files in DIR instead of the current directory.
-halt-on-error
Stop processing at the first error.
-file-line-error
Print error messages in file:line:error format.
-recorder
Enable the filename recorder, creating a .fls file listing opened files.
-fmt NAME
Use NAME as the format instead of the default.

INSTALL

sudo apt install texlive-binaries
copy
sudo dnf install texlive
copy
sudo apk add texlive
copy
sudo zypper install texlive
copy
brew install texlive
copy

CAVEATS

Produces DVI output only; use pdftex or pdflatex for direct PDF output. Uses plain TeX macros by default without higher-level LaTeX abstractions.

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid