Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
6  
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
4  
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
2  
@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
3  
@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
show 1 more comment

2 Answers 2

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
add comment

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:

mirrors.ctan.org/macros/latex/unpacked/latex.ltx

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

share|improve this answer
add comment

Your Answer

 
discard

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