I am trying out TeX and writing some correspondence in it just to learn the basic commands. For the "letter" document class, I have found this reference site:


My question, put simply, is as follows:

  • How do I get documentation* on a particular document class, in this case: "letter"?

(*) By documentation I mean: "list of all commands, their syntax and usage"

Note: I can use

texdoc "packagename"

for packages but I don't know how to do the same for document classes?

Bonus/optional complement to this question (feel free to disregard it if you dislike multiple questions in a single post): where do I get a list of document classes from? (I get my list of packages from: http://ctan.org/pkg)

texdoc letter

If you still need more information you can try

texdoc -l letter

Which gives you a longer list of related documentation. Even more can be obtained by typing

texdoc -s letter

You will get any documentation with a "letter" somewhere in the name or description with the latter.

Depending on the country your're in other non-standard letter classes fit much better. In Europe for instance I would recommend scrlttr2

Edit (added from comment): there are differences between the unix based texdoc and MiKTeXs texdoc. In MiKTeX texdoc Option -s is not working.

  • 4
    A similar tool is available online: www.texdoc.net/pkg/letter
    – doncherry
    Jul 9 '12 at 19:33

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.