Document formatting.