# texdoc

> Search for appropriate documentation for (La)TeX commands or packages.
> More information: <https://texdoc.org/index.html>.

- Open the first search result in the default PDF viewer:

`texdoc {{search}}`

- List the best search results:

`texdoc --list {{search}}`

- Open full documentation of texdoc:

`texdoc {{texdoc}}`
