wrap_table function

Wrap a table in a patchwork compliant patch