Added reformatted code for an answer on tex.se

Lawrence asked http://tex.stackexchange.com/q/147159/828, I reformatted
his code leading to this result