I cannot seem to find these files. I am trying to learn LaTeX again many years after I stopped using it on a regular basis, and wanted to start with these files as a reference.

I have searched with 'find' as well as looking online to see if they are available on a website, but have not yet been able to find them.


You should have a command line tool called kpsewhere that searches the texmf tree. Therefore by

kpsewhere sample2e.tex

it should output the path to sample2e.tex.

  • for me it was kpsewhich – Bush Mar 29 '14 at 10:47
  • 1
    Note that kpsewhere is a script that basically calls kpsewhich. – egreg Sep 15 '14 at 11:04

They should be in the core latex distribution so you should be able to go from anywhere

pdflatex sample2e

and the file should latex then sample2e.log should show the directory where it is located.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.