document formatting for appearance