7

Here often we see statements You don't need to load PGF because TikZ loads it, or don't load TikZ because PGFplots already does that.... I wonder if:

Is there a tree diagram listing all these relationships/subordinations/rank between packages?

Sergio Parreiras
  • 1,786
  • 1
  • 15
  • 32

1 Answers1

2

You can use \listfiles to see what packages are actually loaded and can look through the log to see what loads what: TeX surrounds each file with a parenthesis pair [( ... )] so one can parse the log and work out dependencies. However, I would strongly suggest not doing this. In any document, you should know which packages provide which commands you use, and explicitly load those packages. It's a very bad idea to rely on package X always loading package Y (beyond a few places where the dependency is in a bundle of related packages, and there almost always the 'low level' one should not be used directly by users).

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036