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.

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.

share|improve this question
    
Welcome to TeX.sx! Both can also be found on CTAN: sample2e.tex is available through ctan.org/tex-archive/macros/latex/base/sample2e.tex and small2e.tex through ctan.org/tex-archive/macros/latex/base/small2e.tex –  Peter Jansson Feb 6 '13 at 21:12
add comment

2 Answers

up vote 4 down vote accepted

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.

share|improve this answer
    
for me it was kpsewhich –  Bush Mar 29 at 10:47
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

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

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