Code formatting variable names in tables