latex style files

latex

LaTeX is a set of macros for TeX.

games

  • The style sgame.sty formats a strategic game, putting the appropriate boxes around the payoffs. For example, the input
    \begin{game}{2}{2}
          & $L$     & $M$\\
    $T$   & $2,10$  & $2,0$\\
    $B$   & $3,0$   & $0,9$
    \end{game}
    
    produces the output

    formatted game

    Note that (a) the payoffs are in boxes, (b) the payoff columns are of equal width, and (c) the payoffs are vertically centered within the boxes.

    A game environment cannot be the argument of a macro, and the style is incompatible with beamer. A companion style, sgamevar.sty, solves both of these issues. It uses a syntax slightly different from the one employed by sgame.sty: "tabs" are produced by \> instead of &.

    Both sgame.sty and sgamevar.sty are documented in sgame.pdf.

  • The style egameps.sty formats an extensive game; it is intended to handle 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).

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.

bugs

If you find bugs in any of these styles or would like me to add new features, please let me know.