4

Possible Duplicate:
How to find a package name by a command name?

Sorry to ask such a simple question, but I wonder if there is any listing or any site that I can easily find the package for a command. For instance I want to use '\includegraphics{}' but I don't know how to find the appropriate package to use. This question applies in the other way as well. If I want to know what are the functions inside a package.

  • I'd like to know the answer to this one too. Googling does not seem to work too well, because most documentation is hidden away in attached pdf files. – donatello Dec 08 '10 at 10:57
  • 1
    This question was asked (and answered) in this post (possible duplicate). – Hendrik Vogt Dec 08 '10 at 10:59
  • you don't need a package to use \mathcal: it just needs to be inside mathmode: $\mathcal{X}$ works fine without any packages... – Seamus Dec 08 '10 at 11:05
  • I have written 'for example'. :D Ok I edit it to something more real. – Yasser Sobhdel Dec 08 '10 at 11:14
  • This is difficult, I agree. Google was my friend, but the TeX world is big and finding the right way to do things can be very difficult. – Lennart Regebro Dec 08 '10 at 11:14
  • How about an example of a command where googling doesn't work? First hit on google for "LaTeX \includegraphics" mentions the package to use... – Seamus Dec 08 '10 at 11:26
  • I don't think that is the right method. Currently I am doing it this way, I download samples from google per command and to make this process easier, I copy lots of \usepackage commands to every document I make. But I doubt, it is the right thing to do. – Yasser Sobhdel Dec 08 '10 at 11:38

1 Answers1

1

If I'm running into such problems, the commands are mostly very exotic (not like includegraphics). I use the CTAN network package search to find a overview of packages which are delivering the desired macro. It's faster than google but not perfect :) I use the third text box on the linked site.

Matten
  • 5,687