unify text alignment and table alignment