Hello,
In a LaTeX document I am preparing I need to know whether a certain package is installed in order either to use it, or use some other alternative without getting an error. I would preferably make some kind of test that would also allow setting a toggle for later use. But I could not find out how to this: is this possible?
Thanks in advance for any help.
General ⇒ Testing in a document if a package is available
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
Testing in a document if a package is available
You can use
\IfFileExists
to test for the sty-file of the package.Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. 

Testing in a document if a package is available
Thanks a lot for your reply! This is the kind of stuff I rarely use...