# Directory `obsolete/macros/latex/contrib/oops`

#### oops — An object oriented practical scribe's package,

#### typically for typesetting math

- Source repository: https://github.com/rogard/oops
- Released under the LaTeX Project Public License v1.3c or later
- See http://www.latex-project.org/lppl.txt

—————————————————————-

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

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

oops is a package for LaTeX (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.

Package | oops |

Home page | https://github.com/rogard |

Repository | https://github.com/rogard/oops |

Version | 1.0 |

Licenses | The LaTeX Project Public License 1.3c |

Copyright | 2020 Erwann Rogard |

Maintainer | Erwann Rogard |

Contained in | MiKTeX as oops |

Topics | Maths |

See also | ccool |