Where could I find the Tikz Manual version 3.0.1a as a PDF file ?
More generally, how do I find the documentation for a package.
There are at least four ways to find the documentation of a package or class.
texdoc
Both TeXLive and MikTeX provide the texdoc
command line tool which will usually find the correct documentation for a package with the following command:
texdoc <package-name>
For example, to find the TikZ (or pgf) manual you can just type:
texdoc pgf
If that doesn't bring up the right documentation, (it usually does) you can ask it to provide a list of possible options by entering:
texdoc -s <package-name>
This will give you a numbered list of possible documents to choose from.
If you install MikTeX, documentation may not be installed by default and you may need to use the package manager to install it.
Many TeX IDEs provide access to texdoc
through a menu item. This will depend on the actual editor, but looking in the Help menu is usually a place to start.
There is an online version of texdoc
that allows you to get the PDF documentation through the web directly: The URL will have the form:
http://texdoc.org/pkg/<packagename>
So for your example:
http://texdoc.net/pkg/pgf
All of the packages in TeXLive and MikTeX are hosted on CTAN, the Comprehensive TeX Archive Network.
As a last resort you can search there for the package and its documentation will be there too.
If you want to find documentation of commands that are part of the LaTeX kernel, you can find them documented in the following documents. The first documents the basic LaTeX commands, and the second documents the new LaTeX3 commands that have been added in recent years.
texdoc latex2e
texdoc interface3
Ctrl
and clicking on the package name in any \usepackage
command.
Commented
Oct 12, 2021 at 14:58
Under Ubuntu texdoc
does not bring tikz documentation. The correct path is
/usr/share/doc/texlive-doc/generic/pgf/pgfmanual.pdf
This is under Bionic 18.04 and TexLive 2007.
texdoc tikz
texdoc ..
dance.