0

For instance, \legend in a pgfplots bar chart. But in general, it would help as well.

In this particular case because I'm trying to build a legend outside an axis environment.

I was hoping there'd be a better way than to go trawling through all of GitHubs folders.

JamesT
  • 3,169
BlueIris
  • 339

1 Answers1

4

As a general answer:

You can always retrieve its .sty or .cls file on your system, or from the ctan repository, and inspect the file, well best its copy. Use your favorite ASCII editor with useful syntax highlighting.

Also, many packages describe their code in detail by mixing code with documentation.

Be prepared to go through long files.

MS-SPO
  • 11,519