txt support in lib formatters. formatting for txt/alt tex template.