Possible Duplicate:
Conditional “if a package is available”
I'm pretty lazy, and have my own .sty files which import a bunch of commonly used features. But, sometime system installations fail to provide one, for example Ubuntu's LaTeX doesn't have the mathtext package. So, is there a way to have a \usepackage command that won't cause (Xe)LaTeX to fail if a package isn't found?
mathastextit makes sense, since the document will compile without it… – Seamus Nov 07 '11 at 09:37manuscriptsometimes as an alternative:) – yannisl Nov 07 '11 at 10:16