TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where can I find file latex.‎tex?‎ I don't have it in my tex ‎distribution‎. I‎ ‎have ‎only ‎file ‎latex.ltx ‎on ‎my ‎system.
By the way, I'm using Texlive 2010.

share|improve this question
Why do you think a latex.tex should exist? latex.ltx is the right file which contains the latex code. – Ulrike Fischer Apr 5 '11 at 14:05
Why do you need to find such a file? – ℝaphink Apr 5 '11 at 14:05
I think latex.ltx was once called latex.tex; in LaTeX2 or maybe even earlier. I remember to have read at least one mentioning of it. – Martin Scharrer Apr 5 '11 at 15:19
@araz: \chapter* is not a command. It's a \chapter with a * afterwards. The definition of \chapter checks (using \secdef) if a * follows and calls \@chapter or \@schapter depending on the result. This is an example of the \@ifstar mechanism that allows star versions of commands. – Andrey Vihrov Apr 5 '11 at 22:02
@araz: you probably don't really want to redefine \chapter or any of the related commands. Most of the time, people just want to redefine how a chapter heading is formatted or similar. You may want to post a more specific question if that sort of thing is your ultimate goal. – Mike Renfro Apr 6 '11 at 0:26

It doesn't exist on standard distributions. Try asking kpsewhich latex.ltx at the command prompt; the directory that file is in contains the files that make up the heart of Latex.

share|improve this answer

If you just want to look at latex.ltx and don't want to worry about messing up your system, you can look at the version here:


I assume this should be good enough if your system is reasonably up to date.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.