Is there a LaTeX Documentation similar to Java Documentation, showing the packages, the classes to use and a sample example?
1 Answer
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.
But inlage is only for windows.
I have found the package, but don't know how to use it.
From command prompt/terminal, type
texdoc <package name>
For exampletexdoc 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.Your editor may also have a provision to open help files. In texmaker, it looks like this: And in
texshop
: Kile has this elaborate menu: Finally winedt:
Hope this will be helpful. Happy TeXing :-)
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.