CTAN Comprehensive TeX Archive Network

oops – A framework for making definitions, typically mathematical, inline

oops is a package for (hence "scribe") that organizes (typically mathematical) definitions along two dimensions: functions and objects, hence"OO".

Such definitions are made inline thanks to a minimalist interface built upon xparse. To make a definition, use \OopsNew{<tl1>}, where <tl1> identifies an object, fol- lowed by input that alternates between "text" and instructions. The latter create and expand definitions using rules that can be modified at the package level or themselves inline. This framework is suitable for instance where <tl1> is either of ModelA and ModelB, and each requires its own definition of, say, a space. In this case, they would be encoded respectively as \Space{ModelA} and \Space{ModelB}. However, this would be verbose if most functions applied to just one object, so the package provides a generic one that is set by default to Math. For example, \OopsNew{Math}[Let~]{Space=\Omega}[~denote the sample space]{}, followed by $\Space$, expand to: "Let Omega denote the sample space" and "Omega".

Other features automate repetitive formatting tasks. Altogether, "practical".

As of April 2020, this package has been superseded by the ccool package.

Home pagehttps://github.com/rogard
LicensesThe Project Public License 1.3c
Copyright2020 Erwann Rogard
MaintainerErwann Rogard
Contained inMiKTeX as oops
See alsoccool

Download the contents of this package in one zip archive (555.5k).

Community Comments



Here you can see a respective diagram in newer browsers.


Package Links

Guest Book Sitemap Contact Contact Author