Sometimes options supported by a package are scattered all over a 100-page documentation rather than given in a list, and it is hard to understand if the package implements certain functionality.
Is there a universal way to list or print all options supported by a package? Something like
$ package --help
The 'package' package supports the following options:
draft
final
color
...
So that I know I can use
\usepackage[draft,color]{package}
\usepackage[...]{package}(and are most obvious for me) – homocomputeris Jun 14 '21 at 09:37.styfiles, they are curated by the IDE developers. (I guess it would be possible to get a first approximation of the options a package supports by Ctrl+F-ing the source for\DeclareOptionand its variant forms, but in the end there are many ways options can be defined [also via helper macros], so hunting them with a simple text search is not enough). – moewe Jun 16 '21 at 05:40