# Is there a package with standard theorem environments and math functions

I would like a package that defines nice things by default like:

1. Theorem environments like definition, property, example etc.
2. Standard includes like subfloats, the amsmath family
3. Reference functions like `\sectionref`, `\algorithmref` etc.
4. Math functions like `\argmin`, `\trace`, etc.

Essentially, I would like all the settings of the JMLR class, but be able to use it in a separate class (something for a thesis). I have tried modifying the secondary class (`thesis.cls`) to use JMLR as the base (`\LoadClassWithOptions`), however it complains because I need to use chapters.

-

if you like the ones in the jmlr class, you can just create your own package by copying into it the `\theoremstyle` and `\newtheorem` definitions from jmlr, call the package `mydefs.sty`, and then `\usepackage{mydefs}`.
@arunchaganty -- if you have any need to define commands that involve `@` signs, the mechanism for `\usepackage` invokes `\makeatletter` and `\makeatother` automatically. of course, if you then have to incorporate your definitions into your source file, you'd have to include those commands explicitly. – barbara beeton Apr 23 '12 at 12:56