generic formatting for tables and paragraph images