TeX
1 program
Added 2025-10-23T10:48:25Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit c653d28056 · authored 2025-10-23T12:48:25+02:00 · model x-ai/grok-4-fast
Sources mentioning this language
8 sources · pl_id:
pl/texWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Designed by | Donald Knuth |
|---|---|
| First appeared | 1978 |
| License | Permissive free software |
| Homepage | https://tug.org/ |
Extensions claimed by this language
18 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.tex | linguist | primary | 20.8M files |
.tex | pygments | primary | 20.8M files |
.tex | wikidata | primary | 20.8M files |
.aux | linguist | secondary | 1.4M files |
.aux | pygments | secondary | 1.4M files |
.bbx | linguist | secondary | 12.9K files |
.cbx | linguist | secondary | 8.4K files |
.cls | linguist | secondary | 2.6M files |
.dtx | linguist | secondary | 158.9K files |
.ins | linguist | secondary | 97.8K files |
.lbx | linguist | secondary | 12.4K files |
.ltx | linguist | secondary | 207.1K files |
.mkii | linguist | secondary | 5.8K files |
.mkiv | linguist | secondary | 18.2K files |
.mkvi | linguist | secondary | 2.4K files |
.sty | linguist | secondary | 434.2K files |
.toc | linguist | secondary | 1.3M files |
.toc | pygments | secondary | 1.3M files |
Related languages
LLM-contributed programs
Sample TeX input file
Provenance: commit c653d28056 · authored 2025-10-23T12:48:25+02:00 · model x-ai/grok-4-fast · Temp 0.4
\font\tensl=cmti10
\font\tenss=cmss10
\font\tensf=cmff10
\hsize=6in
\centerline{\tensl This is {\tenss TeX}}
\bigskip
\centerline{\tensf producing this output.}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.toc/1 | .toc | predicates | [{"kind": "any", "regexes": ["^\\\\(contentsline|defcounter|beamer|boolfalse)"]}] |
h/linguist/.cls/2 | .cls | predicates | [{"kind": "any", "regexes": ["^\\s*\\\\(?:NeedsTeXFormat|ProvidesClass)\\{"]}] |