Is there a LaTeX Documentation similar to Java Documentation, showing the packages, the classes to use and a sample example?

  • 6
    Actually, almost every packages and document classes was distributed with its documentation in your TeX distribution. You can type texdoc <package or documentclass name> in system terminal window to find them. However, since the packages were written by many different authors, there is not and will not be a document that shows how to use all of them. Fortunatelly, tutorials, such as 'lshort.pdf' (texdoc lshort to open it) and The LaTeX Companion, introduce most frequent used packages and documentclasses. – Ch'en Meng Nov 29 '13 at 6:18
  • Hi Soni, Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – user11232 Dec 1 '13 at 0:13

Well, this is going to be a long discussion.

I don't know what are the packages a full miktex has?

You can find all the packages installed in the folder C:\Program Files\MiKTeX 2.9\tex\latex for miktex. There must be a similar folder for texlive too, but I use miktex.

Further, the editor inlage can list all the packages installed in your system as in the following image.
enter image description here But inlage is only for windows.

I have found the package, but don't know how to use it.

  1. From command prompt/terminal, type texdoc <package name> For example texdoc geometry. The manual comes up. Almost every package is accompanied with a manual. In rare cases, if it is not the case, try to locate the source file (usually a file with .sty extension). Most of times, these source files will have comments at the top.appropriate places on how to use.

  2. Your editor may also have a provision to open help files. In texmaker, it looks like this: enter image description here And in texshop: enter image description here Kile has this elaborate menu: enter image description here Finally winedt: enter image description here

Hope this will be helpful. Happy TeXing :-)

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.