Blog
Links, documents, code, and comments about economics
-
Simple Problem Set Hack
Read moreI had a problem set where each question had multiple sub-parts: a, b, c; etc. I was typing the solution up in LaTeX and it wasn’t obvious what was the cleanest way to identify my…
-
LaTeX mathematical expectation shortcut
Read moreI find it cumbersome to typeset , “the expectation of x”, in LaTeX. I’ve simplified the code a little. First, include these lines in the header of your document: usepackage{amsmath} usepackage{amsfonts} newcommand{e}[1]{{mathbb E}left[ #1 right]}…