text/x-tex
TeX document
| Description | TeX document |
|---|---|
| File extensions | .cls, .dtx, .ins, .latex, .ltx, .sty, .tex |
| Aliases | application/x-tex |
| Based on | text/plain |
Frequently asked questions
What is the MIME type text/x-tex?
text/x-tex denotes “TeX document”.
Which file extension does text/x-tex use?
Files of type text/x-tex usually end in .cls, .dtx, .ins, .latex, .ltx, .sty and .tex.
How does a web server serve text/x-tex correctly?
With the header Content-Type: text/x-tex. In nginx: types { text/x-tex cls dtx ins latex; }; in Apache: AddType text/x-tex .cls .dtx .ins .latex.
Are there other names for text/x-tex?
Yes, application/x-tex are used as equivalents.