Adding variable display to pretty-print view