6

I am running MacTex (on my Mac, obviously) and I remember I used to use a command a lot in the Terminal to simply open up the manual for a specified package. Something like this, for example:

manual pgfplots

That isn't the command, though. I can't remember what it is. Does anyone know?

Piero
  • 145

1 Answers1

6

Offline you can use OS-independent texdoc under most distributions (including MiKTeX). That is, from a command line terminal, type

texdoc <package name(s)>

texdoc is also available online.

Werner
  • 603,163
  • I would add that texdoc works also with custom packages if their documentation is in a directory which respects the distrubution's tree structure. – campa Feb 18 '16 at 15:28
  • 1
    Note also that texdoc works a lot better on TeX Live than on MikTeX (at least the last time I tested). For example, the memoir memoir manual is called memman.pdf, so on MikTeX you have to know this and type texdoc memman, on TeX Live an alias list is maintained, so there texdoc memoir would work just fine. – daleif Feb 18 '16 at 15:44