---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# texdoc

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

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

`texdoc {{search}}`

- List the best search results:

`texdoc {{[-l|--list]}} {{search}}`

- Open full documentation of texdoc:

`texdoc {{texdoc}}`
