tex
What is a .tex file?
application/x-tex
TeX/LaTeX is a plain-text typesetting language widely used for scientific and technical documents. A .tex source file describes structure (sections, lists, tables), mathematics, and references with markup commands, and a TeX engine compiles it — usually to PDF. It is the standard in mathematics, physics, and academic publishing.
How to use a .tex file
Use an example .tex file to test LaTeX editors and linters, syntax highlighting, and source parsing, or as input for a TeX-to-PDF or TeX-to-HTML conversion pipeline.