docorate function

Decorate and output a table, listing, or figure to a file