latex2e style files
author Martin J. Osborne
latex2e LaTeX2e is a set of macros for TeX.
  • sgame.sty (for strategic games). This style formats strategic games correctly, putting the appropriate boxes around the payoffs. For a 2 x 2 game, for example, the input
          & $L$    & $M$\\
    $T$   &$2,2$   &$2,0$\\
    $B$   &$3,0$   &$0,9$
    produces output in which (a) the payoffs are in boxes, (b) the payoff columns are of equal width, and (c) the payoffs are vertically centered within the boxes. The internal design of the style is incompatible with a game environment's being the argument of a macro. If you would like to make a game environment an argument of a macro (e.g. TeXPower's \stepwise), you can use sgamevar.sty, which uses a syntax slightly different from the one employed by sgame.sty: "tabs" are produced by \> instead of &. Both styles are documented in sgame.pdf.
  • egameps.sty (for extensive games). This style is intended to have enough features to draw any extensive game with relative ease. It uses the PSTricks interface with PostScript and is documented in egameps.pdf. Additional examples are given in egameExamples1.pdf, egameExamples2.pdf, and egameExamples3.pdf (due to Fioravante Patrone; the source file is egameExamples3.tex).

    This style is based on my earlier style, EGAME.STY. The new style allows lines with arbitrary slopes, colors, and styles, vastly improving on the functionality of the old style. It has two minor incompatibilities with EGAME.STY: anomalous cases with slope parameter (0,0) are no longer allowed in \iib, and the parameter name eginfods is changed to eginfodotsep (for consistency with other names). The trees it draws differ in one small respect from those drawn by EGAME.STY: small disks are not placed at the ends of terminal histories (only at the start of histories). The old style (which I no longer use) is documented in egame.pdf.

With probability very close to 1, these styles contain bugs; if you find any, please let me know.
graphs The style swimgraph.sty allows you to produce graphical and textual representations of a swimmer's performances. You store data in a text file, and the macros provided by the style allow you to extract and either plot or describe the relevant data for a range of dates you specify, optionally including records on the graph for comparison. The zip file contains the style file, documentation, and datafiles of world and Canadian records.
exams The style UOFTEXAM.STY puts an exam in the official style of the Faculty of Arts and Science at the University of Toronto. (It puts the page footers in the right format, puts the number of questions and number of pages in the exam on the front page, puts the right statement at the end of the exam, and optionally constructs a table for the cover page of the exam that lists the questions, the number of points each is worth, and leaves space for a grader to enter the number of points a student obtains.) To modify it to fit the format required by another university should be relatively easy.

The style is documented in uoftexam.pdf. UOFTEXX1.TEX, UOFTEXX2.TEX, and UOFTEXX3.TEX are three examples.

articles The following styles are for formatting academic articles.
  • MJOARTI.STY: My article style. (Nothing special.)
  • AER.STY: Puts an article in a style close to that of papers in the American Economic Review.
  • CJE.STY: Puts an article in a style close to that of papers in the Canadian Journal of Economics.
Page last modified 2010-11-7 All material copyright © Martin J. Osborne 1996-2010