Add template-defined text justification